1 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4 function is already compiled.
6 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11 files on the same host.
13 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
15 * help-fns.el (describe-function-1): Only call
16 help-fns--autoloaded-p when we have a file name. (Bug#11848)
18 2012-07-03 Chong Yidong <cyd@gnu.org>
20 * xml.el: Protect parser against XML bombs.
21 (xml-entity-expansion-limit): New variable.
22 (xml-parse-string, xml-substitute-special): Use it.
23 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
25 2012-07-03 Glenn Morris <rgm@gnu.org>
27 * progmodes/bug-reference.el (bug-reference-bug-regexp):
28 Allow linking to specific messages in debbugs reports (eg 123#5).
30 2012-07-02 Chong Yidong <cyd@gnu.org>
32 * xml.el: Fix entity and character reference expansion, allowing
33 them to expand into markup as per XML spec.
34 (xml-default-ns): New variable.
35 (xml-entity-alist): Use XML spec definitions for lt and amp.
36 (xml-parse-region): Make first two arguments optional.
37 Discard text properties.
38 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
40 (xml-parse-tag): Call xml-parse-tag-1. For backward
41 compatibility, this function should not modify buffer contents.
42 (xml-parse-tag-1): Fix opening-tag regexp.
43 (xml-parse-string): Rewrite, handling entity and character
45 (xml--entity-replacement-text): Signal an error if a parameter
48 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
50 * comint.el (comint-output-filter): Filter out repeated prompts.
52 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
53 and file-name-absolute-p.
54 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
57 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
60 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
61 Rename from byte-compile--refiy-function. All uses changed.
63 2012-07-01 Chong Yidong <cyd@gnu.org>
65 * xml.el (xml--parse-buffer): New function. Move most of
66 xml-parse-region here.
67 (xml-parse-region): Copy region into a temporary buffer, since
68 parameter entity substitution requires changing buffer contents.
69 Use xml--parse-buffer.
70 (xml-parse-file): Use xml--parse-buffer.
71 (xml-parse-dtd): Make parameter entity substitution work right.
72 Use proper regexps for ELEMENT declarations (Bug#7172).
74 2012-06-30 Glenn Morris <rgm@gnu.org>
76 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
78 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
79 Remove outdated and unnecessary dbus declarations.
81 2012-06-30 Eli Zaretskii <eliz@gnu.org>
83 * emacs-lisp/timer.el (timer-until): Subtract results of
84 float-time, instead of taking float-time of the result of
85 time-subtract, since float-time signals an error for negative time
88 2012-06-30 Chong Yidong <cyd@gnu.org>
90 * xml.el (xml-*-re): Convert defvars into defconsts, and
91 eval-and-compile them so eval-and-compile works on derivatives.
92 (xml--entity-replacement-text): Use eval-and-comple.
94 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
96 * vc/vc-git.el (vc-git-registered): Use cache property
98 (vc-git-mode-line-string): Call `vc-working-revision' instead of
99 `vc-git-working-revision' in order to benefit from the cache.
100 (vc-git-root): Use cache property `git-root'.
102 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
104 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
105 removed (likely outside Emacs).
107 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
109 * emacs-lisp/cl-lib.el: Require macroexp.
111 2012-06-30 Chong Yidong <cyd@gnu.org>
113 * xml.el: Implement XML parameter entities.
114 (xml-parameter-entity-alist): New variable.
115 (xml-parse-region, xml-parse-fragment): Preserve previous values
116 of xml-entity-alist and xml-parameter-entity-alist, so that
117 repeated calls on different documents do not change them.
118 (xml-parse-tag): Fix doctype regexp.
119 (xml--entity-replacement-text): New function.
120 (xml-parse-dtd): Use it. Don't handle system entities; doing that
121 properly requires url retrieval which is unimplemented.
122 (xml-escape-string): Doc fix.
124 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
126 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
128 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
130 * fringe.el (fringe-mode): Doc fix.
132 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
134 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
136 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
137 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
139 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
141 * calendar/cal-dst.el (calendar-current-time-zone):
142 Return calendar-current-time-zone-cache if non-nil.
144 2012-06-29 Masatake YAMATO <yamato@redhat.com>
146 * progmodes/which-func.el (which-func-format):
147 Add mouse-face. (Bug#11698)
149 2012-06-29 Leo Liu <sdl.web@gmail.com>
151 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
153 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
155 * minibuffer.el (minibuffer-confirm-exit-commands):
156 Add completion-at-point (bug#11725).
158 2012-06-29 Glenn Morris <rgm@gnu.org>
160 * progmodes/f90.el (f90-font-lock-keywords-2):
161 Add some preprocessor elements. (Bug#10499)
163 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
165 * progmodes/cperl-mode.el (cperl-update-syntaxification):
166 Use syntax-propertize (bug#11739).
168 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
170 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
172 2012-06-28 Julien Danjou <julien@danjou.info>
174 * term.el (term-handle-colors-array): Use a set of new faces to
175 color the terminal. Also uses :inverse-video property.
176 (term-default-fg-color): Set to nil by default, deprecate in favor
178 (term-default-bg-color): Set to nil by default, deprecate in favor
180 (term-current-face): Use `term-face' by default.
181 (term-bold-attribute): Variable deleted.
183 2012-06-28 Glenn Morris <rgm@gnu.org>
185 * simple.el (completion-list-mode-finish):
186 Don't use toggle-read-only. (Since completion-list-mode has
187 a special mode-class, it wasn't doing anything extra anyway.)
189 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
191 Make inlining of other-mode interpreted functions work (bug#11799).
192 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
193 (byte-compile): Use it to fix compilation of lexical-binding closures.
194 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
197 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
199 * help-mode.el (help-make-xrefs): Don't just withstand
200 cyclic-variable-indirection but any error in documentation-property.
202 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
204 * bindings.el (bindings--define-key): New function.
205 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
206 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
207 * bindings.el: Use it to purecopy define-key bindings.
209 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
211 * emacs-lisp/cl.el (flet): Mark obsolete.
212 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
213 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
214 * progmodes/js.el (js-c-fill-paragraph):
215 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
216 (ebrowse-switch-member-buffer-to-derived-class):
217 * play/5x5.el (5x5-solver): Use cl-flet.
219 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
220 (cl--symbol-function): New macro.
221 (cl--letf, cl--letf*): Use it.
223 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
224 Strip "toggle-" if any.
226 2012-06-27 Glenn Morris <rgm@gnu.org>
228 * info.el (Info-default-directory-list): Move here from paths.el.
229 * paths.el: Remove file, which is now empty.
230 * loadup.el: No longer load "paths".
232 * custom.el (custom-initialize-delay): Doc fix.
234 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
235 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
236 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
237 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
238 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
239 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
240 * eshell/eshell.el (eshell-defgroup): Remove alias.
242 2012-06-27 Chong Yidong <cyd@gnu.org>
244 * help.el (help-enable-auto-load): New variable.
246 * help-fns.el (help-fns--autoloaded-p): New function.
247 (describe-function-1): Refer to a function as "autoloaded" if it
248 was autoloaded at any time in the past. Perform autoloading if
249 help-enable-auto-load is non-nil.
251 2012-06-26 Eli Zaretskii <eliz@gnu.org>
253 * makefile.w32-in (compile, compile-always): Depend on
254 update-subdirs, not on subdirs.el. Otherwise, several different
255 sub-targets of 'bootstrap' running in parallel could
256 simultaneously write to subdirs.el, producing a garbled file.
258 2012-06-26 Sam Steingold <sds@gnu.org>
260 * files.el (file-name-base): New convenience function.
261 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
262 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
263 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
264 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
265 * textmodes/ispell.el, textmodes/reftex-ref.el:
266 * textmodes/tex-mode.el: Use it.
267 Did not touch cedet and org because they are maintained elsewhere.
269 2012-06-26 Martin Rudalics <rudalics@gmx.at>
271 * calendar/calendar.el (calendar-exit): Don't try to delete or
272 iconify last frame. See:
273 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
275 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
277 * server.el (server-process-filter): Remember dir in the
278 process's `server-client-directory' properties.
280 2012-06-24 Chong Yidong <cyd@gnu.org>
282 * xml.el (xml-parse-tag): Correctly handle comment embedded in
285 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
287 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
289 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
291 * help-fns.el (describe-variable): Don't croak when doc is not found.
292 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
293 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
294 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
295 * emacs-lisp/smie.el (smie-next-sexp): CSE.
296 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
298 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
300 2012-06-23 Chong Yidong <cyd@gnu.org>
302 * info.el (Info-mouse-follow-link): Accept symbol values of
303 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
304 (Info-fontify-node): Use Info-link-keymap for all navigation
305 buttons, with link-args property to perform the desired action.
306 (Info-link-keymap): Doc fix.
307 (Info-next-link-keymap, Info-prev-link-keymap)
308 (Info-up-link-keymap): Delete now-unused keymaps.
310 2012-06-23 Chong Yidong <cyd@gnu.org>
312 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
314 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
317 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
319 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
321 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
324 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
325 the requote function doesn't work properly (bug#11714).
327 2012-06-23 Glenn Morris <rgm@gnu.org>
329 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
331 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
333 Further GV/CL cleanups.
334 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
336 (gv--defun-declaration): New function.
337 (defun-declarations-alist): Use it.
338 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
339 (gv-place): Autoload.
340 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
341 original definition of dotimes and dolist.
342 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
343 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
344 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
345 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
346 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
347 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
348 to the function's definition.
349 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
353 * env.el: Don't use CL.
355 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
357 Support higher-resolution time stamps (Bug#9000).
359 * calendar/time-date.el (with-decoded-time-value): New arg
360 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
361 (encode-time-value): New optional arg PICO. New type 3.
362 (time-to-seconds) [!float-time]: Support the new picoseconds
363 component if it's used.
364 (seconds-to-time, time-subtract, time-add):
365 Support ps-resolution time stamps as well.
367 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
368 (timerp): Timer vectors now have length 9, not 8.
369 (timer--time): Support new-style (4-part) time stamps.
370 (timer-next-integral-multiple-of-time): Time stamps now have
371 picosecond resolution, so take a bit more care about rounding.
372 (timer-relative-time, timer-inc-time): New optional arg psecs.
373 (timer-set-time-with-usecs): Set psecs to 0.
374 (timer--activate): Check psecs component, too.
376 * proced.el (proced-time-lessp): Support ps-resolution stamps.
378 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
380 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
381 Move the non-essential binding to the post/pre-command-hook where it is
382 more obviously correct.
384 * subr.el (read-passwd): Don't use a history at all.
385 * savehist.el (savehist-save): Remove password saved accidentally
386 because of the above bug.
388 2012-06-22 Bastien Guerry <bzg@gnu.org>
390 * files.el (toggle-read-only): Display a message telling whether
391 the buffer is read-only or not (bug#11726).
393 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
395 * emacs-lisp/gv.el: New file.
396 * subr.el (push, pop): Extend to generalized variables.
397 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
398 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
399 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
400 gv-define-simple-setter, and gv-define-expander.
401 Remove setf-methods defined in gv. Rename cl-setf -> setf.
402 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
403 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
404 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
405 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
407 (cl-defstruct): Don't define setf-method any more.
408 * emacs-lisp/cl.el (flet): Don't autoload.
409 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
410 (define-setf-expander, defsetf, define-modify-macro)
411 (cl-struct-setf-expander): Move from cl-lib.el.
412 * emacs-lisp/syntax.el:
413 * emacs-lisp/ewoc.el:
414 * emacs-lisp/smie.el:
415 * emacs-lisp/cconv.el:
416 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
417 (timer--time): Use gv-define-simple-setter.
418 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
419 to avoid coding-system problems in subr.el. Adjust all users.
420 (macroexp--maxsize, macroexp-small-p): New functions.
421 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
422 * scroll-bar.el (scroll-bar-mode):
423 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
424 (normal-erase-is-backspace-mode): Don't use the `eq' place.
425 * winner.el (winner-configuration, winner-make-point-alist)
426 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
427 * files.el (locate-file-completion-table): Avoid list*.
429 2012-06-22 Chong Yidong <cyd@gnu.org>
431 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
432 (dired-create-files): Doc fix (Bug#11329).
433 (dired-do-copy): Doc fix (Bug#11334).
434 (dired-mark-read-string): Doc fix (Bug#11553).
436 * dired.el (dired-recursive-copies, dired-recursive-deletes):
438 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
439 (dired-dwim-target): Doc fix.
441 * wdired.el (wdired-mode): Doc fix.
443 2012-06-22 Glenn Morris <rgm@gnu.org>
445 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
446 (pcmpl-rpm-cache-stamp-file): New constant.
447 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
448 (pcmpl-rpm-packages): Optionally cache list of packages.
450 * pcmpl-rpm.el (pcmpl-rpm): New group.
451 (pcmpl-rpm-query-options): New option.
452 (pcmpl-rpm-packages): No need to inline it.
453 Use pcmpl-rpm-query-options.
455 * calendar/calendar.el (calendar-in-read-only-buffer):
456 Avoid some needless mode changes.
458 2012-06-21 Chong Yidong <cyd@gnu.org>
460 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
461 (desktop-path): Remove . from the default value (Bug#10977).
462 (desktop-read): Use user-emacs-directory if desktop-path is nil.
464 2012-06-20 Chong Yidong <cyd@gnu.org>
466 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
468 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
470 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
473 2012-06-20 Chong Yidong <cyd@gnu.org>
475 * term.el (term-window-width): Handle the case of a missing right
477 (term-check-size): Use window-text-height (Bug#5445).
478 (term-mode): Use define-derived-mode. Minor cleanups.
479 Set font-lock-defaults (Bug#7692).
480 (term-move-columns, term-insert-char, term-emulate-terminal)
481 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
483 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
485 * net/ange-ftp.el (ange-ftp-get-passwd):
486 Bind `enable-recursive-minibuffers'.
487 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
489 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
491 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
493 2012-06-19 Glenn Morris <rgm@gnu.org>
495 * progmodes/python.el (python-mode): Derive from prog-mode.
497 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
499 * emulation/edt.el (edt-default-menu-bar-update-buffers)
500 (edt-user-menu-bar-update-buffers): New functions.
501 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
503 2012-06-19 Chong Yidong <cyd@gnu.org>
505 * subr.el (with-selected-window): Preserve the selected window's
506 terminal's top-frame (Bug#4702).
508 * window.el (save-selected-window): Likewise.
510 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
512 * progmodes/python.el (python-rx-constituents): Move backquote.
513 (python-skeleton-define, python-define-auxiliary-skeleton):
516 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
518 * minibuffer.el (read-file-name-default): Revert the patch from
521 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
523 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
524 (pcase--u1, pcase--q1): Don't use apply-partially.
526 2012-06-18 Glenn Morris <rgm@gnu.org>
528 * progmodes/python.el (python-proc, python-buffer)
529 (python-send-receive, python-send-string): Fix obsolete versions.
531 2012-06-18 Martin Rudalics <rudalics@gmx.at>
533 * window.el (special-display-p): Completely remove stringp
534 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
536 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
538 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
540 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
542 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
543 * net/tramp-sh.el (tramp-maybe-open-connection):
544 Throw if `non-essential' is non-nil.
546 2012-06-17 Martin Rudalics <rudalics@gmx.at>
548 * window.el (special-display-p): Signal an error if BUFFER-NAME
549 is not a string (Bug#11713).
551 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
553 * progmodes/python.el (python-info-beginning-of-backslash):
554 Rename from python-info-beginning-of-backlash, as a spelling fix.
556 2012-06-17 Chong Yidong <cyd@gnu.org>
558 * term.el (term-emulate-terminal): If term-check-size is called,
559 move point to the process mark without resetting point (Bug#4635).
561 2012-06-17 Glenn Morris <rgm@gnu.org>
563 * international/mule-cmds.el (mule-menu-keymap)
564 (set-language-environment, set-locale-environment): Doc tweaks.
566 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
568 * cus-face.el (custom-face-attributes): Add wave-style underline
570 * faces.el (set-face-attribute): Update docstring to describe
571 wave-style underline attribute.
573 2012-06-16 Chong Yidong <cyd@gnu.org>
575 * term/xterm.el (terminal-init-xterm): Discard input before
576 querying background mode (Bug#10959).
578 2012-06-16 Stefan Merten <smerten@oekonux.de>
580 * textmodes/rst.el: Added and corrected some comments.
581 (rst-re-alist-def): Improve symbol syntax.
582 (rst-mode-syntax-table): Correct syntax entries.
583 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
584 (rst-official-version, rst-official-cvs-rev): Update version
587 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
589 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
590 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
592 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
594 * progmodes/python.el: New python.el merge.
595 (python-guess-indent): Obsolete var.
596 (python-indent-guess-indent-offset): New defcustom.
597 (python-indent): Obsolete var.
598 (python-indent-offset): New defcustom.
599 (python-python-command, python-jython-command): Delete var.
600 (python-shell-interpreter): New defcustom.
601 (python-pdbtrack-do-tracking-p): Delete var.
602 (python-pdbtrack-activate): New defcustom.
603 (python-use-skeletons): Obsolete var.
604 (python-skeleton-autoinsert): New defcustom.
605 (inferior-python-filter-regexp, python-continuation-offset)
606 (python-honour-comment-indentation, python-indent-string-contents)
607 (python-jython-packages, python-mode-hook)
608 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
609 (python-shell-prompt-alist)
610 (python-source-modes): Delete defcustoms.
611 (python-check-buffer-name, python-eldoc-setup-code)
612 (python-eldoc-string-code, python-ffap-setup-code)
613 (python-ffap-string-code, python-fill-comment-function)
614 (python-fill-decorator-function, python-fill-paren-function)
615 (python-fill-string-function, python-imenu-include-defun-type)
616 (python-imenu-make-tree, python-imenu-subtree-root-label)
617 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
618 (python-shell-compilation-regexp-alist)
619 (python-shell-completion-module-string-code)
620 (python-shell-completion-pdb-string-code)
621 (python-shell-completion-setup-code)
622 (python-shell-completion-string-code)
623 (python-shell-enable-font-lock, python-shell-exec-path)
624 (python-shell-extra-pythonpaths)
625 (python-shell-internal-buffer-name, python-shell-interpreter-args)
626 (python-shell-process-environment)
627 (python-shell-prompt-block-regexp)
628 (python-shell-prompt-output-regexp)
629 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
630 (python-shell-send-setup-max-wait, python-shell-setup-codes)
631 (python-shell-virtualenv-path): New defcustoms.
632 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
633 (inferior-python-mode-syntax-table, python--prompt-regexp)
634 (python-buffer, python-command python-python-command)
635 (python-default-template, python-imports, python-indent-index)
636 (python-indent-list, python-indent-list-length)
637 (python-mode-running, python-pdbtrack-is-tracking-p)
638 (python-preoutput-continuation, python-preoutput-leftover)
639 (python-preoutput-result, python-preoutput-skip-next-prompt)
640 (python-prev-dir/file, python-recursing)
641 (python-saved-check-command, python-version-checked)
642 (python-which-func-length-limit)
643 (view-return-to-alist): Delete vars.
644 (python-check-custom-command, python-dotty-syntax-table)
645 (python-imenu-index-alist, python-indent-current-level)
646 (python-indent-dedenters, python-indent-levels)
647 (python-nav-beginning-of-defun-regexp)
648 (python-nav-list-defun-positions-cache)
649 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
650 (python-shell-internal-buffer)
651 (python-skeleton-available): New vars.
652 (def-python-skeleton): Delete macro.
653 (python-skeleton-define): New macro.
654 (python-define-auxiliary-skeleton, python-rx): New macros.
655 (python-insert-class): Delete command.
656 (python-skeleton-class): New command.
657 (python-insert-def): Delete command.
658 (python-skeleton-def): New command.
659 (python-insert-for): Delete command.
660 (python-skeleton-for): New command.
661 (python-insert-if): Delete command.
662 (python-skeleton-if): New command.
663 (python-insert-try/except, python-insert-try/finally): Delete commands.
664 (python-skeleton-try): New command.
665 (python-insert-while): Delete command.
666 (python-skeleton-while): New command.
667 (python-backspace): Delete command.
668 (python-indent-dedent-line-backspace): New command.
669 (python-electric-colon): Delete command.
670 (python-indent-electric-colon): New command.
671 (python-guess-indent): Delete command.
672 (python-indent-guess-indent-offset): New command.
673 (python-shift-left): Delete command.
674 (python-indent-shift-left): New command.
675 (python-shift-right): Delete command.
676 (python-indent-shift-right): New command.
677 (python-find-function): Delete command.
678 (python-nav-jump-to-defun): New command.
679 (python-next-statement): Delete command.
680 (python-nav-forward-sentence): New command.
681 (python-previous-statement): Delete command.
682 (python-nav-backward-sentence): New command.
683 (python-fill-paragraph): Delete command.
684 (python-fill-paragraph-function): New command.
685 (python-send-buffer): Delete command.
686 (python-shell-send-buffer): New command.
687 (python-send-defun): Delete command.
688 (python-shell-send-defun): New command.
689 (python-send-region, python-send-region-and-go): Delete commands.
690 (python-shell-send-region)
691 (python-shell-switch-to-shell): New commands.
692 (python-send-string): Delete command.
693 (python-shell-send-string): New command.
694 (python-switch-to-python): Delete command.
695 (python-shell-switch-to-shell): New command.
696 (python-describe-symbol): Delete command.
697 (python-eldoc-at-point): New command.
698 (python--set-prompt-regexp, python-args-to-list)
699 (python-after-info-look, python-check-version)
700 (python-check-comint-prompt, python-find-imports)
701 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
702 (python-unload-function, python-expand-template)
703 (python-maybe-jython, python-preoutput-filter)
704 (python-pdbtrack-get-source-buffer)
705 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
706 (python-pdbtrack-toggle-stack-tracking)
707 (python-pdbtrack-track-stack-file, python-initial-text)
708 (python-first-word, python-comment-line-p, python-send-command)
709 (python-setup-brm, python-sentinel, python-set-proc)
710 (python-skip-out, python-input-filter, python-outdent-p)
711 (python-outline-level, python-backslash-continuation-line-p)
712 (python-end-of-block, python-end-of-statement, python-mark-block)
713 (python-beginning-of-block, python-beginning-of-statement)
714 (python-blank-line-p, python-beginning-of-string)
715 (python-open-block-statement-p): Delete functions.
716 (python-indent-line, python-indent-line-1): Delete functions.
717 (python-indent-line): New function.
718 (python-indentation-levels): Delete function.
719 (python-indent-calculate-levels): New function.
720 (python-proc): Delete function.
721 (python-shell-get-process): New function.
722 (python-send-receive): Delete function.
723 (python-shell-send-string-no-output): New function.
724 (python-module-path): Delete function.
725 (python-ffap-module-path): New function.
726 (python-completion-at-point)
727 (python-symbol-completions): Delete functions.
728 (python-completion-complete-at-point): New function.
729 (python-load-file): Delete function.
730 (python-shell-send-file): New function.
731 (python-calculate-indentation): Delete function.
732 (python-indent-calculate-indentation): New function.
733 (python-skip-comments/blanks): Delete function.
734 (python-util-forward-comment): New function.
735 (python-continuation-line-p): Delete function.
736 (python-info-continuation-line-p): New function.
737 (python-which-func, python-current-defun): Delete function.
738 (python-info-current-defun): New function.
739 (python-beginning-of-defun): Delete function.
740 (python-nav-beginning-of-defun): New function.
741 (python-close-block-statement-p)
742 (python-block-end-p): Delete function.
743 (python-info-closing-block): New function.
744 (python-comint-output-filter-function)
745 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
746 (python-fill-comment, python-fill-decorator, python-fill-paren)
747 (python-fill-string, python-imenu-make-element-tree)
748 (python-imenu-make-tree, python-imenu-tree-assoc)
749 (python-indent-context, python-indent-dedent-line)
750 (python-indent-line-function)
751 (python-indent-post-self-insert-function)
752 (python-indent-toggle-levels)
753 (python-info-assignment-continuation-line-p)
754 (python-info-beginning-of-backlash)
755 (python-info-block-continuation-line-p)
756 (python-info-closing-block-message)
757 (python-info-line-ends-backslash-p)
758 (python-info-looking-at-beginning-of-defun)
759 (python-info-ppss-context, python-info-ppss-context-type)
760 (python-nav-list-defun-positions, python-nav-read-defun)
761 (python-nav-sentence-end, python-nav-sentence-start)
762 (python-pdbtrack-comint-output-filter-function)
763 (python-pdbtrack-set-tracked-buffer)
764 (python-shell-calculate-exec-path)
765 (python-shell-calculate-process-environment)
766 (python-shell-completion--do-completion-at-point)
767 (python-shell-completion--get-completions)
768 (python-shell-completion-complete-at-point)
769 (python-shell-completion-complete-or-indent)
770 (python-shell-get-or-create-process)
771 (python-shell-get-process-name)
772 (python-shell-internal-get-or-create-process)
773 (python-shell-internal-get-process-name)
774 (python-shell-internal-send-string, python-shell-make-comint)
775 (python-shell-parse-command, python-shell-send-setup-code)
776 (python-skeleton-add-menu-items)
777 (python-util-clone-local-variables, python-util-position)
778 (run-python-internal, python-indentation-levels)
779 (python-nav-beginning-of-defun)
780 (python-completion-complete-at-point): New functions.
781 (run-python): Change arguments. New API requirements.
783 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
785 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
788 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
789 (macroexp--expand-all): Use it.
791 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
792 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
793 Use `cl-function' instead.
795 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
797 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
798 Suggested by Stefan Monnier while discussing bug#11657.
800 2012-06-14 Sam Steingold <sds@gnu.org>
802 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
804 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
806 * play/doctor.el (doctor-doc): Remove parameter and use
807 doctor-sent instead of sent.
808 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
810 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
812 * files.el: Require cl-lib.
813 (file-name-non-special): Replace case -> cl-case.
815 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
817 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
818 mapping from #' to function*.
820 2012-06-13 Chong Yidong <cyd@gnu.org>
822 * mouse.el (mouse-drag-track): Do not set the mark if the user
823 releases the mouse without selecting anything (Bug#11588).
825 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
827 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
830 * loadup.el: Count byte-code functions as well.
832 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
833 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
835 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
836 (bug#11649). Add cl-defun and cl-defmacro.
838 2012-06-13 Drew Adams <drew.adams@oracle.com>
840 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
843 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
845 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
846 Otherwise, it blocks in batch mode.
848 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
850 * help-mode.el (bookmark-make-record-default): Declare.
852 2012-06-13 Chong Yidong <cyd@gnu.org>
854 * emacs-lisp/package.el (list-packages): Compute a list of
855 packages that are newly-available since the last list-packages
857 (package-menu--new-package-list): New var.
858 (package-menu--generate, package-menu--print-info)
859 (package-menu--status-predicate, package-menu-mark-install):
860 Handle new status label "new".
862 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
865 conversion to backquotes.
867 2012-06-12 Chong Yidong <cyd@gnu.org>
869 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
870 Rename from gud-inhibit-global-bindings.
872 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
874 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
875 hook from nxml-glyph-set-hook.
877 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
880 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
882 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
883 Convert to defcustom.
885 2012-06-12 Drew Adams <drew.adams@oracle.com>
887 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
889 (help-mode): Use them.
891 2012-06-11 Glenn Morris <rgm@gnu.org>
893 * progmodes/fortran.el (fortran-font-lock-keywords-3):
894 Use preprocessor face for directives.
895 (fortran-directive-re): Doc fix.
897 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
899 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
900 conversion to backquotes (bug#11652).
902 Fix compiler-expansion of CL's cXXr functions (bug#11673).
903 * emacs-lisp/cl-lib.el (cl--defalias): New function.
904 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
905 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
906 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
907 (cl-ninth, cl-tenth): Mark them as inlinable.
908 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
909 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
910 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
911 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
912 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
913 (cl-list*, cl-adjoin): Don't put an autoload manually.
914 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
915 (cl--compiler-macro-list*): Add autoload cookie.
916 (cl--compiler-macro-cXXr): New function.
918 * help-fns.el (help-fns--compiler-macro): New function extracted from
919 describe-function-1; follow aliases and use `compiler-macro' property.
920 (describe-function-1): Use it.
922 2012-06-11 Chong Yidong <cyd@gnu.org>
924 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
925 is uninstalled, if imagemagick is installed.
927 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
929 * emacs-lisp/cl-lib.el: Use lexical-binding.
930 (cl-map-extents, cl-maclisp-member): Remove.
931 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
932 (cl--set-substring, cl--block-wrapper, cl--block-throw)
933 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
934 * emacs-lisp/cl-extra.el: Use lexical-binding.
935 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
936 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
937 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
938 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
939 * emacs-lisp/cl-seq.el: Use lexical-binding.
940 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
941 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
942 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
943 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
944 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
947 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
949 Sync with Tramp 2.2.6-pre.
951 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
952 `print-length' and `print-level' to nil, in order to avoid
953 truncation. Reported by Christopher Schmidt
954 <christopher@ristopher.com>.
956 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
958 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
960 (tramp-compat-copy-directory): Add optional argument
961 COPY-CONTENTS. It is not handled yet.
963 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
964 (tramp-ftp-file-name-p): Simplify.
966 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
967 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
970 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
971 (tramp-methods): Do not use `tramp-password-end-of-line'.
972 (tramp-completion-function-alist-putty): Handle UNIX case.
973 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
974 (tramp-do-file-attributes-with-stat)
975 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
976 gid as real numbers. They could run out of integer range on cygwin.
977 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
978 (tramp-sh-handle-expand-file-name): Handle hops.
979 (tramp-open-connection-setup-interactive-shell):
980 Use `tramp-cleanup'. Move check for busyboxes ...
981 (tramp-find-shell): ... here. Simplify implementation.
982 Set "remote-shell" property also for alternative shells.
983 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
984 If failing, a regular file would be written otherwise.
985 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
986 (tramp-find-inline-encoding): Cache the coding commands in the
987 process cache. Apply test command on the remote side, if defined.
988 (tramp-find-inline-compress): Cache the compress commands in the
990 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
991 when requested. Handle hops.
992 (tramp-current-connection): New defvar.
993 (tramp-maybe-open-connection): Use `tramp-cleanup'.
994 Throw `suppress', if there was a failed connection shortly before.
995 Handle user interrupt. (Bug#10187)
996 (tramp-get-inline-compress, tramp-get-inline-coding):
997 Read connection properties from the process cache.
999 * net/tramp-smb.el (tramp-smb-server-version)
1000 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1002 (tramp-smb-prompt): Extend for powershell prompt.
1003 (tramp-smb-file-name-handler-alist): Add handlers for
1004 `process-file', `shell-command' and `start-file-process'.
1005 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1006 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1007 (tramp-smb-file-name-p): Simplify.
1008 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1009 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1010 (tramp-smb-shell-quote-argument): New defuns.
1011 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1012 Implement using "tar". By this, time-stamps are preserved.
1013 (tramp-smb-handle-copy-file): Handle also the case of directories.
1014 (tramp-smb-do-file-attributes-with-stat)
1015 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1016 Use `tramp-get-connection-buffer').
1017 (tramp-smb-handle-rename-file): Use "rename", when source and
1018 target are on the same share.
1019 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1020 Use `tramp-smb-server-version'.
1021 (tramp-smb-wait-for-output): Remove prompt.
1023 * net/tramp.el (top): Require 'cl.
1024 (tramp-methods, tramp-rsh-end-of-line):
1025 Remove `tramp-password-end-of-line' from docstring.
1026 (tramp-save-ad-hoc-proxies): New defcustom.
1027 (tramp-completion-function-alist): Adapt docstring.
1028 (tramp-default-password-end-of-line): Remove defcustom.
1029 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1030 (tramp-user-regexp, tramp-file-name-regexp-unified)
1031 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1032 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1033 (tramp-remote-file-name-spec-regexp): New defconst.
1034 (tramp-file-name-structure): Extend structure for hops.
1035 (tramp-get-method-parameter): Move up.
1036 (tramp-file-name-p, tramp-dissect-file-name)
1037 (with-parsed-tramp-file-name): Handle hops.
1038 (tramp-file-name-hop): New defun.
1039 (tramp-make-tramp-file-name): New optional arg HOP.
1040 (tramp-message-show-progress-reporter-message): New defvar.
1041 (tramp-with-progress-reporter): Use it. We cannot use
1042 `tramp-message-show-message' here, because this suppresses also
1044 (tramp-error-with-buffer): Suppress buffer view, if
1045 `tramp-message-show-message' is nil.
1046 Use `tramp-get-connection-buffer'.
1047 (tramp-cleanup): New defun.
1048 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1049 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1051 (tramp-completion-handle-file-name-all-completions): Handle hops.
1052 Fix an error when called from ido.
1053 (tramp-completion-dissect-file-name): Use better local variable
1054 name. Add hop to the vector.
1055 (tramp-handle-insert-file-contents): Use progress-reporter for the
1057 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1059 (tramp-check-for-regexp): Simplify search.
1060 (tramp-enter-password): Remove it. Move implementation ...
1061 (tramp-action-password): ... here.
1062 (tramp-mode-string-to-int, tramp-local-host-p)
1063 (tramp-make-tramp-temp-file, tramp-read-passwd)
1064 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1065 Set tramp-autoload cookie.
1067 * net/trampver.el: Update release number.
1069 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1070 Michael Albinus <michael.albinus@gmx.de>
1072 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1073 (tramp-parse-group, tramp-parse-file)
1074 (tramp-parse-shostkeys-sknownhosts): New defuns.
1075 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1076 (tramp-parse-shosts-group, tramp-parse-sconfig)
1077 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1078 (tramp-parse-sknownhosts, tramp-parse-hosts)
1079 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1081 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1082 (tramp-parse-putty-group): Don't narrow.
1083 (tramp-parse-putty): Make a loop.
1084 (tramp-file-name-handler): Catch the `suppress' signal.
1086 2012-06-11 Chong Yidong <cyd@gnu.org>
1088 * image.el (imagemagick-register-types): Put the ImageMagick entry
1089 at the end of image-type-file-name-regexps.
1091 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1093 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1094 (pcase, pcase-let*, pcase-dolist): Use them.
1096 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * emacs-lisp/pcase.el (pcase--let*): New function.
1099 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1100 (pcase--expand): Use macroexp-let².
1102 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1105 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1106 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1107 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1108 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1109 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1111 2012-06-10 Glenn Morris <rgm@gnu.org>
1113 * mail/rmail.el (rmail-yank-current-message): Leave point at
1114 correct position. (Bug#11660)
1116 2012-06-10 Chong Yidong <cyd@gnu.org>
1118 * allout-widgets.el: Fix code header.
1120 2012-06-10 Chong Yidong <cyd@gnu.org>
1122 * cus-edit.el (customize-changed-options-previous-release):
1125 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1127 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1129 2012-06-09 Chong Yidong <cyd@gnu.org>
1131 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1133 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1135 * window.el (special-display-popup-frame): Don't use
1136 window--display-buffer (Bug#11651).
1138 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1140 Fix parallel builds: make sure loaddefs.el is not being written
1141 while Lisp files are compiled.
1142 (compile): Don't depend on 'mh-autoloads'.
1143 (compile-CMD, compile-SH): Depend on 'autoloads'.
1144 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1146 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1148 2012-06-09 Chong Yidong <cyd@gnu.org>
1150 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1151 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1152 Doc fixes (Bug#11225).
1154 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1157 a function if there's a clear indication that it has a compiler-macro.
1158 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1159 (macro-declarations-alist): Add arglist to declaration functions.
1160 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1161 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1162 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1163 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1164 Also add autoload to find the compiler macro.
1165 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1166 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1167 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1168 (cl--compiler-macro-get): New functions, replacing calls to
1169 cl-define-compiler-macro.
1170 (cl-typep) [compiler-macro]: Use macroexp-let².
1172 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1174 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1175 string properly, fixes Bug#11473.
1177 2012-06-08 Chong Yidong <cyd@gnu.org>
1179 * faces.el (set-face-attribute): Doc fix.
1180 (modify-face): Don't use :bold and :italic.
1181 (error, warning, success): Tweak definitions.
1183 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1184 (custom-modified, custom-set, custom-changed, custom-themed)
1185 (custom-saved, custom-button, custom-button-mouse)
1186 (custom-button-pressed, custom-state, custom-comment-tag)
1187 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1188 (custom-group-subtitle): Use new-style face specs.
1189 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1190 (custom-set-face, custom-changed-face, custom-saved-face)
1191 (custom-button-face, custom-button-pressed-face)
1192 (custom-documentation-face, custom-state-face)
1193 (custom-comment-face, custom-comment-tag-face)
1194 (custom-variable-tag-face, custom-variable-button-face)
1195 (custom-face-tag-face, custom-group-tag-face-1)
1196 (custom-group-tag-face): Remove obsolete face alias.
1198 * epa.el (epa-validity-high, epa-validity-medium)
1199 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1200 (epa-field-name, epa-field-body):
1201 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1202 (font-lock-keyword-face, font-lock-builtin-face)
1203 (font-lock-function-name-face, font-lock-variable-name-face)
1204 (font-lock-type-face, font-lock-constant-face):
1205 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1206 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1207 * speedbar.el (speedbar-button-face, speedbar-file-face)
1208 (speedbar-directory-face, speedbar-tag-face)
1209 (speedbar-selected-face, speedbar-highlight-face)
1210 (speedbar-separator-face):
1211 * whitespace.el (whitespace-newline, whitespace-space)
1212 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1213 (whitespace-line, whitespace-space-before-tab)
1214 (whitespace-space-after-tab, whitespace-indentation)
1216 * emulation/cua-base.el (cua-global-mark):
1217 * eshell/em-prompt.el (eshell-prompt):
1218 * net/newst-plainview.el (newsticker-new-item-face)
1219 (newsticker-old-item-face, newsticker-immortal-item-face)
1220 (newsticker-obsolete-item-face, newsticker-date-face)
1221 (newsticker-statistics-face, newsticker-default-face):
1222 * net/newst-reader.el (newsticker-feed-face)
1223 (newsticker-extra-face, newsticker-enclosure-face):
1224 * net/newst-treeview.el (newsticker-treeview-face)
1225 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1226 (newsticker-treeview-immortal-face)
1227 (newsticker-treeview-obsolete-face)
1228 (newsticker-treeview-selection-face):
1229 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1230 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1231 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1232 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1233 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1234 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1235 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1237 * progmodes/vera-mode.el (vera-font-lock-number)
1238 (vera-font-lock-function, vera-font-lock-interface):
1239 * textmodes/table.el (table-cell): Use new-style face specs, and
1240 don't use the old :bold and :italic attributes.
1242 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1243 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1244 (ebrowse-member-class, ebrowse-progress): Likewise.
1245 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1246 (ebrowse-file-name-face, ebrowse-default-face)
1247 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1248 (ebrowse-progress-face): Remove obsolete faces.
1250 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1251 Inherit from error and warning faces respectively.
1253 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1255 (flyspell-incorrect-face, flyspell-duplicate-face):
1256 Remove obsolete aliases.
1258 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1260 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1263 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * startup.el (argv, argi): Make lexically scoped.
1266 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1267 * emacs-lisp/cl-macs.el: Use lexical-binding.
1268 Rename cl-bind-* to cl--bind-*.
1269 * files.el: Don't require `cl' since it doesn't use it.
1270 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1272 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1274 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1275 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1276 instead of calling external sort utility.
1277 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1279 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1281 * descr-text.el (describe-char): Mention how to insert the
1282 character, if the current input method doesn't support it.
1283 See the discussion in this thread for the details:
1284 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1286 2012-06-08 Sam Steingold <sds@gnu.org>
1288 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1289 XF86Back to previous-buffer.
1290 (minibuffer-local-map): Bind them to next-history-element and
1291 previous-history-element respectively.
1292 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1293 help-go-back respectively.
1294 * info.el (Info-mode-map): Bind them to Info-history-forward and
1295 Info-history-back respectively.
1296 These are the keys next to Up on the ThinkPad keyboard.
1298 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1300 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1301 * emacs-lisp/cl-macs.el: Provide itself.
1302 (cl--labels-convert-cache): New var.
1303 (cl--labels-convert): New function.
1304 (cl-flet, cl-labels): New implementation with new semantics, relying on
1306 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1307 (cl-closure-vars, cl--function-convert-cache)
1308 (cl--function-convert): Move from cl-macs.el.
1309 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1310 rename by removing the "cl-" prefix.
1311 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1313 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1316 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1317 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1318 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1319 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1320 (cl-hash-table-count): Add old compatibility aliases.
1322 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1323 Use macroexpand-all-environment instead.
1324 (cl--old-macroexpand): New var.
1325 (cl--sm-macroexpand): New function.
1326 (cl-symbol-macrolet): Use it during macro expansion.
1327 (cl--function-convert-cache): New var.
1328 (cl--function-convert): New function, extracted from
1330 (cl-lexical-let): Use it.
1332 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1333 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1334 (cl-member): Remove old alias.
1336 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1337 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1338 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1339 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1340 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1341 (cl-macroexpand-cmacs): Remove var.
1342 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1343 Use macroexpand-all instead.
1345 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1348 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1349 (macroexp-copyable-p): New functions and macros.
1350 * emacs-lisp/edebug.el (edebug-unwrap):
1351 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1352 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1353 (pcase--let*): Remove.
1354 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1355 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1356 macroexp-const-p instead.
1357 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1359 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1360 instead of "cl-" for internal definitions. Use macroexp-const-p.
1361 (cl-old-bc-file-form): Remove var.
1362 (cl-const-exprs-p): Remove fun.
1363 (cl-labels, cl-macrolet): Use backquote.
1364 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1365 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1366 (cl-define-setf-expander): Rename from cl-define-setf-method.
1367 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1369 * international/mule-cmds.el: Don't require CL.
1370 (view-hello-file): Don't use `letf'.
1372 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1374 * tmm.el (tmm-prompt): Use string-prefix-p.
1375 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1376 (tmm-add-prompt): Use minibuffer-completion-help.
1377 (tmm-delete-map): Remove.
1379 * subr.el (kbd): Make it its own function.
1381 2012-06-07 Stefan Merten <smerten@oekonux.de>
1383 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1384 Silence compiler warnings. Fix versions.
1385 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1386 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1387 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1388 (rst-package-emacs-version-alist): Correct Emacs version to
1389 represent major merge with upstream.
1390 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1392 2012-06-06 Glenn Morris <rgm@gnu.org>
1394 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1395 Only print environment variables if set.
1397 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1400 (macroexp--cons): Rename from maybe-cons.
1401 (macroexp--accumulate): Rename from macroexp-accumulate.
1402 (macroexp--all-forms): Rename from macroexpand-all-forms.
1403 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1404 (macroexp--expand-all): Rename from macroexpand-all-1.
1406 2012-06-06 Sam Steingold <sds@gnu.org>
1408 * calendar/calendar.el (calendar-in-read-only-buffer):
1409 Call `special-mode' to enable the standard read-only keybindings.
1411 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1414 with "loading" messages (bug#11635).
1416 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1418 * files.el (enable-remote-dir-locals): New option.
1419 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1421 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1422 Ensure, that the temp directory is local.
1424 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1425 `temporary-file-directory'.
1427 * progmodes/python.el (python-send-region): Ensure, that the
1428 temporary file is created also in the remote case.
1430 2012-06-06 Glenn Morris <rgm@gnu.org>
1432 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1433 (vc-rcs-update-changelog): Use it.
1435 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1437 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1438 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1439 (vc-sccs-diff): Replace use of the external vcdiff script.
1441 2012-06-05 Glenn Morris <rgm@gnu.org>
1443 * ledit.el: Move to obsolete/.
1445 2012-06-05 Sam Steingold <sds@gnu.org>
1447 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1450 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * emacs-list/cust-print.el: Move to obsolete.
1454 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1455 compiler-macro expansion.
1457 Add native compiler-macro support.
1458 * emacs-lisp/macroexp.el (macroexpand-all-1):
1459 Support compiler-macros directly. Properly follow aliases and apply
1460 the compiler macros more thoroughly.
1461 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1462 macroexpand now properly follows aliases.
1463 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1464 (cl-compiler-macroexpand): Use new prop.
1465 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1467 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1469 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1471 * window.el (get-lru-window, get-mru-window, get-largest-window):
1472 New argument NOT-SELECTED to avoid picking the selected window.
1473 (window--display-buffer-1, window--display-buffer-2): Replace by
1474 new function window--display-buffer
1475 (display-buffer-same-window, display-buffer-reuse-window)
1476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1477 Use window--display-buffer.
1478 (display-buffer-use-some-window): Remove temporary dedication
1479 hack by calling get-lru-window and get-largest-window with
1480 NOT-SELECTED argument non-nil. Call window--display-buffer.
1482 2012-06-05 Glenn Morris <rgm@gnu.org>
1484 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1485 Replace external vcdiff script.
1487 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1491 2012-06-04 Chong Yidong <cyd@gnu.org>
1493 * image.el (imagemagick-types-inhibit): Revert last change.
1495 (imagemagick-enabled-types): Remove CIN and EPS*.
1497 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * emacs-lisp/cl-lib.el: Rename from cl.el.
1500 * emacs-lisp/cl.el: New compatibility file.
1501 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1502 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1503 to obey the "cl-" prefix.
1504 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1506 2012-06-03 Glenn Morris <rgm@gnu.org>
1508 * emacs-lisp/authors.el (authors-aliases): Addition.
1510 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1513 2012-06-03 Stefan Merten <smerten@oekonux.de>
1515 * textmodes/rst.el: Add comments.
1516 (rst-transition, rst-adornment): New faces.
1517 (rst-adornment-faces-alist): Make default safe to reevaluate.
1519 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1520 Improve customization tags.
1521 (rst-define-level-faces): Clarify meaning.
1523 2012-06-03 Chong Yidong <cyd@gnu.org>
1525 * progmodes/compile.el (compilation-mode-line-fail)
1526 (compilation-mode-line-run, compilation-mode-line-exit):
1528 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1530 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1532 * progmodes/which-func.el (which-func-update-ediff-windows):
1533 New function. Use it in ediff-select-hook (Bug#11478).
1535 2012-06-03 Chong Yidong <cyd@gnu.org>
1537 * bindings.el: Remove explicit help text from format-mode-line.
1538 It is now supplied by mode-line-default-help-echo.
1539 (mode-line-front-space, mode-line-end-spaces)
1540 (mode-line-misc-info): New variables.
1541 (mode-line-modes, mode-line-position): Move the default value to
1542 the variable definition.
1543 (mode-line-default-help-echo): New defcustom.
1544 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1545 (mode-line-modified-help-echo): New functions.
1546 (mode-line-mule-info, mode-line-modified): Use them.
1547 (mode-line-eol-desc, propertized-buffer-identification):
1548 Consistency fixes for help text.
1549 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1550 set-buffer-file-coding-system (Bug#289).
1551 (mode-line-mule-info-help-echo): Update help text.
1553 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * simple.el (execute-extended-command): Set real-this-command
1558 2012-06-02 Chong Yidong <cyd@gnu.org>
1560 Remove incorrect uses of "modeline" in comments, docstrings, and
1561 function/variable names (Bug#10329).
1563 * cus-edit.el (mode-line):
1564 * dframe.el (dframe-mouse-hscroll):
1565 * emacs-lisp/re-builder.el:
1566 * emacs-lisp/easy-mmode.el (define-minor-mode):
1567 * frame.el (set-frame-name):
1568 * help.el (lookup-minor-mode-from-indicator):
1569 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1570 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1571 (c-toggle-hungry-state):
1572 * progmodes/antlr-mode.el (antlr-language-alist):
1573 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1574 * progmodes/vhdl-mode.el (vhdl-mode):
1575 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1576 * term/ns-win.el (ns-face-at-pos):
1577 * term/sup-mouse.el (sup-mouse-report):
1578 * textmodes/flyspell.el (flyspell-mode-line-string):
1579 * textmodes/ispell.el (ispell-highlight-face):
1580 * textmodes/reftex-global.el:
1581 * vc/vc-arch.el (vc-arch-mode-line-string):
1582 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1583 * vc/vc-git.el (vc-git-mode-line-string):
1584 * vc/vc-hooks.el (vc-display-status)
1585 (vc-default-mode-line-string):
1586 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1588 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1590 * dired.el (dired-sort-set-mode-line): Rename from
1591 dired-sort-set-modeline. All callers changed.
1593 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1594 eshell-status-in-modeline.
1596 * foldout.el (foldout-mode-line-string): Rename from
1597 foldout-modeline-string. All callers changed.
1598 (foldout-update-mode-line): Rename from foldout-update-modeline.
1600 * subr.el (redraw-modeline): Make into obsolete alias.
1602 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1603 timeclock-modeline-display. Make old name an alias.
1604 (timeclock-update-mode-line): Likewise. All callers changed.
1605 (timeclock-mode-line-display): No need to check before using
1607 (timeclock-relative, timeclock-day-over-hook)
1608 (timeclock-use-elapsed, timeclock-mode-string)
1609 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1611 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1612 crisp-mode-modeline-string.
1614 * play/solitaire.el (solitaire-build-mode-line): Rename from
1615 solitaire-build-modeline. All callers changed.
1617 * play/zone.el (zone-hiding-mode-line): Rename from
1618 zone-hiding-modeline. All callers changed.
1619 (zone): Remove unusued `modeline-hidden-level' property.
1621 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1622 xscheme-modeline-initialize. All callers changed.
1624 * strokes.el (strokes-lighter): Rename from
1625 strokes-modeline-string.
1627 * textmodes/sgml-mode.el (html-face-tag-alist)
1628 (html-tag-face-alist): Use mode-line face instead of obsolete
1631 2012-06-02 Stefan Merten <smerten@oekonux.de>
1633 * textmodes/rst.el: Always require `cl'.
1634 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1636 2012-06-02 Chong Yidong <cyd@gnu.org>
1638 * image.el (imagemagick-enabled-types): Rename from
1639 imagemagick-types-enable. Add many more types.
1640 (imagemagick-types-inhibit): Change default to nil.
1641 (imagemagick-filter-types): Caller changed.
1643 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * emacs-lisp/cl-macs.el: Use backquotes.
1646 (cl-transform-function-property): Use eval-and-compile rather than
1648 (defstruct): Use declare-function instead of with-no-warnings.
1650 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1651 (byte-compile-output-docform): Re-add the print-circle bindings.
1652 (byte-compile-fix-header): Use #$ just because it's shorter.
1653 (byte-compile-output-file-form): Remove defun/defmacro.
1655 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1657 * simple.el (choose-completion): Remove now obsolete binding for
1660 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1662 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1663 in order to avoid "Stack overflow in regexp matcher".
1665 2012-05-31 Glenn Morris <rgm@gnu.org>
1667 * image.el: For clarity, call imagemagick-register-types at
1668 top-level, rather than relying on a custom :initialize.
1669 (imagemagick-types-enable): New option. (Bug#11557)
1670 (imagemagick-filter-types): New function. (Bug#7406)
1671 (imagemagick-register-types): Use imagemagick-filter-types.
1672 If disabling support, remove elements altogether rather
1673 than using an impossible regexp.
1674 (imagemagick-types-inhibit): Give it the default init function.
1676 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1679 Handle arbitrary file name lengths (Bug#11585).
1681 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1683 * desktop.el (desktop-read): Clear previous and next buffers for
1684 all windows and bury *Messages* buffer (bug#11556).
1686 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1688 Add `declare' for `defun'. Align `defmacro's with it.
1689 * emacs-lisp/easy-mmode.el (define-minor-mode)
1690 (define-globalized-minor-mode): Don't autoload the var definitions.
1691 * emacs-lisp/byte-run.el: Use lexical-binding.
1692 (defun-declarations-alist, macro-declarations-alist): New vars.
1693 (defmacro, defun): Use them.
1694 (make-obsolete, define-obsolete-function-alias)
1695 (make-obsolete-variable, define-obsolete-variable-alias):
1697 (macro-declaration-function): Mark obsolete.
1698 * emacs-lisp/autoload.el: Use lexical-binding.
1699 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1701 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1703 * textmodes/ispell.el (ispell-with-no-warnings):
1705 (ispell-kill-ispell, ispell-change-dictionary):
1706 Use `called-interactively-p' for Emacs instead of obsolete
1709 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1712 (macro-declaration-function): Move var from C code.
1713 (macro-declaration-function): Define function with defalias.
1714 * emacs-lisp/macroexp.el (macroexpand-all-1):
1715 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1716 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1717 defun/defmacro any more.
1718 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1719 Provide fallback for unknown arglist.
1720 (byte-compile-arglist-warn): Change calling convention.
1721 (byte-compile-output-file-form): Move print-vars binding.
1722 (byte-compile-output-docform): Simplify accordingly.
1723 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1724 (byte-compile-defmacro-declaration): Remove.
1725 (byte-compile-file-form-defmumble): Generalize to defalias.
1726 (byte-compile-output-as-comment): Return byte-positions.
1727 Simplify callers accordingly.
1728 (byte-compile-lambda): Use `assert'.
1729 (byte-compile-defun, byte-compile-defmacro): Remove.
1730 (byte-compile-file-form-defalias):
1731 Use byte-compile-file-form-defmumble.
1732 (byte-compile-defalias-warn): Remove.
1734 2012-05-29 Stefan Merten <smerten@oekonux.de>
1736 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1737 possible. Fix authors. Improve comments. Improve loading of `cl'.
1739 (rst-mode-abbrev-table): Merge definition.
1740 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1741 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1743 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1745 * calendar/icalendar.el
1746 (icalendar-export-region): Export UID properly.
1748 2012-05-29 Leo <sdl.web@gmail.com>
1749 * calendar/icalendar.el (icalendar-import-format):
1750 Add `icalendar-import-format-uid' (Bug#11525).
1751 (icalendar-import-format-uid): New.
1752 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1755 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1758 different alternative patterns.
1759 (pcase-codegen): Be more careful to preserve identity.
1760 (pcase--u1): Don't forget to mark vars as used.
1762 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1763 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1764 (byte-compile-from-buffer): ...rather than here.
1766 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1767 functions from byte-compile-function-environment.
1769 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1771 * window.el (window-deletable-p): Avoid deleting the root window
1772 of a frame with an active minibuffer.
1774 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1776 * simple.el (choose-completion): Use quit-window (Bug#11567).
1778 2012-05-29 Chong Yidong <cyd@gnu.org>
1780 * whitespace.el (whitespace-cleanup): Fix usage of
1781 whitespace-empty-at-bob-regexp (Bug#11492).
1783 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1785 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1788 2012-05-29 Juri Linkov <juri@jurta.org>
1790 * isearch.el (isearch-mode-map): Bind `M-s _' to
1791 `isearch-toggle-symbol'. Bind `M-s c' to
1792 `isearch-toggle-case-fold'.
1793 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1794 (isearch-forward): Add `M-s _' to the docstring.
1795 (isearch-forward-symbol, isearch-toggle-case-fold)
1796 (isearch-symbol-regexp): New functions. (Bug#11381)
1798 2012-05-29 Juri Linkov <juri@jurta.org>
1800 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1801 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1802 a function, call it to get the regexp.
1803 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1804 property `isearch-message-prefix' instead of the string "word ".
1805 (isearch-search-fun-default): For the case of `isearch-word',
1806 return a lambda that calls re-search-forward/re-search-backward
1807 with a regexp returned by `word-search-regexp' or by the function
1810 2012-05-29 Juri Linkov <juri@jurta.org>
1812 * isearch.el (isearch-search-fun-default): New function.
1813 (isearch-search-fun): Move default part to the new function
1814 `isearch-search-fun-default'.
1815 (isearch-search-fun-function): Set the default value to
1816 `isearch-search-fun-default'. (Bug#11381)
1818 * comint.el (comint-history-isearch-end):
1819 Use `isearch-search-fun-default'.
1820 (comint-history-isearch-search): Use `isearch-search-fun-default'
1821 and remove spacial case for `isearch-word'.
1822 (comint-history-isearch-wrap): Remove spacial case for
1825 * hexl.el (hexl-isearch-search-function):
1826 Use `isearch-search-fun-default'.
1828 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1829 Use `word-search-regexp' for `isearch-word'.
1831 * misearch.el (multi-isearch-search-fun):
1832 Use `isearch-search-fun-default'.
1834 * simple.el (minibuffer-history-isearch-search):
1835 Use `isearch-search-fun-default' and remove spacial case for
1837 (minibuffer-history-isearch-wrap): Remove spacial case for
1840 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1841 Remove spacial case for `isearch-word'.
1842 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1844 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1846 Decrease XEmacs incompatibilities.
1847 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1849 (flyspell-delete-region-overlays): Use alternative definition for
1851 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1852 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1853 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1854 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1855 `define-obsolete-face-alias' under XEmacs, but old method.
1857 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1858 `with-no-warnings' definition or Emacs alias.
1859 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1860 (ispell-word): Do not use `region-p' if XEmacs.
1862 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1864 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1865 Check for `ispell-dictionary-base-alist' instead of full
1866 `ispell-dictionary-alist'.
1867 (ispell-init-process): Show spellchecker when starting new Ispell
1870 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1873 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1875 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1877 * version.el (motif-version-string, gtk-version-string)
1878 (ns-version-string): Declare.
1880 2012-05-27 Juri Linkov <juri@jurta.org>
1882 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1883 after the `eval-defun-1' specialcaseing
1884 like in `edebug-eval-defun' (bug#10181).
1886 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1887 like in `eval-defun-1'.
1889 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1891 * mail/sendmail.el (mail-yank-region):
1892 Recognize rmail-yank-current-message in addition to insert-buffer.
1893 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1894 a *mail* buffer created through rmail-start-mail with sendmail as
1897 2012-05-27 Chong Yidong <cyd@gnu.org>
1899 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1900 Default to 256 (Bug#11267).
1902 * help.el (describe-mode): Doc fix.
1904 2012-05-26 Glenn Morris <rgm@gnu.org>
1906 * w32-fns.el (w32-init-info): Remove.
1907 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1909 * info.el (info-initialize): For self-contained NS builds, put the
1910 included info/ directory at the front. (Bug#2791)
1912 * paths.el (Info-default-directory-list): Make it a defcustom,
1913 mainly so that we can use custom-initialize-delay.
1915 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * subr.el (buffer-has-markers-at): Mark obsolete.
1919 * subr.el (lambda): Use declare.
1921 * emacs-lisp/lisp-mode.el (lambda):
1922 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1924 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1926 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1928 2012-05-26 Glenn Morris <rgm@gnu.org>
1930 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1932 2012-05-25 Glenn Morris <rgm@gnu.org>
1934 * paths.el: Remove no-byte-compile.
1935 * loadup.el: No need to load paths.el uncompiled.
1937 * image.el (imagemagick-types-inhibit): Doc fix.
1939 * version.el: Remove no-byte-compile and associated formatting.
1940 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1941 is ancient code from when there was an "inc-vers.el".
1943 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * progmodes/gdb-mi.el: Minor style changes.
1946 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1947 Turn into minor modes.
1948 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1949 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1950 (gdb-shell): Remove unneeded let-binding.
1951 (gdb-get-many-fields): Eliminate O(n²) behavior.
1953 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1955 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1956 platforms that don't link in fontset.c.
1958 2012-05-25 Juri Linkov <juri@jurta.org>
1960 Use the same diff color scheme as in modern VCSes (bug#10181).
1962 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1963 to avoid confusion with `diff-added' that now uses green colors.
1964 (diff-removed): Use shades of red.
1965 (diff-added): Use shades of green.
1966 (diff-changed): Leave just the yellow color.
1967 (diff-use-changed-face): New variable.
1968 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1969 how to highlight context diff changes.
1970 (diff-refine-change): Use shades of yellow.
1971 (diff-refine-removed): New face that uses shades of red.
1972 (diff-refine-added): New face that uses shades of green.
1973 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1974 `diff-refine-removed' in the call to `smerge-refine-subst'
1975 depending on the value of `diff-use-changed-face'.
1977 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1978 (smerge-other): Use shades of green.
1979 (smerge-base): Use shades of yellow.
1980 (smerge-refined-change): Empty face.
1981 (smerge-refined-removed): New face that uses shades of red.
1982 (smerge-refined-added): New face that uses shades of green.
1983 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1984 args `props-r' and `props-a', and use them. Doc fix.
1985 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1986 on its value use different faces `smerge-refined-change',
1987 `smerge-refined-removed', `smerge-refined-added' in the call to
1988 `smerge-refine-subst'.
1990 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1991 Add face condition `min-colors 88' with shades of red.
1992 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1993 `min-colors 88' with shades of green.
1994 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1995 `min-colors 88' with shades of yellow.
1997 2012-05-24 Glenn Morris <rgm@gnu.org>
1999 * paths.el (prune-directory-list, remote-shell-program): Move to...
2000 * files.el (prune-directory-list, remote-shell-program): ...here.
2001 For the latter, delay initialization, prefer ssh, just search PATH.
2003 * paths.el (term-file-prefix): Move to faces.el (the only user).
2004 * faces.el (term-file-prefix): Move here, make it a defcustom.
2006 * paths.el (news-directory, news-path, news-inews-program):
2007 Move to gnus/nnspool.el.
2009 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2011 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2012 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2013 Make the latter a defcustom, with a delayed initialization.
2015 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2016 These were deleted from Gnus itself late 2010.
2018 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2020 * progmodes/which-func.el (which-func-ff-hook):
2021 Check against user-error, not error.
2023 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2024 cl-specs.el, which no longer exists.
2026 2012-05-22 Glenn Morris <rgm@gnu.org>
2028 * info.el (info-emacs-bug): New command.
2029 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2030 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2032 2012-05-21 Glenn Morris <rgm@gnu.org>
2034 * makefile.w32-in (update-subdirs-SH):
2035 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2037 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2039 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2042 Simplify Maven regexp, and make sure the file can't start with a space
2045 2012-05-21 Glenn Morris <rgm@gnu.org>
2047 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2048 Scrap superfluous subshells.
2050 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2053 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2055 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2057 * calc/calc.el (calc-ensure-consistent-units): New variable.
2059 * calc/calc-units.el (math-consistent-units-p)
2060 (math-check-unit-consistency): New functions.
2061 (calc-quick-units, calc-convert-units):
2062 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2064 (calc-extract-units): Fix typo.
2066 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2070 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2071 (flyspell-default-deplacement-commands): Don't spell check after
2072 repeated window/frame switches (e.g. triggered by mouse-movement).
2073 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2074 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2075 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2076 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2078 (flyspell-get-casechars, flyspell-get-not-casechars):
2079 Simplify; Don't bother removing a ] just to add it back.
2080 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2082 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2084 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2086 (math-function-table): Add support for more C functions.
2088 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2090 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2091 (flyspell-debug-signal-word-checked): Protect delay handling for
2092 otherchars against empty otherchars.
2094 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2097 their respective macro declarations.
2098 * skeleton.el (define-skeleton):
2099 * progmodes/compile.el (define-compilation-mode):
2100 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2101 (define-ibuffer-filter):
2102 * emacs-lisp/generic.el (define-generic-mode):
2103 * emacs-lisp/easy-mmode.el (define-minor-mode)
2104 (define-globalized-minor-mode):
2105 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2106 * emacs-lisp/byte-run.el (defsubst):
2107 * custom.el (deftheme): Add doc-string metadata.
2109 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2113 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2117 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2118 * emacs-lisp/cl-macs.el: Idem.
2119 * emacs-lisp/cl-specs.el: Remove.
2121 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2123 Minor renaming of internal CL functions and variables.
2124 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2125 (cl--position): Rename from cl-position.
2126 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2127 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2128 (cl--random-state): Rename from *random-state*.
2130 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2133 parens around the arg list (bug#11499).
2135 2012-05-17 Juri Linkov <juri@jurta.org>
2137 * isearch.el (word-search-regexp, word-search-backward)
2138 (word-search-forward, word-search-backward-lax)
2139 (word-search-forward-lax): Move functions from search.c
2140 (bug#10145, bug#11381).
2142 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2144 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2145 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2146 normal word components.
2148 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * minibuffer.el (completion--sifn-requote): Fix last change.
2151 (minibuffer-local-must-match-filename-map):
2152 Move define-obsolete-variable-alias before its var.
2154 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2158 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2160 (completion--string-equal-p): New function.
2161 (completion--twq-all): Use it to get better assertion failure data.
2163 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2164 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2165 (shell--requote-argument): New functions.
2166 (shell-completion-vars): Use them.
2167 (shell--parse-pcomplete-arguments): Rename from
2168 shell-parse-pcomplete-arguments.
2169 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2170 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2171 Obey comint-file-name-quote-list.
2173 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2174 (smie-indent-keyword): Use it.
2176 2012-05-14 Stefan Merten <smerten@oekonux.de>
2178 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2180 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2182 * net/rlogin.el (rlogin-mode-map): Fix last change.
2184 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2186 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2187 the following \r\n using a single `process-send-string', since the
2188 Lotus SMTP server refuses to accept any commands if they are sent
2189 with two `process-send-string's (Bug#11444).
2191 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * shell.el (shell-parse-pcomplete-arguments):
2194 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2196 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2198 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2199 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2200 (image-transform-width, image-transform-fit-width): New functions.
2201 (image-transform-properties): Use them.
2202 (image-transform-check-size): New function.
2203 (image-toggle-display-image): Use it (for testing).
2204 (image-transform-set-rotation): Reduce angle mod 360.
2205 Delete obsolete comment.
2207 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2209 * image-mode.el: Fix scaling (bug#11399).
2210 (image-transform-resize): Doc fix.
2211 (image-transform-properties): Default scale is 1 and height should
2214 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2216 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2217 than hard-coding `car', to fix misbehavior when moving forward.
2219 2012-05-13 Chong Yidong <cyd@gnu.org>
2221 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2222 (tabulated-list-entries, tabulated-list-padding)
2223 (tabulated-list-sort-key): Make permanent-local.
2225 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2226 (electric-buffer-list): Put electric buffer menu
2227 command descriptions in this docstring, instead of the docstring
2228 of electric-buffer-menu-mode. Code cleanups.
2229 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2230 Electric-buffer-menu-mode.
2231 (electric-buffer-update-highlight): Minor code cleanup.
2233 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2235 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2238 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2240 Move define-obsolete-variable-alias before the var's definition.
2241 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2242 * tooltip.el (tooltip-hook):
2243 * textmodes/reftex-toc.el (reftex-toc-map):
2244 * textmodes/reftex-sel.el (reftex-select-label-map)
2245 (reftex-select-bib-map):
2246 * textmodes/reftex-index.el (reftex-index-map)
2247 (reftex-index-phrases-map):
2248 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2249 * progmodes/meta-mode.el (meta-mode-map):
2250 * novice.el (disabled-command-hook):
2251 * loadhist.el (unload-hook-features-list):
2252 * frame.el (blink-cursor):
2253 * files.el (find-file-not-found-hooks, write-file-hooks)
2254 (write-contents-hooks):
2255 * emulation/tpu-edt.el (GOLD-map):
2256 * emacs-lock.el (emacs-lock-from-exiting):
2257 * emacs-lisp/generic.el (generic-font-lock-defaults):
2258 * emacs-lisp/chart.el (chart-map):
2259 * dos-fns.el (register-name-alist):
2260 * dired-x.el (dired-omit-files-p):
2261 * desktop.el (desktop-enable):
2262 * cus-edit.el (custom-mode-hook):
2263 * buff-menu.el (buffer-menu-mode-hook):
2264 * bookmark.el (bookmark-read-annotation-text-func)
2265 (bookmark-exit-hooks):
2266 * allout.el (allout-mode-deactivate-hook)
2267 (allout-exposure-change-hook, allout-structure-added-hook)
2268 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2269 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2270 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2271 comes before the corresponding variable's definition.
2273 2012-05-12 Chong Yidong <cyd@gnu.org>
2275 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2276 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2277 (Buffer-menu-mode-map): Bind it.
2278 (Buffer-menu--pretty-name): Add a mouse-face property.
2280 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2283 (prolog-upper-case-string, prolog-lower-case-string)
2284 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2285 (prolog-use-smie, prolog-smie-grammar): New vars.
2286 (prolog-smie-forward-token, prolog-smie-backward-token)
2287 (prolog-smie-rules): New funs.
2288 (prolog-comment-indent): Remove.
2289 (prolog-mode-variables): Use default comment indentation instead.
2291 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2292 (prolog-mode): Don't call them any more.
2293 (prolog-electric-colon, prolog-electric-dash)
2294 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2296 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2298 * minibuffer.el (completion--twq-all): Again, allow case differences.
2300 * term.el: Move keymap initialization code to be more idiomatic.
2301 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2302 (term-terminal-menu): Move initialization into declaration.
2303 (term-escape-char): Let the user set it in her .emacs.
2305 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2306 Provide SMIE-based indentation (not enabled by default yet).
2307 (sh-mode-map): Don't bind electric keys.
2308 Use electric-pair-mode instead of skeleton-pair.
2309 (sh-assignment-regexp): Fit within 80 columns.
2310 (sh-indent-supported): Specify actual shell name instead of boolean.
2311 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2312 (sh-maybe-here-document): Use it. Make obsolete.
2313 (sh-electric-here-document-mode) New minor mode.
2314 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2315 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2316 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2317 (sh-smie-rc-grammar, sh-use-smie): New vars.
2318 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2319 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2320 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2321 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2322 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2323 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2324 (sh-set-shell): Use smie-setup if requested.
2326 * term.el (term-set-escape-char): Properly set term-escape-char.
2327 See http://stackoverflow.com/questions/10524656.
2329 2012-05-10 Chong Yidong <cyd@gnu.org>
2331 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2332 Use url-generic-parse-url, and handle host names and Windows
2334 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2335 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2336 URL schemes to work on.
2337 (ffap--toggle-read-only): New function.
2338 (ffap-read-only, ffap-read-only-other-window)
2339 (ffap-read-only-other-frame): Use it.
2340 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2341 necessary for ffap-url-unwrap-remote.
2343 2012-05-10 Dave Abrahams <dave@boostpro.com>
2345 * cus-start.el (create-lockfiles): Add it.
2347 2012-05-09 Chong Yidong <cyd@gnu.org>
2349 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2350 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2352 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2354 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2356 2012-05-09 Chong Yidong <cyd@gnu.org>
2358 * ansi-color.el (ansi-color-process-output): Check for validity of
2359 comint-last-output-start before using it. This avoids a bad
2360 interaction with gdb-mi's input/output buffer.
2362 2012-05-09 Glenn Morris <rgm@gnu.org>
2364 * files.el (dir-locals-read-from-file):
2365 Mention dir-locals in any error message.
2367 2012-05-09 Chong Yidong <cyd@gnu.org>
2369 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2370 package (Bug#11410).
2372 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2373 variables into description.
2375 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2378 shell-delimiter-argument-list (bug#11348).
2379 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2381 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2383 * textmodes/rst.el: Silence byte-compiler warnings.
2384 (rst-re-alist, rst-reset-section-caches): Move around.
2385 (rst-re): Use `characterp', not `char-valid-p'.
2386 (font-lock-beg, font-lock-end): Declare.
2388 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2389 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2391 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2393 2012-05-08 Glenn Morris <rgm@gnu.org>
2395 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2397 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * vc/log-edit.el: Add GNU coding standards highlighting.
2400 (log-edit-font-lock-gnu-style)
2401 (log-edit-font-lock-gnu-keywords): New vars.
2402 (log-edit-font-lock-keywords): New fun.
2403 (log-edit-mode): Don't fold case in font-lock.
2404 (log-edit-font-lock-keywords): Do not assume case-folding.
2406 * imenu.el: Misc cleanup. Make docstrings out of comments.
2407 Use lexical-binding.
2408 (imenu--index-alist, imenu--last-menubar-index-alist)
2409 (imenu-menubar-modified-tick): Use defvar-local.
2410 (imenu--split-menu): Remove unused var.
2411 (imenu--cleanup-seen): Declare as global.
2412 (imenu--cleanup): Use dolist.
2414 * subr.el (defvar-local): Add debug spec and doc-string position.
2416 2012-05-08 Glenn Morris <rgm@gnu.org>
2418 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2419 * language/english.el, language/georgian.el, language/greek.el:
2420 * language/japanese.el, language/khmer.el, language/korean.el:
2421 * language/lao.el, language/misc-lang.el, language/romanian.el:
2422 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2423 * language/thai.el, language/utf-8-lang.el:
2424 Remove no-byte-compile setting.
2426 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2428 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2430 * progmodes/make-mode.el (makefile-browse):
2431 Remove unnecessary interactive. (Bug#11324)
2433 2012-05-07 Glenn Morris <rgm@gnu.org>
2435 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2437 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2439 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * loadup.el: Preload newcomment.el.
2442 * newcomment.el: Move autoload-only code to toplevel.
2444 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2445 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2446 Handle new :right-align column property.
2447 (tabulated-list-print-col): Idem, plus use `display' text-property to
2448 try and preserve alignment for variable pitch fonts.
2450 2012-05-07 Chong Yidong <cyd@gnu.org>
2452 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2453 (tabulated-list-use-header-line): New var.
2454 (tabulated-list-init-header): Use it.
2455 (tabulated-list-print-fake-header): New function.
2456 (tabulated-list-print): Use it.
2457 (tabulated-list-sort-button-map): Add non-header-line commands.
2458 (tabulated-list-init-header): Add column name property to basic
2460 (tabulated-list-col-sort): Handle non-header-line button case.
2461 (tabulated-list--sort-by-column-name): Fix a corner case.
2463 * buff-menu.el (list-buffers--refresh):
2464 Handle Buffer-menu-use-header-line.
2466 2012-05-06 Chong Yidong <cyd@gnu.org>
2468 * buff-menu.el: Convert to Tabulated List mode.
2469 (Buffer-menu-buffer+size-width): Make obsolete.
2470 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2471 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2472 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2473 documentation into docstring of buffer-menu.
2474 (Buffer-menu-toggle-files-only): Add an informative message.
2475 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2476 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2477 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2478 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2479 (Buffer-menu-execute, Buffer-menu-select)
2480 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2481 (Buffer-menu-bury): Use Tabulated List machinery.
2482 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2483 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2485 (list-buffers--refresh): New function.
2486 (list-buffers-noselect): Use it.
2487 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2488 (Buffer-menu--pretty-file-name): New helper functions.
2490 * loadup.el: Preload tabulated-list.
2492 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2493 tabulated-list-sort-column.
2494 (tabulated-list-init-header): Add the initial aligning space even
2495 if tabulated-list-padding is zero.
2497 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2499 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2500 whose cdr is not a cons cell correctly (bug#11038).
2502 2012-05-06 Chong Yidong <cyd@gnu.org>
2504 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2505 Accept additional plist in column descriptors.
2506 (tabulated-list-init-header): Obey it.
2507 (tabulated-list-get-entry): New function.
2508 (tabulated-list-put-tag): Use it. Use string-width instead of
2510 (tabulated-list--column-number): New function.
2511 (tabulated-list-print): Use it.
2512 (tabulated-list-print-col): New function.
2513 Set `tabulated-list-column-name' property on each column's text.
2514 (tabulated-list-print-entry): Use it.
2515 (tabulated-list-delete-entry, tabulated-list-set-col):
2517 (tabulated-list-sort-column): New command (Bug#11337).
2519 * buff-menu.el (list-buffers): Move C-x C-b binding from
2520 buff-menu.el to bindings.el.
2522 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2523 :advertised-binding feature.
2525 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2527 * progmodes/compile.el (compilation-internal-error-properties):
2528 Calculate start position correctly when end-col is set but
2529 end-line is not (Bug#11382).
2531 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2533 * man.el (Man-unindent): Use text-property-default-nonsticky to
2534 prevent untabify from inheriting face properties (Bug#11408).
2536 2012-05-05 Stefan Merten <smerten@oekonux.de>
2538 * textmodes/rst.el: Major merge with upstream development up to
2539 Docutils SVN r7399 / rst.el V1.2.1.
2541 Clarify maintainership and authors.
2543 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2544 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2545 (rst-official-version, rst-official-cvs-rev, rst-version)
2546 (rst-package-emacs-version-alist): New functions and variables
2547 for version information.
2549 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2550 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2551 (rst-mode-syntax-table, rst-mode): New and corrected functions
2552 and variables representing reStructuredText features.
2554 (rst-re): New function for reStructuredText regexes. Use in
2557 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2558 (rst-mode-map): Rebind keys.
2560 (rst-mode-lazy, rst-font-lock-keywords)
2561 (rst-font-lock-extend-region)
2562 (rst-font-lock-extend-region-internal)
2563 (rst-font-lock-extend-region-extend)
2564 (rst-font-lock-find-unindented-line-limit)
2565 (rst-font-lock-find-unindented-line-match)
2566 (rst-adornment-level, rst-font-lock-adornment-level)
2567 (rst-font-lock-adornment-match)
2568 (rst-font-lock-handle-adornment-pre-match-form)
2569 (rst-font-lock-handle-adornment-matcher): Major revision of
2570 font-locking. Integrate with other code. Use `jit-lock-mode'.
2572 (rst-preferred-adornments, rst-adjust-hook)
2573 (rst-new-adornment-down, rst-preferred-bullets)
2574 (rst-preferred-bullets, rst-indent, rst-indent-width)
2575 (rst-indent-field, rst-indent-literal-normal)
2576 (rst-indent-literal-minimized, rst-indent-comment): Change,
2577 extend and improve customization.
2579 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2580 (rst-normalize-cursor-position, rst-get-decoration)
2581 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2582 (rst-rstrip, rst-toc-insert-find-delete-contents)
2583 (rst-shift-fill-region, rst-compute-bullet-tabs)
2584 (rst-debug-print-tabs, rst-debug-mark-found)
2585 (rst-shift-region-guts, rst-shift-region-right)
2586 (rst-shift-region-left, rst-use-char-classes)
2587 (rst-font-lock-keywords-function)
2588 (rst-font-lock-indentation-point)
2589 (rst-font-lock-find-unindented-line-begin)
2590 (rst-font-lock-find-unindented-line-end)
2591 (rst-font-lock-find-unindented-line)
2592 (rst-font-lock-adornment-point, rst-font-lock-level)
2593 (rst-adornment-level-alist): Remove functions and variables.
2595 (rst-compare-adornments, rst-get-adornment-match)
2596 (rst-suggest-new-adornment, rst-get-adornments-around)
2597 (rst-adornment-complete-p, rst-get-next-adornment)
2598 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2599 (rst-straighten-adornments): Standardize function names to
2600 use "adornment" instead of "decoration". Correct callers.
2601 Similar standardizing in many places.
2603 (rst-update-section, rst-adjust, rst-promote-region)
2604 (rst-enumerate-region, rst-bullet-list-region)
2605 (rst-repeat-last-character): Correct use of `interactive'.
2607 (rst-classify-adornment, rst-find-all-adornments)
2608 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2609 (rst-find-leftmost-column, rst-repeat-last-character):
2612 (rst-find-title-line, rst-reset-section-caches)
2613 (rst-get-adornments-around, rst-adjust-adornment-work)
2614 (rst-arabic-to-roman, rst-roman-to-arabic)
2615 (rst-insert-list-pos, rst-insert-list-new-item)
2616 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2619 (rst-all-sections, rst-section-hierarchy)
2620 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2623 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2624 configuration instead of only buffer. Change where necessary.
2626 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2627 (rst-shift-region, rst-adaptive-fill): New functions for
2628 indentation and filling.
2630 (rst-comment-line-break, rst-comment-indent)
2631 (rst-comment-insert-comment, rst-comment-region)
2632 (rst-uncomment-region): New functions for handling comments.
2634 (rst-compile): Quote shell arguments.
2636 (rst-compile-pdf-preview, rst-compile-slides-preview):
2637 Delete temporary files after use.
2639 2012-05-05 Glenn Morris <rgm@gnu.org>
2641 * calendar/cal-html.el: Optionally include holidays in the output.
2642 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2643 (cal-html-holidays): New option.
2644 (cal-html-css-default): Add holiday entry.
2645 (holiday-in-range): Autoload it.
2646 (cal-html-htmlify-entry): Add optional class argument.
2647 (cal-html-htmlify-list): Add optional holidays argument.
2648 (cal-html-insert-agenda-days): Include holidays in the output.
2649 (cal-html-one-month): Maybe include holidays.
2651 * calendar/holidays.el (holiday-in-range):
2652 Move here from cal-tex-list-holidays.
2653 * calendar/cal-tex.el (cal-tex-list-holidays):
2654 Make it an obsolete alias for holiday-in-range. Update all callers.
2656 2012-05-05 Chong Yidong <cyd@gnu.org>
2658 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2661 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2663 * files.el (file-auto-mode-skip): New var.
2664 (set-auto-mode-1): Use it.
2666 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2668 * repeat.el: Use lexical-binding.
2669 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2670 (repeat-undo-count): Remove.
2672 * progmodes/octave-mod.el (octave-abbrev-start):
2673 * progmodes/f90.el (f90-abbrev-start):
2674 * face-remap.el (text-scale-adjust):
2675 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2677 * emacs-lisp/pcase.el (pcase--let*): New function.
2678 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2680 (pcase--split-pred): Be more clever about ruling out overlap between
2681 a predicate and some constant pattern.
2682 (pcase--q1): Use `null' instead of (eq foo nil).
2684 * subr.el (setq-local, defvar-local): New macros.
2685 (kbd): Redefine as an alias.
2686 (with-selected-window): Leave unrelated frames alone.
2687 (set-temporary-overlay-map): New function.
2689 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * subr.el (user-error): New function.
2692 * window.el (switch-to-buffer):
2693 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2694 (smerge-match-conflict):
2695 * simple.el (previous-matching-history-element)
2696 (next-matching-history-element, goto-history-element, undo-more)
2698 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2699 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2700 (next-file, tags-loop-scan, list-tags, complete-tag):
2701 * progmodes/compile.el (compilation-loop):
2702 * mouse.el (mouse-minibuffer-check):
2703 * man.el (Man-bgproc-sentinel, Man-goto-page):
2704 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2705 (Info-history-forward, Info-follow-reference, Info-menu)
2706 (Info-extract-menu-item, Info-extract-menu-counting)
2707 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2708 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2709 (Info-next-reference, Info-prev-reference, Info-index)
2710 (Info-index-next, Info-follow-nearest-node)
2711 (Info-copy-current-node-name):
2712 * imenu.el (imenu--make-index-alist)
2713 (imenu-default-create-index-function, imenu-add-to-menubar):
2714 * files.el (basic-save-buffer, recover-file):
2715 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2716 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2717 (checkdoc-message-text, checkdoc-defun):
2718 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2719 * cus-edit.el (customize-changed-options, customize-rogue)
2720 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2721 (custom-variable-mark-to-reset-standard)
2722 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2724 * completion.el (check-completion-length):
2725 * comint.el (comint-search-arg)
2726 (comint-previous-matching-input-string-position)
2727 (comint-previous-matching-input)
2728 (comint-replace-by-expanded-history-before-point, comint-send-input)
2729 (comint-copy-old-input, comint-backward-matching-input)
2730 (comint-goto-process-mark, comint-set-process-mark):
2731 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2732 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2734 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2736 * dabbrev.el (dabbrev--ignore-case-p): New function.
2737 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2740 * files.el (automount-dir-prefix): Mark as obsolete.
2742 2012-05-04 Glenn Morris <rgm@gnu.org>
2744 * patcomp.el, play/bruce.el: Move to obsolete/.
2746 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2748 Fix minor Y10k bugs.
2749 * arc-mode.el (archive-unixdate):
2750 * autoinsert.el (auto-insert-alist):
2751 * calc/calc-forms.el (math-this-year):
2752 * emacs-lisp/copyright.el (copyright-current-year)
2753 (copyright-update-year, copyright):
2754 * tar-mode.el (tar-clip-time-string):
2755 * time.el (display-time-update):
2756 Don't assume years have 4 digits.
2758 2012-05-04 Chong Yidong <cyd@gnu.org>
2760 * dos-w32.el (file-name-buffer-file-type-alist)
2761 (direct-print-region-use-command-dot-com):
2762 * ffap.el (ffap-menu-regexp):
2763 * find-file.el (ff-special-constructs):
2764 * follow.el (follow-debug):
2765 * forms.el (forms--debug):
2766 * iswitchb.el (iswitchb-all-frames):
2767 * ido.el (ido-all-frames):
2768 * emacs-lisp/timer.el (timer-max-repeats):
2769 * mail/feedmail.el (feedmail-mail-send-hook)
2770 (feedmail-mail-send-hook-queued):
2771 * mail/footnote.el (footnote-signature-separator):
2772 * mail/mailabbrev.el (mail-alias-separator-string)
2773 (mail-abbrev-mode-regexp):
2774 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2775 * progmodes/idlwave.el (idlwave-libinfo-file)
2776 (idlwave-default-completion-case-is-down)
2777 (idlwave-library-routines): Convert defvars to defcustoms.
2779 * mail/rmail.el (rmail-decode-mime-charset):
2780 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2781 (idlwave-shell-fix-inserted-breaks)
2782 (idlwave-shell-activate-alt-keybindings)
2783 (idlwave-shell-use-breakpoint-glyph):
2784 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2786 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2788 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2790 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2792 * progmodes/verilog-mode.el (font-lock-keywords):
2793 Fix mis-highligting auto. Reported by Craig Barner.
2794 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2795 defines from global name space. Reported by Dan Dever.
2796 (verilog-auto-reset, verilog-auto-reset-widths)
2797 (verilog-auto-tieoff): Support using unbased numbers for
2798 AUTORESET and AUTOTIEOFF.
2799 (verilog-submit-bug-report): Update variable list.
2800 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2801 parenthesis from not matching. Reported by Michael Rytting.
2802 (verilog-auto-template-lint): Fix hash error when linting modules
2803 with no used templates.
2804 (verilog-warn, verilog-warn-error)
2805 (verilog-warn-fatal): When non-interactive report multiple
2806 warnings before exiting. Suggested by Brad Dobbie.
2807 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2808 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2809 to report unused template errors. Reported by Brad Dobbie.
2810 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2811 nets, bug438. Reported by Vns Blore.
2812 (verilog-auto-inout-module, verilog-auto-reg)
2813 (verilog-read-decls, verilog-read-sub-decls-sig)
2814 (verilog-signals-edit-wire-reg, verilog-signals-with):
2815 Fix passing of Verilog data types in ANSI input/output ports
2816 such as "output logic" into the AUTOs. Special case "wire" and
2817 "reg" for backwards compatibility presuming Verilog 2001.
2818 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2819 (verilog-preprocess): Fix replication of preprocess output.
2820 Reported by Brad Dobbie.
2821 (verilog-auto-inst-interfaced-ports):
2822 Create verilog-auto-inst-interfaced-ports, bug429.
2823 Reported by Julian Gorfajn.
2824 (verilog-after-save-font-hook)
2825 (verilog-before-save-font-hook): New variable.
2826 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2827 (verilog-save-font-mods): Wrap disabling fontification, reported
2829 (verilog-do-indent, verilog-pretty-declarations-auto)
2830 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2831 Reported by Pierre-David Pfister.
2832 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2833 of class declarations, bug292. Reported by Kevin Heilman.
2834 (verilog-read-decls): Fix 'parameter type' not appearing in
2835 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2836 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2837 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2838 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2839 Reported by David Kravitz.
2841 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2843 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2844 assignment with tests in ifs and for loops.
2845 (verilog-extended-complete-re, verilog-complete-reg): Change so
2846 that DPI inport functions don't look like fuction declarations.
2847 (verilog-pretty-expr): Don't line up assignment
2848 operations to the test and increment in if and for loops
2849 (verilog-extended-complete-re, verilog-complete-reg): Change so
2850 that DPI inport functions don't look like fuction declarations
2852 2012-05-03 Kenichi Handa <handa@m17n.org>
2854 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2855 decoding, and show a warning message without signaling an error
2858 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2860 * emacs-lisp/bytecomp.el
2861 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2862 since cconv.el might have introduced :fun-body, internal-make-closure,
2863 and friends for bytecomp to handle (bug#11391).
2864 * custom.el (defcustom): Avoid ((λ ..) ..).
2866 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2870 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2872 * notifications.el (dbus-debug):
2873 * term/linux.el (gpm-mouse-enable):
2874 * term/screen.el (xterm-register-default-colors): Declare.
2876 2012-05-02 Chong Yidong <cyd@gnu.org>
2878 * cus-start.el (gc-cons-percentage, exec-suffixes)
2879 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2880 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2881 (make-cursor-line-fully-visible, void-text-area-pointer)
2882 (font-list-limit): Add customization data.
2884 * allout.el (allout-exposure-change-functions)
2885 (allout-structure-added-functions)
2886 (allout-structure-deleted-functions)
2887 (allout-structure-shifted-functions): Rename abnormal hooks from
2888 *-hook, and convert to defcustoms.
2889 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2890 Convert to defcustoms.
2891 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2893 * allout-widgets.el: Hook callers changed.
2895 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2897 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2898 the yanked message in preference to the default value of
2899 buffer-file-coding-system.
2901 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2903 * window.el (display-buffer--action-function-custom-type):
2906 2012-05-02 Alan Mackenzie <acm@muc.de>
2908 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2910 2012-05-01 Glenn Morris <rgm@gnu.org>
2912 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2914 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2916 * cus-edit.el (custom-variable-documentation): Simplify with format.
2918 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2919 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * simple.el (suggest-key-bindings, execute-extended-command):
2922 Move from keyboard.c.
2924 2012-05-01 Chong Yidong <cyd@gnu.org>
2926 * follow.el: Eliminate advice.
2927 (set-process-filter, process-filter, sit-for): Advice deleted.
2928 (follow-mode-off-hook): Obsolete hook removed.
2929 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2931 (follow-auto): Use a :set function.
2932 (follow-mode): Rewritten. Don't advise process filters.
2933 (follow-switch-to-current-buffer-all, follow-scroll-up)
2934 (follow-scroll-down): Assume follow-mode is bound.
2935 (follow-comint-scroll-to-bottom)
2936 (follow-align-compilation-windows): New functions.
2937 (follow--window-sorter): New function.
2938 (follow-all-followers): Use it to explicitly sort windows by their
2939 positions; don't make assumptions about next-window order.
2940 (follow-windows-start-end, follow-delete-other-windows-and-split)
2941 (follow-calc-win-start): Doc fix.
2942 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2943 vertical-motion unnecessarily.
2944 (follow-adjust-window): New function.
2945 (follow-post-command-hook): Use it.
2946 (follow-call-set-process-filter, follow-call-process-filter)
2947 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2948 (follow-stop-intercept-process-output, follow-generic-filter):
2950 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2951 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2952 New functions, replacing advice on scroll-bar-* commands.
2953 (follow-mwheel-scroll): New function (Bug#4112).
2955 * comint.el (comint-adjust-point): New function.
2956 (comint-postoutput-scroll-to-bottom): Use it.
2957 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2959 2012-05-01 Glenn Morris <rgm@gnu.org>
2961 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2962 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2963 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2964 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2965 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2966 Remove no-byte-compile setting.
2968 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2971 all-completions code to not return a number in the last cdr.
2973 2012-04-30 Leo Liu <sdl.web@gmail.com>
2975 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2978 2012-04-29 Chong Yidong <cyd@gnu.org>
2980 * follow.el (follow-calc-win-end): Rewrite to handle partial
2981 screen lines correctly (Bug#8390).
2982 (follow-avoid-tail-recenter): Minor cleanup.
2984 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2986 Avoid the obsolete `assoc' package.
2987 * speedbar.el (speedbar-refresh): Avoid adelete.
2988 (speedbar-file-lists): Simplify and avoid aput.
2989 * man.el (Man--sections, Man--refpages): New vars, replacing
2990 Man-sections-alist and Man-refpages-alist.
2991 (Man-build-section-alist, Man-build-references-alist):
2992 Use them; avoid aput.
2993 (Man--last-section, Man--last-refpage): New vars.
2994 (Man-follow-manual-reference): Use them.
2995 Use the `default' arg of completing-read.
2996 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2998 2012-04-27 Chong Yidong <cyd@gnu.org>
3000 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3002 * startup.el (x-apply-session-resources): New function.
3004 * term/ns-win.el (ns-initialize-window-system):
3005 * term/w32-win.el (w32-initialize-window-system):
3006 * term/x-win.el (x-initialize-window-system): Use it to properly
3007 set menu-bar-mode and other vars from X resources, even if the
3008 initial frame is not a window-system frame (Bug#2299).
3010 * subr.el (read-key): Avoid running filter function when setting
3011 up temporary tool bar entries (Bug#9922).
3013 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3015 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3018 2012-04-27 Chong Yidong <cyd@gnu.org>
3020 * select.el (xselect--encode-string): New function, split from
3021 xselect-convert-to-string.
3022 (xselect-convert-to-string): Use it.
3023 (xselect-convert-to-filename, xselect-convert-to-os)
3024 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3025 returned strings are properly encoded (Bug#11315).
3027 2012-04-27 Chong Yidong <cyd@gnu.org>
3029 * simple.el (delete-active-region): Move to killing custom group.
3031 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3033 * progmodes/which-func.el (which-func-current): Quote %
3034 characters for mode-line processing.
3036 2012-04-27 Chong Yidong <cyd@gnu.org>
3038 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3039 reaching eob (Bug#11286).
3041 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3043 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3044 (gdb): Make it buffer-local and init to zero.
3045 (gdb-control-commands-regexp): New variable.
3046 (gdb-send): Don't wrap in "-interpreter-exec console" if
3047 gdb-control-level is positive. Increment gdb-control-level
3048 whenever the command matches gdb-control-commands-regexp, and
3049 decrement it each time the command is "end". (Bug#11279)
3051 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3053 * window.el (adjust-window-trailing-edge, enlarge-window)
3054 (shrink-window, window-resize):
3055 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3056 windows (Bug#11276).
3058 2012-04-27 Chong Yidong <cyd@gnu.org>
3060 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3061 fix "missing prefix" warning. All callers changed.
3063 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * emacs-lisp/assoc.el: Move to obsolete/.
3067 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3071 * term/ns-win.el (ns-define-service):
3072 * progmodes/pascal.el (pascal-goto-defun):
3073 * progmodes/js.el (js--read-tab):
3074 * progmodes/etags.el (tags-lazy-completion-table):
3075 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3076 * emacs-lisp/ewoc.el (ewoc--wrap):
3077 * emacs-lisp/assoc.el (aput, adelete, amake):
3078 * doc-view.el (doc-view-convert-current-doc):
3079 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3081 2012-04-26 Chong Yidong <cyd@gnu.org>
3083 * image.el (image-type-from-buffer): Only return supported image
3086 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3087 value, for symmetry with diff-end-of-hunk.
3088 (diff-split-hunk, diff-find-source-location)
3089 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3090 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3091 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3092 compute the relevant hunk or file properly (Bug#6005).
3093 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3095 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3104 * vc/vc.el: Replace lexical-let by lexical-binding.
3105 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3106 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3107 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3109 2012-04-26 Chong Yidong <cyd@gnu.org>
3111 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3112 (diff-mode-shared-map): Bind it to / and [remap undo].
3114 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3115 (ediff-window-setup-function): Use it as the default, to set up
3116 windows based on whether the current frame is graphical (Bug#2138).
3117 (ediff-choose-window-setup-function-automatically): Make obsolete.
3119 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3121 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * ffap.el: Remove old code for obsolete package.
3124 (ffap-complete-as-file-p): Remove.
3126 Use completion-table-with-quoting for comint and pcomplete.
3127 * comint.el (comint--unquote&requote-argument)
3128 (comint--unquote-argument, comint--requote-argument): New functions.
3129 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3130 (comint-quote-filename): Use regexp-opt-charset.
3131 (comint--common-suffix, comint--common-quoted-suffix)
3132 (comint--table-subvert): Remove.
3133 (comint-unquote-function, comint-requote-function): New vars.
3134 (comint--complete-file-name-data): Use them with
3135 completion-table-with-quoting.
3136 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3137 * pcomplete.el (pcomplete-arg-quote-list)
3138 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3139 (pcomplete-unquote-argument-function): Default to non-nil.
3140 (pcomplete-unquote-argument): Simplify.
3141 (pcomplete--common-quoted-suffix): Remove.
3142 (pcomplete-requote-argument-function): New var.
3143 (pcomplete--common-suffix): New function.
3144 (pcomplete-completions-at-point): Use completion-table-with-quoting
3145 and completion-table-subvert.
3147 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3148 (minibuffer--double-dollars): Preserve properties.
3149 (completion--sifn-requote): New function.
3150 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3152 * minibuffer.el: Add support for completion of quoted/escaped data.
3153 (completion-table-with-quoting, completion-table-subvert): New funs.
3154 (completion--twq-try, completion--twq-all): New functions.
3155 (completion--nth-completion): New function.
3156 (completion-try-completion, completion-all-completions): Use it.
3158 2012-04-25 Leo Liu <sdl.web@gmail.com>
3160 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3161 Use compilation-message if available to find real filename.
3163 2012-04-25 Chong Yidong <cyd@gnu.org>
3165 * vc/diff-mode.el (diff-setup-whitespace): New function.
3166 (diff-mode): Use it.
3168 * vc/diff.el (diff-sentinel):
3169 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3170 Whitespace mode variables based on diff style (Bug#8612).
3172 2012-04-25 Leo Liu <sdl.web@gmail.com>
3174 * progmodes/python.el (python-send-region): Add suffix .py to the
3177 * files.el (auto-mode-alist): Use javascript-mode instead.
3179 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3181 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3183 * soap-client.el (soap-resolve-references-for-sequence-type)
3184 (soap-resolve-references-for-array-type): Hack to prevent self
3185 references, see Bug#9.
3186 (soap-parse-envelope): Report the contents of the 'detail' node
3187 when receiving a fault reply.
3188 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3190 * soap-inspect.el (soap-sample-value-for-simple-type)
3191 (soap-inspect-simple-type): New function.
3193 * soap-client.el (soap-simple-type): New struct.
3194 (soap-default-xsd-types, soap-default-soapenc-types)
3195 (soap-decode-basic-type, soap-encode-basic-type):
3196 support unsignedInt and double basic types.
3197 (soap-resolve-references-for-simple-type)
3198 (soap-parse-simple-type, soap-encode-simple-type): New function.
3199 (soap-parse-schema): Parse xsd:simpleType declarations.
3201 * soap-client.el (soap-default-xsd-types)
3202 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3203 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3204 the local name of "soapenc:Array".
3205 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3206 decoding integer, byte and anyURI xsd types.
3208 2012-04-25 Chong Yidong <cyd@gnu.org>
3210 * cus-edit.el (custom-buffer-create-internal): Update header text.
3212 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3214 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3215 settings on 'system-type', not on 'window-system'. On MS-Windows,
3216 set interactive-mode on in GDB.
3218 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3221 (ruby-syntax-propertize-regexp): Remove.
3222 (ruby-syntax-propertize-function): Split regexp into chunks.
3223 Match following code directly.
3225 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3227 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3228 (ruby-syntax-propertize-regexp): New function.
3229 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3230 by a special keyword.
3232 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3233 (ruby-syntax-general-delimiters-goto-beg)
3234 (ruby-syntax-propertize-general-delimiters): New functions.
3235 (ruby-syntax-propertize-function): Use them to handle GDL.
3236 (ruby-font-lock-keywords): Move old handling of GDL...
3237 (ruby-font-lock-syntactic-keywords): .. to here.
3238 (ruby-calculate-indent): Adjust indentation for GDL.
3240 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3242 * notifications.el (top): Remove unneeded declarations.
3243 (notifications-specification-version): Change to "1.2".
3244 (notifications-interface, notifications-notify-method)
3245 (notifications-close-notification-method): Fix docstring.
3246 (notifications-get-capabilities-method): New defconst.
3247 (notifications-notify): Add :action-items, :resident and
3248 :transient hints. Change "image_data" to "image-data" and
3249 "image_path" to "image-path".
3250 (notifications-get-capabilities): New defun.
3252 2012-04-24 Leo Liu <sdl.web@gmail.com>
3254 * progmodes/python.el: Move hideshow setup to the end.
3256 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3258 * window.el (handle-select-window): Clear echo area since this is
3259 no more done by read_char (Bug#11304).
3261 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3264 and `/ M' to filter-derived-mode.
3265 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3266 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3267 (ibuffer-mark-by-mode): Use default rather than initial-input.
3268 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3270 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3272 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3273 (ibuffer-filter-by-derived-mode): New filter.
3274 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3276 2012-04-23 Andreas Politz <politza@fh-trier.de>
3278 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3280 2012-04-23 Chong Yidong <cyd@gnu.org>
3282 * cus-edit.el (customize-apropos, customize-apropos-options):
3283 Disable matching of non-option variables (Bug#11176).
3284 (customize-option, customize-option-other-window)
3285 (customize-changed-options): Doc fix.
3286 (customize-apropos-options, customize-apropos-faces)
3287 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3289 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3290 Fix word list splitting (Bug#11132).
3291 (apropos-symbol, apropos-keybinding, apropos-label)
3292 (apropos-property, apropos-function-button)
3293 (apropos-variable-button, apropos-misc-button): New faces.
3294 (apropos-symbol-face, apropos-keybinding-face)
3295 (apropos-label-face, apropos-property-face, apropos-match-face):
3296 Variables removed (Bug#8396).
3297 (apropos-library-button, apropos-format-plist, apropos-print)
3298 (apropos-print-doc, apropos-describe-plist): Callers changed.
3300 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3302 * net/xesam.el (xesam-mode-map): Use let-bound map in
3303 initialization. (Bug#11292)
3305 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3307 Preserve ispell session localwords when switching back to
3310 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3311 variable to hold buffer session localwords.
3312 (ispell-kill-ispell): add option 'clear to delete session
3314 (ispell-command-loop, ispell-change-dictionary)
3315 (ispell-buffer-local-words): Preserve session localwords when
3318 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3319 Preserve session localwords when needed.
3321 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3323 * ispell.el (ispell-insert-word) Remove unneeded function using
3324 obsolete `translation-table-for-input'.
3325 (ispell-word, ispell-process-line, ispell-complete-word):
3326 Use plain `insert' instead of removed `ispell-insert-word'.
3328 2012-04-22 Chong Yidong <cyd@gnu.org>
3330 * cus-edit.el (custom-variable-menu)
3331 (custom-variable-reset-saved, custom-face-menu)
3332 (custom-face-reset-saved): If there is no saved value, make the
3333 "reset-saved" operation bring back the default (Bug#9509).
3334 (custom-face-state): Properly detect themed faces.
3336 * faces.el (face-spec-set): Stop supporting deprecated form of
3339 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3341 Move functions from C to Lisp. Make non-blocking method calls
3342 the default. Implement further D-Bus standard interfaces.
3344 * net/dbus.el (dbus-message-internal): Declare function.
3345 Remove unneeded function declarations.
3346 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3347 (dbus-message-type-method-return, dbus-message-type-error)
3348 (dbus-message-type-signal): Declare variables. Remove local
3350 (dbus-interface-dbus, dbus-interface-peer)
3351 (dbus-interface-introspectable, dbus-interface-properties)
3352 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3354 (dbus-interface-objectmanager): New defconst.
3355 (dbus-call-method, dbus-call-method-asynchronously)
3356 (dbus-send-signal, dbus-method-return-internal)
3357 (dbus-method-error-internal, dbus-register-service)
3358 (dbus-register-signal, dbus-register-method): New defuns, moved
3360 (dbus-call-method-handler, dbus-setenv)
3361 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3363 (dbus-call-method-non-blocking): Make it an obsolete function.
3364 (dbus-unregister-object, dbus-unregister-service)
3365 (dbus-handle-event, dbus-register-property)
3366 (dbus-property-handler): Obey the new structure of
3367 `bus-registered-objects'.
3368 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3369 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3370 Use `dbus-call-method'.
3372 2012-04-22 Chong Yidong <cyd@gnu.org>
3374 * cus-edit.el (custom-commands, custom-reset-menu)
3375 (Custom-reset-standard): Tweak labels.
3376 (custom-reset-button-menu): Change default to t.
3377 (custom-buffer-create-internal): For the custom-reset-button-menu
3378 case, put the revert button first.
3379 (custom-group-subtitle): New face.
3380 (custom-group-value-create): Align docstring to a specific column.
3382 * wid-edit.el (widget-documentation-link-add): Don't handle
3383 indentation in this function.
3384 (widget-documentation-string-indent-to): New function.
3385 (widget-documentation-string-value-create): Use it.
3387 * autorevert.el (auto-revert):
3388 * epg-config.el (epg):
3389 * ibuffer.el (ibuffer):
3392 * eshell/eshell.el (eshell):
3393 * net/ange-ftp.el (ange-ftp):
3394 * progmodes/ebnf2ps.el (postscript):
3395 * progmodes/flymake.el (flymake):
3396 * progmodes/prolog.el (prolog):
3397 * progmodes/verilog-mode.el (verilog-mode):
3398 * progmodes/which-func.el (which-func):
3399 * term/xterm.el (xterm):
3400 * textmodes/picture.el (picture):
3401 * textmodes/tildify.el (tildify):
3402 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3403 customization buffers.
3405 2012-04-22 Alan Mackenzie <acm@muc.de>
3407 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3408 Adding a ) can hide the resulting (..) from searches. Fix it.
3409 Bound the backward search to the position of the existing (.
3411 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3413 * progmodes/verilog-mode.el (verilog-mode): Check whether
3414 which-func-modes is t before adding verilog-mode.
3415 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3417 2012-04-21 Leo Liu <sdl.web@gmail.com>
3419 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3421 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3423 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3424 filling of the last column of a table (Bug#5635).
3425 (woman-find-next-control-line): New arg, specifying an additional
3426 regexp component for the control line.
3427 (woman2-roff-buffer): Use it.
3428 (woman-break-table): New function.
3429 (woman2-TS): Use it.
3431 2012-04-21 Chong Yidong <cyd@gnu.org>
3433 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3434 (woman-horizontal-escapes, woman-negative-vertical-space)
3435 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3436 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3438 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3440 * minibuffer.el (completion-file-name-table): Complete user names.
3442 2012-04-20 Leo Liu <sdl.web@gmail.com>
3444 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3447 2012-04-20 Chong Yidong <cyd@gnu.org>
3449 * server.el (server-execute): Respect initial-buffer-choice if it
3450 is a string and there are no files to open (Bug#2825).
3451 (server-create-window-system-frame, server-create-tty-frame):
3452 Don't switch buffers here.
3453 (server-process-filter): Only try to open a window system frame if
3454 compiled with graphical support (Bug#8314).
3456 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3458 * battery.el (battery-echo-area-format): Display remaining time
3459 for sysfs backend too (Bug#11269).
3460 (battery-linux-sysfs): Fix conditional for the charge.
3462 2012-04-20 Chong Yidong <cyd@gnu.org>
3464 * progmodes/gdb-mi.el (gdb): Revert previous change.
3465 (gdb-inferior-io--init-proc): New function.
3466 (gdb-init-1): Use it.
3467 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3468 responsible for allocating a new pty and hooking it to gdb when
3469 the old pty gets an EIO due to process exit.
3470 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3471 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3472 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3474 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3476 * window.el (window-min-size, window-sizable, window-min-delta)
3477 (window-max-delta, window--resizable, window-resizable)
3478 (window-total-size, window-full-height-p, window-full-width-p)
3479 (window-in-direction, window--resize-mini-window, window-resize)
3480 (window--resize-child-windows-normal)
3481 (window--resize-child-windows, window--resize-siblings)
3482 (window--resize-this-window, adjust-window-trailing-edge)
3483 (enlarge-window, shrink-window): Doc fixes.
3485 2012-04-20 Chong Yidong <cyd@gnu.org>
3487 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3488 New function to call delete-process on the gdb-inferior buffer's pty.
3489 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3490 pty process (Bug#11273).
3491 (gdb-update): New arg to suppress talking to the gdb process.
3492 (gdb-done-or-error): Use it.
3493 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3494 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3495 sentinel not being called.
3497 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3499 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3501 2012-04-20 Glenn Morris <rgm@gnu.org>
3503 * net/network-stream.el (open-network-stream): Doc fix.
3505 2012-04-20 Chong Yidong <cyd@gnu.org>
3507 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3509 2012-04-20 Alan Mackenzie <acm@muc.de>
3511 Ensure searching for keywords is case sensitive.
3513 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3514 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3515 (c-defun-name, c-mark-function, c-cpp-define-name)
3516 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3517 (c-context-line-break): Bind case-fold-search to nil.
3519 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3520 Bind case-fold-search to nil.
3522 2012-04-20 Chong Yidong <cyd@gnu.org>
3524 * mail/sendmail.el (mail-bury): Call return action with the right
3525 Rmail buffer (Bug#11242).
3527 * server.el (server-process-filter): Handle corner case where both
3528 tty and nowait options are present (Bug#11102).
3530 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3532 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3533 (top level): Put into the executable the ident-style '$Id:' tag on
3536 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * electric.el (electric-indent-post-self-insert-function): Check that
3539 electric-indent-mode is enabled in current buffer.
3541 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3543 * imenu.el (imenu-progress-message): Restore; it is "used" in
3544 erc/erc-imenu.el and net/snmp-mode.el.
3546 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3548 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3549 (mouse-avoidance-nudge-mouse): Remove unused binding.
3551 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3553 * descr-text.el (describe-char):
3554 * progmodes/python.el (python-describe-symbol):
3555 Don't call `toggle-read-only', set `buffer-read-only'.
3557 * imenu.el (imenu-default-goto-function): Mark unused args.
3558 (imenu-progress-message): Remove obsolete macro; all callers changed.
3560 * subr.el (keymap-canonicalize): Remove unused binding.
3561 (read-passwd): Mark unused arg.
3563 * tutorial.el (tutorial--display-changes): Remove unused binding.
3564 (tutorial--save-tutorial-to): Remove unused variable.
3566 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3567 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3568 (package-generate-autoloads, package-menu--generate)
3569 (package-menu--find-upgrades): Remove unused bindings.
3571 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3572 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3573 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3574 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3575 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3576 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3577 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3578 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3579 (cua-delete-char-rectangle): Mark unused args.
3580 (cua-align-rectangle): Remove unused binding.
3582 * mail/rmail.el (compilation--message->loc)
3583 (epa--find-coding-system-for-mime-charset): Declare.
3585 * net/dbus.el (dbus-register-service): Declare.
3586 (dbus-name-owner-changed-handler): Remove unused binding.
3588 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3589 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3590 (nxml-scan-backward-within): Mark unused arg.
3591 (nxml-dynamic-markup-word): Remove unused binding.
3593 * mouse.el (mouse-menu-major-mode-map):
3594 * emacs-lisp/authors.el (authors-scan-change-log)
3595 (authors-add-to-author-list):
3596 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3597 * emacs-lisp/smie.el (smie-auto-fill):
3598 * mail/sendmail.el (mail-bury):
3599 * mail/unrmail.el (unrmail):
3600 * net/tls.el (open-tls-stream):
3601 * textmodes/picture.el (picture-mouse-set-point):
3602 Remove unused bindings.
3604 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp.el (tramp-action-password): Let-bind
3607 `enable-recursive-minibuffers' to t.
3609 2012-04-18 Sam Steingold <sds@gnu.org>
3611 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3612 instead of 'string to accommodate values like [f11].
3613 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3614 * progmodes/gdb-mi.el: Likewise.
3616 2012-04-18 Leo Liu <sdl.web@gmail.com>
3618 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3620 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3623 2012-04-18 Chong Yidong <cyd@gnu.org>
3625 * simple.el (line-move): Use forward-line if in batch mode
3628 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3630 * files.el (after-find-file): Do not try to add a final newline if
3631 the buffer is read-only (Bug#11156).
3633 2012-04-17 Richard Stallman <rms@gnu.org>
3635 * mail/rmail.el (rmail-start-mail):
3636 Pass (rmail-mail-return...) for the return-action.
3637 Pass (rmail-yank-current-message...) for the yank-action.
3638 (rmail-yank-current-message): New function.
3639 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3640 (rmail-reply): Likewise.
3641 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3643 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3644 buffer, not the last. Reject temp buffers. Use the rmail-mode
3647 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3649 * server.el (server-ensure-safe-dir): Simplify.
3651 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * emacs-lisp/smie.el: Provide smarter auto-filling.
3654 (smie-auto-fill): New function.
3655 (smie-setup): Use it.
3657 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3659 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3661 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3662 (comment-indent): Use it.
3664 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3666 * ses.el: The overall change is to add cell renaming, that is
3667 setting fancy names for cell symbols other than name matching
3668 "\\`[A-Z]+[0-9]+\\'" regexp .
3669 (ses-localvars): Add ses--renamed-cell-symb-list.
3670 (ses-create-cell-variable): New defun.
3671 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3672 (ses-relocate-formula): Relocate formulas only for cells the
3673 symbols of which are not renamed, i.e. symbols whose names do not
3674 match regexp "\\`[A-Z]+[0-9]+\\'".
3675 (ses-relocate-all): Relocate values only for cells the symbols of
3676 which are not renamed.
3677 (ses-load): Create cells variables as the (ses-cell ...) are read,
3678 in order to check row col consistency with cell symbol name only
3679 for cells that are not renamed.
3680 (ses-replace-name-in-formula): New defun.
3681 (ses-rename-cell): New defun.
3683 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3685 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3686 New option (bug#11118).
3687 (perl-calculate-indent): Respect it.
3689 2012-04-17 Glenn Morris <rgm@gnu.org>
3691 * dired-aux.el (dired-mark-read-string): Doc fix.
3693 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3695 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3696 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3698 2012-04-17 Glenn Morris <rgm@gnu.org>
3700 * mouse.el (mouse-drag-track):
3701 * speedbar.el (speedbar-frame-mode):
3702 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3704 2012-04-16 Leo Liu <sdl.web@gmail.com>
3706 * progmodes/python.el: Trivial cleanup.
3708 2012-04-16 Glenn Morris <rgm@gnu.org>
3710 * vc/vc.el (vc-string-prefix-p):
3711 * vc/pcvs-util.el (cvs-string-prefix-p):
3712 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3713 * mpc.el (mpc-string-prefix-p):
3714 Make all of these into obsolete aliases for string-prefix-p.
3716 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3718 * textmodes/two-column.el: Move custom options to the start.
3719 (frame-width): Remove compat definition.
3720 (2C-associate-buffer, 2C-dissociate):
3721 Use with-current-buffer rather than save-excursion.
3722 (2C-dissociate): Force a mode-line update.
3723 (2C-autoscroll): Use ignore-errors.
3725 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3728 * emacs-lisp/cl-extra.el (*random-state*):
3729 Remove unnecessary declaration.
3731 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3733 * play/cookie1.el (cookie-snarf):
3734 Give an explicit error if input file cannot be read.
3736 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3738 * progmodes/perl-mode.el (c-macro-expand):
3739 Remove unnecessary autoload (it is in loaddefs.el).
3741 * textmodes/picture.el (picture-desired-column)
3742 (picture-update-desired-column): Convert comments to doc-strings.
3743 (picture-substitute): Remove function.
3744 (picture-mode-map): Initialize in the defvar.
3746 * woman.el: Remove eval-after-load for tar-mode.
3747 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3748 (woman-tar-extract-file): Autoload it.
3750 * frame.el (automatic-hscrolling): Make this alias obsolete.
3752 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3754 * ispell.el (ispell-set-spellchecker-params): Post-process
3755 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3756 (ispell-dictionary-base-alist): Revert to original XEmacs
3757 friendly version for default. [:alpha:] will be added in
3758 `ispell-set-spellchecker-params' if needed
3760 2012-04-16 Chong Yidong <cyd@gnu.org>
3762 * image.el (imagemagick--extension-regexp): New variable.
3763 (imagemagick-register-types): Use it.
3764 (imagemagick-types-inhibit): Add :set function. Allow new value
3765 of t to inhibit all types.
3767 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3768 so we can preload it.
3770 * loadup.el (fboundp): Preload regexp-opt, needed by
3771 imagemagick-register-types.
3773 2012-04-15 Chong Yidong <cyd@gnu.org>
3775 * frame.el (scrolling): Remove nearly unused customization group.
3777 * scroll-all.el (scroll-all-mode): Move to windows group.
3779 2012-04-15 Chong Yidong <cyd@gnu.org>
3781 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3783 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3785 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3786 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3788 2012-04-15 Glenn Morris <rgm@gnu.org>
3790 * simple.el (process-file-side-effects): Doc fix.
3792 2012-04-15 Glenn Morris <rgm@gnu.org>
3794 * international/mule-cmds.el (set-language-environment): Doc fix.
3796 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3798 * server.el (server-auth-key, server-generate-key): Doc fixes.
3799 (server-get-auth-key): Doc fix. Use `string-match-p'.
3800 (server-start): Reflow docstring.
3802 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3804 * server.el (server-generate-key): `called-interactively-p'
3805 requires a parameter.
3807 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3809 * server.el (server-auth-key): New variable.
3810 (server-generate-key, server-get-auth-key): New function.
3811 (server-start): Use the new variable and functions to allow
3812 setting a permanent server key (bug#9423).
3814 2012-04-14 Leo Liu <sdl.web@gmail.com>
3816 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3818 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3821 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3822 Emacs uses American spelling.
3824 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3826 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3827 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3828 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3829 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3831 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * progmodes/which-func.el (which-func-modes): Change default.
3835 2012-04-14 Kim F. Storm <storm@cua.dk>
3837 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3838 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3840 2012-04-14 Chong Yidong <cyd@gnu.org>
3842 * custom.el (custom-theme-set-variables): Doc fix.
3844 2012-04-14 Glenn Morris <rgm@gnu.org>
3846 * international/mule.el (set-auto-coding-for-load): Doc fix.
3848 2012-04-14 Alan Mackenzie <acm@muc.de>
3850 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3851 imenu work again for Objective C Mode. Correct the *-index values,
3852 these having been disturbed by a previous change in 2011-08.
3854 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3855 Correct two search limits.
3857 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3861 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3863 * international/characters.el: Fix sorting.
3865 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3867 * international/characters.el: Add more missing Latin case pairs.
3869 2012-04-14 Glenn Morris <rgm@gnu.org>
3871 * files.el (dir-locals-set-class-variables): Doc fix.
3873 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3875 * international/characters.el: Add set-case-syntax-pair call for
3876 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3877 counterpart. (Bug#11209)
3879 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3881 2012-04-14 Glenn Morris <rgm@gnu.org>
3883 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3885 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3887 * textmodes/ispell.el (ispell-dictionary-base-alist):
3888 Add data for Hebrew.
3890 2012-04-14 Chong Yidong <cyd@gnu.org>
3892 * net/rcirc.el (rcirc-cmd-quit):
3893 Revert 2012-03-18 change (Bug#11192).
3895 2012-04-14 Glenn Morris <rgm@gnu.org>
3897 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3899 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3901 * minibuffer.el (completion-in-region-mode-map):
3902 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3904 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3906 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3908 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3910 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3911 to allow `C-M-f' and `C-M-b' to move to the nearest path
3912 separator (bug#9511).
3914 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3916 * avoid.el: Require cl when compiling. And also move the
3917 `provide' to the end.
3919 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3921 * avoid.el (mouse-avoidance-banish-position): New variable.
3922 (mouse-avoidance-banish-destination): Use it (bug#10165).
3924 2012-04-13 Leo Liu <sdl.web@gmail.com>
3926 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3928 2012-04-13 Ken Brown <kbrown@cornell.edu>
3930 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3931 this is no longer needed now that cygstart understands file:// URLs.
3932 (browse-url-filename-alist): For the same reason, don't modify
3933 file:// URLs on Cygwin.
3935 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3938 the region on shift if the binding is already shifted (bug#11221).
3940 2012-04-12 Glenn Morris <rgm@gnu.org>
3942 * mail/mailpost.el: Move to obsolete/.
3944 2012-04-12 Drew Adams <drew.adams@oracle.com>
3946 * imenu.el (imenu--generic-function): Ignore invisible definitions
3949 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3951 * hexl.el (hexl-bits): New variable.
3952 (hexl-options): Mention the variable in the doc string.
3953 (hexl-rulerise, hexl-line-displen): New functions.
3954 (hexl-mode): Mention the new variable.
3955 (hexl-mode, hexl-current-address, hexl-current-address):
3957 (hexl-ascii-start-column): New function.
3958 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3959 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3961 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3963 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3964 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3965 the encoding, as expected by hunspell.
3967 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * battery.el (battery--linux-sysfs-regexp): New const.
3970 (battery-status-function): Use it. Remove yeeloong special case.
3971 (battery-yeeloong-sysfs): Remove.
3972 (battery-echo-area-format): Remove yeeloong special case.
3974 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3977 Reported by Noah Friedman.
3979 * subr.el (read-passwd): Use read-string.
3981 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3983 * vcursor.el (vcursor-move): Increase the priority of the overlay
3986 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3988 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3989 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3991 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3993 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3994 define-minor-mode (bug#10760).
3996 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3998 * progmodes/grep.el (rgrep): Tweak the find command line so
3999 that directories matching `grep-find-ignored-files' won't be
4002 2012-04-11 Chong Yidong <cyd@gnu.org>
4004 * startup.el (command-line): Remove support for long-obsolete
4005 variable font-lock-face-attributes.
4007 2012-04-11 Glenn Morris <rgm@gnu.org>
4009 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4011 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4013 * window.el (window--state-get-1): Obey window-point-insertion-type.
4015 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4017 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4018 to previous function when point is on the first character of a
4019 function. Take care of that in `narrow-to-defun' (bug#6157).
4021 2012-04-11 Glenn Morris <rgm@gnu.org>
4023 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4024 not just file-errors.
4026 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4027 (vc-bzr-sha1): Use internal sha1.
4029 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4033 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4035 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4036 that start in the middle of the line (bug#10496).
4038 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4040 * battery.el (battery-linux-proc-acpi): Only one battery is
4041 discharged at a time, but that seems to confuse battery.el when
4042 computing `rate-type' for the battery not being discharged
4045 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4047 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4049 * international/quail.el: Use dolist and simplify.
4050 (quail-define-package, quail-update-keyboard-layout)
4051 (quail-define-rules): Use dolist.
4052 (quail-insert-kbd-layout, quail-get-translation): CSE.
4054 * tmm.el: Use dolist, remove left over hook.
4055 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4057 (calendar-load-hook): Don't mess with it.
4059 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4060 Use derived-mode-p. Run the diff asynchronously.
4062 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4064 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4066 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4068 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4069 (list-dynamic-libraries--loaded): New function.
4070 (list-dynamic-libraries--refresh): Use it.
4072 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4074 * progmodes/python.el (python-fill-paragraph):
4075 Make python-fill-region in a multiline string work when font-lock is
4076 disabled (bug#7018).
4078 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4080 * language/european.el (cp775): Add oem/legacy (en)coding on
4081 DOS/MS Windows for the Baltic languages. There are still plenty
4082 of texts written in this encoding/codepage (bug#6519).
4084 2012-04-10 Glenn Morris <rgm@gnu.org>
4086 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4087 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4089 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4091 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4092 next-line "n" and previous-line "p" in order to make recentf more
4093 consistent with ibuffer, dired or org-mode (bug#9387).
4095 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4097 * image.el (put-image): Return the overlay created instead of the
4098 optional input string (bug#7834). Note that this may break code
4099 that is (for some reason or other) depending on `put-image'
4100 returning the string.
4102 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4104 * simple.el (zap-to-char): Allow zapping using input methods
4107 * textmodes/fill.el (fill-region): Leave point and mark where they
4108 were before filling (bug#5399).
4110 2012-04-09 Glenn Morris <rgm@gnu.org>
4112 * version.el (emacs-bzr-get-version):
4113 Handle lightweight checkouts of local branches.
4115 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4117 * international/characters.el: Recover lost case pairs. (Bug#11209)
4119 2012-04-09 Chong Yidong <cyd@gnu.org>
4121 * custom.el (custom-variable-p): Return nil for non-symbol
4122 arguments instead of signaling an error.
4123 (user-variable-p): Obsolete alias for custom-variable-p.
4125 * apropos.el (apropos-variable):
4126 * files-x.el (read-file-local-variable):
4127 * simple.el (set-variable):
4128 * woman.el (woman-mini-help):
4129 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4131 2012-04-09 Glenn Morris <rgm@gnu.org>
4133 * startup.el (normal-top-level): Don't look for leim-list.el
4134 in places where it will not be found. (Bug#910)
4136 * international/mule-cmds.el (set-default-coding-systems):
4137 * files.el (normal-mode):
4138 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4139 This function was removed with ucs-tables.el in 2008.
4141 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4143 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4144 ispell-encoding8-command to "-i", without a trailing space.
4145 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4146 separate command-line arguments, to specify the encoding, since
4147 that's how hunspell expects it.
4149 2012-04-08 Glenn Morris <rgm@gnu.org>
4151 * loadup.el: Load bindings before cus-start.
4152 This reduces somewhat the number of "rogue" settings in emacs -Q.
4154 2012-04-07 Glenn Morris <rgm@gnu.org>
4156 * version.el (emacs-bzr-get-version): New function.
4157 (emacs-bzr-version): New variable.
4158 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4159 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4161 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4163 * international/uni-bidi.el, international/uni-category.el:
4164 * international/uni-combining.el, international/uni-decimal.el:
4165 * international/uni-decomposition.el, international/uni-digit.el:
4166 * international/uni-lowercase.el, international/uni-mirrored.el:
4167 * international/uni-name.el, international/uni-numeric.el:
4168 * international/uni-titlecase.el, international/uni-uppercase.el:
4169 Update for Unicode 6.1.
4171 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4173 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4175 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177 * window.el (shrink-window): Mention the `window-min-height'
4178 variable in the doc string.
4180 2012-04-05 Bastien Guerry <bzg@altern.org>
4182 * color.el (color-lighten-name): Fix typo.
4184 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * server.el (server--on-display-p): New function.
4187 (server--on-display-p): Use it.
4189 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4191 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4194 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4196 * comint.el (comint--common-quoted-suffix): Check string boundary
4197 before comparing (bug#11158).
4198 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4200 2012-04-04 Chong Yidong <cyd@gnu.org>
4202 * minibuffer.el (completion-extra-properties): Doc fix.
4204 * subr.el (delayed-warnings-hook): Doc fix.
4206 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4208 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4209 selection (Bug#11159).
4210 (epa-insert-keys): Inform that the default public key will be
4211 exported if no key is selected.
4213 2012-04-04 Richard Stallman <rms@gnu.org>
4215 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4217 2012-04-03 Chong Yidong <cyd@gnu.org>
4219 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4220 mail-insert-file, not its obsolete alias mail-attach-file.
4222 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4224 * notifications.el (notifications-notify): Fix docstring.
4226 2012-04-02 Glenn Morris <rgm@gnu.org>
4228 * emacs-lisp/authors.el (authors-aliases): Another addition.
4230 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4232 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4233 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4234 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4236 2012-04-01 Chong Yidong <cyd@gnu.org>
4238 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4239 Handle root directory properly.
4240 (copy-directory): Caller changed.
4242 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4243 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4245 2012-03-31 Glenn Morris <rgm@gnu.org>
4247 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4249 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4251 * calendar/calendar.el (calendar-window-list)
4252 (calendar-hide-window): Restore. (Bug#11140)
4253 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4255 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4257 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4259 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4260 Check if file is a symlink (Bug#10489).
4262 * files.el (copy-directory): Likewise.
4264 2012-03-30 Chong Yidong <cyd@gnu.org>
4266 * image.el (imagemagick-types-inhibit)
4267 (imagemagick-register-types): Doc fix.
4269 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4271 * ispell.el (ispell-get-extended-character-mode):
4272 Disable extended-char-mode for hunspell. hunspell does not support it
4273 and treats ~word as ordinary words in pipe mode.
4275 2012-03-30 Glenn Morris <rgm@gnu.org>
4277 * tutorial.el (help-with-tutorial): Ensure local variables don't
4278 happen to make the buffer read-only. (Bug#11127)
4280 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4283 (perl-calculate-indent): Return `noindent' in strings.
4285 2012-03-28 Sam Steingold <sds@gnu.org>
4287 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4288 instead of the broken adhockery which does not prevent calendar
4289 buffers from being displayed at random after exit.
4290 (calendar-window-list, calendar-hide-window): Remove the broken
4293 2012-03-28 Glenn Morris <rgm@gnu.org>
4295 * replace.el (query-replace-map): Doc fix.
4297 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4299 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4300 contents. (Bug#11109)
4302 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4306 (avl-tree--check, avl-tree--check-node): New funs.
4308 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4310 * window.el (switch-to-visible-buffer): New option.
4311 (switch-to-prev-buffer, switch-to-next-buffer):
4312 Observe switch-to-visible-buffer. Make sure that checking for a window
4313 showing a buffer already is done on the same frame.
4315 2012-03-27 Glenn Morris <rgm@gnu.org>
4317 * startup.el (mail-host-address): Doc fix.
4319 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4321 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4324 2012-03-26 Ami Fischman <ami@fischman.org>
4326 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4328 2012-03-26 Glenn Morris <rgm@gnu.org>
4330 * files.el (save-buffers-kill-emacs): Doc fix.
4332 * startup.el (normal-top-level, command-line, command-line-1):
4333 Give them doc strings.
4335 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4337 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4338 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4340 2012-03-25 Chong Yidong <cyd@gnu.org>
4342 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4343 theme if it was previously enabled before (Bug#11031).
4345 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4346 spec with custom-face-get-current-spec if its :shown-value is not
4347 determined yet (Bug#9337).
4348 (customize-create-theme, custom-theme-revert): Doc fixes.
4350 * button.el (button-at): Minor addition to docstring.
4352 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4354 * vc/vc.el (vc-merge): Fix a prompt.
4356 2012-03-24 Chong Yidong <cyd@gnu.org>
4358 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4361 * button.el (button-at): Minor addition to docstring.
4363 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * newcomment.el (comment-choose-indent): No space after BOL.
4367 2012-03-22 Sam Steingold <sds@gnu.org>
4369 * window.el (switch-to-prev-buffer): Revert last patch because the
4370 bug turned out to be an advertised feature (Elisp manual 28.14).
4372 2012-03-22 Glenn Morris <rgm@gnu.org>
4374 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4375 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4377 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4379 * net/network-stream.el (network-stream-open-starttls): Make error
4380 message under Windows be less misleading.
4382 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4384 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4385 understands (bug#9942).
4387 2012-03-22 Chong Yidong <cyd@gnu.org>
4389 * simple.el (end-of-visible-line): Handle return value of
4390 next-single-property-change properly (Bug#9371).
4392 2012-03-22 Kenichi Handa <handa@m17n.org>
4394 * international/quail.el (quail-insert-kbd-layout): Fix previous
4395 change. To avoid unwanted bidi reordering, use
4396 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4398 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4400 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4401 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4402 (ruby-beginning-of-indent): Be more careful with the difference
4403 between word-boundary and symbol boundary.
4404 (ruby-mode-syntax-table): Make : a symbol constituent.
4406 2012-03-21 Andreas Politz <politza@fh-trier.de>
4408 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4410 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * progmodes/etags.el (tags-completion-at-point-function):
4415 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4417 2012-03-21 Sam Steingold <sds@gnu.org>
4419 * progmodes/etags.el (tags-completion-at-point-function):
4420 Avoid the error when point is inside the pattern.
4422 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4424 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4427 2012-03-21 Drew Adams <drew.adams@oracle.com>
4429 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4431 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4433 * ido.el (ido-set-current-directory, ido-read-internal)
4434 (ido-choose-completion-string, ido-completion-help): Handle nil
4435 value of ido-completion-buffer (Bug#11008).
4437 2012-03-21 Sam Steingold <sds@gnu.org>
4439 * window.el (switch-to-prev-buffer): Do not switch to a visible
4440 window previous buffer, just like with the frame previous buffers.
4442 2012-03-21 Chong Yidong <cyd@gnu.org>
4444 * faces.el (make-face, make-empty-face, copy-face):
4445 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4448 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4450 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4451 (widget-complete): Remove broken use of it.
4453 2012-03-20 Chong Yidong <cyd@gnu.org>
4455 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4456 Use string-width and truncate-string-width to handle arbitrary
4459 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4461 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4462 to draw rectangles, not squares. (Regression introduced by revno
4463 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4465 2012-03-18 Chong Yidong <cyd@gnu.org>
4467 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4468 it is not yet defined (for temacs).
4470 2012-03-18 Leo Liu <sdl.web@gmail.com>
4472 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4474 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4476 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4477 (ispell-choices-win-default-height, ispell-silently-savep)
4478 (ispell-dictionary-alist, ispell-encoding8-command)
4479 (ispell-check-version, ispell-aspell-find-dictionary)
4480 (ispell-valid-dictionary-list, ispell-words-keyword)
4481 (ispell-get-word, ispell-internal-change-dictionary)
4482 (ispell-region, ispell-skip-region-list)
4483 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4484 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4485 (ispell-message-text-end, ispell-message)
4486 (ispell-buffer-local-parsing): Doc fix.
4488 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4490 * htmlfontify.el: Add support for code block fontification for ODT
4492 (hfy-optimisations): Define new option
4494 (hfy-fontify-buffer): Honor above setting.
4495 (hfy-begin-span, hfy-end-span): New routines factored out form
4496 `hfy-fontify-buffer'.
4497 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4498 that permit insertion of custom tags.
4499 (hfy-fontify-buffer): Use above handlers.
4500 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4501 (hfy-face-to-css): Re-defined to be a variable.
4502 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4503 over multiple runs. This is made possible by having the caller let
4504 bind a special variable `hfy-user-sheet-assoc'.
4505 (htmlfontify-string): New defun.
4506 (hfy-compile-face-map): Make sure that the last char in the
4507 buffer is correctly fontified.
4508 (hfy-face-resolve-face): Whitespace only change.
4510 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4512 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4515 2012-03-16 Leo Liu <sdl.web@gmail.com>
4517 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4519 2012-03-16 Alan Mackenzie <acm@muc.de>
4521 Further optimise the handling of large macros.
4523 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4524 limit to a call of `c-literal-limits'.
4525 (c-determine-+ve-limit): New function.
4526 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4527 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4528 In CASE 5B, restrict a search limit to 500.
4529 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4531 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4532 Restrict macro bounds to +-500 from after-change's BEG END.
4534 2012-03-16 Leo Liu <sdl.web@gmail.com>
4536 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4538 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4540 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4541 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4543 2012-03-16 Glenn Morris <rgm@gnu.org>
4545 * view.el (view-buffer, view-buffer-other-window)
4546 (view-buffer-other-frame): Doc fixes re special mode-class.
4548 * subr.el (eval-after-load): If named feature is provided not from
4549 a file, run after-load forms. (Bug#10946)
4551 * calendar/calendar.el (calendar-insert-at-column):
4552 Handle non-unit-width characters a bit better. (Bug#10978)
4554 2012-03-15 Chong Yidong <cyd@gnu.org>
4556 * emacs-lisp/ring.el (ring-extend): New function.
4557 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4559 * comint.el (comint-read-input-ring)
4560 (comint-add-to-input-history): Grow comint-input-ring lazily.
4562 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4565 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4567 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4568 (imenu-add-to-menubar): Don't add a redundant index.
4569 (imenu-update-menubar): Handle a dynamically composed keymap.
4571 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4573 * mail/sendmail.el (mail-encode-header):
4574 Bind rfc2047-encode-encoded-words to nil.
4576 2012-03-13 Glenn Morris <rgm@gnu.org>
4578 * calendar/calendar.el (calendar-string-spread):
4579 Handle non-unit-width characters a bit better. (Bug#10978)
4581 2012-03-13 Leo Liu <sdl.web@gmail.com>
4583 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4584 directory and file as argument (Bug#10822).
4586 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4588 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4589 For dynamically generated code, follow $PC.
4590 (gdb-disassembly-handler-custom): Handle no function name case.
4592 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4594 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4595 * emulation/ws-mode.el (ws-query-replace):
4596 * sort.el (sort-regexp-fields):
4597 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4599 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4601 * dabbrev.el: Fix cycle completion order (bug#10963).
4602 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4603 (dabbrev-completion): Don't use an obarray; provide
4604 a cycle-sort-function.
4606 2012-03-12 Leo Liu <sdl.web@gmail.com>
4608 * simple.el (kill-new): Use equal-including-properties for comparison.
4609 (kill-do-not-save-duplicates): Doc fix.
4611 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4613 * dabbrev.el: Fix cycle completion (bug#10963).
4614 Use lexical binding and wrap to 80 columns.
4615 (dabbrev-completion): Delay computing the list of completions.
4617 2012-03-12 Kenichi Handa <handa@m17n.org>
4619 * international/quail.el (quail-insert-kbd-layout): Surround each
4620 row by LRO and PDF instead of inserting many LRMs. Pad the left
4621 and right of each non-spacing marks. Insert invisible space
4622 between lower and upper characters to prevent composition.
4624 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4626 * minibuffer.el (minibuffer-complete): Don't get confused when the
4627 function is run twice via different commands (bug#10958).
4628 (complete-with-action): Fix docstring.
4630 2012-03-12 Chong Yidong <cyd@gnu.org>
4632 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4633 (nxml-completion-at-point-function): New function.
4634 (nxml-mode): Use it.
4635 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4637 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4638 Load generated autoloads file before byte compiling (Bug#10970).
4639 (package--make-autoloads-and-compile): New helper fun.
4641 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4643 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4645 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4647 * autorevert.el (auto-revert-handler): Ensure, that
4648 file-readable-p is applied only for local files or in
4649 auto-revert-tail-mode.
4651 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4653 * server.el (server-eval-at): Handle non-tcp connections.
4654 Decode result string.
4656 * server.el (server-msg-size): New constant.
4657 (server-reply-print): New function.
4658 (server-eval-and-print): Use it.
4659 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4662 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4664 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4667 2012-03-11 Chong Yidong <cyd@gnu.org>
4669 * simple.el (goto-line): Doc fix (Bug#9938).
4671 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4673 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4674 when finished (Bug#10963).
4676 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4678 * window.el (split-window-below): Fix bug in case where
4679 split-window-keep-point is nil (Bug#10971).
4681 2012-03-11 Juri Linkov <juri@jurta.org>
4683 * replace.el (replace-highlight): Set isearch-word to nil
4684 unconditionally. (Bug#10887)
4686 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4688 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4689 mairix-replace-illegal-chars; all callers changed. Don't remove
4690 ^, ~, and = characters: they are meaningful in mairix search specs.
4691 (mairix-widget-create-query): Add usage information about mairix
4692 search forms: negating words, searching for substrings, etc.
4694 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4696 * international/fontset.el (font-encoding-alist): Add an entry for
4699 2012-03-10 Richard Stallman <rms@gnu.org>
4701 * mail/sendmail.el (mail-encode-header):
4702 Set rfc2047-encode-encoded-words.
4704 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4706 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4707 view buffer means not swapped.
4708 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4709 (rmail-write-region-annotate): Error if real text has disappeared.
4711 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4713 2012-03-10 Chong Yidong <cyd@gnu.org>
4715 * emulation/cua-rect.el (cua--init-rectangles):
4716 * emulation/cua-base.el (cua--init-keymaps):
4717 Add delete-forward-char to remappings (Bug#9666).
4719 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4721 * speedbar.el (speedbar-unhighlight-one-tag-line):
4722 Avoid unhighlighting due to frame switching (Bug#10275).
4724 2012-03-10 Chong Yidong <cyd@gnu.org>
4726 * minibuffer.el (completion-in-region, completion-help-at-point):
4727 Give the completion field overlay a high priority (Bug#6830).
4729 * dired.el (dired-goto-file): Recognize absolute file name
4730 listings (Bug#7126).
4731 (dired-goto-file-1): New helper function.
4732 (dired-toggle-read-only): Inhibit warnings.
4734 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4736 * net/dbus.el (dbus-property-handler): Return empty array if
4737 there are no properties.
4739 2012-03-09 Leo Liu <sdl.web@gmail.com>
4741 * savehist.el (savehist-printable): Stricter check for string
4744 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4746 * mail/smtpmail.el (smtpmail-send-it):
4747 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4750 2012-03-09 Glenn Morris <rgm@gnu.org>
4752 * files.el (dir-locals-find-file):
4753 Don't check result is regular, readable.
4754 (dir-locals-read-from-file): Demote errors.
4756 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4758 * international/quail.el (quail-insert-kbd-layout):
4759 Insert invisible LRM characters before each character in a keyboard
4760 layout cell, to prevent their reordering by bidi display engine.
4761 For details, see the discussion in
4762 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4764 2012-03-08 Alan Mackenzie <acm@muc.de>
4766 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4767 the starting position; make it extend the marked region when
4768 invoked repeatedly - all under appropriate circumstances.
4769 Fixes bugs #5525, #10906.
4771 2012-03-08 Glenn Morris <rgm@gnu.org>
4773 * files.el (locate-dominating-file, dir-locals-find-file):
4774 Undo 2012-03-06 change.
4776 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4778 * international/quail.el (quail-help):
4779 Force bidi-paragraph-direction be left-to-right. See discussion in
4780 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4783 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4785 Avoid superfluous registering of signals. (Bug#10807)
4787 * notifications.el (notifications-on-action-object)
4788 (notifications-on-close-object): New defvars.
4789 (notifications-on-action-signal, notifications-on-closed-signal):
4790 Unregister the signal if not needed any longer.
4791 (notifications-notify): Register `notifications-action-signal' or
4792 `notifications-closed-signal', if :on-action or :on-close has been
4795 2012-03-07 Chong Yidong <cyd@gnu.org>
4797 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4800 2012-03-06 Glenn Morris <rgm@gnu.org>
4802 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4803 (x-disown-selection-internal, x-get-selection-internal):
4804 Doc fix (add arglist signatures). (Bug#10783)
4806 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4808 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4809 Handle breakpoints with no "type".
4811 2012-03-06 Glenn Morris <rgm@gnu.org>
4813 * files.el (locate-dominating-file): Add optional predicate argument.
4814 (dir-locals-find-file): Make use of above change.
4816 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4818 * info.el (Info-insert-dir): Also try "dir.gz".
4820 2012-03-06 Glenn Morris <rgm@gnu.org>
4822 * files.el (dir-locals-find-file):
4823 Ignore non-readable or non-regular files. (Bug#10928)
4825 * files.el (locate-dominating-file): Doc fix.
4827 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4829 * calendar/calendar.el (calendar-set-mode-line):
4830 `getenv' returns a string. (Bug#10951)
4832 2012-03-05 Leo Liu <sdl.web@gmail.com>
4834 * simple.el (backward-delete-char-untabify): Constrain point to
4837 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4839 2012-03-05 Chong Yidong <cyd@gnu.org>
4841 * simple.el (count-words): If called from Lisp, return the word
4842 count, for symmetry with `count-lines'. Arglist changed.
4843 (count-words--message): Args changed. Consolidate counting code
4844 from count-words and count-words-region.
4845 (count-words-region): Caller changed.
4846 (count-lines-region): Make it an obsolete alias.
4848 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4850 * saveplace.el (save-place-to-alist)
4851 (save-place-ignore-files-regexp): Allow value nil to disable this
4854 2012-03-04 Chong Yidong <cyd@gnu.org>
4856 * faces.el (face-spec-reset-face): For the default face, reset the
4857 attributes to default values (Bug#10748).
4859 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4861 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4862 previous patch: Check `message-send-mail-function', and not the
4863 default function (bug#10897).
4865 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4867 * notifications.el (notifications-on-action-signal)
4868 (notifications-on-closed-signal): Check for unique service name of
4869 incoming event. Fix error in removing entry.
4870 (top): Register for signals with wildcard service name.
4871 (notifications-notify): Use daemon unique service name for map entries.
4873 2012-03-04 Chong Yidong <cyd@gnu.org>
4875 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4877 2012-03-04 Glenn Morris <rgm@gnu.org>
4879 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4880 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4881 (expand-abbrev, define-abbrev-table): Doc fixes.
4883 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4886 `message-default-send-mail-function' and not `send-mail-function'
4887 when doing the prompting for `sendmail-query-once' before sending
4888 in Message buffers (bug#10897).
4890 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4891 This is inconsistent with all the other stream functions, which leave
4892 the setting up to the higher levels (if so wanted) (bug#10931).
4894 2012-03-02 Alan Mackenzie <acm@muc.de>
4896 Depessimize the handling of very large macros.
4898 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4899 (c-macro-cache-syntactic): New variables to implement a one
4900 element macro cache.
4901 (c-invalidate-macro-cache): New function.
4902 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4903 Adapt to use the new cache.
4904 (c-state-safe-place): Use better the cache of safe positions.
4905 (c-state-semi-nonlit-pos-cache)
4906 (c-state-semi-nonlit-pos-cache-limit):
4907 New variables for...
4908 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4909 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4910 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4911 Use c-state-semi-safe-place.
4913 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4914 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4916 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4918 * jka-compr.el (jka-compr-call-process):
4919 Apply `file-accessible-directory-p' only when the default directory is
4922 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4924 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4925 access of FILE2, if FILE1 does not exist.
4927 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4928 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4930 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4931 Add "PAGER=" to `process-environment'.
4933 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4935 * progmodes/sql.el: Bug fix
4936 (sql-get-login-ext): Save login values in globals.
4937 (sql-get-login): Use new version of `sql-get-login-ext'.
4938 (sql-interactive-mode): Set global `sql-connection' to nil.
4939 (sql-connect): Set global values for connection.
4940 (sql-product-interactive): Save global values as buffer local.
4942 2012-02-29 Leo Liu <sdl.web@gmail.com>
4944 * abbrev.el (define-abbrevs): Reset sys to nil.
4946 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4948 * files.el (file-equal-p): Rename from `files-equal-p'.
4949 Return nil when one or both files don't exist.
4950 (file-subdir-of-p): Now only top directory must exists,
4951 return nil if it doesn't.
4952 (copy-directory): No need to test with `file-subdir-of-p' after
4954 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4957 2012-02-28 Glenn Morris <rgm@gnu.org>
4959 * shell.el (shell-mode):
4960 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4961 * play/landmark.el (landmark-font-lock-face-O):
4962 * play/handwrite.el (handwrite):
4963 * play/gomoku.el (gomoku-O):
4964 * net/browse-url.el (browse-url-browser-display):
4965 * international/mule.el (define-charset):
4966 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4967 * filesets.el (filesets-find-file-delay):
4968 * eshell/em-xtra.el (eshell-xtra):
4969 * eshell/em-unix.el (eshell-grep):
4970 * emulation/viper.el (viper-mode):
4971 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4972 * emacs-lisp/easymenu.el (easy-menu-define):
4973 * calendar/timeclock.el (timeclock-use-display-time):
4975 * bookmark.el (bookmark-save-flag):
4976 Doc fix (standardize possessive apostrophe usage).
4978 2012-02-27 Chong Yidong <cyd@gnu.org>
4980 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4981 Fix key-binding lookup for ESC key (Bug#9146).
4983 * font-lock.el (font-lock-specified-p): Rename from
4984 font-lock-spec-present. Callers changed.
4986 2012-02-27 Daniel Hackney <dan@haxney.org>
4988 * emacs-lisp/package.el (package-compute-transaction):
4989 Handle holding a package version to t in package-load-list.
4991 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4993 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4994 (tramp-get-inode, tramp-get-device): Use cached values.
4996 2012-02-26 Alan Mackenzie <acm@muc.de>
4998 Check there is a font-lock specification before doing initial
5001 * font-core.el (font-lock-mode): Move the conditional from
5002 :after-hook to font-lock-initial-fontify.
5003 (font-lock-default-function): Move the check for a specification
5004 to font-lock-spec-present.
5006 * font-lock.el (font-lock-initial-fontify): Call ...
5007 (font-lock-spec-present): New function.
5009 2012-02-26 Jim Blandy <jimb@red-bean.com>
5011 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5012 (gdb-send): Apply it to the operand of the '-interpreter-exec
5013 console' command, so that we can pass arguments with (say) quotes
5014 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5016 2012-02-26 Chong Yidong <cyd@gnu.org>
5018 * help-fns.el (describe-function-1): Clarify description of
5019 remapping (Bug#10844).
5021 * files.el (files-equal-p): Doc fix.
5022 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5023 and quit the loop once a mismatch is found.
5025 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5027 * bs.el (bs--show-with-configuration): Don't throw an error
5028 if the window cannot be split; otherwise, subsequent calls to
5029 bs-show fail, restoring a stale window config. (Bug#10882)
5031 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5033 * term/ns-win.el (global-map): Bind ns-drag-file to
5034 ns-find-file (Bug#5855, Bug#10050).
5036 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5038 * calendar/parse-time.el (parse-time-string): Allow extractor to
5041 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5043 * net/tramp.el (tramp-file-name-for-operation):
5044 Add `files-equal-p' and `file-subdir-of-p'.
5046 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5047 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5048 Add COPY-CONTENTS argument.
5050 2012-02-25 Chong Yidong <cyd@gnu.org>
5052 Add custom groups for VC backends, for consistency with vc-bzr.
5054 * vc/vc-arch.el (vc-arch):
5055 * vc/vc-cvs.el (vc-cvs):
5056 * vc/vc-git.el (vc-git):
5057 * vc/vc-hg.el (vc-hg):
5058 * vc/vc-mtn.el (vc-mtn):
5059 * vc/vc-rcs.el (vc-rcs):
5060 * vc/vc-sccs.el (vc-sccs):
5061 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5062 All relevant defcustoms reassigned.
5064 2012-02-25 Chong Yidong <cyd@gnu.org>
5066 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5068 * term/x-win.el (x-initialize-window-system): Reduce default for
5069 x-selection-timeout to 5 seconds (Bug#8869).
5071 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5073 * files.el (files-equal-p, file-subdir-of-p): New functions.
5074 (copy-directory): Error when trying to copy a directory on itself.
5075 Add missing copy-contents arg to tramp handler.
5076 * dired-aux.el (dired-copy-file-recursive): Same.
5077 (dired-create-files): Modify destination when source is equal to
5078 dest when copying files.
5079 Return also when dest is a subdir of source. (Bug#10489)
5081 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5083 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5086 2012-02-23 Alan Mackenzie <acm@muc.de>
5088 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5089 parameter "after-hook:" to allow the expansion to run code after
5090 the execution of the mode hooks.
5092 * font-lock.el (font-lock-initial-fontify): New function extracted
5093 from font-lock-mode-internal.
5095 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5098 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5101 (completion--cache-all-sorted-completions): New function.
5102 (completion-all-sorted-completions): Use it.
5103 (completion--do-completion, minibuffer-force-complete):
5104 Use it to re-instate the flush hook.
5106 * icomplete.el (icomplete-completions): Replace last fix with a better
5109 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5111 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5112 when it might call us back infinitely (bug#10797).
5114 2012-02-23 Glenn Morris <rgm@gnu.org>
5116 * minibuffer.el (completion-category-overrides): Doc fix.
5118 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5120 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5121 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5123 2012-02-23 Glenn Morris <rgm@gnu.org>
5125 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5126 (authors-obsolete-files-regexps, authors-ignored-files)
5127 (authors-ambiguous-files, authors-renamed-files-alist):
5130 2012-02-23 Juri Linkov <juri@jurta.org>
5132 * isearch.el (isearch-occur): Sync interactive spec with occur's
5133 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5135 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5137 2012-02-22 Juri Linkov <juri@jurta.org>
5139 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5140 (ucs-insert): Doc fix. Check for hex digits in the string.
5141 Don't display `nil' in the error message. (Bug#10857)
5143 2012-02-22 Alan Mackenzie <acm@muc.de>
5145 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5147 2012-02-22 Glenn Morris <rgm@gnu.org>
5149 * ffap.el (ffap-c-path):
5150 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5152 2012-02-22 Chong Yidong <cyd@gnu.org>
5154 * custom.el (load-theme): Doc fix.
5156 2012-02-22 Glenn Morris <rgm@gnu.org>
5158 * dired-x.el (dired-guess-shell-alist-default):
5159 Remove escape sequences from nroff output. (Bug#172)
5161 2012-02-21 Glenn Morris <rgm@gnu.org>
5163 * vc/emerge.el (emerge-defvar-local):
5164 Set `permanent-local' property rather than unused `preserved'.
5166 * textmodes/picture.el (picture-delete-char): New alias.
5167 (picture-mode-map): Use it. (Bug#10860)
5168 (picture-mode): Doc fix.
5170 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5172 * newcomment.el (uncomment-region-default): Remove unused binding.
5174 2012-02-21 Glenn Morris <rgm@gnu.org>
5176 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5177 (picture-self-insert, picture-tab-chars): Doc fix.
5178 (picture-mode-map): Fix C-a, C-e.
5180 2012-02-20 Glenn Morris <rgm@gnu.org>
5182 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5184 2012-02-20 Leo Liu <sdl.web@gmail.com>
5186 * icomplete.el (icomplete-completions): Check FROM arg before
5187 passing to substring (Bug#10850).
5189 2012-02-19 Chong Yidong <cyd@gnu.org>
5191 * comint.el: Require ansi-color.
5192 (comint-output-filter-functions): Add ansi-color-process-output.
5194 * ansi-color.el: Don't set comint-output-filter-functions; it is
5195 now in the initial value defined in comint.el.
5196 (ansi-color-apply-face-function): New variable.
5197 (ansi-color-apply-on-region): Use it.
5198 (ansi-color-apply-overlay-face): New function.
5200 * shell.el (shell): No need to require ansi-color.
5201 (shell-mode): Use ansi-color-apply-face-function to highlight
5202 color escapes using font-lock-face property (Bug#10835).
5204 2012-02-19 Chong Yidong <cyd@gnu.org>
5206 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5207 mode-line formats (Bug#10839).
5209 2012-02-18 Glenn Morris <rgm@gnu.org>
5211 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5213 * mail/undigest.el (unforward-rmail-message): Doc fix.
5215 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5217 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5219 * international/characters.el (script-list): Sync with the latest
5220 Unicode Character Database.
5222 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5224 * international/titdic-cnv.el: Remove duplicate coding tag.
5225 * language/cham.el: Likewise.
5226 * language/tai-viet.el: Likewise.
5228 2012-02-18 Glenn Morris <rgm@gnu.org>
5230 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5231 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5232 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5233 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5234 * calendar/holidays.el (holiday-bahai-holidays)
5235 (calendar-holidays, list-holidays):
5236 Use utf-8 Bahá'à in doc-strings, menus, etc.
5238 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5240 * saveplace.el (save-place-ignore-files-regexp): New variable
5241 allowing for excluding files from saving their location of point.
5242 The default value matches the temporary commit message editing
5243 files from Git, SVN, Bazaar, and Mercurial.
5244 (save-place-to-alist): Use it.
5246 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5247 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * newcomment.el (uncomment-region-default): Don't leave extra space
5250 when an arg is provided (bug#8150).
5252 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5254 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5256 2012-02-17 Glenn Morris <rgm@gnu.org>
5258 * net/socks.el: Require network-stream. (Bug#10599)
5260 2012-02-17 Kenichi Handa <handa@m17n.org>
5262 * international/charprop.el:
5263 * international/uni-name.el:
5264 * international/uni-old-name.el:
5265 * international/uni-comment.el: Regenerate.
5267 2012-02-16 Glenn Morris <rgm@gnu.org>
5269 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5270 Interactively in calendar buffer, give an error if not on a date.
5272 2012-02-15 Glenn Morris <rgm@gnu.org>
5274 * shell.el (shell-delimiter-argument-list):
5275 Revert 2011-02-17 change. (Bug#8027)
5277 2012-02-15 Chong Yidong <cyd@gnu.org>
5279 * minibuffer.el (completion-at-point-functions): Doc fix.
5281 * custom.el (defcustom): Doc fix; note use of defvar.
5283 2012-02-15 Glenn Morris <rgm@gnu.org>
5285 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5288 2012-02-14 Glenn Morris <rgm@gnu.org>
5290 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5292 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5294 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5295 way the ports list is computed.
5296 (smtpmail-query-smtp-server): Prompt the user for a port number if
5297 we can't connect to any of the standard ports (bug#10810).
5299 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5301 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5303 2012-02-13 Glenn Morris <rgm@gnu.org>
5305 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5307 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5309 * net/gnutls.el (gnutls-trustfiles): New variable.
5310 (gnutls-negotiate): Use it.
5312 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5314 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5315 does its stuff if Gnus is running.
5317 2012-02-13 Alan Mackenzie <acm@muc.de>
5319 Fix a loop in c-set-fl-decl-start.
5321 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5322 c-backward-syntactic-ws actually moves backwards.
5324 2012-02-13 Leo Liu <sdl.web@gmail.com>
5326 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5327 beginning so that all \C-o chars are removed.
5329 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5331 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5333 2012-02-12 Alan Mackenzie <acm@muc.de>
5335 Fix infinite loop with long macros.
5336 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5338 2012-02-12 Chong Yidong <cyd@gnu.org>
5340 * window.el (display-buffer): Doc fix (Bug#10785).
5342 2012-02-12 Glenn Morris <rgm@gnu.org>
5344 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5345 (x-disown-selection-internal, x-get-selection-internal):
5346 Sync docs with the xselect.c versions.
5348 * allout-widgets.el: Add missing license notice.
5350 2012-02-11 Glenn Morris <rgm@gnu.org>
5352 * select.el (x-get-selection-internal, x-own-selection-internal)
5353 (x-disown-selection-internal):
5354 * x-dnd.el (x-get-selection-internal): Update declarations.
5356 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5358 * window.el (window-sides-slots):
5359 * tool-bar.el (tool-bar-position):
5360 * term/xterm.el (xterm-extra-capabilities):
5361 * ses.el (ses-self-reference-early-detection):
5362 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5363 (verilog-auto-wire-type)
5364 (verilog-auto-delete-trailing-whitespace)
5365 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5366 (verilog-auto-tieoff-declaration):
5367 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5368 (sql-oracle-statement-starters, sql-oracle-scan-on):
5369 * progmodes/prolog.el (prolog-align-comments-flag)
5370 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5371 (prolog-left-indent-regexp, prolog-paren-indent-p)
5372 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5373 (prolog-types, prolog-mode-specificators)
5374 (prolog-determinism-specificators, prolog-directives)
5375 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5376 (prolog-electric-dot-flag)
5377 (prolog-electric-dot-full-predicate-template)
5378 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5379 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5380 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5381 (prolog-program-switches, prolog-prompt-regexp)
5382 (prolog-debug-on-string, prolog-debug-off-string)
5383 (prolog-trace-on-string, prolog-trace-off-string)
5384 (prolog-zip-on-string, prolog-zip-off-string)
5385 (prolog-use-standard-consult-compile-method-flag)
5386 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5387 (prolog-imenu-max-lines, prolog-info-predicate-index)
5388 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5389 (prolog-char-quote-workaround):
5390 * progmodes/cc-vars.el (c-defun-tactic):
5391 * net/tramp.el (tramp-encoding-command-interactive)
5392 (tramp-local-end-of-line):
5393 * net/soap-client.el (soap-client):
5394 * net/netrc.el (netrc-file):
5395 * net/gnutls.el (gnutls):
5396 * minibuffer.el (completion-category-overrides)
5397 (completion-cycle-threshold)
5398 (completion-pcm-complete-word-inserts-delimiters):
5399 * man.el (Man-name-local-regexp):
5400 * mail/feedmail.el (feedmail-display-full-frame):
5401 * international/characters.el (glyphless-char-display-control):
5402 * eshell/em-ls.el (eshell-ls-date-format):
5403 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5404 (lisp-lambda-list-keyword-parameter-indentation)
5405 (lisp-lambda-list-keyword-parameter-alignment):
5406 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5407 * dired-x.el (dired-omit-verbose):
5408 * cus-theme.el (custom-theme-allow-multiple-selections):
5409 * calc/calc.el (calc-highlight-selections-with-faces)
5410 (calc-lu-field-reference, calc-lu-power-reference)
5411 (calc-note-threshold):
5412 * battery.el (battery-mode-line-limit):
5413 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5414 (archive-7z-update):
5415 * allout.el (allout-prefixed-keybindings)
5416 (allout-unprefixed-keybindings)
5417 (allout-inhibit-auto-fill-on-headline)
5418 (allout-flattened-numbering-abbreviation):
5419 * allout-widgets.el (allout-widgets-auto-activation)
5420 (allout-widgets-icons-dark-subdir)
5421 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5422 (allout-widgets-theme-dark-background)
5423 (allout-widgets-theme-light-background)
5424 (allout-widgets-item-image-properties-emacs)
5425 (allout-widgets-item-image-properties-xemacs)
5426 (allout-widgets-run-unit-tests-on-load)
5427 (allout-widgets-time-decoration-activity)
5428 (allout-widgets-hook-error-post-time)
5429 (allout-widgets-track-decoration):
5430 Add missing :version tags to new defcustoms and defgroups.
5432 * progmodes/sql.el (sql-ansi-statement-starters)
5433 (sql-oracle-statement-starters): Add custom type.
5435 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5436 (prolog-system-version): Give it a type.
5438 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5440 * term/pc-win.el (x-select-text, x-selection-owner-p)
5441 (x-own-selection-internal, x-disown-selection-internal)
5442 (x-get-selection-internal): Sync doc strings and argument lists
5443 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5445 2012-02-11 Leo Liu <sdl.web@gmail.com>
5447 * progmodes/python.el (python-end-of-statement): Fix infinite
5450 2012-02-10 Glenn Morris <rgm@gnu.org>
5452 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5453 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5455 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5457 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5458 about SMTP before checking the From header.
5460 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5461 into own function for reuse by emacsbug.el.
5463 2012-02-10 Leo Liu <sdl.web@gmail.com>
5465 * subr.el (condition-case-unless-debug): Rename from
5466 condition-case-no-debug. All callers changed.
5467 (with-demoted-errors): Fix caller.
5469 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5470 * nxml/rng-valid.el (rng-do-some-validation):
5471 * emacs-lisp/package.el (package-refresh-contents)
5472 (package-menu-execute):
5473 * desktop.el (desktop-create-buffer):
5474 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5476 2012-02-10 Glenn Morris <rgm@gnu.org>
5478 * textmodes/bibtex.el:
5479 Add missing :version tags for new/changed defcustoms.
5481 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5483 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5485 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5486 (smtpmail-via-smtp): Use it, or fall back on the From address.
5487 (smtpmail-send-it): Ditto.
5489 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5491 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5492 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5493 (byte-compile-tmp-var): New const.
5494 (byte-compile-defvar): Use it to minimize .elc size.
5495 Just use `defvar' rather than simulate it (bug#10761).
5497 2012-02-09 Glenn Morris <rgm@gnu.org>
5499 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5501 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5504 * progmodes/compile.el (compilation-error-screen-columns)
5505 (compilation-first-column, compilation-filter-start): Doc fixes.
5507 * vc/log-view.el (log-view-toggle-entry-display):
5508 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5510 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5511 (report-emacs-bug-can-use-xdg-email):
5512 (report-emacs-bug-insert-to-mailer): Doc fixes.
5513 (report-emacs-bug): Message fix.
5515 * net/browse-url.el (browse-url-can-use-xdg-open)
5516 (browse-url-xdg-open): Doc fixes.
5518 * electric.el (electric-indent-mode, electric-pair-mode)
5519 (electric-layout-rules, electric-layout-mode): Doc fixes.
5520 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5522 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5524 * server.el (server-unselect-display): Don't inadvertently kill
5525 the current buffer. (Bug#10729)
5527 2012-02-08 Glenn Morris <rgm@gnu.org>
5529 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5530 (sql-list-table): Doc fixes.
5532 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5533 Comment out (does nothing).
5535 * completion.el (dynamic-completion-mode):
5536 * dirtrack.el (dirtrack-debug-mode):
5537 * electric.el (electric-layout-mode):
5538 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5539 * face-remap.el (text-scale-mode, buffer-face-mode):
5540 * iimage.el (iimage-mode):
5541 * image-mode.el (image-transform-mode):
5542 * minibuffer.el (completion-in-region-mode):
5543 * scroll-lock.el (scroll-lock-mode):
5544 * simple.el (next-error-follow-minor-mode):
5545 * tar-mode.el (tar-subfile-mode):
5546 * tooltip.el (tooltip-mode):
5547 * vcursor.el (vcursor-use-vcursor-map):
5548 * wid-browse.el (widget-minor-mode):
5549 * emulation/tpu-edt.el (tpu-edt-mode):
5550 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5551 * international/iso-ascii.el (iso-ascii-mode):
5552 * language/thai-util.el (thai-word-mode):
5553 * mail/supercite.el (sc-minor-mode):
5554 * net/goto-addr.el (goto-address-mode):
5555 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5556 * progmodes/cwarn.el (cwarn-mode):
5557 * progmodes/flymake.el (flymake-mode):
5558 * progmodes/glasses.el (glasses-mode):
5559 * progmodes/hideshow.el (hs-minor-mode):
5560 * progmodes/pascal.el (pascal-outline-mode):
5561 * textmodes/enriched.el (enriched-mode):
5562 * vc/smerge-mode.el (smerge-mode):
5563 Doc fixes (minor mode argument).
5565 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5567 * ls-lisp.el (ls-lisp-sanitize): New function.
5568 (ls-lisp-insert-directory): Use it to fix or remove any elements
5569 in file-alist with missing attributes. (Bug#4673)
5571 2012-02-07 Alan Mackenzie <acm@muc.de>
5573 Fix spurious recognition of c-in-knr-argdecl.
5575 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5576 putative K&R region.
5578 2012-02-07 Alan Mackenzie <acm@muc.de>
5580 * progmodes/cc-engine.el (c-forward-objc-directive):
5581 Prevent looping in "#pragma mark @implementation".
5583 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5585 * notifications.el (notifications-on-closed-signal): Make `reason'
5586 optional. (Bug#10744)
5588 2012-02-07 Glenn Morris <rgm@gnu.org>
5590 * emacs-lisp/easy-mmode.el (define-minor-mode):
5591 Doc fixes for the macro and the mode it defines.
5593 * image.el (imagemagick-types-inhibit): Doc fix.
5595 * cus-start.el (imagemagick-render-type): Add it.
5597 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5599 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5600 Set the default at load time, too, so that `font-lock-fontify-buffer'
5601 can be called without setting up the entire mode first. This fixes
5602 a bug in `mm-inline-text' with C MIME parts.
5604 2012-02-06 Chong Yidong <cyd@gnu.org>
5606 * simple.el (list-processes--refresh): Delete exited processes
5609 * comint.el (comint-next-prompt): next-single-char-property-change
5610 and prev-single-char-property-change never return nil (Bug#8657).
5612 * custom.el (defcustom): Doc fix (Bug#9711).
5614 2012-02-05 Chong Yidong <cyd@gnu.org>
5616 * cus-edit.el (custom-variable-reset-backup): Quote the value
5617 before storing it in the customized-value property (Bug#6712).
5618 (custom-display): Add a customization type tag.
5619 (custom-buffer-create-internal): Improve tooltip message.
5621 * wid-edit.el (widget-field-value-get): New optional arg to
5622 suppress trailing whitespace truncation.
5623 (character): Use it (Bug#2689).
5625 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5627 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5628 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5630 2012-02-05 Chong Yidong <cyd@gnu.org>
5632 * cus-edit.el (custom-variable-value-create): For mismatched
5633 types, show the current value (Bug#7600).
5635 * custom.el (defcustom): Doc fix.
5637 2012-02-05 Glenn Morris <rgm@gnu.org>
5639 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5641 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5643 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5644 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5645 (pp-last-sexp): Use `looking-at-p'.
5647 2012-02-04 Glenn Morris <rgm@gnu.org>
5649 * files.el (revert-buffer):
5650 Doc fix (mention revert-buffer-in-progress-p).
5652 * emacs-lisp/ert-x.el (ert-simulate-command):
5653 Check deferred-action-list (which is obsolete) is bound.
5655 * subr.el (with-wrapper-hook): Doc fixes.
5657 * simple.el (filter-buffer-substring-functions)
5658 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5660 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5662 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5663 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5665 2012-02-04 Leo Liu <sdl.web@gmail.com>
5667 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5669 2012-02-04 Glenn Morris <rgm@gnu.org>
5671 * image.el (image-extension-data): Add obsolete alias.
5673 * isearch.el (isearch-update): Doc fix.
5675 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5677 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5679 2012-02-03 Glenn Morris <rgm@gnu.org>
5681 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5682 (image-animate-timeout): Doc fix.
5684 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5686 2012-02-02 Glenn Morris <rgm@gnu.org>
5688 * server.el (server-auth-dir): Doc fix.
5689 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5691 * subr.el (run-mode-hooks): Doc fix.
5693 2012-02-02 Juri Linkov <juri@jurta.org>
5695 * image-mode.el (image-toggle-display-image): Remove tautological
5696 `major-mode' from the `derived-mode-p' test.
5698 2012-02-02 Kenichi Handa <handa@m17n.org>
5700 * composite.el (compose-region): Cancel previous change.
5702 2012-02-02 Kenichi Handa <handa@m17n.org>
5704 * composite.el (compose-region, compose-string): Signal error for
5705 a null string component (Bug#6988).
5707 2012-02-01 Chong Yidong <cyd@gnu.org>
5709 * view.el (view-buffer-other-window, view-buffer-other-frame):
5710 Handle special modes like view-buffer (Bug#10650).
5711 (view-buffer): Simplify.
5713 * frame.el (set-frame-font): Tweak meaning of third argument.
5715 * dynamic-setting.el (font-setting-change-default-font):
5716 Use set-frame-font (Bug#9982).
5718 2012-02-01 Glenn Morris <rgm@gnu.org>
5720 * progmodes/compile.el (compilation-internal-error-properties):
5721 Respect compilation-first-column in the "*compilation*" buffer.
5723 * emacs-lisp/easy-mmode.el (define-minor-mode):
5724 Relax :variable's test for a named function.
5726 2012-01-31 Alan Mackenzie <acm@muc.de>
5728 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5731 2012-01-31 Chong Yidong <cyd@gnu.org>
5733 * frame.el (set-frame-font): New arg ALL-FRAMES.
5735 * menu-bar.el (menu-set-font): Use set-frame-font.
5737 * faces.el (face-spec-reset-face): Don't apply unspecified
5738 attribute values to the default face.
5740 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5742 * progmodes/cwarn.el (cwarn): Remove dead link.
5743 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5744 Remove * from defcustom docstrings.
5745 (turn-on-cwarn-mode): Make obsolete.
5746 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5747 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5749 2012-01-31 Glenn Morris <rgm@gnu.org>
5751 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5752 Fix :variable handling of mode a symbol not equal to modefun.
5753 Allow named functions to be used as the cdr of :variable.
5755 2012-01-30 Glenn Morris <rgm@gnu.org>
5757 * emacs-lisp/authors.el (authors-fixed-entries):
5758 Remove reference to deleted file rnewspost.el.
5760 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5762 * window.el (window-with-parameter): Remove unused variable `windows'.
5763 (window--side-check): Remove unused variable `code'.
5764 (window--resize-siblings): Remove unused variable `first'.
5765 (adjust-window-trailing-edge): Remove unused variable `failed'.
5766 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5767 Use `let', not `let*'.
5768 (balance-windows-2): Remove unused variable `found'.
5769 (window--state-put-2): Remove unused variable `splits'.
5770 (window-state-put): Remove unused variable `selected'.
5771 (same-window-p): Use `string-match-p'.
5772 (display-buffer-assq-regexp): Remove unused variable `value'.
5773 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5774 Mark argument ALIST as ignored.
5775 (pop-to-buffer): Remove unused variable `old-window'.
5777 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5779 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5780 and .lzma compressed files.
5782 2012-01-29 Chong Yidong <cyd@gnu.org>
5784 * frame.el (window-system-default-frame-alist): Doc fix.
5786 * dynamic-setting.el (font-setting-change-default-font): Don't
5787 change the default face if SET-FONT argument is non-nil (Bug#9982).
5789 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5791 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5793 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5795 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5796 breakpoints in files outside current directory (Bug#6098).
5798 2012-01-29 Chong Yidong <cyd@gnu.org>
5800 * progmodes/python.el: Require ansi-color at top-level.
5802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5803 Define and use in Emacs Lisp mode (Bug#9360).
5804 (lisp-mode-abbrev-table): Add doc.
5805 (lisp-mode-variables): Don't set local-abbrev-table.
5806 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5808 2012-01-28 Roland Winkler <winkler@gnu.org>
5810 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5812 2012-01-28 Roland Winkler <winkler@gnu.org>
5814 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5815 (bibtex-set-dialect): Use it. Either set global values of
5816 dialect-dependent variables or bind these variables buffer-locally
5818 (bibtex-mode): Call bibtex-set-dialect via
5819 hack-local-variables-hook.
5820 (bibtex-dialect): Update docstring.
5821 Add safe-local-variable predicate.
5822 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5824 (bibtex-mode-map): Define menu for each dialect.
5825 (bibtex-entry): Fix docstring.
5827 2012-01-28 Chong Yidong <cyd@gnu.org>
5829 * eshell/esh-arg.el (eshell-quote-argument): New function.
5831 * eshell/esh-ext.el (eshell-invoke-batch-file):
5832 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5833 first arg to eshell-parse-command (Bug#10523).
5835 2012-01-28 Drew Adams <drew.adams@oracle.com>
5837 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5838 `default-directory' is non-nil.
5840 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5842 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5843 line that displays system-configuration-options. (Bug#9924)
5845 2012-01-28 Drew Adams <drew.adams@oracle.com>
5847 * descr-text.el (describe-char): Show information about POS, in
5848 addition to information about the character at POS. Improve and
5849 update the doc string. Change "code point" to "code point in
5850 charset", to avoid confusion with the character's Unicode code
5851 point shown above that. (Bug#10129)
5853 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5855 * descr-text.el (describe-char): Show the raw character, not only
5856 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5857 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5860 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5862 * emacs-lisp/package.el (package-install):
5863 Run package-refresh-contents if there is no archive yet (Bug#9798).
5865 2012-01-28 Chong Yidong <cyd@gnu.org>
5867 * emacs-lisp/package.el (package-maybe-load-descriptor):
5868 New function, split from package-maybe-load-descriptor.
5869 (package-maybe-load-descriptor): Use it.
5870 (package-download-transaction): Fully load required packages
5871 inside the loop, so that `require' calls work (Bug#10593).
5872 (package-install): No need to call package-initialize now.
5874 2012-01-28 Chong Yidong <cyd@gnu.org>
5876 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5878 * tooltip.el (tooltip-mode): Doc fix.
5879 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5881 * frame.el (set-cursor-color): Doc fix (Bug#352).
5883 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5884 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5886 * cus-edit.el (custom-buffer-create-internal): Fix search button
5888 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5890 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5892 * dired.el (dired-mark-files-regexp):
5893 Include any subdirectory components. (Bug#10445)
5895 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5897 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5898 Handle [host]:port syntax. (Bug#10533)
5900 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5902 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5904 2012-01-26 Glenn Morris <rgm@gnu.org>
5906 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5907 * term.el (term-raw-escape-map): Use Control-X-prefix.
5908 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5910 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5912 * window.el (window-state-get, window--state-get-1): Don't deal
5913 with fixed-sizeness of windows. Simplify code.
5915 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5917 * window.el (window--state-get-1, window--state-put-2):
5918 Don't save and restore the mark.
5920 2012-01-25 Chong Yidong <cyd@gnu.org>
5922 * custom.el (custom-variable-p): Doc fix.
5924 2012-01-25 Glenn Morris <rgm@gnu.org>
5926 * dired.el (dired-goto-file): Handle some of the more common
5927 characters that `ls -b' escapes. (Bug#10596)
5929 * progmodes/compile.el (compilation-next-error-function):
5930 Respect compilation-first-column in the "*compilation*" buffer.
5931 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5933 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5935 2012-01-24 Glenn Morris <rgm@gnu.org>
5937 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5939 2012-01-24 Julien Danjou <julien@danjou.info>
5941 * color.el (color-rgb-to-hsl): Fix value computing.
5942 (color-hue-to-rgb): New function.
5943 (color-hsl-to-rgb): New function.
5944 (color-clamp, color-saturate-hsl, color-saturate-name)
5945 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5946 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5948 2012-01-24 Glenn Morris <rgm@gnu.org>
5950 * vc/vc-rcs.el (vc-rcs-create-tag):
5951 * vc/vc-sccs.el (vc-sccs-create-tag):
5952 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5954 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5956 * eshell/esh-util.el (eshell-read-hosts-file):
5957 Skip comment lines. (Bug#10549)
5959 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5961 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5963 * subr.el (display-delayed-warnings): Doc fix.
5964 (collapse-delayed-warnings): New function to collapse identical
5966 (delayed-warnings-hook): Add it.
5968 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5970 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5972 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5973 (tramp-default-user-alist): Don't add "pscp".
5974 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5975 property "login-as", if set. (Bug#10530)
5977 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5979 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5980 "plink1" and "psftp". (Bug#10530)
5982 2012-01-21 Kenichi Handa <handa@m17n.org>
5984 * international/mule-cmds.el (prefer-coding-system): Show a
5985 warning message if the default value of file-name-coding-system
5988 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5990 * windmove.el (windmove-reference-loc):
5991 Fix windmove-reference-loc miscalculation.
5993 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5995 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5998 2012-01-21 Glenn Morris <rgm@gnu.org>
6000 * international/mule.el (auto-coding-alist): Add .tbz.
6002 * files.el (local-enable-local-variables): Doc fix.
6003 (inhibit-local-variables-regexps): Rename from
6004 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6005 Doc fix. Add some extensions from auto-coding-alist.
6006 (inhibit-local-variables-suffixes):
6007 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6008 (inhibit-local-variables-p):
6009 New function, extracted from set-auto-mode-1.
6010 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6011 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6012 (hack-local-variables): Doc fix. Make the mode-only case
6013 respect enable-local-variables and friends.
6014 Respect inhibit-local-variables-regexps for file-locals, but
6015 not for directory-locals.
6016 (set-visited-file-name):
6017 Take account of inhibit-local-variables-regexps.
6018 Whether it applies may change as the file name is changed.
6019 * jka-cmpr-hook.el (jka-compr-install):
6020 * jka-compr.el (jka-compr-uninstall):
6021 Update for inhibit-first-line-modes-suffixes name change.
6023 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6025 * help-macro.el (make-help-screen): Temporarily restore original
6026 binding for minor-mode-map-alist (Bug#10454).
6028 2012-01-19 Julien Danjou <julien@danjou.info>
6030 * color.el (color-name-to-rgb): Use the white color to find the max
6031 color component value and return correctly computed values.
6032 (color-name-to-rgb): Add missing float conversion for max value.
6034 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6036 * window.el (window--state-get-1, window-state-get): Do not use
6037 special state value for window-persistent-parameters.
6038 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6039 (window--state-put-2): Reset all window parameters to nil before
6040 assigning values of persistent parameters.
6042 2012-01-18 Alan Mackenzie <acm@muc.de>
6044 Eliminate sluggishness and hangs in fontification of "semicolon
6047 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6048 Change value 10000 -> 3000.
6049 (c-state-safe-place): Reformulate so it doesn't stack up an
6050 infinite number of wrong entries in c-state-nonlit-pos-cache.
6051 (c-determine-limit-get-base, c-determine-limit): New functions to
6052 determine backward search limits disregarding literals.
6053 (c-find-decl-spots): Amend commenting.
6054 (c-cheap-inside-bracelist-p): New function which detects "={".
6056 * progmodes/cc-fonts.el
6057 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6059 (c-font-lock-declarations): Fix an occurrence of point being
6060 undefined. Check additionally for point being in a bracelist or
6061 near a macro invocation without a semicolon so as to avoid a
6062 fruitless time consuming search for a declarator. Give a more
6063 precise search limit for declarators using the new
6066 2012-01-18 Glenn Morris <rgm@gnu.org>
6068 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6069 (set-auto-mode): Doc fixes.
6071 2012-01-17 Glenn Morris <rgm@gnu.org>
6073 * isearch.el (search-nonincremental-instead): Fix doc typo.
6075 * dired.el (dired-insert-directory): Handle newlines in directory name.
6076 (dired-build-subdir-alist): Unescape newlines in directory name.
6078 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6080 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6081 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6082 (tramp-action-terminal): Use it. (Bug#10530)
6084 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6088 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6090 * window.el (window-state-ignored-parameters): Remove variable.
6091 (window--state-get-1): Rename argument MARKERS to IGNORE.
6092 Handle persistent window parameters. Make copy of clone-of
6093 parameter only if requested. (Bug#10348)
6094 (window--state-put-2): Install a window parameter only if it has
6095 a non-nil value or an existing parameter shall be overwritten.
6097 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6099 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6101 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6103 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6104 don't pass the (nil) value of `upnode' to string-match.
6106 2012-01-14 Chong Yidong <cyd@gnu.org>
6108 * startup.el (command-line): Fix X resource class for cursorColor.
6109 Fix values recognized by the cursorBlink resource.
6111 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6113 * epg.el (epg--make-temp-file): Avoid permission race condition
6114 when running on old Emacs versions (bug#10403).
6116 2012-01-14 Glenn Morris <rgm@gnu.org>
6118 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6120 2012-01-13 Alan Mackenzie <acm@muc.de>
6122 Fix filling for when filladapt mode is enabled.
6124 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6125 c-mask-paragraph, pass in `fill-paragraph' rather than
6126 `fill-region-as-paragraph'. (This is a reversion of a previous
6128 * progmodes/cc-mode.el (c-basic-common-init):
6129 Make fill-paragraph-handle-comment buffer local and set it to nil.
6131 2012-01-13 Glenn Morris <rgm@gnu.org>
6133 * dired.el (dired-switches-escape-p): New function.
6134 (dired-insert-directory): Use dired-switches-escape-p.
6135 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6137 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6139 2012-01-12 Glenn Morris <rgm@gnu.org>
6141 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6142 changes in adaptive-fill-regexp. (Bug#10276)
6144 2012-01-11 Alan Mackenzie <acm@muc.de>
6146 Fix Emacs bug #10463 - put `widen's around the critical spots.
6148 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6149 widen around each invocation of c-state-pp-to-literal. Remove an
6150 unused let variable.
6152 2012-01-11 Glenn Morris <rgm@gnu.org>
6154 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6157 2012-01-10 Chong Yidong <cyd@gnu.org>
6159 * net/network-stream.el (network-stream-open-starttls):
6160 Avoid emitting a confusing error message when the server gives a bad
6161 response to the capability command.
6163 2012-01-10 Glenn Morris <rgm@gnu.org>
6165 * mail/unrmail.el (unrmail): Tweak previous change.
6167 2012-01-09 Chong Yidong <cyd@gnu.org>
6169 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6171 2012-01-08 Alan Mackenzie <acm@muc.de>
6173 Optimise font locking in long enum definitions.
6175 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6176 arm to a cond form to handle enums.
6177 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6178 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6180 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6182 * files.el (move-file-to-trash): Preserve default file modes on error.
6185 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6187 * faces.el (set-face-attribute): Clarify the meaning of the nil
6190 * subr.el (with-selected-frame): Mention that the selected frame
6191 is restored (bug#9980).
6193 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6196 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6197 (password-read): Don't autoload unused function.
6199 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6201 * progmodes/which-func.el (which-func-mode): Turn into a
6202 non-interactive function and mark as obsolete (bug#10428).
6204 2012-01-06 Chong Yidong <cyd@gnu.org>
6206 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6207 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6208 functions, along with 1 and -1.
6210 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6212 * time.el (display-time-load-average)
6213 (display-time-default-load-average): Doc fixes. See the thread
6215 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6218 2012-01-06 Glenn Morris <rgm@gnu.org>
6220 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6221 has no messages. (Bug#10377)
6223 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6224 than Info-edit. (Bug#10385)
6226 * time.el (display-time-load-average, display-time-next-load-average):
6229 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6230 local setting of buffer-read-only to the input buffer. (Bug#10419)
6232 * calendar/calendar.el (calendar-mode):
6233 Locally set scroll-margin to 0. (Bug#10379)
6235 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6237 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6239 2012-01-05 Glenn Morris <rgm@gnu.org>
6241 * eshell/em-unix.el (diff-no-select): Autoload it.
6242 (eshell/diff): Use diff-no-select. (Bug#10420)
6244 2012-01-05 Chong Yidong <cyd@gnu.org>
6246 * shell.el (shell-dynamic-complete-functions): Revert last change.
6247 (shell-command-completion-function): New function.
6248 (shell-completion-vars): Use it to implement
6249 shell-completion-execonly (Bug#10417).
6251 * custom.el (enable-theme): Don't set custom-safe-themes.
6253 * cus-theme.el (custom-theme-merge-theme):
6254 Ignore custom-enabled-themes and custom-safe-themes.
6256 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6258 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6259 first prompt in `sql-interacive-mode'.
6260 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6262 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6263 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6264 context of original buffer. Invoke `sql-login-hook'.
6266 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6268 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6269 letters in cite-prefix.
6271 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6275 2012-01-03 Chong Yidong <cyd@gnu.org>
6277 * shell.el (shell-dynamic-complete-functions):
6278 Put pcomplete-completions-at-point, so as to try
6279 comint-filename-completion first (Bug#10417).
6281 2012-01-02 Richard Stallman <rms@gnu.org>
6283 * battery.el (battery-status-function):
6284 Detect when to use battery-yeeloong-sysfs.
6285 (battery-echo-area-format): Add string for Yeeloong.
6286 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6287 (battery-yeeloong-sysfs): New function.
6289 2012-01-02 Chong Yidong <cyd@gnu.org>
6291 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6292 (dirtrack): Merge code for handling relative filenames in prompt
6293 from shell-dir-cookie-watcher.
6294 (dirtrack-debug-message): New arg to avoid excess format calls.
6296 * shell.el (shell-dir-cookie-re): Variable deleted.
6297 (shell-dir-cookie-watcher): Function deleted.
6298 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6301 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6303 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6304 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6307 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6309 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6311 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6313 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6314 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6316 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6318 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6319 also for alternative shells.
6320 (tramp-open-connection-setup-interactive-shell): Check, whether
6321 the shell is a busybox.
6322 (tramp-send-command): Don't suppress multiple prompts for
6323 busyboxes, it hurts.
6325 2011-12-28 Chong Yidong <cyd@gnu.org>
6327 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6328 (gdb-get-source-file): Move mode line update to
6329 gdb-get-source-file (Bug#10087).
6331 2011-12-25 Chong Yidong <cyd@gnu.org>
6333 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6334 gud-gdb-marker-filter without taking it as an argument.
6335 (gud-gdb-run-command-fetch-lines): Caller changed.
6336 (gud-gdb-completion-function): New variable.
6337 (gud-gdb-completion-at-point): Use it.
6338 (gud-gdb-completions-1): Split from gud-gdb-completions.
6340 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6341 function as separate arguments.
6342 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6343 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6344 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6345 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6346 (gdb-stopped, def-gdb-auto-update-trigger)
6347 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6348 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6350 (gud-gdbmi-completions): New function.
6351 (gdb): Use it for generating the completion table.
6353 2011-12-24 Alan Mackenzie <acm@muc.de>
6355 Introduce a mechanism to widen the region used in context font
6356 locking. Use this to protect declarations from losing their contexts.
6358 * progmodes/cc-langs.el (c-before-font-lock-functions):
6359 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6360 (c-before-context-fontification-functions): New defvar, a list of
6361 functions to be run just before context (etc.) font locking.
6363 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6364 New, functionality extracted from
6365 c-neutralize-syntax-in-and-mark-CPP.
6366 (c-in-after-change-fontification): New variable.
6367 (c-after-change): Set c-in-after-change-fontification.
6368 (c-set-fl-decl-start): Rejig its interface, so it can be called
6369 from both after-change and context fontifying.
6370 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6372 (c-standard-font-lock-fontify-region-function): New variable.
6373 (c-font-lock-fontify-region): New function.
6375 2011-12-24 Juri Linkov <juri@jurta.org>
6377 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6380 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6382 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6383 existence of source file. (Bug#10325)
6385 2011-12-23 Alan Mackenzie <acm@muc.de>
6387 Fix unstable fontification inside templates.
6389 * progmodes/cc-langs.el (c-before-font-lock-functions):
6390 Newly created from the singular version. The (c c++ objc) entry now
6391 additionally has c-set-fl-decl-start. The other languages (apart
6392 from AWK) have that as a single entry.
6394 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6395 The functionality for "local" declarations has been extracted to
6396 c-set-fl-decl-start.
6398 * progmodes/cc-mode.el (c-common-init, c-after-change):
6399 Changes due to pluralisation of c-before-font-lock-functions.
6400 (c-set-fl-decl-start): New function, extracted from
6401 c-font-lock-enclosing-decls and enhanced.
6403 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6405 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6407 2011-12-22 Juri Linkov <juri@jurta.org>
6409 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6411 2011-12-22 Chong Yidong <cyd@gnu.org>
6413 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6415 2011-12-21 Drew Adams <drew.adams@oracle.com>
6417 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6419 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6421 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6423 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6425 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6426 highlighting and support. Fix up comments for capitalization.
6427 (cfengine-mode-debug): New var.
6428 (cfengine3-mode): Change the modeline indicator to "CFE3".
6429 (cfengine3-font-lock-keywords): Improve defun highlighting.
6430 (cfengine2-actions): Rename from `cfengine-actions'.
6431 (cfengine2-font-lock-keywords): Rename from
6432 `cfengine-font-lock-keywords'.
6433 (cfengine2-imenu-expression): Rename from
6434 `cfengine-imenu-expression'.
6435 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6436 (cfengine2-beginning-of-defun): Rename from
6437 `cfengine-beginning-of-defun'.
6438 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6439 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6440 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6441 modeline indicator to "CFE2".
6442 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6443 (cfengine-mode-abbrevs): Mark obsolete.
6445 2011-12-21 Chong Yidong <cyd@gnu.org>
6447 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6450 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6452 * window.el (window-normalize-buffer-to-display): Remove.
6453 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6455 2011-12-19 Chong Yidong <cyd@gnu.org>
6457 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6458 Don't signal an error in a predicate function; return non-nil.
6459 (vc-dir-mark-file): Move the error here.
6460 (vc-dir-mark-unmark): If acting on the region, keep going if one
6461 of the entries cannot be marked/unmarked.
6462 (vc-dir-mark-all-files): If current entry is a directory, mark
6463 only child files, as documented.
6465 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6467 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6468 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6471 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6473 * term/ns-win.el (ns-get-selection-internal)
6474 (ns-store-selection-internal): Declare.
6475 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6476 Declare as obsolete.
6477 (ns-get-pasteboard, ns-paste-secondary):
6478 Use ns-get-selection-internal.
6479 (ns-set-pasteboard, ns-copy-including-secondary):
6480 Use ns-store-selection-internal.
6482 2011-12-17 Chong Yidong <cyd@gnu.org>
6484 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6485 (vc-deduce-fileset): Doc fix.
6487 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6489 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6491 2011-12-13 Sam Steingold <sds@gnu.org>
6493 * man.el (Man-getpage-in-background): When running under a
6494 window-system, ignore $MANWIDTH and $COLUMNS.
6496 2011-12-15 Kenichi Handa <handa@m17n.org>
6498 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6499 (setup-ethiopic-environment-internal): Comment out key-binding for
6500 ethio-toggle-punctuation.
6502 2011-12-13 Alan Mackenzie <acm@muc.de>
6504 Add the switch statement to AWK Mode.
6506 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6507 "default" to the keywords regexp.
6509 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6510 expression as the rest.
6511 (c-nonlabel-token-key): Allow string literals for AWK.
6512 Refactor for the other modes.
6514 Large brace-block initialisation makes CC Mode slow: Fix.
6515 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6516 routines. Limit backward searching in c-font-lock-enclosing.decl.
6518 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6519 pp-state and literal type in addition to the limits.
6520 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6521 (c-state-literal-at): Use the above new defun.
6522 (c-slow-in-literal, c-fast-in-literal): Remove.
6523 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6525 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6526 being in a literal. Add a limit for backward searching.
6528 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6531 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6533 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6535 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6537 * window.el (delete-other-windows): Use correct frame in call to
6538 window-with-parameter.
6540 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6542 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6543 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6544 (makefile-gmake-statements, makefile-makepp-statements):
6545 Use it and add new makepp keywords.
6546 (makefile-makepp-font-lock-keywords): Add new patterns.
6547 (makefile-match-function-end): Match new [...] and [[...]].
6549 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6551 * ses.el (ses-call-printer-return, ses-cell-property-get)
6552 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6553 (ses-create-cell-variable, ses-reset-header-string)
6554 (ses-cell-set-formula, ses-repair-cell-reference-all)
6555 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6556 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6557 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6558 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6559 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6560 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6561 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6562 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6563 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6564 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6565 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6566 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6568 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6570 * ses.el: The overall change is to add cell renaming, that is
6571 setting fancy names for cell symbols other than name matching
6572 "\\`[A-Z]+[0-9]+\\'" regexp .
6573 (ses-create-cell-variable): New defun.
6574 (ses-relocate-formula): Relocate formulas only for cells the
6575 symbols of which are not renamed, i.e. symbols whose names do not
6576 match regexp "\\`[A-Z]+[0-9]+\\'".
6577 (ses-relocate-all): Relocate values only for cells the symbols of
6578 which are not renamed.
6579 (ses-load): Create cells variables as the (ses-cell ...) are read,
6580 in order to check row col consistency with cell symbol name only
6581 for cells that are not renamed.
6582 (ses-replace-name-in-formula): New defun.
6583 (ses-rename-cell): New defun.
6585 2011-12-11 Chong Yidong <cyd@gnu.org>
6587 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6588 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6590 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6592 * window.el (other-window): Fix docstring.
6594 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6596 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6597 `from' or `to' address before taking its substring.
6598 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6599 encoded name is chopped in the middle of the encoded string, and
6600 thus displayed encoded.
6602 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6604 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6606 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6608 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6609 to use texinfo-update-node and commands that call it if the
6610 Texinfo file uses @node lines without next/prev/up pointers.
6611 Correct outdated description about texinfo-master-menu.
6612 (texinfo-all-menus-update, texinfo-master-menu)
6613 (texinfo-update-node, texinfo-every-node-update)
6614 (texinfo-multiple-files-update): Doc fix. Warn against updating
6615 all the @node lines.
6616 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6617 argument is numeric. Explain better in the doc string what the
6618 function really does.
6619 (texinfo-insert-master-menu-list): Improve the error message
6620 displayed if there's no menu in the Top node.
6621 (Bug#2975) See also this thread:
6622 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6624 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6626 * speedbar.el (speedbar-supported-extension-expressions):
6627 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6629 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6631 * printing.el (pr-mode-alist):
6632 * simple.el (filter-buffer-substring-functions)
6633 (completion-list-insert-choice-function):
6634 * window.el (window-with-parameter, window-atom-root)
6635 (window-sides-slots, window-size-fixed, window-min-delta)
6636 (window-max-delta, window--resize-mini-window)
6637 (window--resize-child-windows-normal, window-tree)
6638 (delete-other-windows, quit-window, split-window)
6639 (display-buffer-record-window, special-display-buffer-names)
6640 (special-display-regexps, special-display-popup-frame)
6641 (same-window-p, split-window-sensibly)
6642 (display-buffer-overriding-action, display-buffer-alist)
6643 (display-buffer-base-action, display-buffer, switch-to-buffer)
6644 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6645 (fit-window-to-buffer, recenter-positions)
6646 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6647 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6648 and remove unneeded backslashes in docstrings.
6650 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6654 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6655 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6657 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6658 when reading the makefile (bug#10116).
6660 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6665 2011-12-06 Glenn Morris <rgm@gnu.org>
6667 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6669 2011-12-06 Chong Yidong <cyd@gnu.org>
6671 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6673 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6675 * textmodes/table.el (table-shorten-cell): Fix typo.
6677 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6679 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6681 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6683 * descr-text.el (describe-char): Fix display of strong
6684 right-to-left characters and directional embeddings and overrides.
6686 * simple.el (what-cursor-position): Fix display of codepoints of
6687 strong right-to-left characters.
6689 2011-12-05 Chong Yidong <cyd@gnu.org>
6691 * faces.el (read-color): Doc fix.
6693 2011-12-05 Glenn Morris <rgm@gnu.org>
6695 * align.el (align--set-marker): Add doc-string.
6696 Don't try to move something that is not a marker. (Bug#10216)
6698 2011-12-04 Glenn Morris <rgm@gnu.org>
6700 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6701 overly zealous deletion of trailing whitespace.
6703 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6705 * server.el (server-delete-client): On Windows, do not try to delete
6707 (server-process-filter): On Windows, treat requests for a tty frame as
6708 if they were for a GUI frame if the running server is in GUI mode.
6710 2011-12-03 Glenn Morris <rgm@gnu.org>
6712 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6714 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * electric.el: Streamline electric-indent's hook.
6717 (electric-indent-chars): Revert to simple list.
6718 (electric-indent-functions): New var.
6719 (electric-indent-post-self-insert-function): Use it.
6721 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6722 there's no inferior buffer (bug#10196).
6723 (prolog-consult-compile): Don't use toggle-read-only.
6725 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6727 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6728 interrupt. (Bug#10187)
6730 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6732 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6735 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6738 2011-12-02 Juri Linkov <juri@jurta.org>
6740 * info.el (Info-search): Display "end of manual" when Isearch
6741 reaches the end of single-file Info manual. (Bug#9918)
6743 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6745 * isearch.el (isearch-message-prefix): Run the input method part
6746 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6748 2011-12-02 Juri Linkov <juri@jurta.org>
6750 * isearch.el (isearch-occur): Use `word-search-regexp' for
6752 (isearch-search-and-update): Add condition for `isearch-word' and
6753 call `word-search-regexp'. (Bug#10145)
6755 2011-12-01 Glenn Morris <rgm@gnu.org>
6757 * eshell/em-hist.el (eshell-hist-initialize):
6758 Handle eshell-history-size nil and HISTSIZE set or unset.
6759 (eshell-history-file-name, eshell-history-size): Fix custom type.
6761 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6765 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6767 * progmodes/verilog-mode.el (verilog-pretty-expr):
6768 Rework verilog-pretty-expr to handle new assignment operators in system
6769 verilog, such as += *= and the like.
6770 (verilog-assignment-operator-re): Regular expression to find the
6771 assigment operator in a verilog assignment.
6772 (verilog-assignment-operation-re): Regular expression to find an
6773 assignment statement for pretty-expr.
6774 (verilog-in-attribute-p): Query returns true if point is in an
6775 attribute context; used to skip these for expression line up from
6777 (verilog-in-parameter-p): Query returns true if point is in an
6778 parameter definition context; used to skip these for expression
6779 line up from pretty-expr.
6780 (verilog-in-parenthesis-p): Query returns true if point is in a
6781 parenthetical expression, specifically ( ) but not [ ] or { };
6782 used by pretty-expr.
6783 (verilog-just-one-space): If there is no space, don't add one.
6784 (verilog-get-lineup-indent-2): Specifically skip just attribute
6785 contexts for expression lineup, rather than skipping all
6786 parenthetical expressions.
6787 (verilog-calculate-indent): Fix comment, and fix indent.
6788 (verilog-do-indent): Indent declarations in lists (suggested by
6790 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6792 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6795 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6797 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6798 parameters with embedded comments. Reported by Ray Stevens.
6799 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6800 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6801 Reported by Tim Holt.
6802 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6803 instantiated by upper module causing wrong expansion until AUTOed a
6804 second time. Reported by K C Buckenmaier.
6805 (verilog-diff-auto): Fix showing .* as a difference when
6806 `verilog-auto-star-save' off. Reported by Dan Dever.
6807 (verilog-auto-reset, verilog-read-always-signals)
6808 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6809 temporary signals in reset list if
6810 verilog-auto-reset-blocking-in-non is nil, and match assignment
6811 style to each signal's assignment type, bug381.
6812 Reported by Thomas Esposito.
6813 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6814 (verilog-uvm-statement-re): Support UVM indentation and
6815 highlighting, with old OVM keywords only.
6816 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6817 Support AUTOTIEOFF creating non-wire data types.
6818 Suggested by Jonathan Greenlaw.
6819 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6820 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6821 (verilog-inject-sense, verilog-read-inst-pins)
6822 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6823 Fix mismatching parenthesis inside commented out code when deleting
6824 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6825 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6826 non-numeric vector width. Reported by Alex Reed.
6827 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6828 detecting signals with parameter widths. Reported by Alex Reed.
6829 (verilog-auto-delete-trailing-whitespace):
6830 With `verilog-auto-delete-trailing-whitespace' remove trailing
6831 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6832 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6833 Fix verilog-scan-cache corruption when running user AUTO expansion
6834 hooks that call indentation routines.
6835 (verilog-simplify-range-expression): Fix typo ignoring lower case
6837 (verilog-delete-auto): Fix delete-autos to also remove user created
6838 automatics, as long as they start with AUTO.
6839 (verilog-batch-diff-auto, verilog-diff-auto)
6840 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6841 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6842 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6843 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6844 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6845 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6846 is disabled and its cache will get corrupt, causing AUTOS not to
6847 expand. Instead use only -quick functions.
6848 (verilog-scan-region): Fix scanning over escaped quotes.
6849 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6850 (verilog-re-search-backward-quick)
6851 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6852 related functions now ignore strings, to fix misparsing of strings
6853 with magic comments embedded in them.
6854 (verilog-read-auto-template):
6855 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6856 Reported by Brad Dobbie.
6857 (verilog-read-auto-template):
6858 Fix 'verilog-auto-inst-template-numbers' with comments.
6859 Reported by Brad Dobbie.
6860 (verilog-auto-inst, verilog-auto-inst-param)
6861 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6862 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6863 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6864 debugging templates without merge conflicts, bug357.
6865 Reported by Brad Dobbie.
6866 (verilog-read-auto-template):
6867 Fix verilog-auto-inst-template-numbers with multiple templates.
6868 Reported by Brad Dobbie.
6869 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6870 abbrevs so user won't be asked to save.
6871 (verilog-read-auto-lisp-present): Fix to start at beginning of
6872 buffer in case called outside of verilog-auto.
6873 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6874 to "X-2". Reported by Matthew Myers.
6875 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6876 all inputs from module templates. Reported by Leith Johnson.
6877 (verilog-module-inside-filename-p): Fix locating programs as with
6879 (verilog-auto-inst-port): Fix vl-width expressions when using
6880 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6881 (verilog-decls-get-regs, verilog-decls-get-signals,
6882 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6883 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6884 verilog-read-decls): Combine reg and wire structures into one var
6885 structure to represent SystemVerilog concepts.
6886 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6887 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6888 (verilog-auto-wire-type, verilog-insert-definition):
6889 Add verilog-auto-wire-type and AUTOLOGIC to support using
6890 SystemVerilog "logic" keyword instead of "wire"/"reg".
6891 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6892 to declares outputs that also have assignments (presumably in an
6893 ifdef or generate if so there's not a driver conflict).
6894 Reported by Matthew Myers.
6895 (verilog-auto-declare-nettype, verilog-insert-definition):
6896 Add verilog-auto-declare-nettype to fix declarations using
6897 `default_nettype none. Reported by Julian Gorfajn.
6898 (verilog-read-always-signals-recurse, verilog-read-decls)
6899 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6900 malformed end statement, bug325. Reported by Joshua Wise and
6902 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6903 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6904 when expanding .* in interfaces, bug320.
6905 Reported by Pierre-David Pfister.
6906 (verilog-read-module-name): Fix import statements between module
6907 name and open parenthesis, bug317.
6908 Reported by Pierre-David Pfister.
6909 (verilog-simplify-range-expression): Fix simplification of
6910 multiplications inside AUTOWIRE connections, bug303.
6911 (verilog-auto-inst-port): Support parameter expansion in
6912 multidimensional arrays.
6913 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6914 after "assert property". Reported by Julian Gorfajn.
6915 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6916 with multiplication, bug303.
6917 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6918 Reported by Jan Frode Lonnum.
6920 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6922 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6923 (hfy-shell-file-name, hfy-shell):
6924 * international/fontset.el (x-decompose-font-name): Fix typos.
6926 2011-11-29 Ken Brown <kbrown@cornell.edu>
6928 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6929 (gdb-version): Remove defvar.
6930 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6931 (gdb-gud-context-command, gdb-non-stop-handler)
6932 (gdb-current-context-command, gdb-stopped): Use it.
6933 (gdb-init-1): Enable pretty printing here.
6934 (gdb-non-stop-handler): Don't enable pretty-printing here.
6935 Check to see if the target supports non-stop mode; if not, turn off
6936 non-stop mode. Use the following.
6937 (gdb-check-target-async): New defun.
6938 (gud-watch, gdb-stopped): Fix whitespace.
6939 (gdb-get-source-file): Don't try to display the source file if
6940 `gdb-main-file' is nil.
6942 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * align.el: Try to generate fewer markers (bug#10047).
6945 (align--set-marker): New macro.
6946 (align-region): Use it.
6948 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6952 2011-11-29 Chong Yidong <cyd@gnu.org>
6954 * indent.el (indent-for-tab-command, indent-according-to-mode):
6956 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6958 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6960 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6961 aware of remote file names. (Bug#10124)
6963 2011-11-29 Chong Yidong <cyd@gnu.org>
6965 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6967 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6969 * files.el (find-file): Don't use force-same-window (bug#10144).
6970 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6971 use pop-to-buffer if the selected window can't be used.
6972 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6974 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6976 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6979 2011-11-28 Chong Yidong <cyd@gnu.org>
6981 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6983 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6985 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6986 gdb-get-source-file-list on gdb-create-source-file-list.
6988 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6990 * whitespace.el (whitespace-newline): Use a different foreground
6991 color for 16-color light-background displays.
6993 2011-11-24 Chong Yidong <cyd@gnu.org>
6995 * window.el (display-buffer--special-action): Doc fix.
6997 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6999 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7000 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7001 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7002 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7003 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7004 (avl-tree-stack-first):
7005 * emacs-lisp/cconv.el (cconv--analyse-use):
7006 * net/gnutls.el (gnutls-negotiate): Fix typos.
7008 2011-11-24 Glenn Morris <rgm@gnu.org>
7010 * lpr.el (lpr-windows-system, lpr-lp-system):
7011 * mail/binhex.el (binhex-begin-line):
7012 * progmodes/grep.el (grep-history, grep-find-history):
7013 * textmodes/flyspell.el:
7014 * vc/pcvs-defs.el (cvs-global-menu):
7015 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7016 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7017 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7019 * net/tls.el: Fix case of "GnuTLS".
7021 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7023 * version.el (emacs-build-system): Give it a doc-string.
7025 2011-11-24 Juri Linkov <juri@jurta.org>
7027 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7029 2011-11-24 Glenn Morris <rgm@gnu.org>
7031 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7032 if called on a non-mime message just toggle the headers. (Bug#8006)
7034 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7036 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7037 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7038 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7039 (allout-rebullet-heading, allout-open-sibtopic)
7040 (allout-toggle-current-subtree-encryption)
7041 (allout-toggle-subtree-encryption, allout-encrypt-string)
7042 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7043 (allout-distinctive-bullets-string, allout-auto-activation):
7044 * window.el (window-normalize-buffer-to-display):
7045 * progmodes/verilog-mode.el (verilog-batch-indent):
7046 * textmodes/bibtex.el (bibtex-field-braces-opt)
7047 (bibtex-field-strings-opt):
7048 * vc/cvs-status.el (cvs-tree-merge):
7051 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7053 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7054 `non-essential' to t, in order to avoid remote connections.
7056 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7058 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7059 On MS-DOS and MS-Windows, compare with loaddefs.el
7062 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7064 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7066 2011-11-23 Glenn Morris <rgm@gnu.org>
7068 * paths.el (rmail-file-name): Reformat the doc-string so that it
7071 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7072 (rmail-auto-file): Ignore case in the "special" field names,
7073 as mail-fetch-field does for all others.
7075 * mail/rmail.el (rmail-forward):
7076 * mail/rmailkwd.el (rmail-set-label):
7077 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7078 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7080 * mail/rmail.el (rmail-current-message): Doc fix.
7082 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7084 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7088 2011-11-22 Glenn Morris <rgm@gnu.org>
7090 * mail/rmailmm.el (test-rmail-mime-handler)
7091 (test-rmail-mime-bulk-handler)
7092 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7094 2011-11-21 Juri Linkov <juri@jurta.org>
7096 * calc/calc.el (calc-read-key-sequence):
7097 Let-bind `input-method-function' to nil. (Bug#10018)
7099 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7102 Tell the caller that the next line needs recomputation, even
7103 though it doesn't start a sexp (bug#10094).
7105 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7109 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7111 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7112 Use force-same-window.
7114 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7116 * descr-text.el (describe-char-unicode-data):
7117 * json.el (json-string-escape):
7118 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7119 (Footnote-unicode, Footnote-style-p):
7120 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7122 2011-11-20 Chong Yidong <cyd@gnu.org>
7124 * window.el (replace-buffer-in-windows): Restore interactive spec.
7126 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7128 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7130 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7131 (byte-compile-global-not-obsolete-vars): New var.
7132 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7134 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7136 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7138 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7139 * progmodes/pascal.el (electric-pascal-equal):
7140 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7141 * xml.el (xml-substitute-special): Fix typos.
7143 2011-11-20 Glenn Morris <rgm@gnu.org>
7145 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7146 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7148 (rmail-decode-mime-charset): Mark as obsolete.
7150 * mail/rmailsum.el (rmail-message-regexp-p-1):
7151 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7152 Before using mime functions, check they are set. (Bug#10077)
7154 2011-11-19 Juri Linkov <juri@jurta.org>
7156 * info.el (Info-finder-find-node): Use `package--builtins' instead
7157 of `package-alist'. Use node names formed by the pattern "Keyword "
7158 and the keyword name.
7160 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7162 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7164 2011-11-19 Juri Linkov <juri@jurta.org>
7166 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7167 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7168 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7169 `old-history', `old-history-forward'. Add let-binding
7170 `window-selected'. Remove calls to `kill-buffer',
7171 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7172 before calling `Info-find-node', so `Info-find-node-2' will reread
7173 the Info file. Restore window positions only when `window-selected'
7176 2011-11-19 Juri Linkov <juri@jurta.org>
7178 * isearch.el (isearch-lazy-highlight-new-loop):
7179 Remove condition `(not isearch-error)'. (Bug#9918)
7181 * misearch.el (multi-isearch-search-fun): Add condition
7182 `(not bound)' to ignore lazy-highlighting search.
7183 Add the search-failed message "end of multi" when the end of
7184 multi-sequence is reached. Uncapitalize the search-failed
7185 message "Repeat for next buffer".
7187 * info.el (Info-search): Add the search-failed message
7188 "end of the manual" when the end of the manual is reached
7191 2011-11-19 Juri Linkov <juri@jurta.org>
7193 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7194 Use non-destructive `remove' instead of `delete' because
7195 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7196 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7198 2011-11-19 Juri Linkov <juri@jurta.org>
7200 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7201 to nil instead of binding `search-ring' and `regexp-search-ring'.
7204 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7206 * simple.el (line-move): Force movement by logical lines for any
7207 hscrolled window, not only when auto-hscroll-mode is on.
7208 (line-move-visual): Update doc string to that effect. (Bug#10076)
7210 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7212 * language/european.el (macintosh): Define as alias for mac-roman.
7214 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7216 * mail/rmailmm.el (rmail-mime-display-header)
7217 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7218 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7219 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7220 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7221 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7223 (rmail-mime-entity-segment): To get past the tagline, move forward
7224 2 more lines, to account for the 2 empty lines that precede and
7225 follow the line with the buttons.
7226 (rmail-mime-update-tagline): Move one more line, to get past the
7227 empty line that follows the buttons in the tagline. (Bug#9520)
7229 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7231 * window.el (window-max-delta-1, window-min-delta-1)
7232 (window-min-size-1, window-state-get-1, window-state-put-1)
7233 (window-state-put-2): Use "window--" prefix.
7235 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7238 (smie-warning-count): New var.
7239 (smie-set-prec2tab): Use it.
7240 (smie-bnf->prec2): Improve warnings. Add docstring.
7241 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7242 (smie-bnf--set-class): New function.
7243 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7246 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7247 (compilation-error-properties, compilation-move-to-column):
7248 Handle compilation-first-column while in the target buffer.
7250 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7251 Don't hardcode point-min==1.
7253 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7254 (eshell-rewrite-for-command): Remove workaround.
7255 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7256 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7257 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7259 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7261 2011-11-17 Glenn Morris <rgm@gnu.org>
7263 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7264 Ignore buffer-local generated-autoload-file if it is the same
7265 as the global value. (Bug#10049)
7267 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7269 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7270 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7271 (reftex-toc-previous-heading, reftex-toc-max-level)
7272 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7273 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7274 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7275 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7276 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7277 (reftex-toc-rename-label, reftex-toc-visit-location)
7278 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7279 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7280 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7281 leaving "*toc*" only for references to the buffer.
7283 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7285 * window.el (window-resize, delete-window, split-window):
7286 Replace window-splits by window-combination-resize.
7287 * cus-start.el (window-splits): Replace by window-combination-resize.
7289 2011-11-17 Glenn Morris <rgm@gnu.org>
7291 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7292 Make bash entry derive from sh entry, not shell entry.
7294 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7296 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7299 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7301 * menu-bar.el (menu-bar-file-menu):
7302 * printing.el (pr-ps-utility):
7303 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7304 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7305 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7306 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7307 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7308 (icalendar--convert-cyclic-to-ical)
7309 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7310 (icalendar--convert-ical-to-diary)
7311 (icalendar--convert-recurring-to-diary)
7312 (icalendar--convert-non-recurring-all-day-to-diary)
7313 (icalendar-import-format-sample):
7314 * progmodes/idlw-shell.el (idlwave-shell-mode):
7315 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7316 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7317 (vhdl-ps-print-init): Fix typos.
7319 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7321 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7322 FSF and collapse date sequence, obscure author/maintainer email address
7323 better, remove extra version line, track relocation of author's webpage.
7325 * progmodes/python.el (python-pdbtrack-input-prompt)
7326 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7327 regular python pdb prompts. Adjustments shamelessly taken exactly as
7328 suggested in EmacsWiki page (tiny change):
7329 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7331 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7333 * expand.el (expand-pos, expand-index, expand-point):
7334 Remove redundant info from docstring.
7335 (expand-add-abbrevs): Doc fix.
7336 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7337 (expand-sample-perl-mode-expand-list): Fix typos.
7339 * net/dbus.el (dbus-event-member-name):
7340 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7341 * term/pc-win.el (msdos-create-frame-with-faces):
7342 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7344 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7346 * window.el (split-window, window-state-get-1)
7347 (window-state-put-1, window-state-put-2): Rename occurrences of
7348 window-nest to window-combination-limit.
7349 * cus-start.el (window-nest): Rename to window-combination-limit.
7351 2011-11-16 Chong Yidong <cyd@gnu.org>
7353 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7356 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7358 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7359 `completing-read' will remove *Completions* and will preserve
7360 current-buffer for us.
7361 (tmm-add-prompt): Users of *Completions* will always (re)set its
7363 (tmm-old-comp-map): Remove.
7365 2011-11-16 Glenn Morris <rgm@gnu.org>
7367 * mail/rmailedit.el: Require rmailmm when compiling.
7368 (rmail-old-mime-state): New declaration.
7369 (rmail-edit-current-message): If editing a mime message,
7370 edit the "raw" message from the mbox buffer.
7371 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7373 2011-11-15 Glenn Morris <rgm@gnu.org>
7375 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7376 which wasn't being used. Add optional arg to force given state.
7377 (rmail-mime): Add optional arg to force given state.
7379 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7381 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7382 * frame.el (display-mm-dimensions-alist):
7383 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7384 (outline-move-subtree-down):
7385 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7386 (newsticker--treeview-do-get-node):
7387 * net/quickurl.el (quickurl-list-buffer-name):
7388 * progmodes/dcl-mode.el (dcl-mode):
7389 * progmodes/gdb-mi.el (gdb-mapcar*):
7390 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7392 2011-11-15 Glenn Morris <rgm@gnu.org>
7394 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7395 in a boolean sense, so just make it a boolean, and fix the doc.
7396 (rmail-show-mime-function, rmail-mime-feature)
7397 (rmail-require-mime-maybe): Doc fixes.
7398 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7400 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7402 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7404 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7405 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7406 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7407 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7409 2011-11-15 Glenn Morris <rgm@gnu.org>
7411 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7412 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7413 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7414 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7415 (rmail-mime, rmail-show-mime): Doc fixes.
7417 * term/ns-win.el (mode-line-frame-identification):
7418 Leave it alone. (Bug#10051)
7420 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7422 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7423 Handle empty buffers. (Bug#9978)
7425 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7427 * international/mule.el (define-charset):
7428 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7429 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7430 * progmodes/verilog-mode.el (verilog-backward-token):
7431 * textmodes/ispell.el (lookup-words):
7432 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7434 2011-11-14 Glenn Morris <rgm@gnu.org>
7436 * progmodes/executable.el
7437 (executable-make-buffer-file-executable-if-script-p):
7438 Handle file-modes returning nil.
7440 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7441 message - not necessary, and causes problems. (Bug#9831)
7443 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7445 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7447 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7448 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7449 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7451 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7453 * window.el (window-resize, delete-window): Use window-splits
7454 variable instead of function.
7455 (window-state-get-1, window-state-put-2, window-state-put):
7456 Don't deal with windows' splits status.
7458 2011-11-12 Glenn Morris <rgm@gnu.org>
7460 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7461 (apropos-documentation): Doc fixes.
7463 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7465 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7466 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7468 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7470 * electric.el (electric-indent-post-self-insert-function): Make it
7471 possible for a char to only indent in some circumstances.
7472 (electric-indent-mode): Simplify.
7474 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7476 * window.el (windows-with-parameter): Remove unused function.
7477 (windows-at-side): Rename to window-at-side-list.
7478 (window-check, window-atom-check, window-atom-check-1)
7479 (window-side-check, window-size-ignore, window-size-fixed-1)
7480 (window-in-direction-2): Prefix with "window--".
7481 (window-tree-1): Rename to window--subtree, fix doc-string.
7483 2011-11-11 Glenn Morris <rgm@gnu.org>
7485 * subr.el (eval-after-load): If FILE is already loaded,
7486 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7488 2011-11-10 Glenn Morris <rgm@gnu.org>
7490 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7491 Call svn via vc-svn-command rather than vc-do-command.
7492 (vc-svn-command): Add --non-interactive. (Bug#9993)
7493 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7495 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7496 Add toggle-read-only. (Bug#7292)
7497 * files.el (toggle-read-only): Mention that it should only
7498 be used interactively. (Bug#10006)
7500 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7503 Adjust regexp for OCaml warnings.
7505 * electric.el (electric-pair-post-self-insert-function): Let user
7506 turn it off buffer-locally (bug#9932).
7508 * progmodes/python.el (python-beginning-of-statement):
7511 * progmodes/compile.el: Better handle TABs (bug#9749).
7512 (compilation-internal-error-properties)
7513 (compilation-next-error-function): Obey the target buffer's
7514 compilation-error-screen-columns.
7516 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7518 * progmodes/meta-mode.el: Remove obsolete comments.
7519 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7520 Fix typos in docstrings.
7522 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7524 * window.el (window-size-fixed-p): Rewrite doc-string.
7525 (window-resizable-p): Rename to window--resizable-p. Update callers.
7526 (window--resizable): New function. Make all callers of
7527 window-resizable call window--resizable instead.
7528 (window-resizable): Rewrite in terms of window--resizable.
7530 2011-11-08 Glenn Morris <rgm@gnu.org>
7532 * progmodes/delphi.el (delphi-mode-syntax-table):
7533 Let define-derived-mode define a proper syntax table. (Bug#9994)
7535 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * window.el: Stay away from defsubst.
7538 (window-list-no-nils): Remove.
7539 (window-state-get-1, window-state-get): Use backquote instead.
7541 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7543 * emacs-lisp/find-func.el (find-function-read):
7544 Fix incorrect use of default argument in `completing-read'.
7546 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7548 * window.el (display-buffer-function, special-display-function):
7549 Mention display-buffer-record-window but do not mention
7550 help-setup parameter in doc-strings.
7551 (window-min-delta): Fix doc-string typo.
7553 2011-11-08 Chong Yidong <cyd@gnu.org>
7555 * window.el (window-total-height, window-total-width): Doc fix.
7556 (window-body-size): Move from C.
7557 (window-body-height, window-body-width): Move to C.
7559 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7561 * window.el: Make special-display like display-buffer-alist (bug#9532).
7562 (display-buffer--special-action): New function, morphed
7563 from display-buffer--special.
7564 (display-buffer): Use it to handle special-display-buffers at higher
7565 priority (just after display-buffer-alist).
7566 (display-buffer-fallback-action, display-buffer--other-frame-action)
7567 (pop-to-buffer-same-window): Remove display-buffer--special.
7569 2011-11-07 Glenn Morris <rgm@gnu.org>
7571 * calendar/cal-menu.el (cal-menu-set-date-title):
7572 Do nothing if not in a calendar. (Bug#9976)
7574 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7576 * files.el (find-file): Always use selected-window.
7578 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7580 * window.el (window-combinations): Make WINDOW argument
7581 mandatory. Rewrite doc-string.
7582 (walk-window-subtree, window-atom-check, window-min-delta)
7583 (window-max-delta, window--resize-this-window)
7584 (window--resize-root-window-vertically, window-tree)
7585 (balance-windows, window-state-put): Rewrite doc-strings as to
7586 not mention the term "subwindow".
7587 (window--resize-subwindows-skip-p): Rename to
7588 window--resize-child-windows-skip-p.
7589 (window--resize-subwindows-normal): Rename to
7590 window--resize-child-windows-normal.
7591 (window--resize-subwindows): Rename to
7592 window--resize-child-windows.
7593 (window-or-subwindow-p): Rename to window--in-subtree-p.
7595 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7597 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7598 Ensure that mbox format messages end in two newlines (Bug#9974).
7600 2011-11-06 Chong Yidong <cyd@gnu.org>
7602 * window.el (window-combination-p): Function deleted; its
7603 side-effect is not used in any existing code.
7604 (window-combinations, window-combined-p): Call window-*-child
7607 2011-11-05 Chong Yidong <cyd@gnu.org>
7609 * window.el (window-valid-p): Rename from window-any-p.
7610 (window-size-ignore, window-state-get): Callers changed.
7611 (window-normalize-window): Rename from window-normalize-any-window.
7612 New arg LIVE-ONLY, replacing window-normalize-live-window.
7613 (window-normalize-live-window): Delete.
7614 (window-combination-p, window-combined-p, window-combinations)
7615 (walk-window-subtree, window-atom-root, window-min-size)
7616 (window-sizable, window-sizable-p, window-size-fixed-p)
7617 (window-min-delta, window-max-delta, window-resizable)
7618 (window-resizable-p, window-full-height-p, window-full-width-p)
7619 (window-current-scroll-bars, window-point-1, set-window-point-1)
7620 (window-at-side-p, window-in-direction, window-resize)
7621 (adjust-window-trailing-edge, maximize-window, minimize-window)
7622 (window-deletable-p, delete-window, delete-other-windows)
7623 (record-window-buffer, unrecord-window-buffer)
7624 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7625 (quit-window, split-window, window-state-put)
7626 (set-window-text-height, fit-window-to-buffer)
7627 (shrink-window-if-larger-than-buffer): Callers changed.
7629 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7631 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7632 rfc2047-decode-string.
7633 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7636 * window.el (window-body-height, window-body-width): Mention in
7637 the doc string that the return values are in frame's canonical
7640 2011-11-03 Alan Mackenzie <acm@muc.de>
7642 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7643 change in cc-engine.el.
7645 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7649 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7651 * window.el (quit-window): Call unrecord-window-buffer after
7652 showing another buffer in the window. (Bug#9937)
7653 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7655 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7657 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7658 Accept status with more than 9 shelves. (Bug#9935)
7659 Reported by Colin D Bennett <colin@gibibit.com>.
7661 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7663 * help.el (with-help-window): Don't reference
7664 temp-buffer-show-specifiers in doc-string.
7666 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7668 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7671 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7673 * whitespace.el: New version 13.2.2.
7674 (whitespace-newline-mode): Disable properly. Reported by Sarah
7677 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7679 * net/newst-treeview.el: Remove "Time-stamp".
7680 (newsticker--group-manage-orphan-feeds): Do not call
7681 newsticker--treeview-tree-update.
7682 (newsticker-treeview-update, newsticker-treeview):
7683 Call newsticker--treeview-tree-update if necessary.
7685 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7687 * window.el (window-iso-combination-p, window-iso-combined-p)
7688 (window-iso-combinations): Remove "iso-" infix.
7689 Suggested by Chong Yidong.
7690 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7691 (window-max-delta-1, window-resize, window--resize-siblings)
7692 (window--resize-this-window, adjust-window-trailing-edge)
7693 (split-window, balance-windows-1)
7694 (shrink-window-if-larger-than-buffer):
7695 * calendar/calendar.el (calendar-generate-window):
7696 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7698 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7701 in place (bug#9907).
7702 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7703 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7704 (eshell-structure-basic-command, eshell-rewrite-while-command)
7705 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7706 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7707 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7708 (eshell-do-pipelines-synchronously, eshell-eval-command):
7709 Use backquotes and prefer setq to set.
7710 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7711 (eshell-macrop): Use functionp.
7712 (eshell-do-eval): Handle multiple expressions in `while' body.
7714 2011-10-30 Chong Yidong <cyd@gnu.org>
7716 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7717 instead of set-mark (Bug#9810).
7719 2011-10-30 Chong Yidong <cyd@gnu.org>
7721 * window.el (split-window-below, split-window-right): Rename from
7722 split-window-above-each-other and split-window-side-by-side
7723 respectively. All callers changed.
7724 (split-window-sensibly, split-window-sensibly): Use them.
7725 (split-window-keep-point): Doc fix.
7727 * isearch.el: Add isearch-scroll property to split-window-below
7728 and split-window-right.
7730 * follow.el (follow-mode):
7731 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7732 * progmodes/ada-xref.el (ada-gdb-application):
7733 * emulation/vip.el (vip-buffer-in-two-windows):
7734 * image-dired.el (image-dired-dired-with-window-configuration):
7735 * dired-x.el (dired-do-find-marked-files):
7736 * dired.el (dired-pop-to-buffer):
7737 * bs.el (bs--show-with-configuration):
7738 * vc/emerge.el (emerge-setup-windows):
7739 * textmodes/two-column.el (2C-two-columns):
7740 * textmodes/reftex-toc.el (reftex-toc):
7741 * progmodes/gdb-mi.el (gdb-setup-windows):
7742 * progmodes/fortran.el (fortran-window-create):
7743 * net/newst-treeview.el (newsticker--treeview-window-init):
7744 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7745 * emulation/tpu-edt.el (tpu-gold-map):
7746 * emulation/crisp.el (crisp-mode-map):
7747 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7749 2011-10-29 Chong Yidong <cyd@gnu.org>
7751 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7753 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7755 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7756 forged Ispell output (Bug#7904).
7758 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7760 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * doc-view.el: Avoid ugly errors about not finding nil.
7763 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7764 (doc-view-dvipdf-program, doc-view-unoconv-program)
7765 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7766 Avoid nil or absolute file name as default value.
7767 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7769 2011-10-28 Alan Mackenzie <acm@muc.de>
7771 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7773 2011-10-28 Alan Mackenzie <acm@muc.de>
7775 Amend the handling of c-beginning/end-of-defun in nested declaration
7778 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7779 cc-langs.el. Change it to a defcustom.
7781 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7784 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7785 Prevent "class foo : bar" being spuriously recognized as a label.
7787 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7788 Add parameter `inclusive' (to include enclosing braces in the region).
7789 (c-widen-to-enclosing-decl-scope): New function.
7790 (c-while-widening-to-decl-block): New macro.
7791 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7792 outward for defun boundaries, and correspondingly change symbol
7793 `respect-enclosure' to `go-outward'.
7794 (c-declaration-limits): Change algorithm to report only the "innermost"
7797 2011-10-28 Deniz Dogan <deniz@dogan.se>
7799 * net/rcirc.el (rcirc-mode): Use hard newlines.
7801 2011-10-28 Alan Mackenzie <acm@muc.de>
7803 Amend to indent and fontify macros "which include their own semicolon"
7804 correctly, using the "virtual semicolon" mechanism.
7806 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7808 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7809 Recode to scan one line at a time rather than having \n and \r
7810 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7811 (c-forward-label): Amend for virtual semicolons.
7812 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7814 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7815 of the new C macros.
7817 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7818 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7819 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7820 (c-opt-cpp-macro-define): Make into a full language variable.
7821 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7822 AWK Mode (including \n, \r) removed, no longer needed.
7824 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7825 Invoke c-make-macro-with-semi-re.
7827 * progmodes/cc-vars.el (c-macro-with-semi-re):
7828 (c-macro-names-with-semicolon): New variables.
7829 (c-make-macro-with-semi-re): New function.
7831 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7833 * vc/log-edit.el: Fill empty field rather than adding new one.
7834 (log-edit-add-field): New function.
7835 (log-edit-insert-changelog): Use it.
7837 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7839 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7841 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7844 (gdb--check-interpreter): New function.
7847 2011-10-27 Glenn Morris <rgm@gnu.org>
7849 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7850 (least-positive-float, least-negative-float)
7851 (least-positive-normalized-float, least-negative-normalized-float)
7852 (float-epsilon, float-negative-epsilon):
7853 Remove unnecessary declarations.
7855 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7856 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7857 (least-positive-float, least-negative-float)
7858 (least-positive-normalized-float, least-negative-normalized-float)
7859 (float-epsilon, float-negative-epsilon): Add doc-strings,
7860 based on those in cl.texi.
7862 * files.el (set-visited-file-name): If the major-mode changed,
7863 reload the local variables. (Bug#9796)
7865 2011-10-27 Chong Yidong <cyd@gnu.org>
7867 * subr.el (change-major-mode-after-body-hook): New hook.
7868 (run-mode-hooks): Run it.
7870 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7871 Use change-major-mode-before-body-hook.
7873 * simple.el (fundamental-mode):
7874 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7875 change introducing fundamental-mode-hook.
7877 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7879 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7881 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7883 * ido.el (ido-file-name-all-completions-1): Do not require
7884 tramp.el explicitly. (Bug#7583)
7886 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * progmodes/octave-mod.el:
7889 * progmodes/octave-inf.el: Update maintainer.
7891 2011-10-26 Chong Yidong <cyd@gnu.org>
7893 * subr.el (with-wrapper-hook): Rewrite doc.
7895 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7897 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7898 filenames "/method:foo:". (Bug#9793)
7900 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7905 2011-10-24 Glenn Morris <rgm@gnu.org>
7907 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7909 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7911 * notifications.el: Add the requirement of a running D-Bus session
7912 bus to the Commentary.
7914 2011-10-24 Juri Linkov <juri@jurta.org>
7916 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7917 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7920 2011-10-24 Juri Linkov <juri@jurta.org>
7922 * info.el (Info-following-node-name-re): Add newline to the list
7923 of allowed characters for leading space. (Bug#9824)
7925 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * progmodes/octave-inf.el (inferior-octave-mode-map):
7928 Fix C-c C-h binding.
7929 * progmodes/octave-mod.el (octave-help): Remove.
7931 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7933 Sync with Tramp 2.2.3.
7935 * net/tramp-cache.el (top): Pacify byte-compiler using
7936 `init-file-user' and `site-run-file'.
7938 * net/trampver.el: Update release number.
7940 2011-10-23 Chong Yidong <cyd@gnu.org>
7942 * files.el (toggle-read-only): Remove obsolete comment about
7945 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7946 for toggle-read-only. Note that this hasn't called vc-next-action
7947 since 2008-05-02, though it wasn't documented at the time.
7949 * vc/ediff-init.el (ediff-toggle-read-only-function):
7950 Use toggle-read-only.
7952 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7954 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7957 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7958 correct faulty logical expression.
7959 (c-parse-state-state, c-record-parse-state-state):
7960 (c-replay-parse-state-state): New defvar/defuns.
7961 (c-debug-parse-state): Use new functions.
7963 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7965 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7966 last fix. Use window-in-direction correctly.
7968 2011-10-21 Chong Yidong <cyd@gnu.org>
7970 * progmodes/idlwave.el (idlwave-mode):
7971 * progmodes/vera-mode.el (vera-mode): No need to set
7972 require-final-newline; that's done in prog-mode.
7973 Suggested by Stefan Monnier.
7975 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7977 * mouse.el (mouse-drag-window-above)
7978 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7979 (mouse-drag-mode-line-1, mouse-drag-header-line)
7980 (mouse-drag-vertical-line-rightward-window): Remove.
7981 (mouse-drag-line): New function.
7982 (mouse-drag-mode-line, mouse-drag-header-line)
7983 (mouse-drag-vertical-line): Call mouse-drag-line.
7984 * window.el (window-at-side-p, windows-at-side): New functions.
7986 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7988 * tar-mode.el (tar-grind-file-mode):
7989 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7991 2011-10-21 Chong Yidong <cyd@gnu.org>
7993 * progmodes/idlwave.el (idlwave-mode):
7994 * progmodes/vera-mode.el (vera-mode):
7995 Use mode-require-final-newline.
7997 2011-10-20 Glenn Morris <rgm@gnu.org>
7999 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8001 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8003 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8005 2011-10-20 Chong Yidong <cyd@gnu.org>
8007 * emulation/cua-base.el (cua-mode):
8008 * mail/footnote.el (footnote-mode):
8009 * mail/mailabbrev.el (mail-abbrevs-mode):
8010 * net/xesam.el (xesam-minor-mode):
8011 * progmodes/bug-reference.el (bug-reference-mode):
8012 * progmodes/cap-words.el (capitalized-words-mode):
8013 * progmodes/compile.el (compilation-minor-mode)
8014 (compilation-shell-minor-mode):
8015 * progmodes/gud.el (gud-tooltip-mode):
8016 * progmodes/hideif.el (hide-ifdef-mode):
8017 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8018 * progmodes/subword.el (subword-mode):
8019 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8020 * progmodes/which-func.el (which-function-mode):
8021 * term/tvi970.el (tvi970-set-keypad-mode):
8022 * term/vt100.el (vt100-wide-mode):
8023 * textmodes/flyspell.el (flyspell-mode):
8024 * textmodes/ispell.el (ispell-minor-mode):
8025 * textmodes/nroff-mode.el (nroff-electric-mode):
8026 * textmodes/paragraphs.el (use-hard-newlines):
8027 * textmodes/refill.el (refill-mode):
8028 * textmodes/reftex.el (reftex-mode):
8029 * textmodes/rst.el (rst-minor-mode):
8030 * textmodes/sgml-mode.el (html-autoview-mode)
8031 (sgml-electric-tag-pair-mode):
8032 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8033 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8034 * emulation/crisp.el (crisp-mode):
8035 * emacs-lisp/eldoc.el (eldoc-mode):
8036 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8037 minor mode behavior.
8039 2011-10-19 Juri Linkov <juri@jurta.org>
8041 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8042 the list of hard-coded chars with escape-glyph face.
8044 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8046 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8048 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8050 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8053 2011-10-19 Glenn Morris <rgm@gnu.org>
8055 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8056 Ignore ignored files. (Bug#9726)
8058 2011-10-19 Chong Yidong <cyd@gnu.org>
8060 Doc fix for minor modes, stating that an omitted argument enables
8061 the mode unconditionally when called from Lisp.
8063 * abbrev.el (abbrev-mode):
8064 * allout.el (allout-mode):
8065 * autoinsert.el (auto-insert-mode):
8066 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8067 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8068 (global-auto-revert-mode):
8069 * battery.el (display-battery-mode):
8070 * composite.el (global-auto-composition-mode)
8071 (auto-composition-mode):
8072 * delsel.el (delete-selection-mode):
8073 * desktop.el (desktop-save-mode):
8074 * dired-x.el (dired-omit-mode):
8075 * dirtrack.el (dirtrack-mode):
8076 * doc-view.el (doc-view-minor-mode):
8077 * double.el (double-mode):
8078 * electric.el (electric-indent-mode, electric-pair-mode):
8079 * emacs-lock.el (emacs-lock-mode):
8080 * epa-hook.el (auto-encryption-mode):
8081 * follow.el (follow-mode):
8082 * font-core.el (font-lock-mode):
8083 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8084 * help.el (temp-buffer-resize-mode):
8085 * hilit-chg.el (highlight-changes-mode)
8086 (highlight-changes-visible-mode):
8087 * hi-lock.el (hi-lock-mode):
8088 * hl-line.el (hl-line-mode, global-hl-line-mode):
8089 * icomplete.el (icomplete-mode):
8090 * ido.el (ido-everywhere):
8091 * image-file.el (auto-image-file-mode):
8092 * image-mode.el (image-minor-mode):
8093 * iswitchb.el (iswitchb-mode):
8094 * jka-cmpr-hook.el (auto-compression-mode):
8095 * linum.el (linum-mode):
8096 * longlines.el (longlines-mode):
8097 * master.el (master-mode):
8098 * mb-depth.el (minibuffer-depth-indicate-mode):
8099 * menu-bar.el (menu-bar-mode):
8100 * minibuf-eldef.el (minibuffer-electric-default-mode):
8101 * mouse-sel.el (mouse-sel-mode):
8102 * msb.el (msb-mode):
8103 * mwheel.el (mouse-wheel-mode):
8104 * outline.el (outline-minor-mode):
8105 * paren.el (show-paren-mode):
8106 * recentf.el (recentf-mode):
8107 * reveal.el (reveal-mode, global-reveal-mode):
8108 * rfn-eshadow.el (file-name-shadow-mode):
8109 * ruler-mode.el (ruler-mode):
8110 * savehist.el (savehist-mode):
8111 * scroll-all.el (scroll-all-mode):
8112 * scroll-bar.el (scroll-bar-mode):
8113 * server.el (server-mode):
8114 * shell.el (shell-dirtrack-mode):
8115 * simple.el (auto-fill-mode, transient-mark-mode)
8116 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8117 (line-number-mode, column-number-mode, size-indication-mode)
8118 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8119 * strokes.el (strokes-mode):
8120 * time.el (display-time-mode):
8121 * t-mouse.el (gpm-mouse-mode):
8122 * tool-bar.el (tool-bar-mode):
8123 * tooltip.el (tooltip-mode):
8124 * type-break.el (type-break-mode-line-message-mode)
8125 (type-break-query-mode):
8126 * view.el (view-mode):
8127 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8128 (global-whitespace-mode, global-whitespace-newline-mode):
8129 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8132 Fix autogenerated docstring.
8134 2011-10-19 Juri Linkov <juri@jurta.org>
8136 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8137 by checking environment variables "DESKTOP_SESSION" and
8138 "XDG_CURRENT_DESKTOP". (Bug#9779)
8140 2011-10-19 Juri Linkov <juri@jurta.org>
8142 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8143 (browse-url-chromium-program, browse-url-chromium-arguments):
8145 (browse-url-default-browser): Check for `browse-url-chromium' and
8146 call `browse-url-chromium-program'.
8147 (browse-url-chromium): New command. (Bug#9779)
8149 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8151 * facemenu.el (list-colors-duplicates): On Windows, detect more
8152 duplicates by assuming that only colors matching "^System" are
8153 special "system colors". (Bug#9722)
8155 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8157 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8158 to distinguish the author from the committer.
8160 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8162 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8164 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8166 * international/mule.el (sgml-html-meta-auto-coding-function):
8167 Add support for detecting encoding in HTML5 specified only as
8168 <meta charset="UTF-8">. Implementation just makes http-equiv and
8169 content-type parts from HTML4 encoding string optional. (Bug#9716)
8171 2011-10-18 Glenn Morris <rgm@gnu.org>
8173 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8175 2011-10-18 Chong Yidong <cyd@gnu.org>
8177 * faces.el (cursor): Doc fix.
8179 2011-10-17 Chong Yidong <cyd@gnu.org>
8181 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8183 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8185 * dirtrack.el (dirtrack): Support shell buffers with path
8186 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8188 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8190 * json.el: Bump version to 1.3 and note change in History.
8191 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8193 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * comint.el (comint-insert-input, comint-send-input)
8196 (comint-get-old-input-default, comint-backward-matching-input)
8197 (comint-next-prompt): Use nil instead of `input' for field property of
8198 past user input (bug#114).
8200 * minibuffer.el (completion--replace): Inherit surrounding properties
8202 (minibuffer-complete-and-exit): Use it.
8204 * comint.el (comint--table-subvert): Quote the all-completions output
8207 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8209 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8211 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8212 window on right of selected. (Bug#9350) Reword other window
8213 entries and separate them from frame entries.
8215 2011-10-15 Glenn Morris <rgm@gnu.org>
8217 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8220 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8222 * net/network-stream.el (network-stream-open-starttls):
8223 Improve detection of failure due to lack of TLS support.
8225 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8226 putting the input text in front and in bold.
8228 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8232 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8235 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8236 unread-command-events rather than pushing yet-another event.
8238 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8240 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8241 the explanation of the possible choices. Make the options passed
8242 to completing-read shorter.
8244 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8246 * textmodes/flyspell.el (flyspell-large-region): Make sure
8247 extended character mode is used if defined (Bug#1339).
8249 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8251 * simple.el (what-cursor-position): Fix the display of the
8252 character info for LRE, LRO, RLE, and RLO characters by appending
8255 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8258 even in case of error; add debug spec; simplify data flow.
8259 (with-timeout-handler): Remove.
8261 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8263 Fix Bug#6019, Bug#9315.
8265 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8266 complete `buffer-file-name', the local file name part could look
8267 remotely (for example on VMS).
8269 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8270 `tramp-run-real-handler'.
8271 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8272 already quoted by '"'.
8274 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8275 Let `file-name-handler-alist' be nil, the local file name part
8276 could look remotely (for example on VMS).
8278 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8280 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8282 (flyspell-post-command-hook): ...to here.
8284 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8288 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8289 using completion. Protect against "slow" callers.
8290 Remove the "message hack".
8292 2011-10-11 Juri Linkov <juri@jurta.org>
8294 * isearch.el (isearch-lazy-highlight-word): New variable.
8295 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8298 2011-10-11 Glenn Morris <rgm@gnu.org>
8300 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8301 like f90-previous-statement does.
8303 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8305 * eshell/eshell.el (eshell-command): History should be saved
8306 only in interactive use, to avoid error.
8308 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8310 * minibuffer.el (completion-file-name-table): Fix last change,
8311 i.e. ignore normal errors but not the other ones.
8313 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8315 * window.el (special-display-buffer-names)
8316 (special-display-regexps): Remove some remnants of earlier
8317 changes from doc-strings.
8318 (quit-windows-on): New function.
8320 * vc/vc.el (vc-revert, vc-rollback):
8321 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8322 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8323 (Bug#6183) (Bug#7074) (Bug#7447)
8325 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8327 * window.el (frame-auto-hide-function): Add version tag.
8330 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8332 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8335 2011-10-09 Leo Liu <sdl.web@gmail.com>
8337 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8340 2011-10-08 Glenn Morris <rgm@gnu.org>
8342 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8343 before the first code statement zero indent. (Bug#9690)
8345 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8347 * simple.el (count-words-region): Always count in the region.
8348 Report the number of lines and characters too.
8349 (count-words): New command, which counts in the buffer if the
8350 region is inactive, as count-words-region used to.
8351 (count-words--message): New function. Handle plurals.
8352 (count-lines-region): Make it an alias for count-words-region.
8354 * bindings.el (esc-map): Replace count-lines-region with
8357 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8359 * window.el (window--delete): Delete dedicated frame
8360 unconditionally when argument KILL is non-nil. (Bug#9699)
8361 (switch-to-buffer): Fix doc-string typo.
8363 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8365 * eshell/eshell.el (eshell-command): Avoid using hooks.
8367 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8369 * bindings.el ([M-left],[M-right]): Bind to left-word and
8370 right-word respectively.
8372 2011-10-07 Glenn Morris <rgm@gnu.org>
8374 * cus-start.el (debug-on-quit): Fix custom type.
8376 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378 * subr.el (define-key-after): Clarify that the function is not
8379 useful for non-menu keymaps.
8381 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8383 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8385 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8386 in current minibuffer (Fix bug with recursive minibuffers).
8388 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8390 * progmodes/gdb-mi.el (gdb): Doc fix.
8392 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8394 * window.el (frame-auto-hide-function): New option replacing
8395 frame-auto-delete. Suggested by Stefan Monnier.
8396 (window--delete): Call frame-auto-hide-function instead of
8397 investigating frame-auto-delete.
8398 (window-point-1, set-window-point-1): New functions.
8399 (window-in-direction, record-window-buffer, window-state-get-1)
8400 (display-buffer-record-window): Use window-point-1 instead of
8402 (set-window-buffer-start-and-point): Use set-window-point-1.
8404 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8406 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8408 2011-10-05 Glenn Morris <rgm@gnu.org>
8410 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8411 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8413 2011-10-05 Leo Liu <sdl.web@gmail.com>
8415 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8416 works with buffer object.
8418 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * mpc.el (mpc-tool-bar-map): Add labels.
8422 2011-10-04 Glenn Morris <rgm@gnu.org>
8424 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8426 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8428 * window.el (window--delete): New function.
8429 (frame-auto-delete): Resuscitate option.
8430 (bury-buffer, replace-buffer-in-windows)
8431 (quit-window): Rewrite using window--delete.
8432 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8433 Pass display-buffer-mark-dedicated to window--display-buffer-2
8436 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8439 returns a list (bug#9554). Add remote file name completion.
8440 * comint.el (comint--table-subvert): Curry and get quote&unquote
8441 functions as arguments.
8442 (comint--complete-file-name-data): Adjust call accordingly.
8443 * pcomplete.el (pcomplete--table-subvert): Remove.
8444 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8446 * minibuffer.el (completion-table-case-fold): Use currying.
8447 (completion--styles-type, completion--cycling-threshold-type):
8449 (completion-styles, completion-category-overrides)
8450 (completion-cycle-threshold): Use them.
8451 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8452 completion-table-case-fold.
8454 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8456 * minibuffer.el (completion-category-overrides): Fix type of styles
8457 and add more user friendly tags (bug#9660).
8459 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8461 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8462 (mule-input-method-string): New widget.
8463 (default-input-method, language-info-custom-alist): Use it.
8465 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * pcomplete.el: Require comint.
8468 (pcomplete--common-suffix): Remove.
8469 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8470 (pcomplete--table-subvert): Sync with comint--table-subvert.
8471 (pcomplete--entries): Use comint-completion-file-name-table.
8472 * comint.el (comint-unquote-filename): Simplify.
8473 (comint-completion-file-name-table): New function (bug#9616).
8474 (comint--complete-file-name-data): Use it.
8476 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8477 (pcmpl-gnu-tar-buffer): Remove.
8478 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8479 around. Make sure pcomplete-suffix-list is only changed temporarily.
8480 Don't look inside the tar's file if it's too large.
8482 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8484 * cus-edit.el (custom-mode-map):
8485 * epa.el (epa-key-list-mode-map):
8486 * man.el (Man-mode-map):
8487 * startup.el (splash-screen-keymap):
8488 * simple.el (special-mode-map): Use scroll-up-command and
8489 scroll-down-command.
8491 * progmodes/idlw-help.el (idlwave-help-mode-map):
8492 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8493 * net/newst-plainview.el (newsticker-mode-map):
8494 * emulation/ws-mode.el (wordstar-mode-map):
8495 * emulation/vi.el (vi-com-map):
8496 * calc/calc-graph.el (calc-graph-show-dumb):
8497 * term/sun.el (terminal-init-sun):
8498 * term/ns-win.el (global-map):
8499 * progmodes/grep.el (grep-mode-map):
8500 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8501 * mail/rmail.el (rmail-mode-map):
8502 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8504 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8505 custom-safe-themes as special.
8507 2011-10-01 Julien Danjou <julien@danjou.info>
8509 * notifications.el (notifications-notify): Fix docstring.
8511 2011-10-01 Per Starbäck <per@starback.se>
8513 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8515 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8517 * startup.el (command-line-1): Fix last fix by inserting
8518 initial-scratch-message into *scratch* before displaying it.
8519 (Bug#9605) and (Bug#9636)
8521 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8523 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8524 window is hscrolled, move by logical lines. (Bug#9607)
8525 (line-move-visual): Update the doc string to the above effect.
8527 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8529 * window.el (display-buffer-record-window): When WINDOW is the
8530 selected window use `point' instead of `window-point'. (Bug#9626)
8532 * startup.el (command-line-1): Use insert-before-markers when
8533 inserting initial-scratch-message. (Bug#9605)
8535 * help.el (help-window): Remove variable.
8537 2011-09-29 Glenn Morris <rgm@gnu.org>
8539 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8541 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8543 * descr-text.el (describe-char-categories): Accept category
8544 descriptions more than one line long.
8546 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * simple.el (delete-trailing-whitespace): Fix last change.
8550 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8551 Don't confuse "y => 3" as the beginning of a `y' operation.
8553 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8554 object has more than 4 slots (bug#9613).
8556 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8558 * subr.el (with-output-to-temp-buffer):
8559 * net/quickurl.el (quickurl, quickurl-browse-url):
8560 Fix typos in docstrings.
8562 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8564 * minibuffer.el (completion-styles)
8565 (completion-category-overrides): Cross reference each other in doc
8568 2011-09-27 Glenn Morris <rgm@gnu.org>
8570 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8571 to split-string. (Bug#9606)
8573 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8575 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8578 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8580 * emacs-lisp/package.el (list-packages): Fix echo area message.
8582 2011-09-27 Leo Liu <sdl.web@gmail.com>
8584 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8586 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8588 * net/dbus.el (dbus-unregister-object): Don't release services for
8589 registered signals. (Bug#9581)
8591 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8593 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8594 function that picks between cfengine 2 and 3 support
8595 automatically. Update docs accordingly.
8597 2011-09-22 Kenichi Handa <handa@m17n.org>
8599 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8601 (indian-itrans-v5-table-for-tamil): New variable.
8602 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8604 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8606 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8607 that's true if the current command involved collapsing of text.
8608 It's reset to false at the beginning of the next command.
8609 (allout-post-command-business): Move the cursor to the beginning
8610 of entry if the cursor is hidden and collapsing activity just
8613 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8615 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8616 tracking (Bug#9541).
8618 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8620 * net/newst-reader.el (newsticker-html-renderer)
8621 (newsticker-show-news): Automatically load html rendering package
8622 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8623 because w3m-fill-column is let-bound" and the error "Symbol's value
8624 as variable is void: w3m-fill-column".
8626 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8628 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8629 Release services only if they are defined. (Bug#9581)
8631 2011-09-23 Richard Stallman <rms@gnu.org>
8633 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8634 distinguish start of paragraph from start of its text.
8636 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8638 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8639 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8640 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8642 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8644 * international/mule-diag.el (mule-diag): Insert a newline after
8645 each fontset description.
8647 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * simple.el (delete-trailing-whitespace):
8650 Document last change; simplify.
8652 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8654 * simple.el (delete-trailing-whitespace): Also delete
8655 extra newlines at the end of the buffer.
8657 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8658 (picture-newline): Use forward-line so as to ignore fields.
8660 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * subr.el (with-wrapper-hook): Fix edebug spec.
8664 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8669 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8671 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8672 Fix nasty bug using wrong cached values.
8674 2011-09-23 Alan Mackenzie <acm@muc.de>
8676 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8678 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8680 * window.el (pop-to-buffer): Ensure right window is selected if we
8681 chose another frame.
8683 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8685 * simple.el (what-cursor-position): Use get-char-property-change
8686 and next-single-char-property-change, to be able to show display
8687 properties that come from overlays as well as text properties.
8689 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8691 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8693 * cmuscheme.el (run-scheme, switch-to-scheme):
8694 * cus-edit.el (customize-group, custom-buffer-create)
8698 * mail/sendmail.el (mail):
8699 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8701 2011-09-22 Richard Stallman <rms@gnu.org>
8703 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8704 move back only to line beg, don't move back over blank lines.
8706 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8708 * files.el (copy-directory): Set directory attributes only in case
8709 they could be retrieved from the source directory. (Bug#9565)
8711 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8713 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8714 (hs-find-block-beginning, hs-hide-level-recursive):
8715 Ignore strings as well as comments. (Bug#9502)
8717 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8719 * progmodes/sql.el (sql-comint-postgres):
8720 Convert port number to a string. (Bug#9566)
8722 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8724 * window.el (quit-window): Undedicate window when switching to
8725 previous buffer. Reported by Thierry Volpiatto
8726 <thierry.volpiatto@gmail.com>.
8727 (special-display-popup-frame): When popping up a new frame reset
8728 its previous buffers to nil. Simplify code.
8730 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8732 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8733 and process filter, as done also in `shell-command'.
8735 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8737 * window.el (set-window-buffer-start-and-point):
8738 Call set-window-start with NOFORCE argument t.
8739 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8740 (quit-window): Reword doc-string. Handle new format of
8741 quit-restore parameter. Don't delete window if it has a
8742 previous buffer we can show instead of the present one.
8743 (display-buffer-record-window): Rewrite using a new format for
8744 the quit-restore window parameter
8745 (special-display-popup-frame, display-buffer-same-window)
8746 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8747 (display-buffer-pop-up-window, display-buffer-use-some-window):
8748 Adapt symbol passed to display-buffer-record-window.
8749 * help.el (help-window-setup): Handle new format of quit-restore
8752 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8754 * faces.el (face-list): Fix docstring (bug#9564).
8756 * window.el (display-buffer--action-function-custom-type):
8757 Don't include internal functions in the Custom interface.
8759 2011-09-20 Juri Linkov <juri@jurta.org>
8761 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8762 (Info-forward-node, Info-backward-node, Info-next-preorder)
8763 (Info-last-preorder): Use it. (Bug#9528)
8765 2011-09-20 Juri Linkov <juri@jurta.org>
8767 * info.el (Info-last-preorder): Visit last menu item only when
8768 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8770 2011-09-20 Julien Danjou <julien@danjou.info>
8772 * password-cache.el (password-cache-remove): Remove entries even if the
8773 value is nil, so that password with a nil value (negative caching) is
8774 possible to invalidate.
8776 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8778 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8779 all whitespace around breakpoint. (Bug#9553)
8780 (f90-find-breakpoint): Only break at whitespace inside a comment.
8782 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * minibuffer.el (completion-file-name-table): Keep track of errors.
8785 (completion-table-with-predicate): Handle the case where pred1 is nil.
8786 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8788 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8790 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8791 (debugger-return-value): Signal an error if the debugging context does
8792 not await any return value.
8794 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8795 * image-mode.el (image-toggle-display-text)
8796 (image-toggle-display-image): Stay away from evil `intangible'.
8798 2011-09-19 Leo Liu <sdl.web@gmail.com>
8800 * replace.el (occur-revert-arguments): Make it permanent-local.
8801 (occur-mode): Don't call font-lock-defontify.
8803 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8805 * net/ldap.el (ldap-search-internal): Don't push empty search
8808 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8812 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8814 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8815 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8817 2011-09-18 Juri Linkov <juri@jurta.org>
8819 * buff-menu.el (Buffer-menu-mode-map):
8820 * dired.el (dired-mode-map):
8821 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8822 (lisp-interaction-mode-map):
8823 * emacs-lisp/package.el (package-menu-mode-map):
8824 * epa.el (epa-key-list-mode-map):
8825 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8826 (menu-bar-options-menu):
8827 * outline.el (outline-mode-menu-bar-map):
8828 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8829 * vc/vc-dir.el (vc-dir-menu-map):
8830 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8831 Capitalize non-function content words in menu item strings.
8833 * dired.el (dired-mode-map): Add menu item for
8834 `image-dired-dired-toggle-marked-thumbs'.
8836 2011-09-18 Juri Linkov <juri@jurta.org>
8838 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8839 to `isearch-case-fold-search' and restore its original value
8840 after the `isearch-mode' call.
8842 2011-09-18 Juri Linkov <juri@jurta.org>
8844 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8845 because `zgrep' returns 1 for successful matches (bug#9226).
8847 2011-09-18 Juri Linkov <juri@jurta.org>
8849 * info.el (Info-extract-menu-node-name): Check the second match
8850 for empty string (second test-case of bug#9528).
8851 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8852 intermediate nodes to the history (first test-case of bug#9528).
8854 2011-09-18 Juri Linkov <juri@jurta.org>
8856 * info.el (Info-mode-syntax-table): New variable.
8857 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8859 2011-09-18 Juri Linkov <juri@jurta.org>
8861 * info.el (Info-file-supports-index-cookies):
8862 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8863 outputs one more line for long file names (bug#4142).
8865 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8867 * newcomment.el (comment-normalize-vars): If prompting for
8868 comment-start, set comment-start-skip too (Bug#8424).
8870 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8872 * icomplete.el: Fix previous fix of Bug#5849.
8873 (icomplete-mode): Don't set completion-show-inline-help.
8874 (icomplete-minibuffer-setup): Set completion-show-inline-help
8875 locally during icompletion.
8877 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8879 * woman.el (woman2-process-escapes): Don't delete unrecognized
8882 * files.el (inhibit-first-line-modes-regexps): Add image files.
8883 (hack-local-variables-prop-line): Return nil for malformed
8884 prop-lines (Bug#9044).
8886 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8888 * net/tramp.el (top): Don't require 'shell.
8889 (tramp-methods): Fix docstring.
8890 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8891 Return complete remote file name. Handle "smb" case.
8892 Use `tramp-tmpdir', if defined for the respective method.
8893 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8895 * net/tramp-compat.el (top): Require 'shell.
8897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8898 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8899 `tramp-current-host'.
8900 (tramp-get-remote-tmpdir): Remove.
8902 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8903 `tramp-tmpdir' entries.
8904 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8905 (tramp-smb-handle-file-attributes): Ignore errors.
8906 (tramp-smb-wait-for-output): Check also for process end.
8908 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8910 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8911 when sending QUIT (bug#9312).
8913 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8915 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8916 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8917 occur-mode-display-occurrence.
8918 (occur-edit-mode): Add usage message.
8919 (occur-cease-edit): New command.
8920 (occur-after-change-function): Use text properties to find the
8921 position of the prefix text.
8922 (occur-engine): Set stickiness of prefix text properties.
8924 2011-09-17 Glenn Morris <rgm@gnu.org>
8926 * progmodes/etags.el (complete-tag):
8927 Fix call to completion-in-region. (Bug#9526)
8929 2011-09-17 Juri Linkov <juri@jurta.org>
8931 * textmodes/ispell.el (ispell-word): Add to the error message
8932 the word, ispell program name and current dictionary (bug#9121).
8933 (ispell-tex-arg-end): Capitalize "error" in the error message.
8935 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8937 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8940 2011-09-17 Juri Linkov <juri@jurta.org>
8942 * window.el (window-safe-min-height, window-safe-min-width):
8943 Fix typos (followup to bug#9522).
8945 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8947 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8949 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8951 * simple.el (line-move): If goal-column is set, move by logical
8952 lines, not by display lines. (Bug#971)
8953 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8954 to reflect the above change.
8956 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * image.el (imagemagick-register-types): Use regexp-opt.
8960 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8962 * window.el (display-buffer-base-action): Rename from
8963 display-buffer-default-action. Make default value empty.
8964 (display-buffer-overriding-action): Convert to defvar.
8965 (display-buffer-fallback-action): New var.
8967 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8969 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8971 (package--add-to-archive-contents): If there is a duplicate entry
8972 with an older version, remove it.
8973 (package-menu-mark-delete, package-menu-mark-install)
8974 (package-menu-mark-unmark): Make unused args optional.
8975 (package-menu-mark-obsolete-for-deletion):
8976 Use package-menu-get-status instead of a regexp search.
8977 (package-menu-get-status): Use tabulated-list-entry.
8978 (package-menu-mark-upgrades): New command.
8979 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8980 (package-menu-execute): Do installation before deletion.
8981 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8982 instead of checking major-mode.
8983 (package-menu--find-upgrades): New function.
8985 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8988 passwords in the log buffer.
8989 (smtpmail-process-filter): Update the process marker so that the
8990 "broken by peer" status message is inserted in the right place.
8992 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8994 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8995 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8996 bibtex-completion-at-point-function.
8997 (bibtex-completion-at-point-function): Use them.
8999 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9001 * mpc.el (mpc-constraints-tag-lookup): New function.
9002 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9003 also to browser "album|playlist".
9005 2011-09-14 Juri Linkov <juri@jurta.org>
9007 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9008 (isearch-edit-string): Use length of `isearch-string' when
9009 `isearch-fail-pos' returns nil.
9010 (isearch-message): Remove duplicate code and call
9011 `isearch-fail-pos' with arg `t'.
9013 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9015 * replace.el (occur-mode-goto-occurrence): Don't force using other
9018 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9020 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9022 * window.el (display-buffer-window): Remove.
9023 (display-buffer-record-window): Use help-setup window parameter
9024 instead of variable display-buffer-window.
9025 (display-buffer-function, special-display-buffer-names)
9026 (special-display-function): Mention help-setup parameter instead
9027 of display-buffer-window in doc-string.
9028 * help.el (help-window-setup): New argument help-window.
9029 Use help-window-setup parameter instead of display-buffer-window.
9030 Reword some messages.
9031 (with-help-window): Pass window used for displaying the buffer
9032 to help-window-setup. Don't set display-buffer-window.
9034 2011-09-13 Glenn Morris <rgm@gnu.org>
9036 * emacs-lisp/debug.el (debugger-make-xrefs):
9037 Preserve point. (Bug#9462)
9039 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9041 * window.el (window-deletable-p): Use next-frame.
9043 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9045 * window.el (window-auto-delete): Remove.
9046 (window-deletable-p): Remove argument FORCE. Don't deal with
9047 dedication and previous buffers.
9048 (switch-to-prev-buffer): Don't delete window.
9049 (delete-windows-on): Delete a window's frame if and only if the
9050 window is dedicated.
9051 (replace-buffer-in-windows): Delete buffer's window or frame if
9052 and only if window is dedicated.
9053 (quit-window): Handle quit-restore as before last change.
9054 (bury-buffer): Delete window only if window-deletable-p returns t.
9056 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9058 * window.el (window-deletable-p): Never delete the last frame on a
9061 2011-09-13 Glenn Morris <rgm@gnu.org>
9063 * help.el (describe-key-briefly): Copy previous standard-output change.
9065 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9067 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9069 2011-09-13 Glenn Morris <rgm@gnu.org>
9071 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9072 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9074 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9076 * dired-aux.el (dired-mark-read-string): Don't return default
9077 value on empty input (Bug#9361).
9078 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9079 Omit initial minibuffer contents.
9080 (dired-do-chmod): Signal an error on empty input.
9081 (dired-mark-read-string): Don't return default on empty input.
9083 * files.el (file-modes-symbolic-to-number): Doc fix.
9085 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * international/mule-cmds.el (ucs-completions): Remove.
9088 (read-char-by-name): Use complete-with-action instead; add metadata.
9090 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9092 * window.el (display-buffer--action-function-custom-type)
9093 (display-buffer--action-custom-type): New vars.
9094 (display-buffer-alist, display-buffer-default-action)
9095 (display-buffer-overriding-action): Add defcustom types.
9097 * frame.el (delete-other-frames): Doc fix (Bug#276).
9099 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9101 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9103 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9105 Change modes that used same-window-* vars to use switch-to-buffer.
9107 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9108 Use switch-to-buffer.
9110 * cus-edit.el (customize-group, custom-buffer-create)
9111 (customize-browse, custom-buffer-create-other-window):
9112 Use switch-to-buffer or switch-to-buffer-other-window.
9114 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9115 (Info-prev, Info-up, Info-speedbar-goto-node)
9116 (info-display-manual): Use switch-to-buffer.
9117 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9119 * mail/sendmail.el (mail): Use switch-to-buffer.
9120 (mail-recover): Use switch-to-buffer-other-window.
9122 * cmuscheme.el (run-scheme, switch-to-scheme):
9125 * net/rlogin.el (rlogin):
9126 * net/telnet.el (telnet, rsh):
9127 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9131 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9133 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9136 so don't mention it (bug#9301).
9137 (dired-sort-toggle-or-edit): Clarify string further.
9139 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9140 match `x', `w32' and `ns', like the manual says (bug#9029).
9142 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9143 (process-kill-buffer-query-function): Mention the buffer name in
9146 * image-mode.el (image-next-line): The line parameter is mandatory
9149 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9150 which can be useful (bug#9301).
9152 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9154 * subr.el (match-string): Mention that the current buffer should
9155 be the same as the search was done in (bug#9282).
9157 * facemenu.el: Disable the remove-* commands if the mark isn't
9160 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9162 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9164 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9166 * replace.el (occur-mode-goto-occurrence)
9167 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9170 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9173 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9174 special-display and same-window variables.
9175 (mail-other-window): Use switch-to-buffer-other-window.
9176 (mail-other-frame): USe switch-to-buffer-other-frame.
9178 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9179 Use display-buffer-other-frame.
9180 (gdb-display-gdb-buffer): Use pop-to-buffer.
9182 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9184 * progmodes/python.el: Don't set same-window-buffer-names.
9186 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9188 * window.el (display-buffer-alist): Add *Python*.
9190 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9192 * window.el (display-buffer-alist): Add entry for buffers
9193 previously handled same-window-*.
9194 (display-buffer-alist, display-buffer-default-action)
9195 (display-buffer-overriding-action): Mark as risky.
9196 (display-buffer-alist): Document action function changes.
9197 (display-buffer--same-window-action)
9198 (display-buffer--other-frame-action): New variables.
9199 (switch-to-buffer, display-buffer-other-frame): Use them.
9200 (display-buffer): Rename reuse-frame entry to reusable-frames.
9201 (display-buffer-reuse-selected-window): Function deleted.
9202 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9203 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9204 (display-buffer-special): New function.
9205 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9206 display-buffer-reuse-or-pop-window. Split off special-display
9207 part into display-buffer-special.
9208 (display-buffer-use-some-window): Don't perform any special
9209 pop-up-frames handling.
9210 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9211 (display-buffer--maybe-same-window): Rename from
9212 display-buffer-maybe-same-window.
9214 * info.el: Don't set same-window-regexps.
9215 (info-setup): New function.
9216 (info-other-window, info): Call it.
9218 * cus-edit.el: Don't set same-window-regexps.
9219 (customize-group): New argument.
9220 (customize-group-other-window): Use it.
9221 (customize-face, customize-face-other-window): Likewise.
9222 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9226 * progmodes/gud.el: Don't set same-window-regexps.
9232 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9234 2011-09-10 Juri Linkov <juri@jurta.org>
9236 * isearch.el (isearch-edit-string): Remove obsolete mention of
9237 `C-w' (`isearch-yank-word-or-char') from docstring.
9238 (isearch-query-replace): Fix typo in docstring (bug#9466).
9240 2011-09-10 Juri Linkov <juri@jurta.org>
9242 * paren.el (show-paren-function): Don't show escaped parens.
9243 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9245 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9247 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9248 (mm-default-file-encoding): Remove autoload forms, they are
9249 replaced with autoload cookies in mml.el and mm-encode.el.
9250 (mail-add-attachment): New command.
9251 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9252 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9254 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9256 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9258 * simple.el (count-words-region): Use buffer if there's no region
9261 2011-09-09 Juri Linkov <juri@jurta.org>
9263 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9264 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9265 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9267 2011-09-09 Alan Mackenzie <acm@muc.de>
9269 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9270 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9272 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9274 Fix for Savannah bug#9392.
9275 * simple.el (mail-encode-mml): New defvar.
9277 * mail/rmail.el (mail-encode-mml): Add a defvar.
9278 (rmail-enable-mime-composing): Default to t.
9279 (rmail-forward): Use MIME method of forwarding only if both
9280 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9281 Set mail-encode-mml non-nil if the MIME method was used.
9283 * mail/sendmail.el (mml-to-mime): Add autoload form.
9284 (mail-encode-mml): Add a defvar.
9285 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9287 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9288 message through mml-to-mime, and reset mail-encode-mml to nil.
9290 2011-09-09 Glenn Morris <rgm@gnu.org>
9292 * woman.el (woman-if-body): When processing an .el block,
9293 do not delete the next .el block as well. (Bug#9447)
9294 (woman-special-characters): Add oq, cq, and hy characters.
9296 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9298 * window.el (window-deletable-p): Make sure window is live before
9299 invoking window-prev-buffers.
9301 2011-09-08 Leo Liu <sdl.web@gmail.com>
9303 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9305 2011-09-08 Juri Linkov <juri@jurta.org>
9307 * progmodes/compile.el (compilation-environment): Make it
9308 a defcustom (bug#8340).
9310 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9312 * window.el (frame-auto-delete): Rename to window-auto-delete.
9313 Make it control auto-deletion of windows and/or frames.
9314 (window-deletable-p): New argument FORCE. Rewrite conditions
9315 for deleting window/frame. (Bug#9419)
9316 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9317 Rewrite handling of case when window/frame can be deleted.
9318 (delete-windows-on): Call window-deletable-p with new FORCE
9319 argument t. (Bug#9456)
9321 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9323 * help-mode.el (help-mode): Restore autoload.
9325 2011-09-07 Juri Linkov <juri@jurta.org>
9327 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9328 `compilation-environment'. Set buffer-local
9329 `compilation-environment' to `thisenv' later after (funcall mode).
9332 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9333 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9334 instead of replacing its value. (Bug#8340)
9336 2011-09-07 Juri Linkov <juri@jurta.org>
9338 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9339 based on text properties put by `grep-filter' instead of matching
9341 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9342 to the value of `grep-error-screen-columns' (bug#9438).
9344 2011-09-07 Juri Linkov <juri@jurta.org>
9346 * simple.el (next-error-highlight, next-error-highlight-no-select):
9349 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9351 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9352 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9354 2011-09-07 Leo Liu <sdl.web@gmail.com>
9356 * net/rcirc.el (rcirc-mode): Conditionally initialize
9359 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * emacs-lisp/find-func.el (find-function-C-source): Only set
9362 find-function-C-source-directory after checking that we found a source
9363 file there (bug#9440).
9365 2011-09-06 Alan Mackenzie <acm@muc.de>
9367 * isearch.el (isearch-other-meta-char): Wherever a key list is
9368 unread, "unread" the prefix arg, too. This fixes bug #8901.
9370 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9372 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9374 2011-09-05 Juri Linkov <juri@jurta.org>
9376 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9378 2011-09-05 Juri Linkov <juri@jurta.org>
9380 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9381 keeping point where processing of grep matches begins, and
9382 continue to delete remaining escape sequences from the same point.
9383 (grep-filter): Make leading zero optional in "0?1;31m" because
9384 git-grep emits "\033[1;31m" escape sequences unlike expected
9385 "\033[01;31m" as GNU Grep does (bug#9408).
9386 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9388 2011-09-05 Juri Linkov <juri@jurta.org>
9390 * subr.el (y-or-n-p): Capitalize "yes".
9392 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9394 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9395 `tramp-cache-unload-hook' where appropriate.
9396 (tramp-methods): Rename `tramp-remote-sh' to
9397 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9398 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9400 * net/tramp-sh.el (top): Don't require 'shell.
9401 (tramp-methods): Add `tramp-remote-shell' and
9402 `tramp-remote-shell-args' entries.
9403 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9404 (tramp-sh-handle-shell-command): Remove.
9405 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9406 Use `tramp-remote-shell'.
9408 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9410 * mail/sendmail.el (sendmail-query-once-function): Delete.
9411 (sendmail-query-once): Save directly to send-mail-function.
9412 Update message-send-mail-function too.
9414 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9416 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9418 * progmodes/python.el (python-mode-map): Use correct function to
9419 start python interpreter from menu-bar (as reported by Geert
9421 (inferior-python-mode-map): Fix typo.
9422 (python-shell-map): Remove.
9424 2011-09-03 Deniz Dogan <deniz@dogan.se>
9426 * net/rcirc.el (rcirc-print): Simplify code for
9427 rcirc-scroll-show-maximum-output. There is no need to walk
9428 through all windows to find the right one.
9430 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9432 * help.el (help-return-method): Doc fix.
9434 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9436 * window.el (window-deletable-p): Don't return a non-nil value
9437 when there's a buffer that was shown in the window before.
9439 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9440 Set window's previous buffers to nil.
9442 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9444 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9445 newline before and after the tag line, so it doesn't interfere
9446 with determining the paragraph direction of bidirectional text.
9448 2011-09-03 Leo Liu <sdl.web@gmail.com>
9450 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9452 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9454 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9455 (pop-to-buffer): Change interactive spec. Pass second argument
9456 directly to display-buffer.
9457 (display-buffer): Fix interactive spec. Use functionp to
9458 distinguish between a function and a list of functions.
9460 * abbrev.el (edit-abbrevs):
9461 * arc-mode.el (archive-extract):
9462 * autoinsert.el (auto-insert):
9463 * bookmark.el (bookmark-bmenu-list):
9464 * files.el (find-file):
9465 * view.el (view-buffer):
9466 * progmodes/compile.el (compilation-goto-locus):
9467 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9469 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9471 * window.el (display-buffer-alist): Doc fix.
9472 (display-buffer): Add docstring. Don't treat
9473 display-buffer-default specially.
9474 (display-buffer-reuse-selected-window)
9475 (display-buffer-same-window, display-buffer-maybe-same-window)
9476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9477 (display-buffer-pop-up-window)
9478 (display-buffer-reuse-or-pop-window)
9479 (display-buffer-use-some-window): New functions.
9480 (display-buffer-default-action): Use them.
9481 (display-buffer-default): Delete.
9482 (pop-to-buffer-1): Fix choice of actions.
9484 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9486 * minibuffer.el (completion--insert-strings): Don't get confused by
9487 completion entries that end with an LF char.
9489 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9491 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9493 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9495 * window.el (display-buffer): Restore interactive spec.
9496 (display-buffer-same-window, display-buffer-other-window):
9498 (pop-to-buffer-1): New function. Use the above.
9499 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9500 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9502 * view.el (view-buffer-other-window, view-buffer-other-frame):
9503 Just use pop-to-buffer.
9505 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9507 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9509 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9511 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9513 2011-08-31 Richard Stallman <rms@gnu.org>
9515 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9516 of the separation of rmail-view-buffer from rmail-buffer.
9517 If you say no to "replace original", the decrypt is in the
9518 view buffer. If you say yes, the decrypt goes into the
9521 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9523 * window.el (display-buffer-window): Rewrite doc-string.
9524 (display-buffer-record-window): New function.
9525 (display-buffer-macro-specifiers)
9526 (display-buffer-even-window-sizes, display-buffer-set-height)
9527 (display-buffer-set-width, display-buffer-in-window)
9528 (display-buffer-reuse-window, display-buffer-split-specifiers)
9529 (display-buffer-side-specifiers, display-buffer-split-window-1)
9530 (display-buffer-split-window, display-buffer-split-atom-window)
9531 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9532 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9533 (display-buffer-other-window-means-other-frame)
9534 (display-buffer-normalize-special)
9535 (display-buffer-normalize-default)
9536 (display-buffer-normalize-argument)
9537 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9538 (display-buffer-normalize-specifiers, display-buffer-frame)
9539 (display-buffer-same-window, display-buffer-same-frame)
9540 (display-buffer-other-window)
9541 (display-buffer-same-frame-other-window)
9542 (display-buffer-other-frame, pop-to-buffer-same-window)
9543 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9544 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9545 (switch-to-buffer-same-frame)
9546 (switch-to-buffer-other-window-same-frame)
9547 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9548 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9549 (display-buffer-alist-set): Remove.
9550 (display-buffer-function, special-display-buffer-names)
9551 (special-display-regexps, special-display-function):
9552 In doc-string refer to display-buffer-window and quit-restore
9554 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9555 (special-display-frame-alist, special-display-popup-frame)
9556 (same-window-buffer-names, same-window-regexps, same-window-p)
9557 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9558 (split-window-preferred-function, split-height-threshold)
9559 (split-width-threshold, window-splittable-p)
9560 (split-window-sensibly, window--try-to-split-window)
9561 (window--frame-usable-p, even-window-heights)
9562 (window--even-window-heights, window--display-buffer-1)
9563 (window--display-buffer-2, display-buffer-other-frame):
9564 Restore old Emacs 23 code, order and doc-strings where applicable.
9565 (display-buffer-default, display-buffer-assq-regexp): New functions.
9566 (display-buffer-alist): Rewrite doc-string.
9567 (display-buffer-default-action)
9568 (display-buffer-overriding-action): New variables.
9569 (display-buffer, switch-to-buffer): Rewrite.
9570 (pop-to-buffer): Restore Emacs 23 behavior but use
9571 window-normalize-buffer-to-display.
9572 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9573 Restore Emacs 23 behavior but use
9574 window-normalize-buffer-to-switch-to.
9575 (pop-to-buffer-same-window): Rewrite.
9576 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9577 Rewrite using Emacs 23 options.
9579 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9581 * net/tramp.el (tramp-root-regexp): Remove.
9582 (tramp-completion-file-name-regexp-unified)
9583 (tramp-completion-file-name-regexp-separate)
9584 (tramp-completion-file-name-regexp-url): Don't use leading volume
9585 letter on win32 systems. (Bug#5303, Bug#9311)
9586 (tramp-drop-volume-letter): Simplify definition.
9587 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9589 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9591 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9594 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9596 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9598 2011-08-29 Juri Linkov <juri@jurta.org>
9600 * isearch.el (isearch-done): Don't display message "Mark saved"
9601 when arg `edit' is non-nil to prevent its flicker in the echo area.
9603 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9605 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9606 obsolete packages for deletion.
9608 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9610 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9611 (help-mode): Derive help-mode from special-mode. Don't invoke
9612 view-mode from help-mode.
9613 (help-xref-override-view-map): Remove.
9614 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9615 view-mode is not used anymore.
9617 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9619 * server.el (server-port): Doc fix.
9621 * cus-theme.el (custom-theme-choose-mode): Inherit from
9622 special-mode (Bug#9124).
9623 (custom-theme-choose-mode-map): Add special-mode to parent.
9625 2011-08-28 Alan Mackenzie <acm@muc.de>
9627 * progmodes/cc-fonts.el
9628 (c-make-font-lock-BO-decl-search-function): New function.
9629 (c-basic-matchers-after - "Fontify the clauses after various
9630 keywords"): Extract the three keyword lists for the 3 erroneous
9631 constructs from the list of four, and use the new function above
9632 in place of an old one.
9634 2011-08-28 Deniz Dogan <deniz@dogan.se>
9636 * net/rcirc.el (rcirc-insert-prev-input)
9637 (rcirc-insert-next-input): Remove unused argument.
9639 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9641 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9643 2011-08-27 Alan Mackenzie <acm@muc.de>
9645 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9646 handle function pointer parameters properly.
9648 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9650 * window.el (display-buffer-reuse-window): Fix case where
9651 selected window was reused with non-nil OTHER-WINDOW argument.
9654 2011-08-27 Deniz Dogan <deniz@dogan.se>
9656 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9657 oftc's NickServ messages.
9659 2011-08-27 Glenn Morris <rgm@gnu.org>
9661 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9663 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9665 * emacs-lisp/package.el (package-install): Call package-initialize
9666 if called interactively.
9668 2011-08-26 Leo Liu <sdl.web@gmail.com>
9670 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9672 2011-08-25 Juri Linkov <juri@jurta.org>
9674 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9675 `search-whitespace-regexp' (bug#9364).
9677 2011-08-25 Juri Linkov <juri@jurta.org>
9679 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9680 `regexp-search-ring' to their global values to protect from
9681 updating by `read-from-minibuffer' (bug#9185).
9683 2011-08-25 Juri Linkov <juri@jurta.org>
9685 * textmodes/ispell.el (ispell-command-loop): Add newline
9686 at the end of the "Use option `i'..." line.
9688 2011-08-25 Juri Linkov <juri@jurta.org>
9690 * battery.el (display-battery-mode): If `battery-status-function'
9691 or `battery-mode-line-format' is nil, display the message and set
9692 `display-battery-mode' to nil (bug#9363).
9694 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9696 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9697 bidi-string-mark-left-to-right; they are unnecessary now.
9699 2011-08-25 Deniz Dogan <deniz@dogan.se>
9701 * net/quickurl.el: Documentation typo fixes.
9703 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9705 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9707 2011-08-25 Glenn Morris <rgm@gnu.org>
9709 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9711 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9712 (smtpmail-via-smtp): Handle nil response from smtp.
9714 2011-08-24 Juri Linkov <juri@jurta.org>
9716 * proced.el (proced-marked): Inherit from `error' instead of
9717 `font-lock-warning-face'.
9719 * ibuffer.el (ibuffer-marked-face): Change default face from
9720 `font-lock-warning-face' to `warning'.
9721 (ibuffer-deletion-face): Change default face from
9722 `font-lock-type-face' to `error'.
9724 * battery.el (battery-update): Use the face `error' instead of
9725 `font-lock-warning-face' (bug#6117).
9727 2011-08-24 Juri Linkov <juri@jurta.org>
9729 * faces.el (success): Change face color from "Green3" to
9730 "ForestGreen" on light background (bug#9353).
9732 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9734 * window.el (quit-window): Rename from quit-restore-window.
9735 Use same arglist as old quit-window.
9736 (frame-auto-delete): Doc fix.
9738 * view.el (view-mode-exit): Use quit-window.
9740 2011-08-24 Juri Linkov <juri@jurta.org>
9742 * isearch.el (isearch-ring-adjust1): Start visiting previous
9743 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9744 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9745 for empty search string (when the last search string is reused
9746 automatically) to adjust the isearch ring to the last element and
9747 prepare the correct index for further M-p commands (bug#9185).
9749 2011-08-24 Kenichi Handa <handa@m17n.org>
9751 * international/ucs-normalize.el: If decomposition property of
9752 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9754 (nfd, nfkd): Likewise.
9756 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9758 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9759 from process filters aren't reliably transmitted to the surrounding
9760 accept-process-output.
9761 (mpc-proc-check): New function.
9762 (mpc-proc-sync): Use it (bug#8293)
9764 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9766 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9767 Add compatibility functions (bug#9313).
9769 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9771 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9773 * international/uni-bidi.el: Regenerate.
9775 2011-08-23 Kenichi Handa <handa@m17n.org>
9777 * international/charprop.el:
9778 * international/uni-bidi.el:
9779 * international/uni-category.el:
9780 * international/uni-combining.el:
9781 * international/uni-comment.el:
9782 * international/uni-decimal.el:
9783 * international/uni-decomposition.el:
9784 * international/uni-digit.el:
9785 * international/uni-lowercase.el:
9786 * international/uni-mirrored.el:
9787 * international/uni-name.el:
9788 * international/uni-numeric.el:
9789 * international/uni-old-name.el:
9790 * international/uni-titlecase.el:
9791 * international/uni-uppercase.el: Regenerate.
9793 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9795 * help.el (help-window-setup): Fix message displayed when other
9796 window is reused. (Bug#9341)
9798 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9800 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9801 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9803 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9805 * shell.el (shell-parse-pcomplete-arguments): New function.
9806 (shell-completion-vars): Use it instead (bug#9160).
9808 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9810 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9811 strings and comments (bug#9333).
9813 * emacs-lisp/debug.el (debug-arglist): New function.
9814 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9815 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9817 2011-08-22 Juri Linkov <juri@jurta.org>
9819 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9820 Revert regexp that highlights output switches to its old
9821 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9823 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9824 to check for empty output (bug#9226).
9826 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9828 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9829 symbol-constituent as the default, as that stops font-lock from
9830 working properly (Bug#8843).
9832 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9834 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9835 `coding-system-for-*' around the process open call to avoid
9836 auth-source side effects.
9837 (smtpmail-try-auth-methods): Expand the secret password.
9838 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9841 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9843 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9845 * emacs-lisp/find-func.el (find-function-noselect): New arg
9848 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9849 signal an error for built-in functions (Bug#6664).
9851 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9853 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9854 (smtpmail-try-auth-methods): Use it.
9856 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9858 * font-lock.el (font-lock-fontify-region)
9859 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9860 (font-lock-default-unfontify-buffer)
9861 (font-lock-default-fontify-region)
9862 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9864 * progmodes/compile.el (compilation-error-properties):
9865 Fix confusion between file struct and message struct (Bug#9319).
9866 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9869 * net/browse-url.el (browse-url-firefox): Don't call
9870 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9872 2011-08-20 Glenn Morris <rgm@gnu.org>
9874 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9876 * tutorial.el (tutorial--default-keys): Update some default bindings.
9878 * files.el (hack-local-variables): Fully ignore case for "mode:".
9880 2011-08-20 Alan Mackenzie <acm@muc.de>
9882 Resolve invalid use of a regexp in regexp-opt.
9884 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9885 detection for a java annotation.
9887 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9888 detection for a java annotation.
9890 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9892 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9894 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9896 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9899 2011-08-20 Alan Mackenzie <acm@muc.de>
9901 Fontify CPP expressions correctly when starting in the middle of
9902 such a construct. Mainly for when jit-lock etc. starts a chunk
9905 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9907 (c-make-font-lock-search-form): New function, extracted from
9908 c-make-font-lock-search-function.
9909 (c-make-font-lock-search-function): Use the above function.
9910 (c-make-font-lock-context-search-function): New function.
9911 (c-cpp-matchers): Enhance the preprocessor expression case with
9913 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9914 which takes an expression.
9916 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9918 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9920 * window.el (display-buffer-reuse-window)
9921 (display-buffer-pop-up-window): Don't reuse or split a side
9924 2011-08-19 Glenn Morris <rgm@gnu.org>
9926 * files.el (hack-local-variables-prop-line, hack-local-variables):
9927 Downcase "Mode:". (Bug#9331)
9929 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9931 * international/characters.el: Add L and R categories.
9933 * subr.el (bidi-string-mark-left-to-right): Rename from
9934 string-mark-left-to-right. Use category search.
9936 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9938 2011-08-18 Juri Linkov <juri@jurta.org>
9940 * faces.el (error, warning, success): New faces with definitions
9941 copied from old default values of `font-lock-warning-face',
9942 `compilation-warning', `compilation-info' (bug#6117).
9944 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9946 * progmodes/compile.el (compilation-error): Inherit from `error'.
9947 (compilation-warning): Inherit from `warning'.
9948 (compilation-info): Inherit from `success'.
9950 * dired.el (dired-marked): Inherit from `warning'.
9951 (dired-flagged): Inherit from `error'.
9953 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955 * mail/smtpmail.el (auth-source): Require to avoid problems with
9956 binding variables (bug#9298). Also clean up some unused
9959 * net/network-stream.el (network-stream-open-starttls):
9960 Support using starttls.el without using gnutls-cli.
9962 2011-08-17 Juri Linkov <juri@jurta.org>
9964 * progmodes/grep.el (rgrep): Handle the case when
9965 `grep-find-command' is a cons cell (bug#9278).
9967 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9969 * window.el (display-buffer-pop-up-frame): Run frame creation
9970 function with BUFFER current (as special-display-popup-frame
9971 does). Reported by Drew Adams.
9973 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9975 * epa-mail.el: Simplify GnuPG group expansion using
9977 (epa-mail-group-alist, epa-mail-group-modtime)
9978 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9979 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9980 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9983 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9985 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9987 2011-08-16 Alan Mackenzie <acm@muc.de>
9989 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9990 Correct, to avoid the inside of macros.
9992 2011-08-16 Richard Stallman <rms@gnu.org>
9994 * epa-mail.el: Handle GnuPG group definitions.
9995 (epa-mail-group-alist, epa-mail-group-modtime)
9996 (epa-mail-gnupg-conf-file): New variables.
9997 (epa-mail-parse-groups, epa-mail-sync-groups)
9998 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9999 (epa-mail-expand-recipients): New functions.
10000 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10002 * mail/rmail.el (rmail-epa-decrypt): New command.
10004 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10005 Don't bind buffer-read-only, just inhibit-read-only.
10006 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10007 (epa-decrypt-armor-in-region): Make error message clearer.
10009 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10012 and "a2b" to "ab" for `prefix'.
10014 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10016 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10018 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10019 Fourquet (Bug#8804).
10021 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10023 * startup.el (argi): Declare as global variable (bug#9275).
10025 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10027 * subr.el (string-mark-left-to-right): Search the entire string
10028 for RTL script, not just the terminating character. Doc fix.
10030 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10034 (js--regexp-literal, js-syntax-propertize-function): Remove.
10035 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10036 (js-mode-map): Don't rebind electric keys.
10037 (js-insert-and-indent): Remove.
10038 (js-mode): Setup electric-layout and electric-indent instead.
10040 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10042 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10044 * epa.el (epa-progress-callback-function): Fix the logic of
10045 displaying progress.
10046 * epa-file.el (epa-file-insert-file-contents): Make progress
10047 display more user-friendly.
10048 (epa-file-write-region): Ditto.
10050 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10052 * subr.el (string-mark-left-to-right): New function.
10054 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10055 Use string-mark-left-to-right.
10056 (list-buffers-noselect): Caller changed.
10058 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10059 Use string-mark-left-to-right.
10060 (tabulated-list-print): Recenter after moving point.
10062 2011-08-10 Juri Linkov <juri@jurta.org>
10064 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10065 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10066 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10068 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10070 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10073 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10075 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10076 character. (Bug#6594)
10078 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10080 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10081 (image-dired--with-db-file): New macro.
10082 (image-dired-write-tags, image-dired-remove-tag)
10083 (image-dired-create-gallery-lists, image-dired-write-comments)
10084 (image-dired-get-comment, image-dired-mark-tagged-files)
10085 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10086 (image-dired-gallery-generate): Use insert-file-contents.
10088 * time.el (display-time-world-list, display-time-world-display):
10089 * time-stamp.el (time-stamp-string):
10090 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10091 set-time-zone-rule (Bug#7337).
10093 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10095 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10096 (epg-error-to-string, epg-errors-to-string): New function.
10097 (epg-wait-for-completion): Reverse errors list.
10098 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10099 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10100 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10101 (epg-sign-keys, epg-generate-key-from-file)
10102 (epg-generate-key-from-string): Format errors by using
10103 epg-errors-to-string (bug#9255).
10104 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10106 2011-08-07 Juri Linkov <juri@jurta.org>
10108 * faces.el (list-faces-display): Remove extra angle bracket
10109 from `help-mode-map'.
10111 * info.el (Info-history-toc-nodes): Doc fix.
10113 * longlines.el (longlines-mode): Doc fix.
10115 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10118 of statements and in a few more cases (bug#9183).
10120 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10122 (cl-transform-lambda): Use them (bug#9239).
10124 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10126 * window.el (display-buffer-same-window)
10127 (display-buffer-same-frame, display-buffer-other-window)
10128 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10129 (pop-to-buffer-other-window)
10130 (pop-to-buffer-same-frame-other-window)
10131 (pop-to-buffer-other-frame): Make them defuns.
10132 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10134 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10136 * subr.el (make-composed-keymap): Move from C. Change calling
10137 convention, and improve docstring to bring attention to a subtle point.
10138 * minibuffer.el (completing-read-default): Adjust accordingly.
10140 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10142 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10143 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10145 * net/trampver.el: Update release number.
10147 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10152 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10154 * mail/sendmail.el (sendmail-query-once): Restore the current
10155 buffer after querying (bug#9074).
10157 * dired.el (dired-flagged): Use different faces for marked and
10158 flagged files (bug#6117).
10160 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10163 * ido.el (ido-mode): Switch off the message if called
10166 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10167 before 587, since it appears that that's more likely to work for
10170 * cus-edit.el (custom-file): When running under emacs -q, always
10171 refuse to save the customizations, even if the .emacs file doesn't
10174 * info.el: Remove the `Info-beginning-of-buffer' function
10177 * net/network-stream.el (network-stream-open-starttls):
10178 Use `starttls-available-p' to see whether starttls.el can be used.
10180 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10182 * window.el (display-buffer-in-window): Don't set dedicated status
10183 of window here (Bug#9215).
10184 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10185 (display-buffer-pop-up-side-window)
10186 (display-buffer-in-side-window): Set dedicated status of window here.
10188 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10191 before binding generated-autoload-file.
10193 2011-08-01 Deniz Dogan <deniz@dogan.se>
10195 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10197 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10199 Sync with Tramp 2.2.2.
10201 * net/trampver.el: Update release number.
10203 2011-07-30 Juri Linkov <juri@jurta.org>
10205 * dired-aux.el (dired-touch-initial): Remove function.
10206 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10207 current time, and `default' to the last modification time of the
10208 current marked file (bug#6887).
10210 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10212 * simple.el (goto-line): Use string-to-number to provide a
10213 numeric argument to read-number (bug#9163).
10215 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10217 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10218 connection process, it could be nil.
10220 2011-07-27 Leo Liu <sdl.web@gmail.com>
10222 Simplify url handling in rcirc-mode.
10224 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10225 (rcirc-browse-url-at-mouse): Remove.
10226 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10228 2011-07-26 Alan Mackenzie <acm@muc.de>
10230 Fontify bitfield declarations properly.
10232 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10233 (c-symbol-chars): Now exported as a lang variable.
10234 (c-not-primitive-type-keywords): New lang variable.
10236 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10237 QT keyword "more" to prevent "more slots: ...." being spuriously
10238 parsed as a bitfield declaration.
10240 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10241 Refactor and enhance to handle bitfield declarations.
10242 (c-punctuation-in): New function.
10243 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10244 declarations properly.
10246 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10248 * calendar/icalendar.el (icalendar--all-events): Take care of
10249 multiple vcalendars in a single file.
10250 (icalendar--convert-float-to-ical): Checkdoc fixes.
10252 2011-07-25 Deniz Dogan <deniz@dogan.se>
10254 * image.el (insert-image): Clarifying docstring.
10256 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10258 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10259 `tramp-send-command-and-check' if there is no error.
10260 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10262 2011-07-22 Alan Mackenzie <acm@muc.de>
10264 Prevent cc-langs.elc being loaded at run time.
10266 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10269 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10270 "(require 'cc-langs)". Quote a form so it will evaluate at
10271 (cc-mode's) compilation time.
10273 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10275 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10276 loading. (Bug#9114)
10278 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10280 * window.el (display-buffer-pop-up-window)
10281 (display-buffer-pop-up-side-window)
10282 (display-buffer-in-side-window): Call display-buffer-set-height
10283 and display-buffer-set-width after setting the new window's
10284 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10286 2011-07-20 Sam Steingold <sds@gnu.org>
10288 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10289 (etags-tags-included-tables): Call `convert-standard-filename' on
10290 the file names contained in TAGS so that windows Emacs can handle
10291 TAGS files created by cygwin ctags.
10293 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10295 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10296 which apparently didn't work.
10298 2011-07-19 Roland Winkler <winkler@gnu.org>
10300 * proced.el (proced-send-signal): For *Marked Processes* buffer
10301 put point at beginning of buffer.
10303 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10305 * proced.el (proced-format): Make header lines align with the text
10308 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10310 * view.el (view-buffer): Allow running in `special' modes if we're
10311 visiting a file (bug#8615).
10313 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10315 * window.el (display-buffer-alist-of-strings-p)
10316 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10318 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10321 2011-07-18 Alan Mackenzie <acm@muc.de>
10323 Fontify declarators properly when, e.g., a jit-lock chunk begins
10324 inside a declaration.
10326 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10328 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10330 (c-complex-decl-matchers): Insert reference to
10331 c-font-lock-enclosing-decls.
10333 * progmodes/cc-engine.el (c-backward-single-comment):
10334 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10335 to nil around calls to (forward-comment -1).
10337 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10339 * image.el (put-image): Doc typo fix.
10341 * progmodes/etags.el (tags-search): Doc typo fix.
10343 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10344 password if we get errors 550 to 554.
10346 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10348 * net/gnutls.el (gnutls-log-level): Remove.
10350 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10351 indentation character (bug#6380).
10353 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10355 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10356 to clarify what the problem is (bug#4291).
10358 * simple.el (current-kill): Clarify what
10359 `interprogram-paste-function' does (bug#7500).
10360 (auto-fill-mode): Document `auto-fill-function' in relation to
10361 `auto-fill-mode' (bug#2470).
10363 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10365 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10366 method if slot is read-only (bug#9035).
10368 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10370 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10371 * window.el (pop-to-buffer): Select window used even if it was
10372 selected before, see discussion of (Bug#8615), (Bug#6954).
10373 Pass argument NORECORD on to select-frame-set-input-focus.
10375 2011-07-15 Glenn Morris <rgm@gnu.org>
10377 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10380 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10382 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10383 (gnutls-negotiate): Use it.
10385 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10387 * net/gnutls.el (gnutls-negotiate):
10388 Upcase `gnutls-algorithm-priority'.
10390 2011-07-15 Glenn Morris <rgm@gnu.org>
10392 * jka-compr.el (jka-compr-verbose): Move from here...
10393 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10394 Add missing :version tag.
10395 * info.el: No need to require jka-compr when compiling.
10397 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10399 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10400 (gnutls-negotiate): Use it.
10402 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10404 * info.el (Info-beginning-of-buffer): New command.
10405 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10406 announcing `b' as the key (bug#8325).
10407 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10409 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10411 * international/mule-cmds.el
10412 (describe-specified-language-support): Make the error message
10413 clearer (bug#8905).
10415 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10417 * isearch.el (isearch-barrier): Add a doc string, since it's
10418 mentioned in a function doc string (bug#8678).
10420 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10422 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10423 buffer argument (Bug#9083) and self-identifying label argument.
10425 2011-07-15 Glenn Morris <rgm@gnu.org>
10427 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10429 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10431 * man.el (Man-fontify-manpage): Fix message when formatting the
10432 man page (bug#7929).
10434 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10436 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10437 argument LRM; if non-nil, append an invisible LRM character to the
10439 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10440 last argument non-nil, when formatting buffer names.
10441 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10442 paragraph direction.
10444 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10447 the man page name (bug#7929).
10449 * image.el (put-image): Mention the `put-image' overlay property
10452 * scroll-bar.el (set-scroll-bar-mode): Mention that
10453 `scroll-bar-mode' lists the values (bug#7772).
10455 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10456 command (bug#7729).
10458 * rect.el (apply-on-rectangle): Return the point after the last
10460 (string-rectangle): Go to the point after the last operation
10463 * printing.el (pr-toggle-region): Clarify the documentation
10464 slightly (bug#7493).
10466 * time.el (display-time-update):
10467 Allow `display-time-mail-function' to return nil (bug#7158).
10468 Fix suggested by Detlev Zundel.
10470 * vc/diff.el (diff): Clarify the order the file names are read
10473 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10474 the doc string (bug#7015).
10476 * font-lock.el (font-lock-maximum-decoration): Mention what
10477 numeric levels mean (bug#6935).
10479 * startup.el (initial-buffer-choice): Don't mention the `none'
10480 selection, which is against policy.
10482 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10484 * window.el (display-buffer-normalize-special):
10485 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10487 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10489 * subr.el (version<, version<=, version=): Mention "-CVS" and
10490 "-12345" alpha version numbers.
10492 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10494 * bindings.el: Add advertised binding for set-mark-command
10497 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10499 * bindings.el (mode-line-other-buffer):
10500 * bookmark.el (bookmark-bmenu-2-window):
10501 * bs.el (bs-cycle-next, bs-cycle-previous):
10502 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10505 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10508 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10510 * follow.el (follow-debug-message, follow-redisplay):
10511 * jka-cmpr-hook.el (with-auto-compression-mode):
10512 Fix typos in docstrings.
10514 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516 * subr.el (with-silent-modifications): Clarify somewhat what the
10517 macro inhibits (bug#6525).
10519 * simple.el (eval-expression): Note what it does if called
10520 interactively (bug#6495).
10522 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10524 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10525 Use pop-to-buffer buffer-or-name if it is nil.
10527 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10528 Remove switch-to-buffer.
10530 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10532 * files.el (make-directory): Clarify that an error will be raised
10533 if there's an error (bug#6397).
10535 * startup.el (initial-buffer-choice): Add `none' as a choice
10538 * subr.el (add-hook): Clarify section about buffer-local hooks
10541 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10543 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10545 * tabify.el (untabify): Preserve the current column so that point
10546 doesn't move (bug#6032).
10548 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10550 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10551 Rewrite to avoid awkward possessive "s" (bug#5986).
10553 2011-07-13 Glenn Morris <rgm@gnu.org>
10555 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10556 (dired-insert-directory): Give a message the first time
10557 if ls is found not to support --dired.
10559 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10561 * simple.el (toggle-truncate-lines): Clarify what is toggled
10562 (bug#5580). Text by Drew Adams.
10564 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10566 * simple.el (blink-matching-open): Make the error message from the
10567 last change less verbose.
10569 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10571 * font-lock.el (font-lock-comment-face): Use the high contrast
10572 "yellow" color for font-lock-comment-face on low color terminals
10573 using a dark background color (bug#4221).
10575 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10577 * dired.el (dired-insert-set-properties): Make the doc string
10578 reflect what it does now (bug#5325).
10580 * simple.el (blink-matching-open): Say that we were unable to find
10581 the match within the limit, if we're limited (bug#5122).
10583 * international/mule-cmds.el (prefer-coding-system): Add an
10584 example (bug#4869).
10586 * progmodes/etags.el (tags-search): Document `file-list-form'
10589 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10591 * net/browse-url.el (browse-url-default-browser)
10592 (browse-url-browser-function): Make the default browser choice a
10593 bit more logical (bug#4300). Also clean up the doc string.
10595 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10597 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10598 binary endings (bug#4440).
10600 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10602 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10603 which can be pretty annoying (bug#8971).
10605 * jka-compr.el (jka-compr-verbose): New variable, and use
10606 throughout (bug#8971).
10608 * info.el (Info-find-file): Fall back on the installation
10609 directory if we can't find the info node anywhere else.
10611 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10613 * vc/vc.el (vc-revert-file):
10614 Don't set file time-stamp in the past. (Bug#5181)
10616 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10618 * files.el (after-find-file): Give a better error message when
10619 trying to find a symlink that points to a file that doesn't exist
10622 * progmodes/cc-vars.el: Remove (probably) misleading comment
10625 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10627 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10629 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10631 * mouse-sel.el: Hack restoring functionality, while keeping
10632 compatibility with 2010-07-03 changes to mouse selection.
10633 (mouse-sel-primary-overlay): New var.
10634 (mouse-sel-selection-alist): Use it.
10635 (mouse-sel-mode): Doc fix; remove points that are default features
10638 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10641 Fix previous fix (bug#2490).
10643 2011-07-12 Roland Winkler <winkler@gnu.org>
10645 * textmodes/bibtex.el (bibtex-initialize):
10646 Use pop-to-buffer-same-window.
10647 (bibtex-search-entries): Fix interactive call.
10649 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10652 Fontise bytecomp Error lines more correctly (bug#2490).
10653 Fix suggested by Johan Bockgård.
10655 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10657 * dired-x.el (dired-guess-default): Use `delete-dups'.
10659 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10661 * dired.el (dired-mark-prompt):
10662 * dired-aux.el (dired-read-shell-command): Doc fix.
10664 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10666 * mail/sendmail.el (sendmail-query-once):
10667 Use `customize-save-variable' unconditionally, now that it works under
10670 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10672 * cus-edit.el (custom-file): Take an optional no-error variable.
10673 (customize-save-variable): Set the variable, and give a warning if
10674 running under "emacs -q".
10676 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10678 * loadhist.el (unload-feature-special-hooks):
10679 Add `auto-coding-functions', `fill-nobreak-predicate' and
10680 `find-directory-functions' (bug#5327).
10682 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10684 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10686 * cus-edit.el (custom-guess-name-alist): -alist variables should
10687 use the `alist' type (bug#3120). Suggested by Drew Adams.
10689 * printing.el: Add documentation to all the `pr-toggle-' commands.
10691 2011-07-11 Leo Liu <sdl.web@gmail.com>
10693 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10694 backends where it makes sense (bug#2623).
10696 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10698 * dired-x.el (dired-guess-default): Remove duplicate shell command
10699 entries (bug#2028).
10700 (dired-guess-default): Fix grammar in doc string (bug#2028).
10701 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10703 * subr.el (remove-duplicates): New conveniency function.
10705 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10707 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10710 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10712 * window.el (display-buffer-normalize-default): Don't invert
10713 meaning of even-window-heights. Reported by Eli Zaretskii
10716 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10718 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10720 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10722 * window.el (display-buffer): Fix arguments to
10723 display-buffer-reuse-window in last change.
10725 * faces.el (link): Use a less saturated blue on light backgrounds.
10727 * startup.el (fancy-startup-text, fancy-about-text)
10728 (fancy-startup-tail): Use font-lock faces, for background safety.
10730 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10732 * emulation/viper-cmd.el (viper-change-state-to-vi):
10733 Limit triggering of abbrev expansion (Bug#9038).
10735 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10737 * window.el (display-buffer-default-specifiers): Remove.
10738 (display-buffer-macro-specifiers): Remove default specifiers.
10739 (display-buffer-alist): Default to nil.
10740 (display-buffer-reuse-window): New optional argument other-window.
10741 (display-buffer-pop-up-window): Allow splitting internal
10742 windows. Check whether a live window was created.
10743 (display-buffer-other-window-means-other-frame)
10744 (display-buffer-normalize-arguments): Rename to
10745 display-buffer-normalize-argument and rewrite. Set the
10746 other-window specifier.
10747 (display-buffer-normalize-special): New function.
10748 (display-buffer-normalize-options): Rename to
10749 display-buffer-normalize-default and rewrite.
10750 (display-buffer-normalize-options-inhibit): Remove.
10751 (display-buffer-normalize-specifiers): Rewrite.
10752 (display-buffer): Process other-window specifier and call
10753 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10755 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10756 (display-buffer-alist-set): Don't handle 'unset default values.
10757 (display-buffer-in-window, display-buffer-alist-set):
10758 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10759 <tassilo@member.fsf.org>.
10761 2011-07-09 Leo Liu <sdl.web@gmail.com>
10763 * register.el (insert-register): Restore accidental change on
10764 2011-06-26. (Bug#9028)
10766 2011-07-09 Glenn Morris <rgm@gnu.org>
10768 * subr.el (remq): Handle the empty list. (Bug#9024)
10770 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10772 * mail/sendmail.el (send-mail-function): No longer delay custom
10774 * custom.el (custom-initialize-delay): Doc fix.
10776 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10780 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10782 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10783 human-friendly prompt.
10785 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10788 provided by a particular plugin.
10790 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10793 save customizations (with "emacs -Q"), just set the variable
10794 instead of erroring out.
10796 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10798 2011-07-08 Juri Linkov <juri@jurta.org>
10800 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10801 (archive-zip-update-case): Use 7z if found by `executable-find'.
10802 The order of searching the available programs is the same as in
10803 `archive-zip-extract' (bug#8968).
10805 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10807 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10808 (menu-bar-options-menu): Tweak descriptions.
10810 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10812 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10813 menu items into verb phrases (bug#1421). Also refill to fit under
10816 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10818 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10819 (Info-read-node-name): Doc fix (Bug#1084).
10821 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10822 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10823 (end-of-sexp, beginning-of-sexp)
10824 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10825 (forward-symbol, forward-same-syntax, word-at-point)
10826 (sentence-at-point): Doc fix (Bug#1144).
10828 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10830 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10831 should cover it (bug#1281).
10833 * cus-edit.el (custom-show): Mark as obsolete.
10835 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10836 negotiation fails, then possibly try again with a non-encrypted
10837 connection (bug#9017).
10839 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10842 2011-07-07 Richard Stallman <rms@gnu.org>
10844 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10845 property, and handle its changed format.
10846 Look for the correct line number.
10847 Use file's line contents (but not past first =) to find
10848 correct line in message.
10850 2011-07-07 Kenichi Handa <handa@m17n.org>
10852 * international/characters.el (build-unicode-category-table):
10854 (unicode-category-table): Set it by unicode-property-table-internal.
10856 * international/mule-cmds.el (char-code-property-alist): Move to
10858 (get-char-code-property): Call unicode-property-table-internal to
10859 load a file. Call get-unicode-property-internal where necessary.
10860 (put-char-code-property): Call unicode-property-table-internal to
10861 load a file. Call put-unicode-property-internal where necessary.
10862 put-unicode-property-internal where necessary.
10863 (char-code-property-description):
10864 Call unicode-property-table-internal to load a file.
10866 * international/charprop.el:
10867 * international/uni-bidi.el:
10868 * international/uni-category.el:
10869 * international/uni-combining.el:
10870 * international/uni-comment.el:
10871 * international/uni-decimal.el:
10872 * international/uni-decomposition.el:
10873 * international/uni-digit.el:
10874 * international/uni-lowercase.el:
10875 * international/uni-mirrored.el:
10876 * international/uni-name.el:
10877 * international/uni-numeric.el:
10878 * international/uni-old-name.el:
10879 * international/uni-titlecase.el:
10880 * international/uni-uppercase.el: Regenerate.
10882 * loadup.el: Load international/charprop.el before
10883 international/characters.
10885 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10887 * window.el (next-buffer, previous-buffer): Signal an error if
10888 called from a minibuffer window.
10890 * bindings.el: Revert 2011-07-04 change.
10892 2011-07-06 Richard Stallman <rms@gnu.org>
10894 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10895 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10896 Treat markers like ints.
10897 (rmail-mime-entity): Doc fix.
10899 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10901 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10902 defcustom again for backwards compatibility.
10904 * simple.el (shell-command-on-region): Fill.
10906 * dired-aux.el (dired-kill-line): Add a doc string.
10908 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10909 to "\\sw\\|\\s_" (bug#358).
10911 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10912 (dired-unmark-backward): Ditto.
10913 (dired-flag-backup-files): Ditto.
10915 * dired-x.el (dired-mark-sexp): Ditto.
10917 2011-07-06 Richard Stallman <rms@gnu.org>
10919 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10920 (rmail-mime-entity): New arg TRUNCATED.
10921 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10923 (rmail-mime-save): Warn if entity is truncated.
10924 (rmail-mime-toggle-hidden): Likewise, for showing.
10925 (rmail-mime-process-multipart): Record when an entity is truncated.
10927 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10928 if ENTITY is a string.
10930 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10933 of faces when `M-C-x'-ing their definitions (bug#8378).
10934 Also clean up the code slightly.
10936 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10937 because that makes the colors go away.
10939 * mail/sendmail.el (send-mail-function): Change the default to
10940 `sendmail-query-once'.
10941 (sendmail-query-once): Add an autoload cookie.
10943 * net/network-stream.el (network-stream-open-starttls): Try using
10944 a plain connection even if the server offered STARTTLS, and we
10945 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10946 capability. This should make smtpmail.el work in slightly more
10949 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10951 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10953 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10955 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10957 * progmodes/sql.el: Version 3.0
10958 (sql-product-alist): Add product :completion-object,
10959 :completion-column, and :statement attributes.
10960 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10961 (sql-mode-syntax-table): Mark all punctuation.
10962 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10964 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10965 (sql-mode-oracle-font-lock-keywords): Improve.
10966 (sql-oracle-show-reserved-words): New function for development.
10967 (sql-product-font-lock): Simplify for source code buffers.
10968 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10970 (sql-highlight-product): Set product specific syntax table.
10971 (sql-mode-map): Add statement movement functions.
10972 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10974 (sql-statement-regexp, sql-beginning-of-statement)
10975 (sql-end-of-statement, sql-signum): New functions.
10976 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10977 (sql-show-sqli-buffer): Bug fix.
10978 (sql-interactive-mode): Store connection data as buffer local.
10979 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10980 with sql-interactive-mode.
10981 (sql-save-connection): Save buffer local settings.
10982 (sql-connection-menu-filter): Change menu entry name.
10983 (sql-product-interactive): Bug fix.
10984 (sql-preoutput-hold): New variable.
10985 (sql-interactive-remove-continuation-prompt): Bug fixes.
10986 (sql-debug-redirect): New variable.
10987 (sql-str-literal): New function.
10988 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10990 (sql-oracle-save-settings, sql-oracle-restore-settings)
10991 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10992 (sql-completion-object, sql-completion-column)
10993 (sql-completion-sqlbuf): New variables.
10994 (sql-build-completions-1, sql-build-completions)
10995 (sql-try-completion): New functions.
10996 (sql-read-table-name): Use them.
10997 (sql-contains-names): New buffer local variable.
10998 (sql-list-all, sql-list-table): Use it.
10999 (sql-oracle-completion-types): New variable.
11000 (sql-oracle-completion-object, sql-sqlite-completion-object)
11001 (sql-postgres-completion-object): New functions.
11003 2011-07-06 Glenn Morris <rgm@gnu.org>
11005 * window.el (pop-to-buffer): Doc fix.
11007 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11009 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11011 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11013 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11015 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11017 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11019 * button.el (button): Inherit from link face. Suggested by Dan
11022 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * progmodes/gdb-mi.el: Fit in 80 columns.
11025 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11028 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11029 if imenu is simply not configured (bug#8941).
11031 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11033 * allout.el (allout-post-undo-hook): New allout outline-change
11034 event hook to signal undo activity.
11035 (allout-post-command-business): Run allout-post-undo-hook if an
11036 undo just occurred.
11037 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11038 * allout-widgets.el (allout-widgets-after-undo-function):
11039 Ensure the integrity of the current item's decoration after it has been
11040 in the vicinity of an undo.
11041 (allout-widgets-mode): Include allout-widgets-after-undo-function
11042 on the new allout-post-undo-hook.
11044 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11047 Let define-derived-mode define it.
11048 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11049 cycles of abbrev-table inheritance (bug#8998).
11051 2011-07-05 Roland Winkler <winkler@gnu.org>
11053 * textmodes/bibtex.el: Add support for biblatex.
11054 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11055 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11056 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11057 (bibtex-entry-alist, bibtex-field-alist): New variables.
11058 (bibtex-entry-field-alist): Obsolete alias for
11059 bibtex-BibTeX-entry-alist.
11060 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11061 (bibtex-set-dialect): New command.
11062 (bibtex-entry-type, bibtex-entry-head)
11063 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11064 Bind via bibtex-set-dialect.
11065 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11066 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11067 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11068 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11069 Define via bibtex-set-dialect.
11070 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11071 Obey bibtex-no-opt-remove-re.
11072 (bibtex-vec-push, bibtex-vec-incr): New functions.
11073 (bibtex-format-entry, bibtex-field-list)
11074 (bibtex-print-help-message, bibtex-validate)
11075 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11077 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11079 * progmodes/compile.el (compilation-goto-locus):
11080 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11081 * bs.el (bs-cycle-next, bs-cycle-previous):
11082 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11083 * bindings.el (mode-line-other-buffer):
11084 * autoinsert.el (auto-insert):
11085 * arc-mode.el (archive-extract):
11086 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11088 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11090 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11091 Fix check of `emacs-lock-unlockable-modes'.
11092 Coerce true values of `emacs-lock--try-unlocking' to t.
11094 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11096 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11097 * emacs-lock.el: New file.
11099 2011-07-05 Julien Danjou <julien@danjou.info>
11101 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11102 than `boundp' to check if face is set.
11104 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11106 * register.el (registerv-make):
11107 * window.el (window-min-height): Fix typos in docstrings.
11109 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11111 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11114 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11116 * server.el (server-execute): Catch quit and call
11117 `server-return-error' to pass the error back to emacsclient and
11118 close the connection (bug#8942).
11120 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11122 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11123 insecure exception for current topic. Also note that auto-saves
11124 are handled differently.
11126 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11127 State variables for tracking auto-save inhibition situation.
11129 (allout-write-contents-hook-handler): Rename from
11130 'allout-write-file-hook-handler', and describe how it depends on
11131 write-contents-functions sensitivity to non-nil value to prevent
11134 (allout-auto-save-hook-handler): Remove. auto-save does not check
11135 this in individual buffers, only in the starting buffer, so this
11136 is not the right way for us to inhibit auto-save in a buffer
11137 according to its condition.
11139 (allout-mode): Use new allout-write-contents-hook-handler, and
11140 only with write-contents-functions. Remove auto-save provisions -
11141 they're implemented elsewhere.
11143 (allout-before-change-handler): If undo is in progress, note that
11144 for attention of allout-post-command-business.
11146 (allout-post-command-business): If the command we're following was
11147 an undo, check for change in the status of encrypted items and
11148 adjust auto-save inhibitions accordingly.
11150 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11151 according to whether there are or aren't any plain-text topics
11152 pending encryption.
11154 (allout-inhibit-auto-save-info-for-decryption):
11155 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11156 if there are plain-text topics pending encryption.
11158 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11159 buffer-saved-size and some allout state to not inhibit auto-saves
11160 if there are no longer any plain-text topics pending encryption.
11162 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11163 No longer provide for exemption of the current topic.
11165 2011-07-04 Juri Linkov <juri@jurta.org>
11167 Add 7z operations to delete and save changed members (bug#8968).
11168 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11170 (archive-7z-write-file-member): New function.
11171 (archive-7z-summarize): Fix the number of dashes in the
11174 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11179 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11181 * bindings.el: Ignore next-buffer and previous-buffer in
11182 minibuffer-local-map.
11184 * font-lock.el (font-lock-builtin-face): Change light background
11185 color to dark slate blue (Bug#6693).
11187 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11189 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11191 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11194 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11195 Add switch-to-buffer.
11197 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11199 * isearch.el (isearch-search-fun-function): Clarify further the
11200 meaning of the function returned.
11202 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11204 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11206 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11207 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11209 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11210 `tramp-default-remote-path' does not exist.
11211 (tramp-send-command-and-read): New optional argument NOERROR.
11212 (tramp-open-connection-setup-interactive-shell)
11213 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11214 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11215 (tramp-process-sentinel): Flush also process' connection property.
11216 (tramp-sh-handle-start-file-process): Do not set process
11217 sentinel. It is done now ...
11218 (tramp-maybe-open-connection): ... here. (Bug#8929)
11220 2011-07-04 MON KEY <monkey@sandpframing.com>
11222 * play/animate.el (animate-string): Doc fixes and allow changing
11223 the buffer name (bug#5417).
11225 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11227 * play/animate.el (animation-buffer-name): Rename from *animate*.
11229 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11231 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11232 This is simpler and helps future-proof the code.
11233 (timer-until): Use time-subtract and float-time.
11234 (timer--time-less-p): Use time-less-p.
11236 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11238 * type-break.el (timep): Use the value of `float-time' to avoid a
11239 byte-compiler warning.
11241 * server.el (server-eval-and-print): Return any result, even nil.
11243 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11245 * type-break.el: Accept time formats that the builtins accept.
11246 (timep, type-break-time-difference): Accept any format that
11247 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11248 This is simpler and helps future-proof the code.
11249 (type-break-time-difference): Round rather than ignoring
11250 subseconds components.
11252 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11254 * info.el (Info-apropos-matches): Make non-interactive, since it
11255 doesn't seem to do anything useful as a command (bug#8829).
11257 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11259 * frame.el (frame-background-mode, frame-set-background-mode):
11260 Move from faces.el.
11261 (frame-default-terminal-background): New function.
11263 * custom.el (custom-push-theme): Don't record faces in `changed'
11264 theme; this doesn't work correctly for per-frame face settings.
11265 (disable-theme): Use face-set-after-frame-default to reset faces.
11266 (custom--frame-color-default): New function.
11268 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11270 * dired.el (dired-flagging-regexp): Remove unused variable
11273 2011-03-29 Kevin Ryde <user42@zip.com.au>
11275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11276 `perl-Test2' extend to match possible "fail #N" rep count
11279 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11281 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11282 `smtpmail-via-smtp' now returns the error instead of nil.
11284 * isearch.el (isearch-search-fun-function): Clarify the doc string
11287 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11289 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11290 unnecessary spaces (bug#8987).
11292 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11294 * net/network-stream.el (open-network-stream): Use the
11295 :end-of-capability command thoughout.
11297 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11299 * net/network-stream.el (open-network-stream): Add the
11300 :end-of-capability command parameter, used by pop3.el.
11302 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11306 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11307 for list)" (bug#6475).
11309 * files.el (file-expand-wildcards): Ignore non-readable
11310 sub-directories while trying to find matches instead of signaling
11311 an error (bug#6297).
11313 * man.el (Man-reference-regexp): Allow matching possible
11314 word-wrapped references (bug#6289).
11316 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11317 for consistency with the other vc buffers (bug#6197).
11318 (vc-checkin): Ditto.
11320 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11322 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11324 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326 * custom.el (defcustom): Clarify that :set is only used in the
11327 Customize user interface (bug#6089).
11329 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11330 associated with a file, refuse to run instead of erroring out
11333 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11334 the doc string, since it appears that using `fill-column' always
11335 controls the width (bug#7845).
11337 * simple.el (shell-command-on-region): Say where the error output
11338 went if `shell-command-default-error-buffer' is set (bug#6857).
11340 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11342 * allout.el (allout-yank-processing): Adjust cursor position for
11343 backwards-deleted space.
11345 (allout-rebullet-heading): Register changes with
11346 allout-exposure-changed-hook, so the modified topic is properly
11349 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11351 * minibuffer.el (completion-in-region): Document PREDICATE
11354 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11355 of keyword/argument pairs (bug#6904).
11357 * replace.el (multi-occur):
11358 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11360 2011-07-02 Drew Adams <drew.adams@oracle.com>
11362 * dired.el (dired-mark-if): Make the message about whether it's
11363 marking or unmarking clearer (bug#8523).
11365 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367 * disp-table.el (display-table-print-array): New function.
11368 (describe-display-table): Use it to print the vectors more pretty
11371 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11373 * window.el (window-state-get-1): Don't assign clone numbers.
11374 Add clone-of item to list of window parameters.
11375 (window-state-put-2): Don't process clone numbers.
11376 (display-buffer-alist): Fix doc-string.
11378 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11380 * subr.el (remq): Don't allocate if it's not needed.
11381 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11382 (keymap--merge-bindings): New functions.
11383 (keymap-canonicalize): Use them to refine the canonicalization.
11384 * minibuffer.el (minibuffer-local-completion-map)
11385 (minibuffer-local-must-match-map): Move initialization from C.
11386 (minibuffer-local-filename-completion-map): Move initialization from C;
11387 don't inherit from anything here.
11388 (minibuffer-local-filename-must-match-map): Make obsolete.
11389 (completing-read-default): Use make-composed-keymap to combine
11390 minibuffer-local-filename-completion-map with either
11391 minibuffer-local-must-match-map or
11392 minibuffer-local-filename-completion-map.
11394 2011-07-01 Glenn Morris <rgm@gnu.org>
11396 * type-break.el (type-break-time-sum): Use dolist.
11398 * textmodes/flyspell.el (flyspell-word-search-backward):
11399 Replace CL function.
11401 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * mouse.el (mouse--strip-first-event): New function.
11404 (function-key-map): Use it to map fringe clicks to normal clicks
11407 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11408 (vc-bzr-revision-completion-table): Add support for annotate and date.
11410 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11411 inherit from parent.
11413 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11415 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11416 (dired-show-file-type): Doc fixup (bug#8818).
11418 * dired.el (dired-mode): Fix up the doc string as suggested by
11419 Drew Adams (bug#8817).
11421 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11422 cookie, since the manual says that it should be possible to add
11423 this function to `find-file-hook' (bug#8709).
11425 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11427 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11428 here. Noted Ted Zlatanov as the maintainer.
11429 (cfengine-common-settings, cfengine-common-syntax): New functions
11430 to set up common things between `cfengine-mode' and
11432 (cfengine3-mode): New mode.
11433 (cfengine3-defuns cfengine3-defuns-regex
11434 (cfengine3-class-selector-regex cfengine3-category-regex)
11435 (cfengine3-vartypes cfengine3-font-lock-keywords)
11436 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11437 (cfengine3-indent-line): Add from cfengine3.el.
11439 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11441 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11443 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11445 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11447 * window.el (same-window-buffer-names, same-window-regexps)
11448 (same-window-p, special-display-frame-alist)
11449 (special-display-popup-frame, special-display-function)
11450 (special-display-buffer-names, special-display-regexps)
11451 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11453 (split-window-preferred-function, split-height-threshold)
11454 (split-width-threshold, even-window-heights)
11455 (display-buffer-mark-dedicated, window-splittable-p)
11456 (split-window-sensibly, window-safely-shrinkable-p):
11458 (display-buffer): Don't spread args with function specifier
11459 because special-display-popup-frame won't like it.
11461 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11463 Time-stamp simplifications and fixes.
11464 These improve accuracy slightly, and future-proof the code
11465 against some potential changes to current-time format.
11467 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11468 by using time-since and float-time.
11470 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11471 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11472 + NNN microseconds".
11474 * type-break.el (type-break-time-sum): Rewrite using time-add.
11476 * play/hanoi.el (hanoi-current-time-float): Remove.
11477 All uses replaced by float-time.
11479 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11480 This yields a more-accurate answer.
11481 (rng-time-to-float): Remove; no longer needed.
11483 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11485 * calendar/timeclock.el (timeclock-seconds-to-time):
11486 Defalias to seconds-to-time, since they're the same thing.
11488 * emacs-lisp/elp.el (elp-elapsed-time):
11489 * emacs-lisp/benchmark.el (benchmark-elapse):
11490 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11492 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11494 * window.el (bury-buffer): Don't iconify the only frame.
11495 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11496 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11498 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11500 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11501 Add mouse-yank-primary.
11503 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11505 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11507 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11509 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11510 (find-library-name): Use it to find relative load names when provided
11511 absolute file name (bug#8803).
11513 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11515 * textmodes/flyspell.el (flyspell-word): Consider words that
11516 differ only in case as potential doublons (bug#5687).
11518 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11519 Remove two rather uninteresting debugging-like messages to make
11520 debbugs.el more silent.
11522 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11523 a password-like phrase.
11525 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11527 * progmodes/cc-guess.el: New file.
11529 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11531 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11532 derived from `c-basic-common-init'.
11534 * progmodes/cc-mode.el (top-level): Require cc-guess.
11535 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11537 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11539 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11541 2011-06-30 Alan Mackenzie <acm@muc.de>
11543 * progmodes/cc-engine.el (c-guess-continued-construct):
11544 Correct the handling of template-args-cont, particularly for when font
11545 lock is disabled. Name this case as "CASE G".
11547 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11549 * allout.el (allout-yank-processing): Fix injection of extra space
11550 between bullet and non-whitespace character in first topic when
11551 pasting, ensuring that the actual spacing in the pasted topic
11552 following the bullet char is preserved. This extra space was
11553 causing pasted encrypted topics to get a decrypted status even
11554 when the content was actually still encrypted. Now the decryption
11555 status from before the paste is preserved.
11557 (allout-flag-region): Set all allout overlays so they evaporate
11558 when reduced to zero length (evanescent), to prevent overlay
11561 2011-06-30 Glenn Morris <rgm@gnu.org>
11563 * w32-fns.el (w32-charset-info-alist): Declare.
11565 * find-dired.el (find-grep-options): Simplify.
11567 * term/ns-win.el (ns-set-resource): Declare.
11569 * ses.el (row, col): Declare dynamic variables honestly.
11571 * textmodes/reftex-parse.el (index-tags): Declare.
11573 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11575 * cus-edit.el (customize-push-and-save): New function.
11577 * files.el (hack-local-variables-confirm): Use it.
11579 * custom.el (load-theme): New arg NO-CONFIRM.
11580 Use customize-push-and-save (Bug#8720).
11581 (custom-enabled-themes): Doc fix.
11583 * cus-theme.el (customize-create-theme)
11584 (custom-theme-merge-theme): Callers to load-theme changed.
11586 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11588 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11589 short URLs have at least one dot in them (bug #7614).
11591 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11592 nil, because using a pty is apparently too slow (bug #895).
11594 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11596 * mail/sendmail.el (sendmail-query-once): New function.
11597 (sendmail-query-once-function): New variable.
11599 2011-06-29 Glenn Morris <rgm@gnu.org>
11601 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11603 * ses.el (top-level): Require cl when compiling.
11604 (ses-set-localvars): Fix error statement.
11605 Call it at compile time to silence a storm of warnings.
11607 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11609 * window.el (normalize-live-buffer): Rename to
11610 window-normalize-buffer.
11611 (normalize-live-frame): Rename to window-normalize-frame.
11612 (normalize-any-window): Rename to window-normalize-any-window.
11613 (normalize-live-window): Rename to window-normalize-live-window.
11614 (make-window-atom): Rename to window-make-atom.
11615 (window-resize-reset): Rename to window--resize-reset.
11616 (window-resize-reset-1): Rename to window--resize-reset-1.
11617 (resize-mini-window): Rename to window--resize-mini-window.
11618 (resize-subwindows-skip-p): Rename to
11619 window--resize-subwindows-skip-p.
11620 (resize-subwindows-normal): Rename to
11621 window--resize-subwindows-normal.
11622 (resize-subwindows): Rename to window--resize-subwindows.
11623 (resize-other-windows): Rename to window--resize-siblings.
11624 (resize-this-window): Rename to window--resize-this-window.
11625 (resize-root-window): Rename to window--resize-root-window.
11626 (resize-root-window-vertically): Rename to
11627 window--resize-root-window-vertically.
11628 (normalize-buffer-to-display): Rename to
11629 window-normalize-buffer-to-display.
11630 (normalize-buffer-to-switch-to): Rename to
11631 window-normalize-buffer-to-switch-to.
11632 Correspondingly update all callers of the functions listed
11634 (display-buffer-alist, display-buffer-normalize-arguments)
11635 (display-buffer-normalize-options, display-buffer)
11636 (display-buffer-alist-set): Use "function" instead of
11639 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11641 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11642 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11643 debbugs.gnu.org. Mention acknowledgment email.
11645 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11648 buffer multibyteness, since it shouldn't matter.
11650 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11652 * window.el (display-buffer-in-side-window): Handle dedicated
11653 windows as in display-buffer-reuse-window.
11654 (display-buffer-normalize-alist): Use value of override
11656 (display-buffer-normalize-specifiers): Use value of
11657 other-window-means-other-frame specifier.
11658 (display-buffer-alist): Rewrite some texts in widgets.
11659 (display-buffer): Spread arguments when calling function
11660 specified by fun-with-args.
11662 2011-06-28 Deniz Dogan <deniz@dogan.se>
11664 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11667 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11668 selectors (Bug#5732).
11669 (css-proprietary-nmstart-re): Use `regexp-opt'.
11671 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11673 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11674 (eshell-ls-date-format): New defcustom.
11675 (eshell-ls-file): Use it.
11677 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11681 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11683 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11684 (ange-ftp-make-tmp-name): New arg.
11685 (ange-ftp-file-local-copy): Use it.
11687 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11689 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11690 no-conversion (Bug#8870).
11692 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11694 * window.el (window-right, window-left, window-child)
11695 (window-child-count, window-last-child)
11696 (window-iso-combination-p, walk-window-tree-1)
11697 (window-atom-check-1, window-tree-1, delete-window)
11698 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11699 new naming conventions - window-vchild, window-hchild,
11700 window-next and window-prev are now called window-top-child,
11701 window-left-child, window-next-sibling and window-prev-sibling
11703 (resize-window-reset): Rename to window-resize-reset.
11704 (resize-window-reset-1): Rename to window-resize-reset-1.
11705 (resize-window): Rename to window-resize.
11706 (window-min-height, window-min-width)
11707 (resize-mini-window, resize-this-window, resize-root-window)
11708 (resize-root-window-vertically, adjust-window-trailing-edge)
11709 (enlarge-window, shrink-window, maximize-window)
11710 (minimize-window, delete-window, quit-restore-window)
11711 (split-window, balance-windows, balance-windows-area-adjust)
11712 (balance-windows-area, window-state-put-2)
11713 (display-buffer-even-window-sizes, display-buffer-set-height)
11714 (display-buffer-set-width, set-window-text-height)
11715 (fit-window-to-buffer): Rename all "resize-window" prefixed
11716 calls to use the "window-resize" prefix convention.
11717 (display-buffer-alist): Fix symbol for label specifier.
11718 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11719 corresponding specifier.
11720 Reported by Juanma Barranquero <lekktu@gmail.com>.
11722 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11724 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11726 (ses-call-printer): Does not pass an empty string to formatter when the
11727 cell is empty to keep from barking printer Calc math-format-value.
11729 2011-06-27 Richard Stallman <rms@gnu.org>
11731 * battery.el (battery-mode-line-limit): New variable.
11732 (battery-update): Handle it.
11734 * mail/rmailmm.el (rmail-mime-process-multipart):
11735 Handle truncated messages.
11737 2011-06-27 Glenn Morris <rgm@gnu.org>
11739 * progmodes/flymake.el (flymake-err-line-patterns):
11740 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11742 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11744 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11745 (ses--clean-!, ses--clean-_): New functions.
11746 (ses-range): Add configurability of readout order, and conversion
11749 * ses.el (ses-repair-cell-reference-all): New function.
11750 (ses-cell-symbol): Set macro as safe, so that it can be used in
11753 * ses.el: Update cycle detection algorithm.
11754 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11755 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11756 (ses-set-localvars): New function.
11757 (ses-make-cell): Add property-list as a cell element.
11758 (ses-cell-property-get-fun, ses-cell-property-get)
11759 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11760 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11762 (ses-cell-property-set, ses-cell-property-pop)
11763 (ses-cell-property-get-handle): New macro.
11764 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11765 New aliases, used for code readability.
11766 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11768 (ses-self-reference-early-detection): New defcustom.
11769 (ses-formula-references): Robustify against self-referring cells.
11770 (ses-mode): Use ses-set-localvars.
11771 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11772 before lauching the update processing.
11773 (ses-initialize-Dijkstra-attempt): New function.
11774 (ses-recalculate-cell): Update for cycle detection based on
11775 Dijkstra algorithm.
11777 * ses.el: Fix commenting and indenting convention.
11779 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * bs.el (bs-cycle-next): Complete last change.
11783 2011-06-27 Drew Adams <drew.adams@oracle.com>
11785 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11787 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789 * net/network-stream.el (network-stream-open-starttls):
11790 Don't re-get capabilities unless we've reestablished connection.
11791 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11793 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11794 to binary to possibly avoid line encoding issues on Windows (among
11797 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11799 * net/network-stream.el (open-network-stream): Return an :error
11800 saying what the problem was, if possible.
11802 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11805 * net/network-stream.el (network-stream-open-starttls): If we
11806 wanted to use STARTTLS, and the server offered it, but we weren't
11807 able to because we had no STARTTLS support, then close the connection.
11808 (open-network-stream): Return an :error element, if present.
11810 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11812 * hl-line.el (hl-line-sticky-flag): Doc fix.
11813 (global-hl-line-sticky-flag): New option (Bug#8323).
11814 (global-hl-line-highlight): Obey it.
11816 * vc/vc.el (vc-revert-show-diff): Default to t.
11818 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11820 * allout-widgets.el (allout-widgets-post-command-business):
11821 Stop decorating intermediate isearch matches. They're not being
11822 undecorated when an isearch is continued past, and isearch
11823 automatically collapses them. This leads to "widget leaks", where
11824 decorated items accumulate in collapsed areas. Lines with lots of
11825 hidden widgets can slow down cursor travel, substantially.
11826 Too much complicated machinery would be needed to ensure undecoration,
11827 so we're doing without this nicety.
11829 (allout-widgets-tally-string): Don't try to do a hash-table-count
11830 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11831 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11832 *Messages* when allout-widgets-maintain-tally is t.
11834 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11836 * window.el (display-buffer-normalize-argument): Rename to
11837 display-buffer-normalize-arguments. Handle special meaning of
11838 LABEL argument. Respect special-display-function when popping up
11839 a new frame. Fix code searching for a window showing the buffer
11841 (display-buffer-normalize-specifiers):
11842 Call display-buffer-normalize-arguments.
11843 (display-buffer-in-window): Don't undedicate the window if its
11844 buffer remains the same.
11845 Reported by Drew Adams <drew.adams@oracle.com>.
11846 (display-buffer-alist): Add choice for same-window macro
11848 (display-buffer): Mention special meaning of LABEL argument in
11849 doc-string. Fix quoting. Don't pop up a new frame even as
11852 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11854 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11855 avoid deleting the current window in some cases (bug#8911).
11857 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11859 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11862 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11864 * net/network-stream.el (network-stream-open-starttls):
11865 Use built-in TLS support if `gnutls-available-p' is true.
11866 (network-stream-open-tls): Ditto.
11868 2011-06-26 Leo Liu <sdl.web@gmail.com>
11870 * register.el (registerv): New struct.
11871 (registerv-make): New function.
11872 (jump-to-register, describe-register-1, insert-register):
11873 Support the jump-func, print-func and insert-func slot of a registerv
11876 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11878 * vc/vc.el (vc-revert-show-diff): New defcustom.
11879 (vc-diff-internal): New arg specifying diff buffer.
11880 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11881 reuse an existing *vc-diff* buffer (Bug#8927).
11883 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11885 2011-06-26 Glenn Morris <rgm@gnu.org>
11887 * progmodes/f90.el (f90-critical-indent): New option.
11888 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11889 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11890 (f90-mode): Doc fix.
11891 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11892 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11893 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11894 (f90-match-end): Handle block, critical.
11896 2011-06-25 Glenn Morris <rgm@gnu.org>
11898 * calendar/diary-lib.el (diary-included-files): Doc fix.
11899 (diary-include-files): New function, extracted from
11900 diary-include-other-diary-files and diary-mark-included-diary-files.
11901 (diary-include-other-diary-files, diary-mark-included-diary-files):
11902 Just call diary-include-files.
11903 (diary-mark-entries): Reset diary-included-files on first call.
11905 * calendar/diary-lib.el (diary-mark-entries)
11906 (diary-mark-included-diary-files):
11907 Visit included diary-files in temp buffers.
11909 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11910 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11911 (f90-start-block-re, f90-imenu-generic-expression)
11912 (f90-looking-at-program-block-start, f90-no-block-limit):
11913 Add support for submodules.
11915 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11916 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11918 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11920 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11921 buffer-file-type before setting its value, to avoid disastrous
11922 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11924 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11926 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11928 * ses.el (ses-unload-function):
11929 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11931 * proced.el (proced-unload-function):
11932 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11934 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11936 * server.el (server-create-window-system-frame): Add parameters arg.
11937 (server-process-filter): Doc fix. Handle frame-parameters.
11939 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11941 Fix bug#8730, bug#8781.
11943 * loadhist.el (unload--set-major-mode): New function.
11944 (unload-feature): Use it.
11946 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11947 (python-unload-function): New function.
11949 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11953 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11955 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11956 the candidates list.
11958 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11960 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11962 2011-06-23 Richard Stallman <rms@gnu.org>
11964 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11965 (rmail-variables): Set next-error-move-function.
11966 (rmail-what-message): Take argument POS.
11967 (rmail-next-error-move): New function.
11969 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11971 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11972 messages for adjacent non-terminals.
11974 2011-06-23 Richard Stallman <rms@gnu.org>
11976 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11977 (rmail-show-message-1): Preserve buffer modified flag.
11978 (rmail-start-mail): Don't specify use of rmail-mail-return;
11979 that's done by mail-bury now.
11980 (rmail-mail-return): Handle arg NEWBUF.
11982 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11984 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11987 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11989 * window.el (get-lru-window, get-mru-window)
11990 (get-largest-window): Never return a minibuffer window.
11991 (display-buffer-pop-up-window): Fix a bug that could lead to
11992 reusing the minibuffer window.
11993 (display-buffer): Pass original specifier argument to
11994 display-buffer-function instead of the normalized one.
11995 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11997 2011-06-22 Leo Liu <sdl.web@gmail.com>
11999 * minibuffer.el (completing-read-function)
12000 (completing-read-default): Move from minibuf.c
12002 2011-06-22 Richard Stallman <rms@gnu.org>
12004 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12005 to Rmail even if not started by a special Rmail command.
12007 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12008 Copy the buffer currently showing just one message.
12010 2011-06-22 Roland Winkler <winkler@gnu.org>
12012 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12013 (bibtex-clean-entry): First delete the old key so that a
12014 customized algorithm for generating the new key does not get
12015 confused by the old key.
12016 (bibtex-url): Obey regexp of first step.
12017 (bibtex-search-entries): Do not use add-to-list with local
12020 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12022 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12023 stored a user name, then query for the password first, instead of
12024 waiting for SMTP to give an error message and the trying again.
12026 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12028 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12029 BUFFER in call-process.
12031 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12033 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12035 (smtpmail-try-auth-methods): Require user name and password from
12038 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12040 * window.el (display-buffer-default-specifiers)
12041 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12042 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12043 (split-window): Normalize SIDE argument (Bug#8916).
12045 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12046 (special-display-frame-alist, special-display-popup-frame):
12047 Remove duplicate declarations. These are now in window.el.
12049 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12051 * mail/smtpmail.el (smtpmail-via-smtp):
12052 Set :use-starttls-if-possible so that we always use STARTTLS if the
12053 server supports it. SMTP servers that support STARTTLS commonly
12056 * net/network-stream.el (network-stream-open-starttls): Support
12057 upgrading to STARTTLS always, even if we don't have built-in support.
12058 (open-network-stream): Add the :always-query-capabilities keyword.
12060 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12061 upgrades with `open-network-stream', and rely solely on
12062 auth-source for all credentials. Big changes throughout the file,
12064 (smtpmail-auth-credentials): Remove.
12065 (smtpmail-starttls-credentials): Remove.
12066 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12069 * net/network-stream.el (network-stream-open-starttls):
12070 Provide support for client certificates both for external and built-in
12072 (auth-source): Require.
12073 (open-network-stream): Document the :client-certificate keyword.
12074 (network-stream-certificate): Change cert-cert to cert and
12077 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12079 * net/tramp-cache.el (top): Don't load the persistency file when
12080 "emacs -Q" has been called.
12082 2011-06-21 Tim Harper <timcharper@gmail.com>
12084 * term/ns-win.el (ns-initialize-window-system):
12085 Set application-specific `ApplePressAndHoldEnabled' system
12086 resource to NO as it is not yet supported by the NS port.
12088 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12090 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12091 (list-dynamic-libraries): ...not here.
12093 2011-06-21 Leo Liu <sdl.web@gmail.com>
12095 * subr.el (sha1): Implement sha1 using secure-hash.
12097 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12099 * window.el (display-buffer-alist): In default value do not
12100 enforce searching a window on any but the selected frame.
12101 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12102 (display-buffer-select-window): Remove function.
12103 (display-buffer-in-window): When a window on another frame gets
12104 reused, do not select it any more but just raise its frame if
12105 necessary (Bug#8851) and (Bug#8856).
12106 (display-buffer-normalize-options): Handle pop-up-frames related
12107 options more faithfully.
12108 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12109 window if it is on another frame.
12110 (display-buffer-alist, display-buffer-default-specifiers):
12111 Don't make new frame unsplittable by default.
12112 (display-buffer-normalize-argument): Fix doc-string typo and use
12113 'same-frame-other-window instead of 'other-window when associating
12114 with display-buffer-macro-specifiers.
12116 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12118 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12120 (5x5-mode-map, 5x5-mode-menu): Bind them.
12121 (5x5-draw-grid): Tweak the solver's rendering.
12123 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12126 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12128 2011-06-21 Drew Adams <drew.adams@oracle.com>
12130 * menu-bar.el: Use function variable instead of switch-to-buffer.
12131 (menu-bar-select-buffer-function): New variable.
12132 (menu-bar-update-buffers): Use it (bug#8876).
12134 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12139 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12141 * x-dnd.el (x-dnd-version-from-flags)
12142 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12143 and long as number (Bug#8899).
12144 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12146 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12148 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12149 (completion-try-completion, completion-all-completions): Compute the
12150 metadata argument if it's missing; make it optional (bug#8795).
12152 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12153 (widget-complete): Use new :completion-function property.
12154 (widget-completions-at-point): New function.
12155 (default): Use :completion-function instead of :complete.
12156 (widget-default-completions): Rename from widget-default-complete;
12158 (widget-string-complete, widget-file-complete, widget-color-complete):
12160 (file, symbol, function, variable, coding-system, color):
12161 * international/mule-cmds.el (default-input-method, charset)
12162 (language-info-custom-alist):
12163 * cus-edit.el (face): Use new property :completions.
12165 * progmodes/pascal.el (pascal-completions-at-point): New function.
12166 (pascal-mode): Use it.
12167 (pascal-mode-map): Use completion-at-point.
12168 (pascal-toggle-completions): Make obsolete.
12169 (pascal-complete-word, pascal-show-completions):
12170 * progmodes/octave-mod.el (octave-complete-symbol):
12171 Redefine as obsolete alias.
12172 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12173 Signal absence of completion info for old Octave,
12174 (inferior-octave-complete): Redefine as obsolete alias.
12175 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12176 (meta-completions-at-point): Rename from meta-complete-symbol and
12177 adapt it for use on completion-at-point-functions.
12178 (meta-common-mode): Use it.
12179 (meta-looking-at-backward, meta-match-buffer): Remove.
12180 (meta-complete-symbol): Redefine as obsolete alias.
12181 (meta-common-mode-map): Use completion-at-point.
12182 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12183 (makefile-mode-map): Use completion-at-point.
12184 (makefile-completions-at-point): Rename from makefile-complete and
12185 adapt it for use on completion-at-point-functions.
12186 (makefile-mode): Use it.
12187 (makefile-complete): Redefine as obsolete alias.
12189 2011-06-20 Deniz Dogan <deniz@dogan.se>
12191 * net/rcirc.el: Delete trailing whitespaces once and for all.
12193 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12195 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12197 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12199 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12201 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12203 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12205 * window.el (display-buffer-other-window-means-other-frame):
12206 Call display-buffer-normalize-alist.
12207 (display-buffer-normalize-specifiers-1): Rename to
12208 display-buffer-normalize-argument. New argument other-frame.
12210 (display-buffer-normalize-specifiers-2): Rename to
12211 display-buffer-normalize-options.
12212 (display-buffer-normalize-alist-1): New function.
12213 (display-buffer-normalize-specifiers-3): Rename to
12214 display-buffer-normalize-alist.
12215 Call display-buffer-normalize-alist-1.
12216 (display-buffer-normalize-options-inhibit): New variable.
12217 (display-buffer-normalize-specifiers): Rewrite calling
12218 display-buffer-normalize-alist,
12219 display-buffer-normalize-argument, and
12220 display-buffer-normalize-options. Don't call the latter if
12221 display-buffer-normalize-options-inhibit is non-nil.
12222 (frame-auto-delete): New option.
12223 (window-deletable-p): Use frame-auto-delete.
12224 (window-list-no-nils, window-state-ignored-parameters)
12225 (window-state-get-1, window-state-get, window-state-put-list)
12226 (window-state-put-1, window-state-put-2, window-state-put):
12228 (display-buffer-normalize-options): Move special-display-p group
12229 after pop-up-frame group (Bug#8851) and (Bug#8856).
12231 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12233 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12235 (rx-submatch-n): New function.
12238 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12241 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12243 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12245 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12246 anytime existing face settings are present (Bug#8889).
12248 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12249 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12250 Remove unused argument.
12252 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12254 * window.el (display-buffer-default-specifiers):
12255 Remove pop-up-frame. Add pop-up-window-min-height,
12256 pop-up-window-min-width, and another reuse-window specifier
12257 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12258 (display-buffer-normalize-specifiers-2):
12259 Handle split-height-threshold and split-width-threshold also when
12260 pop-up-windows is unset. Add a reuse-window specifier for the
12261 case popping up a new window fails.
12262 (special-display-popup-frame): Remove double quoting.
12263 (display-buffer-normalize-specifiers-1): Fix thinko.
12265 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12268 according to comint-completion-addsuffix.
12270 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12271 (pcomplete-suffix-list): Mark as obsolete.
12272 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12273 pcomplete-seen in the closure.
12274 (pcomplete-comint-setup): Setup completion-at-point as well.
12275 (pcomplete--entries): New function.
12276 (pcomplete--env-regexp): New var.
12277 (pcomplete-entries): Rewrite to work with partial-completion and
12278 without relying on pcomplete-suffix-list.
12279 (pcomplete-pare-list): Remove, unused.
12281 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12283 * window.el (display-buffer-alist): Set pop-up-window-min-height
12284 and pop-up-window-min-width in default value. Reported by
12285 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12286 other-window-means-other-frame.
12287 (display-buffer-macro-specifiers): Comment out entry for
12288 other-window specifier.
12289 (display-buffer-other-window-means-other-frame): New function.
12290 (display-buffer-normalize-specifiers-1): New arguments
12291 buffer-name and label. Treat other-window case specially.
12292 (display-buffer-normalize-specifiers-2): Treat other-window case
12294 (display-buffer-normalize-specifiers-3): New function.
12295 (display-buffer-normalize-specifiers):
12296 Call display-buffer-normalize-specifiers-3.
12298 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12300 * window.el (same-window-p): Fix two typos introduced when
12301 adding with-no-warnings.
12302 (display-buffer-normalize-specifiers-1): Don't check
12303 pop-up-frames for 'unset initialization.
12304 (display-buffer-normalize-specifiers-2): Major rewrite using
12305 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12306 (pop-up-frames, display-buffer-reuse-frames)
12307 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12308 Suggested by David Engster <deng@randomsample.de>.
12309 (even-window-heights): Initialize to 'unset.
12310 (display-buffer-alist-set): Handle new 'unset initializations.
12311 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12314 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12316 * window.el (display-buffer-normalize-specifiers-1):
12317 Respect current value of pop-up-frames for most reasonable values of
12318 second argument of display-buffer (Bug#8865).
12319 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12320 (switch-to-buffer-other-window-same-frame)
12321 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12323 (display-buffer): Don't check noninteractive when calling
12324 display-buffer-pop-up-frame.
12325 (display-buffer-pop-up-frame): Never pop up a frame in
12326 noninteractive mode (Bug#8857).
12327 (enlarge-window, shrink-window): Don't report an error when the
12328 window can't be resized as requested (Bug#8862).
12330 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12332 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12334 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12336 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12338 2011-06-15 Alan Mackenzie <acm@muc.de>
12340 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12341 for declarators, disable knr checking to speed up for normal files.
12342 2: Refactor, replacing a sequence of nested if forms by a cond form.
12344 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346 * net/network-stream.el (open-network-stream): Add the keyword
12347 :always-query-capabilities for the case where you want to force a
12348 `plain' network connection, but the protocol still requires the
12349 capabilitiy command (i.e., SMTP and EHLO).
12351 * subr.el (process-live-p): Rename from `process-alive-p' for
12352 consistency with other `-live-p' functions.
12354 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * window.el (same-window-buffer-names, same-window-regexps)
12357 (special-display-frame-alist, special-display-popup-frame)
12358 (special-display-function, special-display-buffer-names)
12359 (special-display-regexps, pop-up-frame-alist)
12360 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12361 (pop-up-windows, split-window-preferred-function)
12362 (split-height-threshold, split-width-threshold, even-window-heights)
12363 (display-buffer-mark-dedicated): Don't encourage the use of
12364 display-buffer-alist from Elisp code.
12366 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12368 * progmodes/python.el (python-mode): Derive from prog-mode.
12369 * progmodes/ps-mode.el (ps-mode):
12370 * progmodes/mixal-mode.el (mixal-mode):
12371 * progmodes/cfengine.el (cfengine-mode):
12372 * progmodes/ld-script.el (ld-script-mode): Likewise.
12374 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12376 * window.el (display-buffer-alist): Trim default value to avoid
12377 popping up a new frame (Bug#8857) or reusing an arbitrary window
12379 (display-buffer): Do not fall back on popping up a new frame in
12380 batch mode (Bug#8857).
12382 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12384 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12385 (custom-theme-summary): New function.
12386 (customize-themes): Use it.
12388 2011-06-13 Glenn Morris <rgm@gnu.org>
12390 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12392 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12394 * help.el (help-window): Remove variable.
12395 (help-window-point-marker, temp-buffer-max-height)
12396 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12397 (help-print-return-message): Don't set help-window.
12398 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12399 (help-window-setup-finish): Remove.
12400 (help-window-display-message, help-window-setup)
12401 (with-help-window): Major rewrite based on new
12402 display-buffer-window variable.
12404 * help-mode.el (help-mode-finish): Remove help-window related
12407 * view.el (view-exits-all-viewing-windows): Remove reference to
12408 view-return-to-alist in doc-string.
12409 (view-return-to-alist): Make obsolete.
12410 (view-buffer): Call pop-to-buffer-same-window and remove
12412 (view-buffer-other-window): Call pop-to-buffer-other-window and
12413 simplify code. Ignore second argument.
12414 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12415 simplify code. Ignore second argument.
12416 (view-return-to-alist-update): Make obsolete.
12417 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12418 Rewrite using quit-restore window parameters.
12419 (view-mode-exit): Rename second argument to EXIT-ONLY.
12420 Rewrite using quit-restore-window.
12421 (View-exit, View-exit-and-edit, View-leave, View-quit)
12422 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12423 appropriate arguments.
12424 (view-end-message): Use quit-restore window parameter.
12426 * window.el (display-buffer-function): Rewrite doc-string.
12427 (display-buffer-window, display-buffer-alist): New variables.
12428 (display-buffer-split-specifiers)
12429 (display-buffer-side-specifiers)
12430 (display-buffer-macro-specifiers): New constants.
12431 (display-buffer-even-window-sizes, display-buffer-set-height)
12432 (display-buffer-set-width, display-buffer-select-window)
12433 (display-buffer-in-window, display-buffer-reuse-window)
12434 (display-buffer-split-window-1, display-buffer-split-window)
12435 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12436 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12437 (display-buffer-in-side-window, normalize-buffer-to-display)
12438 (display-buffer-normalize-specifiers-1)
12439 (display-buffer-normalize-specifiers-2)
12440 (display-buffer-normalize-specifiers, display-buffer-frame):
12442 (display-buffer): Major rewrite.
12443 (display-buffer-other-window, display-buffer-other-frame)
12444 (pop-to-buffer, switch-to-buffer-other-window)
12445 (switch-to-buffer-other-frame): Rewrite.
12446 (display-buffer-same-window, display-buffer-same-frame)
12447 (display-buffer-same-frame-other-window)
12448 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12449 (pop-to-buffer-other-window)
12450 (pop-to-buffer-same-frame-other-window)
12451 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12452 (switch-to-buffer-other-window-same-frame): New functions.
12453 (same-window-p, special-display-p): Rewrite disabling warnings.
12455 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12456 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12458 (same-window-buffer-names, same-window-regexps)
12459 (special-display-frame-alist, special-display-popup-frame)
12460 (special-display-function, special-display-buffer-names)
12461 (special-display-regexps, pop-up-frame-alist)
12462 (pop-up-frame-function, split-window-preferred-function)
12463 (split-height-threshold, split-width-threshold)
12464 (even-window-heights): Make obsolete.
12466 2011-06-12 Glenn Morris <rgm@gnu.org>
12468 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12469 Misc simplifications.
12471 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12473 * window.el (window-safely-shrinkable-p): Restore function which
12474 was inadvertently removed in change from 2011-06-11. Declare as
12477 * calendar/calendar.el (calendar-generate-window):
12478 Use window-iso-combined-p instead of combination of one-window-p and
12479 window-safely-shrinkable-p.
12481 2011-06-12 Glenn Morris <rgm@gnu.org>
12483 * progmodes/fortran.el (fortran-mode-syntax-table):
12484 * progmodes/f90.el (f90-mode-syntax-table):
12485 Set % to punctuation. (Bug#8820)
12486 (f90-find-tag-default): Remove, no longer needed.
12488 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12490 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12492 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12494 * image.el (image-animated-p): Return animation delay in seconds.
12495 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12496 (image-animate-timeout): Remove DELAY argument. Don't assume
12497 every subimage has the same delay; get it from image-animated-p.
12498 (image-animate): Caller changed.
12500 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12502 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12503 to ignored backtrace functions.
12505 2011-06-11 Glenn Morris <rgm@gnu.org>
12507 * calendar/appt.el (appt-disp-window-function): Doc fix.
12508 (appt-check): Handle overlapping appointments. (Bug#8337)
12510 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12512 * window.el (window-tree-1, window-tree): New functions, moving
12513 the latter to window.el.
12514 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12515 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12516 (bw-refresh-edges): Remove.
12517 (balance-windows-1, balance-windows-2): New functions.
12518 (balance-windows): Rewrite in terms of window tree functions,
12519 balance-windows-1 and balance-windows-2.
12520 (bw-adjust-window): Remove.
12521 (balance-windows-area-adjust): New function with functionality of
12522 bw-adjust-window but using resize-window.
12523 (set-window-text-height): Rewrite doc-string.
12524 Use normalize-live-window and resize-window.
12525 (enlarge-window-horizontally, shrink-window-horizontally):
12526 Rename argument to DELTA.
12527 (window-buffer-height): New function.
12528 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12529 Rewrite using new window resize routines.
12530 (kill-buffer-and-window, mouse-autoselect-window-select):
12531 Use ignore-errors instead of condition-case.
12532 (quit-window): Call delete-frame instead of delete-windows-on
12533 for the only buffer on frame.
12535 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12537 * loadup.el (top-level): Load window before files for the sake
12538 of replace-buffer-in-windows.
12540 * files.el (read-buffer-to-switch)
12541 (switch-to-buffer-other-window)
12542 (switch-to-buffer-other-frame, display-buffer-other-frame):
12545 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12546 (previous-buffer): Move to window.el.
12548 * bindings.el (unbury-buffer): Move to window.el.
12550 * window.el (delete-other-windows-vertically): Move after
12551 definition of delete-other-windows.
12552 (other-window, delete-windows-on, replace-buffer-in-windows):
12553 Move here from window.c.
12554 (record-window-buffer, unrecord-window-buffer)
12555 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12556 (switch-to-next-buffer): New functions.
12557 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12558 from simple.el. Call switch-to-next-buffer.
12559 (previous-buffer): Move here from simple.el.
12560 Call switch-to-prev-buffer.
12561 (bury-buffer): Move here from buffer.c. Switch to previous
12562 buffer when window cannot be deleted.
12563 (unbury-buffer): Move here from bindings.el.
12564 (ctl-x-map): Move binding for other-window from window.c to
12566 (read-buffer-to-switch, switch-to-buffer-other-window)
12567 (switch-to-buffer-other-frame): Move here from files.el.
12568 (normalize-buffer-to-switch-to): New functions.
12569 (switch-to-buffer): Move here from buffer.c.
12570 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12572 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12574 * window.el (window-min-height, window-min-width): Move here
12575 from window.c. Add defcustoms and rewrite doc-strings.
12576 (resize-mini-window, resize-window): New functions.
12577 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12578 Move here from window.c.
12579 (maximize-window, minimize-window): New functions.
12580 (delete-window, delete-other-windows, split-window): Move here
12582 (window-split-min-size): New function.
12583 (split-window-keep-point): Mention split-window-above-each-other
12584 instead of split-window-vertically.
12585 (split-window-above-each-other, split-window-vertically):
12586 Rename split-window-vertically to split-window-above-each-other
12587 and provide defalias for old definition.
12588 (split-window-side-by-side, split-window-horizontally):
12589 Rename split-window-horizontally to split-window-side-by-side
12590 and provide defalias for the old definition.
12591 (ctl-x-map): Move bindings for delete-window,
12592 delete-other-windows and enlarge-window here from window.c.
12593 Replace bindings for split-window-vertically and
12594 split-window-horizontally by bindings for
12595 split-window-above-each-other and split-window-side-by-side.
12597 * cus-start.el (all): Remove entries for window-min-height and
12598 window-min-width. Add entries for window-splits and
12601 2011-06-09 Glenn Morris <rgm@gnu.org>
12603 * calendar/appt.el (appt-mode-line): New function.
12604 (appt-check, appt-disp-window): Use it.
12606 * files.el (hack-one-local-variable-eval-safep):
12607 Allow minor-modes with explicit +/-1 arguments.
12609 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12611 * term/xterm.el (xterm): Add defgroup.
12612 (xterm-extra-capabilities): Add defcustom to supply known xterm
12613 capabilities, skip querying them, or query them (default).
12614 (terminal-init-xterm): Use it.
12615 (terminal-init-xterm-modify-other-keys): New function to set up
12616 modifyOtherKeys support to simplify `terminal-init-xterm'.
12618 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12620 * window.el (resize-window-reset, resize-window-reset-1)
12621 (resize-subwindows-skip-p, resize-subwindows-normal)
12622 (resize-subwindows, resize-other-windows, resize-this-window)
12623 (resize-root-window, resize-root-window-vertically)
12624 (window-deletable-p, window-or-subwindow-p)
12625 (frame-root-window-p): New functions.
12627 2011-06-09 Glenn Morris <rgm@gnu.org>
12629 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12630 (ange-ftp-get-files): Use it.
12632 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12634 * mail/sendmail.el (mail-recover-1, mail-recover):
12635 * files.el (recover-file, recover-session):
12636 Handle dired-listing-switches not being just a single short option.
12638 2011-06-09 Glenn Morris <rgm@gnu.org>
12640 * calendar/appt.el (appt-display-message, appt-disp-window):
12641 Handle lists of appointments.
12643 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12645 * window.el (one-window-p): Move down in code.
12646 Rewrite doc-string.
12647 (window-current-scroll-bars): Rewrite doc-string.
12648 Normalize live window argument.
12649 (walk-windows, get-window-with-predicate, count-windows):
12650 Rewrite doc-string. Use window-list-1.
12651 (window-in-direction-2, window-in-direction, get-mru-window):
12654 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12656 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12657 Doc fix (Bug#8713).
12659 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12661 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12663 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12665 * loadhist.el (unload-feature-special-hooks):
12666 Add `comint-output-filter-functions'.
12668 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12670 * calendar/appt.el (appt-check): Move some initializations into the let.
12672 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12674 * window.el (window-height): Defalias to window-total-height.
12675 (window-width): Defalias to window-body-width.
12677 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12679 * image-mode.el (image-toggle-animation): New command.
12680 (image-mode-map): Bind it to RET.
12681 (image-mode): Update message.
12682 (image-toggle-display-image): Avoid a spurious cache flush.
12683 (image-transform-rotation): Doc fix.
12684 (image-transform-properties): Return quickly in the normal case.
12685 (image-animate-loop): Rename from image-animate-max-time.
12687 * image.el (image-animate-max-time): Move to image-mode.el.
12688 (create-animated-image): Remove unnecessary function.
12689 (image-animate): Rename from image-animate-start. New arg.
12690 (image-animate-stop): Remove; just use image-animate-timer.
12691 (image-animate-timer): Use car-safe.
12692 (image-animate-timeout): Rename argument.
12694 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12696 * window.el (get-lru-window, get-largest-window): Move here from
12697 window.c. Rename first argument to ALL-FRAMES.
12698 Rephrase doc-strings.
12699 (get-buffer-window-list): Rewrite using window-list-1.
12700 Rephrase doc-string.
12701 (window-safe-min-height, window-safe-min-width): New constants.
12702 (window-size-ignore, window-min-size, window-min-size-1)
12703 (window-sizable, window-sizable-p, window-size-fixed-1)
12704 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12705 (window-max-delta-1, window-max-delta, window-resizable)
12706 (window-resizable-p, window-total-height, window-total-width)
12707 (window-body-width): New functions.
12708 (window-full-height-p, window-full-width-p): Rewrite using
12710 (window-body-height): Rewrite using window-body-size.
12712 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12714 * window.el (window-right, window-left, window-child)
12715 (window-child-count, window-last-child, window-any-p)
12716 (normalize-live-buffer, normalize-live-frame)
12717 (normalize-any-window, normalize-live-window)
12718 (window-iso-combination-p, window-iso-combined-p)
12719 (window-iso-combinations)
12720 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12721 (windows-with-parameter, window-with-parameter)
12722 (window-atom-root, make-window-atom, window-atom-check-1)
12723 (window-atom-check, window-side-check, window-check):
12725 (ignore-window-parameters, window-sides, window-sides-vertical)
12726 (window-sides-slots): New variables.
12727 (window-size-fixed): Move down in code. Minor doc-string fix.
12729 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12731 * comint.el (comint-dynamic-complete-as-filename)
12732 (comint-dynamic-complete-filename): Correctly call
12733 completion-in-region.
12735 2011-06-05 Deniz Dogan <deniz@dogan.se>
12737 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12740 2011-06-05 Deniz Dogan <deniz@dogan.se>
12742 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12743 (rcirc): Use it to prompt for encryption.
12745 2011-06-05 Roland Winkler <winkler@gnu.org>
12747 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12748 (bibtex-search-entries): New command bound to C-c C-a.
12749 (bibtex-display-entries): New function.
12751 2011-06-05 Roland Winkler <winkler@gnu.org>
12753 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12754 (bibtex-insert-kill): After yanking insert newline if necessary.
12755 (bibtex-initialize): Call bibtex-string-files-init only once.
12756 (bibtex-mode): Do not call easy-menu-add.
12757 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12758 (bibtex-yank): Set arg properly if nil.
12760 2011-06-05 Roland Winkler <winkler@gnu.org>
12762 * textmodes/bibtex.el (bibtex-search-entry-globally):
12764 (bibtex-search-entry): Use it.
12766 2011-06-05 Roland Winkler <winkler@gnu.org>
12768 * textmodes/bibtex.el (bibtex-entry-format): New option
12770 (bibtex-format-entry, bibtex-reformat): Honor this option.
12771 (bibtex-parse-entry): Return fields in proper order.
12773 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12775 * doc-view.el (doc-view-remove-if): Move computation of result out
12776 of `dolist' to silence misleading lexical-binding warning.
12778 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12780 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12781 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12783 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12785 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12788 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12790 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12791 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12792 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12793 (tramp-parse-putty):
12794 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12795 (tramp-completion-function-alist-ssh)
12796 (tramp-completion-function-alist-telnet)
12797 (tramp-completion-function-alist-su)
12798 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12801 * net/tramp-ftp.el:
12803 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12804 load "tramp.el" `tramp-set-completion-function'.
12806 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12808 * shell.el: Require and use pcomplete.
12809 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12810 (shell-completion-vars): Set pcomplete-default-completion-function.
12812 2011-06-04 Deniz Dogan <deniz@dogan.se>
12814 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12817 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12821 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12823 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12824 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12825 * vc/log-view.el (log-view-beginning-of-defun):
12826 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12827 (smerge-refine-forward, smerge-refine-chopup-region):
12828 Silence warning for unused `dotimes' counter variables.
12830 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12832 * net/tramp.el (tramp-with-progress-reporter): Rename from
12833 with-progress-reporter. Use `declare'.
12834 * net/tramp-smb.el:
12836 * net/tramp-gvfs.el: Update all uses.
12838 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12840 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12841 buffer isn't killed before making it current.
12843 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12845 Silence various byte-compiler warnings.
12846 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12847 `access-type' and new obsolescence format.
12848 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12850 (byte-compile-check-variable): New `access-type' argument.
12851 Only warn if the access-type is obsolete.
12852 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12853 (byte-compile-variable-set): Adjust callers.
12854 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12855 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12856 setting it as obsolete.
12857 * simple.el (minibuffer-completing-symbol):
12858 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12859 access as obsolete.
12860 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12862 * international/quail.el (quail-mouse-choose-completion): Remove unused
12863 code referring to obsolete var.
12864 (quail-choose-completion-string): Remove.
12865 * server.el (server-clients-with, server-kill-buffer-query-function)
12866 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12867 * proced.el (proced-send-signal):
12868 * emacs-lisp/lisp.el (lisp-complete-symbol):
12869 Replace completion-annotate-function with completion-extra-properties.
12871 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12873 * simple.el (goto-line): Use read-number.
12874 (overriding-map-is-bound): Remove.
12875 (saved-overriding-map): Change default.
12876 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12877 Take the map as argument.
12878 (universal-argument, negative-argument, digit-argument): Use it.
12879 (restore-overriding-map): Adjust.
12880 (do-auto-fill): Use fill-forward-paragraph.
12881 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12883 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12884 (minibuffer-inactive-mode): New major mode.
12885 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12886 the *Messages* buffer" hack.
12887 (mouse-popup-menubar): Don't burp if the event is a normal key.
12889 Miscellaneous tweaks.
12890 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12891 lexical scoping as in subr.el's dolist and dotimes.
12892 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12893 Silence compiler warning.
12894 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12895 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12896 * international/ccl.el (ccl-compile): Trivial simplification.
12897 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12898 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12899 `printflag' argument.
12900 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12901 Purecopy the whole obsolescence data.
12903 2011-06-01 Leo Liu <sdl.web@gmail.com>
12905 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12906 improve doc-string as suggested by Marco Pessotto
12907 <melmothx@gmail.com>.
12908 (rcirc-print): Fix last change.
12910 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * minibuffer.el (complete-with-action): Return nil for the metadata and
12913 boundaries of non-functional tables.
12914 (completion-table-dynamic): Return nil for the metadata.
12915 (completion-table-with-terminator): Add default case, using
12916 complete-with-action.
12917 (completion--metadata): New function.
12918 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12919 to try and avoid pathological performance problems.
12920 (completion--embedded-envvar-table): Return `category' metadata.
12922 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12924 * subr.el (process-alive-p): New tiny convenience function.
12926 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12929 content but also its previous major mode.
12931 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12933 * emacs-lisp/debug.el (debug): Restore the previous content of the
12934 *Backtrace* buffer when we exit with C-M-c.
12936 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12938 * minibuffer.el: Add metadata method to completion tables.
12939 (completion-category-overrides): New defcustom.
12940 (completion-metadata, completion--field-metadata)
12941 (completion-metadata-get, completion--styles)
12942 (completion--cycle-threshold): New functions.
12943 (completion-try-completion, completion-all-completions):
12944 Add `metadata' argument to choose completion-styles.
12945 (completion--do-completion): Use metadata to choose cycling.
12946 (completion-all-sorted-completions): Use metadata for sorting.
12947 Remove :completion-cycle-penalty which is not needed any more.
12948 (completion--try-word-completion): Add `metadata' argument.
12949 (minibuffer-completion-help): Check metadata for annotation function
12951 (completion-file-name-table): Return `category' metadata.
12952 (minibuffer-completing-file-name): Make obsolete.
12953 * simple.el (minibuffer-completing-symbol): Make obsolete.
12954 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12955 completion-try-completion.
12957 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12959 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12961 2011-05-30 Leo Liu <sdl.web@gmail.com>
12963 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12964 (rcirc-print): Decode all incoming messages (bug#8744).
12965 (rcirc-decode-coding-system): Allow value nil for automatic coding
12968 2011-06-01 Glenn Morris <rgm@gnu.org>
12970 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12972 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12974 * image.el (image-animate-max-time): Allow nil and t values.
12976 (create-animated-image): Doc fix.
12977 (image-animate-start): Remove second arg; just use
12978 image-animate-max-time.
12979 (image-animate-timeout): Doc fix. Args changed.
12981 * image-mode.el (image-toggle-display-image): Ensure that the
12982 image spec passed to the animate timer is the same object as in
12983 the buffer's display property (Bug#6981).
12984 (image-transform-properties): Doc fix.
12986 * image.el (image-animate-max-time): Default to nil.
12988 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12990 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12991 entire buffer list (Bug#8184).
12993 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12995 * image.el (imagemagick-types-inhibit)
12996 (imagemagick-register-types): Doc fix.
12998 2011-05-29 Deniz Dogan <deniz@dogan.se>
13000 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13003 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13005 * select.el: Don't perform clipboard-manager saving in hooks;
13006 leave the hooks empty.
13008 2011-05-28 Leo Liu <sdl.web@gmail.com>
13010 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13011 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13012 (occur-edit-mode): New major mode (Bug#8463).
13013 (occur-after-change-function): New function.
13014 (occur-engine): Give Occur tags a read-only property.
13016 2011-05-28 Kevin Ryde <user42@zip.com.au>
13018 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13020 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13022 * bindings.el (help-echo): Make the initial non-indicator dash
13023 empty on graphical terminals (Bug#7295).
13025 * files.el (auto-mode-alist): Move config rule after the
13026 in-stripping one (Bug#8547).
13028 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13030 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13031 setting (Bug#8740).
13033 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13035 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13036 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13039 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13041 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13043 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13045 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13046 (hs-hide-block-at-point, hs-find-block-beginning)
13047 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13050 2011-05-28 Glenn Morris <rgm@gnu.org>
13052 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13054 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13056 * help-fns.el (describe-function-1): If the function is a derived
13057 major mode, print the parent mode.
13059 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13060 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13062 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13064 * minibuffer.el (completion--capf-wrapper): Check applicability before
13065 returning non-nil for non-exclusive completion data.
13066 * progmodes/etags.el (tags-completion-at-point-function):
13067 * info-look.el (info-lookup-completions-at-point): Mark as
13069 (info-complete): Adjust accordingly.
13071 * info-look.el: Convert to lexical-binding and completion-at-point.
13072 (info-lookup-completions-at-point): New function.
13073 (info-complete): Use it and completion-in-region.
13075 2011-05-28 Drew Adams <drew.adams@oracle.com>
13077 * isearch.el: Let M-e start with point at the first mismatched char.
13078 (isearch-fail-pos): New function.
13079 (isearch-edit-string): Use it.
13081 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13083 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13085 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13087 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13088 traversal functions for avl-trees.
13089 (avl-tree--stack): New struct.
13090 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13091 (avl-tree-enter): Add optional `updatefun' arg.
13092 (avl-tree--do-enter): Add optional `updatefun' arg.
13093 Change return value.
13094 (avl-tree-delete): Add optional `test' and `nilflag' args.
13095 (avl-tree--do-delete): Add `test' and `nilflag' args.
13096 Change return value.
13097 (avl-tree-member): Add optional `nilflag'
13098 (avl-tree-member-p): New function.
13099 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13100 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13101 (avl-tree-stack-empty-p): New functions.
13103 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13104 avl-tree--del-balance1 and make it work both ways.
13105 (avl-tree--del-balance2): Remove.
13106 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13107 make it work both ways.
13108 (avl-tree--enter-balance2): Remove.
13109 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13111 (avl-tree--mapc, avl-tree-map): Add direction argument.
13113 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13115 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13117 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13119 * select.el: Support clipboard managers with built-in function
13120 x-clipboard-manager-save, via delete-frame-functions and
13122 (xselect-convert-to-targets): Add MULTIPLE target to list.
13123 (xselect-convert-to-save-targets): New function.
13125 2011-05-27 Kenichi Handa <handa@m17n.org>
13127 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13128 let-binding rfc2047-encode-encoded-words to nil.
13130 2011-05-27 Glenn Morris <rgm@gnu.org>
13132 * mail/emacsbug.el: Don't require url-util.
13134 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13136 * files.el (set-auto-mode):
13137 Also respect mode: entries at the end of the file. (Bug#8586)
13139 2011-05-26 Glenn Morris <rgm@gnu.org>
13141 * files.el (hack-local-variables-prop-line, hack-local-variables):
13142 Downcase mode names, as seems to be traditional.
13143 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13145 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13146 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13148 2011-05-25 Julien Danjou <julien@danjou.info>
13150 * textmodes/rst.el (rst-define-level-faces): Do not define face
13151 symbol if it is already defined.
13153 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13155 * play/5x5.el (5x5-new-game, 5x5-randomize):
13156 Reset 5x5-solver-output to nil when a new grid is cast.
13157 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13158 these debugging traces, as defmacro breaks the compiled code.
13160 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13162 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13164 2011-05-24 Leo Liu <sdl.web@gmail.com>
13166 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13167 (vc-bzr-sha1): Adapt.
13169 * sha1.el: Remove. Function `sha1' is now builtin.
13171 * bindings.el: Provide sha1 feature.
13173 2011-05-24 Kenichi Handa <handa@m17n.org>
13175 * mail/sendmail.el: Require `rfc2047'.
13176 (mail-insert-from-field): Do not perform RFC2047 encoding.
13177 (mail-encode-header): New function.
13178 (sendmail-send-it): Set buffer-file-coding-system of the work
13179 buffer to the return value of select-message-coding-system.
13180 Call mail-encode-header.
13182 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13184 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13186 * mail/supercite.el (sc-default-cite-frame):
13187 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13189 2011-05-24 Glenn Morris <rgm@gnu.org>
13191 * progmodes/python.el (brm-menu): Declare.
13193 * emulation/viper.el (viper-set-hooks): Declare.
13195 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13196 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13197 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13198 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13199 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13200 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13202 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13204 Add an :exit-function for completion-at-point.
13206 * minibuffer.el (completion--done): New fun.
13207 (completion--do-completion): Use it. New arg `expect-exact'.
13208 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13209 since completion--do-completion does it for us now.
13210 (minibuffer-force-complete): Use completion--done and
13211 completion--replace. Handle sole-completion case with more care.
13212 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13213 (completion-extra-properties): New var.
13214 (completion-annotate-function): Make obsolete.
13215 (minibuffer-completion-help): Adjust accordingly.
13216 Use completion-list-insert-choice-function.
13217 (completion-at-point, completion-help-at-point):
13218 Bind completion-extra-properties.
13219 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13220 * simple.el (completion-list-insert-choice-function): New var.
13221 (completion-setup-function): Preserve it.
13222 (choose-completion): Pay attention to it, shuffle the code a bit.
13223 (choose-completion-string): New arg `insert-function'.
13225 * textmodes/bibtex.el: Convert to lexical binding.
13226 (bibtex-mode-map): Use completion-at-point.
13227 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13228 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13229 (bibtex-complete): Define as obsolete alias.
13230 (bibtex-complete-internal): Remove.
13231 (bibtex-format-entry): Remove unused sub-group in regexp.
13232 * shell.el (shell--command-completion-data)
13233 (shell-environment-variable-completion):
13234 * pcomplete.el (pcomplete-completions-at-point):
13235 * comint.el (comint--complete-file-name-data): Use :exit-function
13236 instead of completion-table-with-terminator so it also works for
13239 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13243 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13246 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13248 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13250 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13251 customization variable and implement: If non-nil, auto-fill will
13252 be inhibited while on topic's header line.
13254 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13256 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13257 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13258 always have a solution in grid size = 5 cases.
13259 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13260 (5x5-solver-output, 5x5-log-buffer): New vars.
13261 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13262 Make these variables buffer local to achieve 5x5 multi-session-ness.
13263 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13264 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13265 (5x5-solve-suggest): New funs.
13266 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13267 randomize a grid so that we ensure that there is always a solution.
13268 (5x5-make-random-grid): Allow other movement than flipping.
13270 2011-05-23 Kevin Ryde <user42@zip.com.au>
13272 * emacs-lisp/advice.el (ad-read-advised-function):
13273 Use `function-called-at-point' as the default, if it has
13274 advice and passes PREDICATE.
13276 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13279 byte-compile-lambda if it's actually a lambda.
13281 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13282 Fix function quoting. Use backquote better.
13284 2011-05-22 Yuanle Song <sylecn@gmail.com>
13286 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13287 matching (Bug#8516).
13289 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13291 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13292 different face (Bug#8178).
13294 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13296 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13297 defface (Bug#8144).
13299 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13301 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13302 funcall as well (bug#8712). Warn when performing those conversions.
13303 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13305 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13307 2011-05-22 Glenn Morris <rgm@gnu.org>
13309 * files.el (hack-local-variables-prop-line): Small simplifications.
13310 (hack-local-variables, hack-local-variables-prop-line):
13311 If MODE-ONLY, return the mode, rather than just `t'.
13313 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13315 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13317 2011-05-21 Glenn Morris <rgm@gnu.org>
13319 * files.el (hack-local-variables-prop-line, hack-local-variables):
13320 If only interested in the mode, don't bother doing the other stuff.
13322 * image-mode.el (image-after-revert-hook):
13323 Redraw all frames on which the image is visible. (Bug#8567)
13325 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13327 * wid-edit.el (widget-checklist-match-inline):
13328 Fix 2011-04-19 change. (Bug#8649)
13330 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13332 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13333 Also allow singlespace after single-letter capitals followed by a dot.
13335 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13336 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13338 2011-05-20 Nix <nix@esperi.org.uk>
13340 * files.el (basic-save-buffer-2):
13341 Fix handling of break-hardlink-on-save with non-existent files.
13343 2011-05-19 Deniz Dogan <deniz@dogan.se>
13345 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13346 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13348 2011-05-19 Glenn Morris <rgm@gnu.org>
13350 * progmodes/f90.el (f90-type-def-re):
13351 Handle "type, bind(c)". (Bug#8691)
13353 * emacs-lisp/autoload.el (batch-update-autoloads):
13354 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13356 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13358 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13359 property for the correct connection in case of multihops.
13361 2011-05-18 Glenn Morris <rgm@gnu.org>
13363 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13364 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13366 Rationalize calendar handling of day and month abbrev-arrays.
13367 * calendar/calendar.el (calendar-customized-p): New function.
13368 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13369 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13371 (calendar-abbrev-length, calendar-day-abbrev-array)
13372 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13373 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13374 Elements may no longer be nil.
13375 (calendar-day-name, calendar-month-name):
13376 Update for changed nature of abbrev arrays.
13377 * calendar/diary-lib.el (diary-name-pattern):
13378 Update for changed nature of abbrev arrays.
13379 (diary-mark-entries-1): Update calendar-make-alist calls.
13380 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13381 * calendar/cal-html.el (cal-html-day-abbrev-array):
13382 Simply inherit from calendar-day-abbrev-array.
13384 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13386 * progmodes/grep.el (grep-mode): Disable default
13387 compilation-directory-matcher setting (bug#8684).
13389 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13391 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13392 instead of "head" and "tail". There were problems with SunOS 5.9,
13393 and it performs better.
13395 2011-05-17 Glenn Morris <rgm@gnu.org>
13397 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13399 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13400 Replace obsolete function.
13402 * shell.el (pcomplete-parse-arguments-function): Declare.
13404 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13405 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13406 (appt-check): Doc fixes.
13407 (appt-disp-window-function, appt-delete-window-function):
13408 Remove needless special case in custom :type.
13409 (appt-display-count): Default to 0, not nil.
13410 (appt-check): Reset appt-display-count to 0, not nil.
13412 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13414 * progmodes/python.el (python-font-lock-keywords):
13415 Add the Python 3.X keyword "nonlocal" (bug#8639).
13417 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13419 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13421 2011-05-16 Kevin Ryde <user42@zip.com.au>
13423 * info-look.el (makefile-automake-mode): New setups, looking in
13424 automake manual, then makefile-mode.
13425 (makefile-mode): Remove automake manual, have it just in
13426 makefile-automake-mode since there's various things different or
13427 not relevant to plain make.
13428 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13429 believe a hypothetical automake-mode would go to makefile-mode,
13430 not the other way around.
13432 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13434 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13435 hunk-end tags (Bug#8672).
13437 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13438 vc-annotate-show-diff-revision-at-line (Bug#8671).
13440 2011-05-14 Glenn Morris <rgm@gnu.org>
13442 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13443 in the middle of an existing one with multiple authors. (Bug#8645)
13444 (change-log-font-lock-keywords): Also handle multiple author lines
13445 with leading tabs. (Bug#8644)
13447 * calendar/appt.el (appt-check): Rename some local variables.
13448 Some simplification/reordering.
13450 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13451 (feedmail-sendmail-f-doesnt-sell-me-out)
13452 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13453 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13454 (feedmail-queue-runner-message-sender): Set :version.
13455 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13456 (bbdb-dwim-net-address, vm-mail): Declare.
13457 (feedmail-binmail-gnulinuxish-template):
13458 Rename from feedmail-binmail-linuxish-template.
13459 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13460 Use insert-buffer-substring.
13462 2011-05-14 Bill Carpenter <bill@carpenter.org>
13464 * mail/feedmail.el (feedmail-patch-level): Increase.
13465 (feedmail-debug): New custom group.
13466 (feedmail-confirm-outgoing-timeout)
13467 (feedmail-sendmail-f-doesnt-sell-me-out)
13468 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13469 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13470 (feedmail-sender-line, feedmail-from-line)
13471 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13472 (feedmail-spray-this-address)
13473 (feedmail-spray-address-fiddle-plex-list)
13474 (feedmail-queue-use-send-time-for-date)
13475 (feedmail-queue-use-send-time-for-message-id)
13476 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13477 (feedmail-buffer-eating-function):
13479 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13480 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13481 (feedmail-message-action-scroll-down): New functions.
13482 (feedmail-queue-directory, feedmail-queue-draft-directory):
13483 Use expand-file-name.
13484 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13485 Remove C-v help entry.
13486 (feedmail-queue-buffer-file-name): New variable.
13487 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13488 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13489 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13490 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13491 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13492 (feedmail-message-action-toggle-spray)
13493 (feedmail-run-the-queue-no-prompts)
13494 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13495 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13496 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13497 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13498 (feedmail-envelope-deducer, feedmail-fiddle-from)
13499 (feedmail-fiddle-sender, feedmail-default-date-generator)
13500 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13501 (feedmail-fiddle-spray-address)
13502 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13503 (feedmail-fiddle-list-of-fiddle-plexes)
13504 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13505 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13506 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13507 Change default. Doc fix.
13508 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13509 (feedmail-binmail-linuxish-template): New constant.
13510 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13511 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13512 (feedmail-send-it): Add debug call.
13513 Use feedmail-queue-buffer-file-name, and
13514 feedmail-send-it-immediately-wrapper.
13515 (feedmail-message-action-send): Add debug call.
13516 Use feedmail-send-it-immediately-wrapper.
13517 (feedmail-queue-express-to-queue): Add debug call.
13518 Run feedmail-queue-express-hook.
13519 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13520 (feedmail-message-action-help-blat):
13521 Rename from feedmail-queue-send-edit-prompt-help-first.
13522 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13523 Check line-endings. Handle errors better.
13524 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13525 Doc fix. Add debug call.
13526 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13527 Use feedmail-queue-send-edit-prompt-inner.
13528 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13529 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13530 from feedmail-queue-send-edit-prompt.
13531 (feedmail-queue-send-edit-prompt-help)
13532 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13533 (feedmail-tidy-up-slug): Add debug call.
13534 Respect feedmail-queue-slug-suspect-regexp.
13535 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13536 (feedmail-dump-message-to-queue): Add debug call.
13537 Expand queue-directory.
13538 (feedmail-dump-message-to-queue): Change message slightly.
13539 Use feedmail-say-chatter.
13540 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13541 (feedmail-send-it-immediately-wrapper): New function.
13542 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13543 Insert empty string rather than newline. Handle full-frame case.
13544 Use catch/throw. Use feedmail-say-chatter.
13545 (feedmail-fiddle-from): Try mail-host-address.
13546 (feedmail-default-message-id-generator): Doc fix.
13547 Bind system-time-locale. Handle missing end.
13548 (feedmail-fiddle-x-mailer): Add debug call.
13549 Handle feedmail-x-mailer-line being nil.
13550 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13551 Add debug call. Use buffer-substring-no-properties.
13552 (feedmail-say-debug, feedmail-say-chatter): New functions.
13553 (feedmail-find-eoh): Give an explicit error.
13555 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13557 * net/newst-treeview.el (newsticker-treeview-face): Change default
13558 family from helvetica to sans.
13559 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13560 etc/images/newsticker.
13562 * net/newst-reader.el (newsticker-feed-face): Change default
13563 family from helvetica to sans.
13565 * net/newst-plainview.el (newsticker-new-item-face)
13566 (newsticker-old-item-face, newsticker-immortal-item-face)
13567 (newsticker-obsolete-item-face, newsticker-date-face)
13568 (newsticker-statistics-face): Change default family from
13570 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13571 etc/images/newsticker.
13573 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13574 (newsticker--process-auto-mark-filter-match): Tell user about
13577 2011-05-13 Didier Verna <didier@xemacs.org>
13579 Common Lisp indentation improvements on defmethod and lambda-lists.
13580 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13582 (lisp-lambda-list-keyword-parameter-indentation)
13583 (lisp-lambda-list-keyword-parameter-alignment)
13584 (lisp-lambda-list-keyword-alignment): New customizable user options.
13585 (lisp-indent-defun-method): Improve docstring.
13586 (extended-loop-p): Fix comment.
13587 (lisp-indent-lambda-list-keywords-regexp): New variable.
13588 (lisp-indent-lambda-list): New function.
13589 (lisp-indent-259): Use it.
13590 (lisp-indent-defmethod): Support for more than one
13591 method qualifier and properly indent methods lambda-lists.
13592 (defgeneric): Provide a missing common-lisp-indent-function property.
13594 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13596 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13597 bounds for the empty string (bug#8667).
13599 2011-05-13 Glenn Morris <rgm@gnu.org>
13601 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13603 * mail/sendmail.el (sendmail-program): Try executable-find first.
13604 (sendmail-send-it): `sendmail-program' cannot be unbound.
13606 * calendar/appt.el (appt-make-list): Simplify.
13607 (appt-time-msg-list): Doc fix.
13608 (appt-check): Change mode-line message at the time of the appointment.
13610 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13612 * progmodes/ld-script.el (ld-script-keywords)
13613 (ld-script-builtins): Update keywords list.
13615 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13617 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13619 * shell.el (shell-completion-vars): New function.
13621 * simple.el (read-shell-command): Use it.
13622 (blink-matching-open): No need for " [...]" in minibuffer-message.
13624 2011-05-12 Glenn Morris <rgm@gnu.org>
13626 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13627 (appt-check): Simplify.
13629 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13631 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13632 literal "/dev/null".
13634 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13636 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13639 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13641 * progmodes/which-func.el (which-function):
13642 Use add-log-current-defun instead of add-log-current-defun-function,
13643 which might not be defined (Bug#8260).
13645 2011-05-12 Glenn Morris <rgm@gnu.org>
13647 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13648 Let byte-compile-initial-macro-environment always take precedence.
13650 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13652 * net/rcirc.el: Add support for SSL/TLS connections.
13653 (rcirc-server-alist): New field `encryption'.
13654 (rcirc): Check `encryption' settings.
13655 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13656 Merge make-local-variable into `set'.
13657 (rcirc--connection-open-p): New function.
13658 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13659 the process is not a network process (e.g. running gnutls-cli).
13660 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13661 Make rcirc-(en|de)code-coding-system local here.
13662 (rcirc-mode): Merge make-local-variable into `set'.
13663 (rcirc-parent-buffer): Make permanent buffer-local.
13664 (rcirc-multiline-minor-mode): Don't do it here.
13665 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13666 there's no server buffer.
13668 2011-05-11 Glenn Morris <rgm@gnu.org>
13670 * newcomment.el (comment-kill): Prefix "unused" local.
13672 * term/w32console.el (get-screen-color): Declare.
13674 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13675 Handle symbol elements of byte-compile-initial-macro-environment.
13677 2011-05-10 Leo Liu <sdl.web@gmail.com>
13679 * bookmark.el (bookmark-bmenu-mode-map):
13680 Bind bookmark-bmenu-search to `/'.
13682 * mail/footnote.el: Convert to utf-8 encoding.
13683 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13684 (Footnote-unicode): New function.
13685 (footnote-style-alist): Add unicode style to the list.
13686 (footnote-style): Doc fix.
13688 2011-05-10 Jim Meyering <meyering@redhat.com>
13690 Fix doubled-word typos.
13691 * international/quail.el (quail-insert-kbd-layout): and and -> and
13692 * kermit.el: and and -> and
13693 * net/ldap.el (ldap-search-internal): to to -> to
13694 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13695 * progmodes/js.el (js-mode): and and -> and
13696 * textmodes/artist.el (artist-move-to-xy): at at -> at
13697 (artist-draw-region-trim-line-endings): if if -> if
13698 And Safetyc -> Safety.
13699 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13701 2011-05-10 Glenn Morris <rgm@gnu.org>
13702 Stefan Monnier <monnier@iro.umontreal.ca>
13704 * files.el (hack-one-local-variable-eval-safep):
13705 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13707 2011-05-10 Glenn Morris <rgm@gnu.org>
13709 * calendar/diary-lib.el (diary-list-entries-hook)
13710 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13711 (diary-nongregorian-marking-hook, diary-list-entries)
13712 (diary-include-other-diary-files, diary-mark-entries)
13713 (diary-mark-included-diary-files): Doc fixes.
13715 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13717 * misc.el: Require tabulated-list.el during compilation.
13719 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13721 * progmodes/compile.el (compilation-start):
13722 Run compilation-filter-hook for the async case too.
13723 (compilation-filter-hook): Doc fix.
13725 2011-05-09 Deniz Dogan <deniz@dogan.se>
13727 * wdired.el: Remove outdated installation comment. Fix usage
13730 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13732 * misc.el: Implement new command `list-dynamic-libraries'.
13733 (list-dynamic-libraries--loaded-only-p): New variable.
13734 (list-dynamic-libraries--refresh): New function.
13735 (list-dynamic-libraries): New command.
13737 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13740 Fix the ant regexp to handle end-line and end-column info from jikes.
13741 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13742 higher priority to avoid clobbering by gnu.
13744 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13746 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13747 if the face has existing theme settings (Bug#8454).
13749 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13751 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13752 Only match variables declared via `my' or `our' (Bug#8261).
13754 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13755 special file names `.' and `..' (Bug#8259).
13757 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13759 * progmodes/grep.el (grep-mode-font-lock-keywords):
13760 Remove buffer-changing entries.
13761 (grep-filter): New function.
13762 (grep-mode): Add it to compilation-filter-hook.
13764 * progmodes/compile.el (compilation-filter-hook)
13765 (compilation-filter-start): New defvars.
13766 (compilation-filter): Call compilation-filter-hook prior to
13767 updating the process mark.
13769 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13771 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13773 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13775 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13776 mailclient-send-it even if window-system is nil. (Bug#8595)
13778 * term/w32console.el (terminal-init-w32console):
13779 Call get-screen-color and use its output to set the frame
13780 background-mode. (Bug#8597)
13782 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13784 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13785 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13787 (defgeneric, eieio--defmethod): Use them.
13788 (eieio-defgeneric): Remove.
13789 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13791 2011-05-07 Glenn Morris <rgm@gnu.org>
13793 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13794 Use let rather than let*.
13795 (timeclock-find-discrep): Remove unused local.
13797 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13799 * calendar/appt.el (appt-time-msg-list): Doc fix.
13801 2011-05-06 Noah Friedman <friedman@splode.com>
13803 * apropos.el (apropos-print-doc): Only use
13804 emacs-lisp-docstring-fill-column when it is bound to an integer,
13805 per that variable's documentation.
13807 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13809 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13810 and warnings are not silently discarded (e.g. use -d instead of -P).
13812 2011-05-06 Glenn Morris <rgm@gnu.org>
13814 * calendar/appt.el (appt-message-warning-time): Doc fix.
13815 (appt-warning-time-regexp): New option.
13816 (appt-make-list): Respect appt-message-warning-time.
13818 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13820 (diary-add-to-list): Strip comments from the displayed string.
13821 (diary-mode): Set comment-start and comment-end.
13823 * vc/diff-mode.el (smerge-refine-subst): Declare.
13824 (diff-refine-hunk): Don't require smerge-mode when compiling.
13826 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13828 * simple.el (list-processes): Return nil as the docstring says.
13830 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13832 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13834 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13835 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13836 determining of binary transfer. (Bug#7383)
13838 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13841 Fix port computation bug. (Bug#8618)
13843 2011-05-05 Glenn Morris <rgm@gnu.org>
13845 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13847 * simple.el (shell-dynamic-complete-functions)
13848 (comint-dynamic-complete-functions): Declare.
13850 * net/network-stream.el (gnutls-negotiate):
13851 * simple.el (tabulated-list-print): Fix declarations.
13853 * progmodes/gud.el (syntax-symbol, syntax-point):
13854 Remove unnecessary and incorrect declarations.
13856 * emacs-lisp/check-declare.el (check-declare-scan):
13857 Handle byte-compile-initial-macro-environment in bytecomp.el
13859 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13861 Fix earlier half-done eieio-defmethod change (bug#8338).
13862 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13863 Streamline and change calling convention.
13864 (defmethod): Adjust accordingly and simplify.
13865 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13866 new eieio--defmethod.
13867 (slot-boundp): Minor CSE simplification.
13869 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13871 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13872 (glasses-make-readable): Use glasses-separate-capital-groups.
13874 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13876 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13877 (warning-series): Doc fix.
13878 (display-warning): Don't try to create the buffer if we just found it.
13880 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13882 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13883 (autoload-find-generated-file): New function.
13884 (generate-file-autoloads): Bind generated-autoload-file to
13886 (update-file-autoloads, update-directory-autoloads):
13887 Use autoload-find-generated-file. If called interactively, prompt for
13888 output file (Bug#7989).
13889 (batch-update-autoloads): Doc fix.
13891 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13893 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13895 2011-05-04 Glenn Morris <rgm@gnu.org>
13897 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13898 function, so it follows changes in calendar-date-style.
13899 (diary-fancy-date-matcher): New function.
13900 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13901 (diary-fancy-font-lock-fontify-region-function):
13902 Use diary-fancy-date-pattern as a function.
13904 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13905 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13907 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13909 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13910 instead of positional arguments. Allow :keylist and :crlfiles
13912 (open-gnutls-stream): Call it.
13914 * net/network-stream.el (network-stream-open-starttls): Adjust to
13915 call `gnutls-negotiate' with :process and :hostname arguments.
13917 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13919 * minibuffer.el (completion--message): New function.
13920 (completion--do-completion, minibuffer-complete)
13921 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13922 (completion--do-completion): Don't ignore completion-auto-help when in
13925 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13926 internal encoding (e.g. tibetan zero is not whitespace).
13927 (global-whitespace-mode): Prefer save-current-buffer.
13928 (whitespace-trailing-regexp): Remove useless save-match-data.
13929 (whitespace-empty-at-bob-regexp): Minor simplification.
13931 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13933 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13935 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
13937 * textmodes/ispell.el (ispell-add-per-file-word-list):
13938 Use `concat' to create string for insertion.
13940 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13942 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13943 Avoid open-line which runs post-self-insert-hook.
13944 (bibtex-fill-entry): Remove unused `end' var.
13946 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13948 * textmodes/ispell.el (ispell-add-per-file-word-list):
13949 Protect against `nil' value of `comment-start' (Bug#8579).
13951 2011-05-03 Leo Liu <sdl.web@gmail.com>
13953 * isearch.el (isearch-yank-pop): New command.
13954 (isearch-mode-map): Bind it to `M-y'.
13955 (isearch-forward): Mention it.
13957 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * simple.el (minibuffer-complete-shell-command): Remove.
13960 (minibuffer-local-shell-command-map): Use completion-at-point.
13961 (read-shell-command): Setup completion vars here instead.
13962 (read-expression-map): Bind TAB to symbol completion.
13964 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13965 error directly rather via storing it into `results'.
13967 2011-05-02 Leo Liu <sdl.web@gmail.com>
13969 * vc/diff.el: Fix description.
13971 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13973 * server.el (server-eval-at): New function.
13975 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13977 * net/network-stream.el (open-network-stream): Take a :nowait
13978 parameter and pass it on to `make-network-process'.
13979 (network-stream-open-plain): Ditto.
13981 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13983 * faces.el (face-spec-set-match-display): Don't match toolkit
13984 options on terminal frames.
13986 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13988 * progmodes/pascal.el: Use lexical binding.
13989 (pascal-mode-map): Remove author preferences.
13991 * pcomplete.el (pcomplete-std-complete): Don't abuse
13992 completion-at-point.
13994 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13996 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13997 removing code that has been dead since 1991 or so.
13999 * startup.el (command-line): When warning about "_emacs", use a
14000 delayed warning to allow the user to filter it out.
14002 2011-04-28 Deniz Dogan <deniz@dogan.se>
14004 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14005 user has not joined.
14007 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14009 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14010 aren't any completions at point.
14012 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14014 * subr.el (display-delayed-warnings): New function.
14015 (delayed-warnings-hook): New variable.
14017 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14019 * minibuffer.el (completion-at-point, completion-help-at-point):
14020 Don't presume that a given completion-at-point-function will always
14021 use the same calling convention.
14023 * pcomplete.el (pcomplete-completions-at-point):
14024 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14025 pcomplete-seen is non-nil.
14026 (pcomplete-comint-setup): Also recognize the new comint/shell
14027 completion functions.
14028 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14029 pcomplete-seen is non-nil.
14031 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14033 * calendar/icalendar.el (diary-lib): Add require statement.
14034 (icalendar--create-uid): Read out a uid from a text-property on
14035 the first character in the entry. This allows for code to add its
14036 own uid to the entry.
14037 (icalendar--convert-float-to-ical): Add export of
14038 `diary-float'-entries save for those with the optional DAY
14041 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14043 * subr.el (shell-quote-argument): Use alternate escaping strategy
14044 when we spot a variable reference in a string.
14046 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14048 * cus-start.el (all): Define customization for debug-on-event.
14050 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14052 * subr.el (shell-quote-argument): Escape correctly under Windows.
14054 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14056 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14058 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14060 * net/tramp.el (tramp-process-actions): Add POS argument.
14061 Delete region between POS and (pos).
14063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14064 Use `nil' position in `tramp-process-actions' call.
14065 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14067 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14068 position in `tramp-process-actions' call.
14070 * net/trampver.el: Update release number.
14072 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14074 * custom.el (defcustom): Obey lexical-binding.
14076 Fix octave-inf completion problems reported by Alexander Klimov.
14077 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14078 Inherit from octave-mode-syntax-table.
14079 (inferior-octave-mode): Set info-lookup-mode.
14080 (inferior-octave-completion-at-point): New function.
14081 (inferior-octave-complete): Use it and completion-in-region.
14082 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14083 comint-filename-completion.
14084 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14085 symbol elements which shouldn't be word elements.
14086 (octave-font-lock-keywords, octave-beginning-of-defun)
14087 (octave-function-header-regexp): Adjust regexps accordingly.
14088 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14090 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14092 * net/gnutls.el (gnutls-errorp): Declare before first use.
14094 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14096 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14097 verify-error, and verify-hostname-error parameters. Check whether
14098 default trustfile exists before going to use it. Add missing
14099 argument to gnutls-message-maybe call. Return value.
14100 Reported by Claudio Bley <claudio.bley@gmail.com>.
14101 (open-gnutls-stream): Add usage example.
14103 * net/network-stream.el (network-stream-open-starttls): Give host
14104 parameter to `gnutls-negotiate'.
14105 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14106 * subr.el (shell-quote-argument): Escape correctly under Windows.
14108 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14111 Use correct match group (bug#8438).
14113 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14115 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14116 (package-menu--generate): New arg specifying packages to show.
14117 (package-menu-refresh, package-menu-execute, list-packages):
14119 (package-show-package-list): New function, replacing deleted
14120 package--list-packages (renamed because it is non-internal).
14122 * finder.el (finder-list-matches): Use package-show-package-list
14123 instead of deleted package--list-packages.
14125 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14126 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14127 (vc-annotate-mode-map): Bind it to RET.
14129 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14131 * progmodes/etags.el (next-file): Don't use set-buffer to change
14132 buffers (Bug#8478).
14134 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14136 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14138 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14139 (apropos-accumulator): Doc fix.
14140 (apropos-function, apropos-macro, apropos-command)
14141 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14142 (apropos-plist): Add face property.
14143 (apropos-symbols-internal): Fix indentation.
14144 (apropos-print): Simplify help, and recognize apropos-multi-type.
14145 (apropos-print-doc): Use button-type-get to extract the button's
14146 face property. Fill docstring (Bug#8352).
14148 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14150 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14152 * play/mpuz.el (mpuz-silent): Doc fix.
14153 (mpuz-mode-map): Use mapc.
14154 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14155 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14156 Fix typos in docstrings.
14158 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14159 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14161 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14163 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14165 * minibuffer.el (completion--do-completion): Avoid the "Next char
14166 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14168 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14169 mouse-2 into unread-command-events, it is interpreted correctly.
14171 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14172 (image-toggle-display): Doc fix.
14174 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14176 * textmodes/page.el (what-page): Use line-number-at-pos to
14177 calculate line number (Bug#6825).
14179 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14181 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14182 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14183 Pass argument NO-DEFAULT to `find-tag-interactive'.
14185 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14187 Lexical-binding cleanup.
14189 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14190 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14191 * progmodes/ada-prj.el (ada-prj-initialize-values)
14192 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14193 (ada-prj-show-value):
14194 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14195 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14196 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14197 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14198 * progmodes/bug-reference.el (bug-reference-push-button):
14199 * progmodes/fortran.el (fortran-line-length):
14200 * progmodes/glasses.el (glasses-change):
14201 * progmodes/octave-mod.el (octave-fill-paragraph):
14202 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14203 (python-pdbtrack-grub-for-buffer, python-sentinel):
14204 * progmodes/sql.el (sql-save-connection):
14205 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14206 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14207 Mark unused parameters.
14209 * progmodes/compile.el (compilation--flush-directory-cache)
14210 (compilation--flush-parse, compile-internal): Mark unused parameters.
14211 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14212 (compilation-next-error-function): Remove unused variable `timestamp'.
14214 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14215 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14217 * progmodes/dcl-mode.el (dcl-end-of-command):
14218 Remove unused variable `start'.
14219 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14220 (dcl-option-value-basic, dcl-option-value-offset)
14221 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14222 Mark unused parameters.
14223 (dcl-save-local-variable): Remove unused variable `val'.
14226 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14227 Mark unused parameters.
14228 (delphi-ignore-changes): Move before first use.
14229 (delphi-charset-token-at): Remove unused variable `start'.
14230 (delphi-else-start): Remove unused variable `if-count'.
14231 (delphi-comment-block-start, delphi-comment-block-end):
14232 Remove unused variable `kind'.
14233 (delphi-indent-line): Remove unused variable `new-point'.
14235 * progmodes/ebrowse.el (ebrowse-files-list)
14236 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14237 Mark unused parameters. Don't quote `lambda'.
14238 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14239 Don't quote `lambda'.
14240 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14241 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14242 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14243 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14244 Use `ignore-errors'.
14245 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14246 (ebrowse-view/find-file-and-search-pattern)
14247 (ebrowse-view/find-member-declaration/definition):
14248 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14249 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14250 Rename parameter PREFIX-ARG to PREFIX.
14251 (ebrowse-tags-read-name): Remove unused variables `start' and
14253 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14256 * progmodes/etags.el (local-find-tag-hook): Declare.
14257 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14258 Mark unused parameters.
14260 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14261 (executable-interpret): Mark unused parameter.
14263 * progmodes/flymake.el (flymake-process-sentinel)
14264 (flymake-after-change-function)
14265 (flymake-create-temp-with-folder-structure)
14266 (flymake-get-include-dirs-dot): Mark unused parameters.
14267 (flymake-safe-delete-directory): Remove unused variable `err'.
14269 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14270 (speedbar-timer-fn, speedbar-line-text)
14271 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14272 (speedbar-center-buffer-smartly): Declare functions.
14273 (gdb-find-watch-expression): Remove unused variable `array'.
14274 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14275 (gdb-starting): Mark unused parameters.
14276 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14277 (gdb-table-string): Remove unused variable `res'.
14278 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14279 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14280 (gdb-display-buffer): Remove unused variable `cur-size'.
14282 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14283 allow lexical-binding compilation.
14284 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14285 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14286 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14287 Mark unused parameters.
14288 (gud-gdb-marker-filter): Remove unused variable `match'.
14289 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14290 lambda expressions and funcall them, instead of using `fset'.
14292 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14293 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14295 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14296 variable `header-beg'; use `let'.
14298 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14299 `restart', `last-sexp' and `at-do'.
14301 * progmodes/js.el (js--debug): Mark unused parameter.
14302 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14303 (js--splice-into-items): Remove unused variable `item'.
14304 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14306 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14307 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14308 (makefile-complete): Remove unused variable `try'.
14309 (makefile-fill-paragraph, makefile-match-function-end):
14310 Mark unused parameters.
14312 * progmodes/octave-inf.el (inferior-octave-complete):
14313 Remove unused variable `proc'.
14314 (inferior-octave-output-digest): Mark unused parameter.
14316 * progmodes/perl-mode.el (perl-calculate-indent):
14317 Remove unused variable `err'.
14319 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14320 (prolog-indent-line): Mark unused parameters.
14321 (prolog-indent-line): Remove unused variable `beg'.
14323 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14324 (reporter-dont-compact-list): Declare.
14326 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14327 Remove unused variable `char'.
14328 (sh-debug): Mark unused parameter.
14329 (sh-get-indent-info): Remove unused variable `start'.
14330 (sh-calculate-indent): Remove unused variable `var'.
14332 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14333 (simula-electric-keyword): Remove unused variable `null'.
14334 (simula-search-backward, simula-search-forward): Remove unused
14335 variables `begin' and `end'.
14337 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14338 Remove unused variable `pos'.
14339 (vera-electric-tab, vera-comment-uncomment-region):
14340 Mark unused parameters.
14341 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14343 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14345 * emacs-lisp/package.el (package--builtins, package-alist)
14346 (package-load-descriptor, package-built-in-p, package-activate)
14347 (define-package, package-installed-p)
14348 (package-compute-transaction, package-buffer-info)
14349 (package--push): Doc fix. Distinguish more clearly between
14350 version strings and version lists.
14352 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14354 Lexical-binding cleanup.
14356 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14357 (5x5-make-mutate-best):
14358 * play/fortune.el (fortune-in-buffer):
14359 * play/gomoku.el (gomoku-init-display):
14360 * play/solitaire.el (solitaire, solitaire-do-check):
14361 * play/tetris.el (tetris-default-update-speed-function):
14362 Mark unused parameters.
14364 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14365 (bubbles--shift): Remove unused variable `char-org'.
14366 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14367 (bubbles--show-images): Remove unused variable `char'.
14369 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14370 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14371 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14372 (decipher-analyze-buffer): Use ?\s.
14373 (decipher-make-checkpoint): Remove unused variable `mapping'.
14375 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14377 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14378 Remove unused variable `result'; use `let'.
14380 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14381 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14382 (gametree-children-shown-p, gametree-compute-reduced-score):
14383 Use `ignore-errors'.
14385 * play/handwrite.el (ps-lpr-switches): Declare.
14386 (handwrite): Remove unused variables `pmin' and `lastp'.
14388 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14390 * play/landmark.el (landmark-init-display)
14391 (landmark-update-naught-weights): Mark unused parameters.
14392 (landmark-y): Remove unused variable `noise'. Simplify.
14393 (landmark-human-plays): Remove unused variable `score'.
14395 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14396 (mpuz-try-proposal): Remove unused variable `game'.
14398 * play/zone.el (life-patterns): Declare.
14400 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14402 * vc/vc.el (ediff-vc-internal): Declare function.
14404 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14406 * shell.el: Use lexical-binding and std completion UI.
14407 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14408 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14409 comint-preoutput-filter-functions rather than on
14410 comint-output-filter-functions.
14411 (shell-command-completion, shell--command-completion-data)
14412 (shell-filename-completion, shell-environment-variable-completion)
14413 (shell-c-a-p-replace-by-expanded-directory): New functions.
14414 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14415 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14416 (shell-dynamic-complete-environment-variable): Use them.
14417 (shell-dynamic-complete-as-environment-variable)
14418 (shell-dynamic-complete-as-command): Remove.
14419 (shell-match-partial-variable): Match past point.
14420 * comint.el: Clean up use of completion-at-point-functions.
14421 (comint-completion-at-point): New function.
14422 (comint-mode): Use it completion-at-point-functions.
14423 (comint-dynamic-complete): Make it obsolete.
14424 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14425 (comint-c-a-p-replace-by-expanded-history): New function.
14426 (comint-dynamic-complete-functions)
14427 (comint-replace-by-expanded-history): Use it.
14428 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14429 termination strings. Try harder to avoid second try-completion.
14430 (completion-in-region-mode-map): Disable bindings that don't work yet.
14432 * comint.el: Use lexical-binding. Require CL.
14433 (comint-dynamic-complete-functions): Use comint-filename-completion.
14434 (comint-completion-addsuffix): Tweak custom type.
14435 (comint-filename-completion, comint--common-suffix)
14436 (comint--common-quoted-suffix, comint--table-subvert)
14437 (comint--complete-file-name-data): New functions.
14438 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14439 (comint-dynamic-list-filename-completions): Use them.
14440 (comint-dynamic-simple-complete): Make obsolete.
14442 * minibuffer.el (completion-in-region-mode):
14443 Keep completion-in-region-mode--predicate global.
14444 (completion-in-region--postch):
14445 Assume completion-in-region-mode--predicate is not null.
14447 * progmodes/flymake.el (flymake-start-syntax-check-process):
14448 Obey `dir'. Simplify.
14450 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14451 we're in VC after all.
14453 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14455 * vc/vc.el (vc-diff-build-argument-list-internal)
14456 (vc-version-ediff, vc-ediff): New commands.
14457 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14459 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14461 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14464 * obsolete/erc-hecomplete.el: Make obsolete.
14465 * obsolete/: Standardize obsolescence info in the header.
14467 2011-04-20 Glenn Morris <rgm@gnu.org>
14469 * calendar/solar.el (solar-horizontal-coordinates):
14470 Use the longitude argument rather than `calendar-longitude'.
14471 (solar-date-next-longitude): Remove unused locals.
14473 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14475 * whitespace.el: New version 13.2.1.
14477 2011-04-20 felix <EmacsWiki> (tiny change)
14479 * whitespace.el (global-whitespace-mode): Keep highlight when
14480 switching between major modes on a file.
14482 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14484 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14485 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14486 multi-line comments as well.
14488 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14490 Lexical-binding cleanup.
14492 * arc-mode.el (archive-mode-revert):
14493 * cmuscheme.el (scheme-interactively-start-process):
14494 * custom.el (custom-initialize-delay):
14495 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14496 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14497 * emacs-lock.el (emacs-lock-clear-sentinel):
14498 * ezimage.el (defezimage):
14499 * follow.el (follow-avoid-tail-recenter):
14500 * fringe.el (set-fringe-mode-1):
14501 * generic-x.el (bat-generic-mode-compile):
14502 * help-mode.el (help-info-variable, help-do-xref)
14503 (help-mode-revert-buffer):
14504 * help.el (view-emacs-todo):
14505 * iswitchb.el (iswitchb-completion-help):
14506 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14507 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14508 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14509 * locate.el (locate-update):
14510 * longlines.el (longlines-encode-region)
14511 (longlines-after-change-function):
14512 * outline.el (outline-isearch-open-invisible):
14513 * ps-def.el (declare-function, charset-dimension, char-width)
14515 * ps-mule.el (ps-mule-plot-string):
14516 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14517 (recentf-edit-list-select, recentf-edit-list-validate)
14518 (recentf-open-files-action):
14519 * rect.el (delete-whitespace-rectangle-line)
14520 (rectangle-number-line-callback):
14521 * register.el (window-configuration-to-register)
14522 (frame-configuration-to-register):
14523 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14524 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14525 (xselect-convert-to-targets, xselect-convert-to-delete)
14526 (xselect-convert-to-filename, xselect-convert-to-charpos)
14527 (xselect-convert-to-lineno, xselect-convert-to-colno)
14528 (xselect-convert-to-os, xselect-convert-to-host)
14529 (xselect-convert-to-user, xselect-convert-to-class)
14530 (xselect-convert-to-name, xselect-convert-to-integer)
14531 (xselect-convert-to-atom, xselect-convert-to-identity):
14532 * subr.el (declare, ignore, process-kill-without-query)
14533 (text-clone-maintain):
14534 * terminal.el (te-get-char, te-tic-sentinel):
14535 * tool-bar.el (tool-bar-make-keymap):
14536 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14537 * type-break.el (type-break-mode, type-break-noninteractive-query):
14538 * view.el (View-back-to-mark):
14539 * wid-browse.el (widget-browse-action, widget-browse-widget)
14540 (widget-browse-widgets, widget-browse-sexp):
14541 * widget.el (define-widget-keywords):
14542 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14543 Mark unused parameters.
14545 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14546 (align-areas): Remove unused variable `look'.
14547 (align-region): Remove unused variables `real-end' and `pos-list'.
14549 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14551 * bindings.el (mode-line-modified, mode-line-remote):
14552 Mark unused parameters.
14553 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14555 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14556 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14558 * comint.el (comint-history-isearch-pop-state)
14559 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14560 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14561 (comint-substitute-in-file-name): Doc fix.
14563 * completion.el (cmpl-statistics-block): Mark unused parameter.
14564 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14565 (save-completions-to-file, load-completions-from-file):
14566 Remove unused local variable `e'.
14568 * composite.el (compose-chars): Remove unused variable `len'.
14569 (lgstring-insert-glyph): Remove unused variable `g'.
14570 (compose-glyph-string): Remove unused variables `ascent',
14571 `descent', `lbearing' and `rbearing'.
14572 (compose-glyph-string-relative): Remove unused variables
14573 `lbearing', `rbearing' and `wadjust'.
14574 (compose-gstring-for-graphic): Remove unused variables `header',
14575 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14576 (compose-gstring-for-terminal): Remove unused variables `header'
14577 and `nchars'. Use `let', not `let*'.
14579 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14580 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14581 (Custom-buffer-done, custom-buffer-create-internal)
14582 (custom-browse-visibility-action, custom-browse-group-tag-action)
14583 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14584 (widget-magic-mouse-down-action, custom-toggle-parent)
14585 (custom-add-parent-links, custom-toggle-hide-variable)
14586 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14587 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14588 (custom-face-menu-create, custom-variable-menu-create, get)
14589 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14590 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14591 (customize-apropos): Remove unused variable `tests'.
14592 (custom-group-value-create): Remove unused variable `hidden-p'.
14593 (sort-fold-case): Declare.
14595 * cus-theme.el (custom-reset-standard-faces-list)
14596 (custom-reset-standard-variables-list): Declare.
14597 (customize-create-theme, custom-theme-revert, custom-theme-write)
14598 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14599 Mark unused parameters.
14601 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14603 * delim-col.el (delimit-columns-max): Move defvar before first use.
14605 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14606 (describe-char): Don't quote `lambda'. Mark unused parameter.
14608 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14609 (auto-insert): Declare.
14610 (desktop-restore-file-buffer): Rename desktop-* parameters;
14612 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14613 (desktop-buffer): Rename desktop-* parameters.
14615 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14616 (dframe-reposition-frame-xemacs, dframe-help-echo)
14617 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14618 Mark unused parameters.
14620 * dired-aux.el (backup-extract-version-start, overwrite-query)
14621 (overwrite-backup-query, rename-regexp-query)
14622 (rename-non-directory-query): Declare.
14623 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14624 (dired-add-entry): Remove unused variable `orig-file-name'.
14625 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14626 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14627 `dired-copy-preserve-time' directly.
14628 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14629 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14631 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14632 (dired-virtual-revert, dired-make-relative-symlink):
14633 Mark unused parameters.
14634 (manual-program): Declare.
14635 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14636 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14637 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14639 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14641 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14643 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14646 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14648 * electric.el (Electric-command-loop): Rename parameter
14649 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14651 * expand.el (expand-in-literal): Remove unused variable `here'.
14653 * facemenu.el (facemenu-add-new-color):
14654 Remove unused variable `docstring'.
14656 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14657 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14658 (face-attr-construct): Mark unused parameter. Doc fix.
14659 (read-color): Remove unused variable `hex-string'.
14661 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14662 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14663 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14664 (display-buffer-other-frame): Remove unused variable `old-window'.
14665 (kill-buffer-hook): Declare.
14666 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14667 Mark unused parameters.
14668 (after-find-file): Pass 1 to `auto-save-mode', not t.
14670 * files-x.el (auto-insert): Declare.
14671 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14673 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14674 variable `buf'. Mark unused parameter.
14675 (find-lisp-insert-directory): Mark unused parameter.
14677 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14678 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14679 (format-common-tail): Remove, unused.
14680 (format-deannotate-region): Remove unused variable `loc'.
14681 (format-annotate-region): Remove unused variable `p'.
14682 (format-annotate-single-property-change): Remove unused variables
14683 `default' and `tail'.
14685 * forms.el (read-file-filter): Declare.
14686 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14688 * frame.el (frame-creation-function-alist): Mark unused parameter.
14689 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14691 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14692 Remove unused parameters.
14693 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14694 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14696 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14697 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14698 (hfy-prepare-tag-map): Mark unused parameters.
14699 (htmlfontify-buffer): Use `called-interactively-p'.
14701 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14702 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14703 (ibuffer-do-occur): Mark unused parameters.
14704 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14705 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14707 * ibuffer.el: Don't quote `lambda'.
14708 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14709 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14710 Mark unused parameters.
14712 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14713 (ido-completing-read): Mark unused parameters.
14714 (ido-copy-current-word): Mark unused parameters;
14715 remove unused variable `name'.
14716 (ido-sort-merged-list): Remove unused parameter `dirs'.
14718 * ielm.el (ielm-input-sender): Mark unused parameter.
14719 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14720 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14721 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14722 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14723 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14725 * image-dired.el (image-dired-display-thumbs): Remove unused
14726 variables `curr-file' and `count'.
14727 (image-dired-remove-tag): Remove unused variable `start'.
14728 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14729 variable `curr-file'
14730 (image-dired-rotate-original): Remove unused variable `temp-file'.
14731 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14732 Remove unused variable `file'.
14733 (image-dired-gallery-generate): Remove unused variable `curr'.
14734 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14736 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14738 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14740 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14742 * isearch.el (minibuffer-history-symbol): Declare.
14743 (isearch-edit-string): Remove unused variable `err'.
14744 (isearch-message-prefix, isearch-message-suffix):
14745 Mark unused parameters.
14747 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14749 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14751 * makesum.el (double-column): Remove unused variable `cnt'.
14753 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14754 (ido-ignore-item-temp-list): Declare.
14756 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14757 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14758 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14759 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14762 * mouse-sel.el (mouse-extend-internal):
14763 Remove unused variable `orig-window-frame'.
14765 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14766 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14767 Move declarations before first use.
14768 (pcomplete-opt): Mark unused parameters; doc fix.
14770 * proced.el (proced-revert): Mark unused parameter.
14771 (proced-send-signal): Remove unused variable `err'.
14773 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14774 Rename parameter PREFIX-ARG to ARG.
14775 (ps-basic-plot-string, ps-basic-plot-whitespace):
14776 Mark unused parameters.
14778 * replace.el (replace-count): Define.
14779 (occur-revert-function): Mark unused parameters.
14780 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14781 (isearch-case-fold-search, isearch-string): Declare.
14782 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14783 bind `case-fold-search'. Remove unused variables `beg' and `end',
14785 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14786 COUNT and bind `replace-count'.
14787 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14790 * savehist.el (print-readably, print-string-length): Declare.
14792 * shadowfile.el (shadow-expand-cluster-in-file-name):
14793 Remove unused variable `cluster'.
14794 (shadow-copy-file): Remove unused variable `i'.
14795 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14796 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14797 (shadow-define-literal-group, shadow-define-regexp-group)
14798 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14800 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14801 (shell): Use `called-interactively-p'.
14802 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14804 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14805 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14806 (delete-backward-char): Remove unused variable `ocol'.
14807 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14808 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14809 (event-apply-hyper-modifier, event-apply-shift-modifier)
14810 (event-apply-control-modifier, event-apply-meta-modifier):
14811 Mark unused parameters.
14812 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14813 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14815 * speedbar.el (speedbar-ignored-directory-expressions)
14816 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14817 (speedbar-find-file, speedbar-dir-follow)
14818 (speedbar-directory-buttons-follow, speedbar-tag-find)
14819 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14820 (speedbar-buffers-line-directory, speedbar-buffer-click):
14821 Mark unused parameters.
14822 (speedbar-tag-file): Remove unused variable `mode'.
14823 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14825 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14827 * talk.el (talk): Remove unused variable `display'.
14829 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14830 (tar-write-region-annotate): Mark unused parameter.
14832 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14833 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14834 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14835 warning by another.
14837 * time-stamp.el (time-stamp-string-preprocess):
14838 Remove unused variable `require-padding'.
14840 * tree-widget.el (widget-glyph-enable): Declare.
14841 (tree-widget-action): Mark unused parameter.
14843 * w32-fns.el (x-get-selection): Mark unused parameter.
14844 (autoload-make-program, generated-autoload-file): Declare.
14846 * wdired.el (wdired-revert): Mark unused parameters.
14847 (wdired-xcase-word): Remove unused variable `err'.
14849 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14850 (whitespace-help-scroll): Remove unused variable `data-help'.
14852 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14853 (widget-image-insert, widget-after-change, default)
14854 (widget-default-format-handler, widget-default-notify)
14855 (widget-default-prompt-value, widget-info-link-action)
14856 (widget-url-link-action, widget-function-link-action)
14857 (widget-variable-link-action, widget-file-link-action)
14858 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14859 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14860 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14861 (widget-insert-button-action, widget-delete-button-action, visibility)
14862 (widget-documentation-link-action, widget-documentation-string-action)
14863 (widget-const-prompt-value, widget-regexp-match, symbol)
14864 (widget-coding-system-prompt-value)
14865 (widget-key-sequence-value-to-external, sexp)
14866 (widget-sexp-value-to-internal, character, vector, cons)
14867 (widget-choice-prompt-value, widget-boolean-prompt-value)
14868 (widget-color--choose-action): Mark unused parameters.
14869 (widget-item-match-inline, widget-choice-match-inline)
14870 (widget-checklist-match, widget-checklist-match-inline)
14871 (widget-group-match): Rename parameter VALUES to VALS.
14872 (widget-field-value-set): Remove unused variable `size'.
14873 (widget-color-action): Remove unused variables `value' and `start'.
14875 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14876 variable `dir'. Doc fix.
14877 (windmove-find-other-window): Don't pass it.
14879 * window.el (count-windows): Mark unused parameter.
14880 (bw-adjust-window): Remove unused variable `err'.
14882 * woman.el (woman-file-name): Remove unused variable `default'.
14883 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14884 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14885 (global-font-lock-mode): Declare.
14886 (woman-decode-region): Mark unused parameter.
14887 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14889 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14890 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14891 (x-dnd-handle-moz-url): Remove unused variable `title'.
14892 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14894 * xml.el (xml-parse-tag, xml-parse-attlist):
14895 Remove unused variable `pos'.
14897 2011-04-19 Glenn Morris <rgm@gnu.org>
14899 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14900 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14901 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14902 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14903 * calendar/cal-html.el (cal-html-insert-minical):
14904 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14905 (calendar-mark-date-pattern):
14906 Prefix "unused" locals.
14908 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14909 optional argument `style'.
14911 * calendar/appt.el (appt-make-list):
14912 * calendar/cal-china.el (calendar-chinese-date-string):
14913 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14914 (diary-hebrew-yahrzeit):
14915 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14916 * calendar/calendar.el (calendar-generate-window):
14917 * calendar/time-date.el (time-to-days):
14918 Remove unused local variables.
14920 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14923 glyphless-char-display table.
14924 (tabulated-list-glyphless-char-display): New var.
14926 2011-04-18 Sam Steingold <sds@gnu.org>
14928 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14929 to acknowledgments.
14931 2011-04-17 Glenn Morris <rgm@gnu.org>
14933 * calendar/diary-lib.el (diary-sexp-entry):
14934 * calendar/holidays.el (holiday-sexp):
14935 Set debug-on-error rather than the removed stack-trace-on-error.
14937 2011-04-16 Glenn Morris <rgm@gnu.org>
14939 * progmodes/f90.el: Use lexical-binding.
14940 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14942 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14944 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14945 (mail-mode): Setup mailalias completion here instead.
14946 * mail/mailalias.el: Use lexical-binding.
14947 (pattern, mailalias-done): Declare dynamic.
14948 (mail-completion-at-point-function): New function, from mail-complete.
14949 (mail-complete): Use it.
14950 (mail-completion-expand): New function.
14951 (mail-get-names): Use it.
14952 (mail-directory, mail-directory-process, mail-directory-stream):
14953 Don't use `pattern' for lexically bound arg.
14955 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14957 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14958 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14959 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14961 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14962 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14963 (byte-interactive-p): Define them again, for use when inlining
14966 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14968 * loadup.el: Use `string-to-number', not `string-to-int'.
14970 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14972 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14973 gud-gdb-complete-command.
14974 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14975 (gud-gdb-completion-at-point): New function.
14976 (gud-gdb-completions): Remove.
14978 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14980 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14981 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14982 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14983 whether `executable-find' is bound.
14985 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14987 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14989 * minibuffer.el (completion-in-region-mode-predicate)
14990 (completion-in-region-mode--predicate): New vars.
14991 (completion-in-region, completion-in-region--postch)
14992 (completion-in-region-mode): Use them.
14993 (completion--capf-wrapper): Also return the hook function.
14994 (completion-at-point, completion-help-at-point):
14995 Adjust and provide a predicate.
14997 Preserve arg names for advice of subr and lexical functions (bug#8457).
14998 * help-fns.el (help-function-arglist): Consolidate the subr and
14999 new-byte-code cases. Add argument `preserve-names' to extract names
15000 from the docstring when needed.
15001 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15002 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15003 (ad-arglist): Use help-function-arglist's new arg.
15004 (ad-definition-type): Use cond.
15006 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15008 * autorevert.el (auto-revert-handler):
15009 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15010 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15011 Don't quote lambda.
15013 * image-mode.el (image-transform-set-scale):
15014 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15016 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018 * net/network-stream.el (network-stream-open-starttls): Only do
15019 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15020 Upgrades via gnutls-cli are too slow to be done opportunistically.
15022 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15024 * dframe.el (dframe-current-frame): Remove spurious quote.
15026 2011-04-12 Glenn Morris <rgm@gnu.org>
15028 * calendar/cal-tex.el (cal-tex-end-document):
15029 Try to automatically use latin1 input if needed.
15031 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15032 Don't try to cons a mark onto an empty element.
15034 2011-04-11 Leo Liu <sdl.web@gmail.com>
15036 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15038 (ido-kill-buffer-at-head): Support killing virtual buffers.
15040 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15042 * minibuffer.el (completion-show-inline-help): New var.
15043 (completion--do-completion, minibuffer-complete)
15044 (minibuffer-force-complete, minibuffer-complete-word):
15045 Inhibit minibuffer messages if completion-show-inline-help is nil.
15047 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15048 to avoid interference from inline help (Bug#5849).
15050 2011-04-10 Leo Liu <sdl.web@gmail.com>
15052 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15055 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15057 * image-mode.el (image-toggle-display-image): Signal an error if
15059 (image-transform-mode, image-transform-resize)
15060 (image-transform-set-rotation): Doc fix.
15061 (image-transform-set-resize): Delete.
15062 (image-transform-set-scale, image-transform-fit-to-height)
15063 (image-transform-fit-to-width): Handle image-toggle-display-image
15064 and image-transform-resize directly.
15066 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15068 * doc-view.el (doc-view-fit-width-to-window)
15069 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15070 New functions for fitting the shown image to the Emacs window size.
15071 (doc-view-mode-map): Add bindings for the new functions.
15073 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15075 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15076 Fix typo in docstring.
15078 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15080 * files.el (file-size-human-readable): Produce one digit after
15081 decimal, like "ls -lh" does.
15083 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15084 the file size representation.
15086 * simple.el (list-processes): If async subprocesses are not
15087 available, error out with a clear error message.
15089 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15091 * help.el (help-form-show): New function, to be called from C.
15092 Put help-form output in a buffer named differently than *Help*.
15094 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15096 * files.el (file-size-human-readable): New function.
15098 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15099 computing the representation inline. Don't require `cl'.
15101 2011-04-08 Glenn Morris <rgm@gnu.org>
15103 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15105 * net/browse-url.el (browse-url-firefox):
15106 Test system-type, not system-configuration.
15108 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15109 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15110 Use log-edit-empty-buffer-p. (Bug#7598)
15112 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15113 (rlogin-mode-map): Initialize in the defvar.
15114 (rlogin): Use ignore-errors.
15116 * replace.el (occur-mode-map): Some fixes for menu items.
15118 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15120 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15122 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15124 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15125 issuing unused warnings.
15127 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15130 * simple.el: Lisp reimplement of list-processes. Based on an
15131 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15132 (process-menu-mode): New major mode.
15133 (list-processes--refresh, list-processes):
15134 (process-menu-visit-buffer): New functions.
15136 * files.el (save-buffers-kill-emacs): Don't assume any return
15137 value of list-processes, which is undocumented anyway.
15139 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15141 * emacs-lisp/tabulated-list.el: New file.
15143 * emacs-lisp/package.el: Use Tabulated List mode.
15144 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15145 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15146 table format using Tabulated List mode variables.
15147 (package--push): New macro, replacing package-list-maybe-add.
15148 (package-menu--generate): Use package--push. Renamed from
15149 package--generate-package-list.
15150 (package-menu-refresh, list-packages): Use it.
15151 (package-menu--print-info): Rename from package-print-package.
15152 Return insertion data instead of inserting it directly.
15153 (package-menu-describe-package, package-menu-execute):
15154 Use tabulated-list-get-id.
15155 (package-menu-mark-delete, package-menu-mark-install)
15156 (package-menu-mark-unmark, package-menu-backup-unmark)
15157 (package-menu-mark-obsolete-for-deletion):
15158 Use tabulated-list-put-tag.
15159 (package--list-packages, package-menu-revert)
15160 (package-menu-get-package, package-menu-get-version)
15161 (package-menu-sort-by-column): Functions deleted.
15162 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15163 (package-menu--status-predicate, package-menu--version-predicate)
15164 (package-menu--name-predicate)
15165 (package-menu--description-predicate): Handle arguments in the
15166 Tabulated List format.
15167 (package-list-packages-no-fetch): Call list-packages.
15169 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15171 * files.el (after-find-file-from-revert-buffer): Remove variable.
15172 (after-find-file): Don't bind it.
15173 (revert-buffer-in-progress-p): New variable.
15174 (revert-buffer): Bind it.
15175 Pass nil for `after-find-file-from-revert-buffer'.
15177 * saveplace.el (save-place-find-file-hook): Use new variable
15178 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15180 2011-04-06 Glenn Morris <rgm@gnu.org>
15182 * Makefile.in (AUTOGEN_VCS): New variable.
15183 (autoloads): Use $AUTOGEN_VCS.
15185 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15186 * calendar/calendar.el (calendar-mode-map):
15187 Check for toolkit scroll bars. (Bug#8305)
15189 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15191 * minibuffer.el (completion-in-region--postch)
15192 (completion-in-region-mode): Remove unnecessary messages.
15194 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15196 * font-lock.el (font-lock-refresh-defaults):
15197 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15198 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15200 * info.el (Info-directory-list, Info-read-node-name-2)
15201 (Info-split-parameter-string): Doc fixes.
15202 (Info-virtual-nodes): Reflow docstring.
15203 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15204 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15205 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15206 Fix typos in docstrings.
15207 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15208 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15209 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15210 (Info-restore-desktop-buffer): Mark unused parameters.
15211 (Info-directory-find-file, Info-directory-find-node)
15212 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15213 (Info-virtual-index-find-node, Info-apropos-find-file)
15214 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15215 Mark unused parameters; fix typos in docstrings.
15216 (Info-virtual-index): Remove unused local variable `nodename'.
15218 2011-04-05 Deniz Dogan <deniz@dogan.se>
15220 * net/rcirc.el: Update my e-mail address.
15221 (rcirc-mode-map): Remove M-o binding.
15223 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15225 * startup.el (command-line): Save the cursor's theme-face
15226 directly, instead of using face-override-spec.
15228 * custom.el (load-theme): Minor optimization in assigning faces.
15230 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15232 * help-fns.el (describe-variable): Complete all variables having
15233 documentation, including keywords.
15234 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15236 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15238 Convert to lexical-binding.
15240 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15241 (bs--get-marked-string, bs--get-modified-string)
15242 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15243 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15244 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15246 * ehelp.el (electric-help-execute-extended)
15247 (electric-help-ctrl-x-prefix):
15248 * hexl.el (hexl-revert-buffer-function):
15249 * linum.el (linum-after-change, linum-after-scroll):
15250 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15252 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15254 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15261 * epg.el: Use lexical binding.
15263 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15265 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15267 * textmodes/flyspell.el (flyspell-word): Recognize default
15268 dictionary case for flyspell-mark-duplications-exceptions.
15269 Use regexp matching for languages.
15270 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15271 default dictionary (Bug#7926).
15273 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15275 * emacs-lisp/package.el (package--with-work-buffer):
15276 Recognize https URLs.
15278 * net/network-stream.el: Move from gnus/proto-stream.el.
15279 Change prefix to network-stream throughout.
15280 (open-protocol-stream): Merge into open-network-stream, leaving
15281 open-protocol-stream as an alias. Handle nil BUFFER args.
15283 * subr.el (open-network-stream): Move to net/network-stream.el.
15285 2011-04-02 Glenn Morris <rgm@gnu.org>
15287 * find-dired.el (find-exec-terminator): New option.
15288 (find-ls-option): Test for -ls support.
15289 (find-ls-subdir-switches): Test for -b in find-ls-option.
15290 (find-dired, find-grep-dired): Doc fixes.
15291 (find-dired): Use find-exec-terminator.
15293 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15294 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15295 (find-name-arg): Remove purecopy.
15297 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15298 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15299 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15300 accordingly. Don't add the null-device if not needed.
15302 * files.el (save-some-buffers): Doc fix.
15304 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15306 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15308 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15310 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15311 Use `dolist' rather than `mapcar'.
15313 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15315 Add lexical binding.
15317 * subr.el (apply-partially): Use new closures rather than CL.
15318 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15319 (dolist, dotimes): Use slightly different expansion for lexical code.
15320 (functionp): Move to C.
15321 (letrec): New macro.
15322 (with-wrapper-hook): Use it and apply-partially instead of CL.
15323 (eval-after-load): Preserve lexical-binding.
15324 (save-window-excursion, with-output-to-temp-buffer): Turn them
15327 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15329 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15331 (help-add-fundoc-usage): Don't add `Not documented'.
15332 (help-function-arglist): Handle closures, subroutines, and new
15333 byte-code-functions.
15334 (help-make-usage): Remove leading underscores.
15335 (describe-function-1): Handle closures.
15336 (describe-variable): Use special-variable-p for completion.
15338 * files.el (lexical-binding): Declare safe.
15340 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15341 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15342 (pcase): Add `let' pattern.
15343 Change memoization so it actually works.
15344 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15345 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15348 * emacs-lisp/macroexp.el: Use lexical binding.
15349 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15350 Don't convert ' to #' without checking that it's indeed quoting
15353 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15354 Use eval-sexp-add-defvars.
15355 (eval-sexp-add-defvars): New fun.
15357 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15359 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15361 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15362 than the internal `byte-compile-lambda'.
15363 (defmethod): Don't hide code under quotes.
15364 (eieio-defmethod): New `code' argument.
15366 * emacs-lisp/eieio-comp.el: Remove.
15368 * emacs-lisp/edebug.el (edebug-eval-defun)
15369 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15370 (edebug-toggle): Avoid `eval'.
15372 * emacs-lisp/disass.el (disassemble-internal): Handle new
15374 (disassemble-1): Handle new byte codes.
15376 * emacs-lisp/cl.el (pushnew): Silence warning.
15378 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15379 (cl-byte-compile-throw): Remove.
15380 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15382 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15385 * emacs-lisp/cconv.el: New file.
15387 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15388 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15389 (byte-compile-initial-macro-environment):
15390 Handle declare-function here.
15391 (byte-compile--lexical-environment): New var.
15392 (byte-stack-ref, byte-stack-set, byte-discardN)
15393 (byte-discardN-preserve-tos): New lap codes.
15394 (byte-interactive-p): Don't use any more.
15395 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15397 (byte-compile-lapcode): Use them and handle new lap codes.
15398 (byte-compile-obsolete): Remove.
15399 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15400 (byte-compile-arglist-warn): Check late def of inlinable funs.
15401 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15402 since they should have been expanded by now.
15403 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15404 (byte-compile-from-buffer): Remove unused second arg.
15405 (byte-compile-preprocess): New function.
15406 (byte-compile-toplevel-file-form): New function to distinguish
15407 file-form calls from outside from file-form calls from hunk-handlers.
15408 (byte-compile-file-form): Simplify.
15409 (byte-compile-file-form-defsubst): Remove.
15410 (byte-compile-file-form-defmumble): Simplify now that
15411 byte-compile-lambda always returns a byte-code-function.
15412 (byte-compile): Preprocess.
15413 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15414 Remove, not used any more.
15415 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15416 (byte-compile-make-args-desc): New funs.
15417 (byte-compile-lambda): Handle lexical functions. Always return
15418 a byte-code-function.
15419 (byte-compile-reserved-constants): New var, to make up room for
15420 closed-over variables.
15421 (byte-compile-constants-vector): Obey it.
15422 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15423 (byte-compile-macroexpand-declare-function): New function.
15424 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15425 byte-code-functions.
15426 (byte-compile-form): Check obsolescence here.
15427 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15428 (byte-compile-variable-ref): Remove.
15429 (byte-compile-dynamic-variable-op): New fun.
15430 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15431 (byte-compile-variable-set): New funs.
15432 (byte-compile-discard): Add 2 args.
15433 (byte-compile-stack-ref, byte-compile-stack-set)
15434 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15435 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15436 macroexpand-all instead.
15437 (byte-compile-quote-form): Remove.
15438 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15439 (byte-compile-bind, byte-compile-unbind): New funs.
15440 (byte-compile-let): Handle let* and lexical binding.
15441 (byte-compile-let*): Remove.
15442 (byte-compile-catch, byte-compile-unwind-protect)
15443 (byte-compile-track-mouse, byte-compile-condition-case):
15444 Handle a new :fun-body form, used for lexical scoping.
15445 (byte-compile-save-window-excursion)
15446 (byte-compile-with-output-to-temp-buffer): Remove.
15447 (byte-compile-defun): Simplify.
15448 (byte-compile-stack-adjustment): New fun.
15449 (byte-compile-out): Use it.
15450 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15452 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15455 * emacs-lisp/byte-opt.el: Use lexical binding.
15456 (byte-inline-lapcode): Remove (to bytecomp).
15457 (byte-compile-inline-expand): Pay attention to inlining to/from
15458 lexically bound code.
15459 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15461 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15462 any more and don't call compiler-macros.
15463 (byte-compile-splice-in-already-compiled-code): Remove.
15464 (byte-code): Don't inline any more.
15465 (disassemble-offset): Receive `bytes' as argument rather than via
15467 (byte-compile-tag-number): Declare before first use.
15468 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15469 `return' even if make-spliceable.
15470 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15471 obsolete interactive-p.
15472 (byte-optimize-lapcode): Optimize new lap-codes.
15473 Don't trip up on new form of `byte-constant' lap code.
15475 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15477 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15479 * custom.el (custom-initialize-default, custom-declare-variable):
15482 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15484 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15485 (COMPILE_FIRST): Add macroexp and cconv.
15486 * makefile.w32-in: Mirror changes in Makefile.in.
15488 * vc/cvs-status.el:
15492 * vc/smerge-mode.el:
15493 * textmodes/bibtex-style.el:
15494 * textmodes/css.el:
15502 * emacs-lisp/smie.el:
15505 * abbrev.el: Use lexical binding.
15507 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15509 * info.el (info-display-manual): New function.
15511 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15515 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15517 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15518 an entry for that server in rcirc-authinfo. (Bug#8385)
15520 2011-03-31 Glenn Morris <rgm@gnu.org>
15522 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15524 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15526 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15528 * progmodes/python.el (python-default-interpreter)
15529 (python-python-command-args, python-jython-command-args)
15530 (python-which-shell, python-which-args, python-which-bufname)
15531 (python-file-queue, python-comint-output-filter-function)
15532 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15533 variables and functions.
15535 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15537 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15538 (completion-in-region-mode): New minor mode.
15539 (completion-in-region): Use it.
15540 (completion-in-region--data, completion-in-region-mode-map): New vars.
15541 (completion-in-region--postch): New function.
15542 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15544 (completion--capf-wrapper): New function.
15545 (completion-at-point): Use it to track well-behavedness of
15547 (completion-help-at-point): New command.
15549 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15551 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15552 syntax class to search for whitespace on a single line
15553 (Message-ID: <4D938140.4030905@redhat.com>).
15555 2011-03-30 Leo Liu <sdl.web@gmail.com>
15557 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15559 (edit-abbrevs-map): Bind them here.
15560 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15562 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15564 * allout.el (allout-hide-by-annotation, allout-flag-region):
15565 Reduce possibility of overlay leakage by making them volatile.
15567 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15568 hash is not shared between buffers. Mode initialization is
15569 responsible for giving it a useful starting value.
15570 (allout-item-span): Reduce possibility of overlay leakage by
15571 making them volatile.
15572 (allout-widgets-count-buttons-in-region): Add diagnostic function
15573 for tracking down button overlay leaks.
15575 2011-03-29 Leo Liu <sdl.web@gmail.com>
15577 * ido.el (ido-read-internal): Use the default history var
15578 minibuffer-history if no HISTORY is specified.
15580 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15582 * net/imap.el (imap-shell-open, imap-process-connection-type):
15583 Use imap-process-connection-type for 'shell' streams as well as
15584 Kerberos, SSL, other subprocesses.
15586 2011-03-28 Leo Liu <sdl.web@gmail.com>
15588 * abbrev.el (abbrev-table-empty-p): New function.
15589 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15590 nonempty ones. (Bug#5937)
15592 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15594 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15596 2011-03-27 Leo Liu <sdl.web@gmail.com>
15598 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15599 for foreground and background colors.
15600 (ansi-color-make-color-map): Adapt.
15602 2011-03-25 Leo Liu <sdl.web@gmail.com>
15604 * midnight.el (midnight-time-float): Remove. Note it calculates
15605 the microsecond component incorrectly and seconds-to-time does the
15607 Remove redundant (require 'timer).
15609 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15610 (ido-completions): Remove unused arguments. (Bug#8329)
15612 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15614 * minibuffer.el (completion--flush-all-sorted-completions):
15615 Remove itself from hook.
15616 (completion-at-point): Let the functions perform the completion
15617 immediately and return nil or t.
15618 * comint.el (comint-dynamic-complete-functions): Now identical to
15619 completion-at-point-functions.
15620 (comint-dynamic-list-input-ring): Remove unused var `index'.
15621 (comint--match-partial-filename, comint--unquote&expand-filename):
15622 New funs, split from comint-match-partial-filename.
15623 (comint-dynamic-complete): Use completion-at-point.
15624 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15626 2011-03-24 Drew Adams <drew.adams@oracle.com>
15628 * thingatpt.el: Support `defun'.
15630 2011-03-23 Leo Liu <sdl.web@gmail.com>
15632 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15634 * help-mode.el (help-mode-finish): Tweak regexp.
15636 2011-03-23 Glenn Morris <rgm@gnu.org>
15638 * eshell/esh-opt.el (eshell-eval-using-options):
15639 Do not bind unused local variable `eshell-option-stub'.
15641 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15643 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15645 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15646 keymap variable in `with-no-warnings' to avoid a warning when the
15647 keymap has been already `defconst'ed.
15649 2011-03-22 Leo Liu <sdl.web@gmail.com>
15651 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15652 encode all chars in abbrevs; otherwise use emacs-mule or
15653 utf-8-emacs. (Bug#8308)
15655 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15657 * simple.el (backward-delete-char-untabify):
15658 Avoid warning about using `delete-backward-char'.
15660 * image.el (image-type-file-name-regexps): Make it variable.
15661 `imagemagick-register-types' modifies it, and the user may want
15662 to add new extensions for known image types.
15663 (imagemagick-register-types): Throw error if not using ImageMagick.
15665 2011-03-22 Leo Liu <sdl.web@gmail.com>
15667 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15668 located before rcirc-prompt-end-marker.
15669 (rcirc-complete): Error if point is not after rcirc prompt.
15670 Handle the case when table is nil.
15671 (rcirc-user-authenticated): Define to fix compiler warning.
15673 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15675 * custom.el (custom--inhibit-theme-enable): Make it affect only
15676 custom-theme-set-variables and custom-theme-set-faces.
15677 (provide-theme): Ignore custom--inhibit-theme-enable.
15678 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15679 (custom-enabling-themes): Delete variable.
15680 (enable-theme): Accept only loaded themes as arguments.
15681 Ignore the special custom-enabled-themes variable.
15682 (custom-enabled-themes): Forbid themes from setting this.
15683 Eliminate use of custom-enabling-themes.
15684 (custom-push-theme): Quote "changed" custom var entry.
15686 2011-03-21 Leo Liu <sdl.web@gmail.com>
15688 * ido.el (ido-read-internal): Add ido-selected to history instead
15691 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15693 * subr.el (deferred-action-list, deferred-action-function):
15696 2011-03-21 Leo Liu <sdl.web@gmail.com>
15698 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15699 change on 2011-02-13 (bug#8309).
15701 * minibuffer.el (read-file-name-function): Change default value.
15702 (read-file-name--defaults): Rename from read-file-name-defaults.
15703 (read-file-name-default): Rename from read-file-name.
15704 (read-file-name): Call read-file-name-function.
15706 2011-03-21 Glenn Morris <rgm@gnu.org>
15708 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15711 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15713 * cus-theme.el: Add missing provide statement.
15714 (customize-create-theme): Extract theme value correctly.
15715 (custom-theme-visit-theme): Autoload.
15716 (customize-create-theme): Prompt before inserting default faces.
15718 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15720 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15721 units and musical notes.
15723 2011-03-20 Leo Liu <sdl.web@gmail.com>
15725 * ido.el (ido-read-internal): Use completing-read-default.
15726 (ido-completing-read): Fix compatibility with completing-read.
15728 2011-03-20 Christian Ohler <ohler@gnu.org>
15730 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15731 (ert-delete-all-tests): Use `called-interactively-p' rather than
15733 (ert--make-xrefs-region): Respect END.
15735 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15737 * dired-aux.el (dired-create-directory): Signal an error if the
15738 directory already exists (Bug#8246).
15740 * facemenu.el (list-colors-display): Call list-faces-display
15741 inside with-help-window.
15742 (list-colors-print): Use display property to align the final
15743 column, instead of checking window-width.
15745 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15747 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15748 windows-nt systems.
15749 (emerge-protect-metachars): Quote correctly for ms-dos and
15750 windows-nt systems.
15752 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15754 * info.el (info-initialize): Replace all uses of `:' with
15755 path-separator for compatibility with non-Unix systems.
15756 Cache quoting of path-separator. (Bug#8258)
15758 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15760 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15761 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15762 (mouse-avoidance-mode): Fix typos in docstrings.
15764 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15766 * startup.el (package-subdirectory-regexp): Move from package.el.
15767 Omit \\` and \\', and let callers add them.
15769 * emacs-lisp/package.el (package-strip-version)
15770 (package-load-all-descriptors): Add \\` and \\' to
15771 package-subdirectory-regexp before using it.
15772 (package-untar-buffer): New arg DIR; ensure that file untars only
15773 into this expected directory. Remove superfluous delete-region.
15774 (package-unpack): Caller changed.
15775 (package-tar-file-info): Use package-subdirectory-regexp.
15777 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15780 diff-mode-shared-map (bug#8284).
15781 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15783 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15785 * calendar/time-date.el (format-seconds): Use assoc instead of
15786 assoc-string, since assoc-string doesn't exist in XEmacs.
15788 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15790 * custom.el (custom-known-themes): Reflow docstring.
15791 (custom-theme-load-path): Fix typo in docstring.
15792 (load-theme): Fix typo in error message.
15793 (custom-available-themes, custom-variable-theme-value):
15794 Use `let', not `let*'.
15796 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15798 * calc/README: Mention inclusion of musical notes.
15800 * calc/calc-units.el (calc-lu-quant): Rename from
15801 `calc-logunits-quantity'.
15802 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15803 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15804 (calc-db): Rename from `calc-dblevel'.
15805 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15806 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15807 (calc-np): Rename from `calc-nplevel'.
15808 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15809 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15810 (calc-lu-plus): Rename from `calc-logunits-add'.
15811 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15812 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15813 (calc-lu-minus): Rename from `calc-logunits-sub'.
15814 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15815 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15816 (calc-lu-times): Rename from `calc-logunits-mul'.
15817 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15818 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15819 (calc-lu-divide): Rename from `calc-logunits-div'.
15820 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15821 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15823 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15824 functions being autoloaded.
15826 * calc/calc.el (calc-lu-power-reference): Rename from
15827 `calc-logunits-power-reference'.
15828 (calc-lu-field-reference): Rename from
15829 `calc-logunits-field-reference'.
15831 * calc/calc-help.el (calc-l-prefix-help):
15832 Mention musical note functions.
15834 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * minibuffer.el (completion-all-sorted-completions):
15837 Use :completion-cycle-penalty text property if present.
15839 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15841 * allout.el (allout-yank-processing): Adjust for new rebulleting
15842 regime so bullet being yanked is used without prompting the user
15845 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15847 * startup.el (command-line): Warn the user that _emacs is deprecated.
15849 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15851 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15852 (delphi-verbose, delphi-comment-face, delphi-string-face)
15853 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15854 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15855 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15856 (delphi-new-comment-line, delphi-font-lock-defaults)
15857 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15858 Fix typos in docstrings.
15860 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15862 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15863 Invert the roles of character and string values for INSTEAD, so a
15864 string is used for the more common case of a defaulting prompt.
15866 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15868 * progmodes/ruby-mode.el (ruby-backward-sexp):
15869 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15870 * play/gamegrid.el (gamegrid-make-face):
15871 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15872 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15873 * notifications.el (notifications-notify):
15874 * net/xesam.el (xesam-search-engines):
15875 * net/quickurl.el (quickurl-list-insert):
15876 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15878 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15880 * startup.el (command-line): Update package subdirectory regexp.
15882 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15884 * allout.el (allout-abbreviate-flattened-numbering)
15885 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15887 * subr.el (read-char-choice): Only show the cursor after the prompt,
15888 not after the answer.
15890 2011-03-15 Kevin Ryde <user42@zip.com.au>
15892 * help-fns.el (variable-at-point): Skip leading quotes, if any
15895 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15897 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15900 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15902 * shell.el (shell): When called interactively, offer to change the
15903 shell file name on remote hosts.
15905 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15907 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15908 integration for LDAP parameters. The host, base, user or binddn,
15909 and secret tokens can be specified in a netrc file, for instance.
15910 This is optional because an `auth-source' parameter must be
15911 specified in the search attributes.
15913 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15915 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15917 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15920 into declaration. Remove redundant and harmful binding.
15922 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15924 * files.el (file-ownership-preserved-p): Pass `integer' as an
15925 explicit 2nd argument to `file-attributes'. If the file's owner
15926 is the Administrators group on Windows, and the current user is
15927 Administrator, consider that a match.
15929 * server.el (server-ensure-safe-dir): Consider server directory
15930 safe on MS-Windows if its owner is the Administrators group while
15931 the current Emacs user is Administrator. Use `=' to compare
15932 numerical UIDs, since they could be integers or floats.
15934 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15936 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15938 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15940 Sync with Tramp 2.2.1.
15942 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15944 * net/trampver.el: Update release number.
15946 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15948 * progmodes/compile.el (compilation--previous-directory): Fix up
15949 various nil/dead-marker mismatches (bug#8014).
15950 (compilation-directory-properties, compilation-error-properties):
15951 Don't call it at a position past the one we're about to change.
15953 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15954 Disable obsolescence warnings in the file that declares it.
15956 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15958 * allout-widgets.el (allout-widgets-tally):
15959 Initialize allout-widgets-tally as a hash table rather than nil to
15960 prevent mode-line redisplay warnings. Also, clarify the module
15961 description and fix a comment typo.
15963 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15965 * help-fns.el (describe-variable): Don't complete keywords.
15966 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15968 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15970 * emacs-lisp/package.el (package-version-join): Impose a standard
15971 string representation for pre/alpha/beta version lists.
15972 (package-unpack-single): Standardize the directory name by passing
15973 it through package-version-join.
15974 (package-strip-rcs-id): Accept any version string that does not
15975 signal an error in version-to-list.
15977 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15979 * simple.el (delete-trailing-whitespace): Return nil for the
15980 benefit of `write-file-functions'.
15982 2011-03-10 Glenn Morris <rgm@gnu.org>
15984 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15986 * vc/vc-git.el (vc-git-program): New option.
15987 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15988 (vc-git--call): Use it.
15990 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15992 * cus-edit.el (Custom-newline): If no button at point, look
15993 for a subgroup button at start-of-line. (Bug#2298)
15995 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15997 2011-03-10 Julien Danjou <julien@danjou.info>
15999 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16000 `cursor-type' is nil.
16002 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16004 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16006 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16008 * allout.el: Change so yank of distinctive-bullet items
16009 preserves the existing header prefix, rebulleting it if necessary,
16010 rather than replacing it. This is necessary for proper operation
16011 of cooperative addons like allout-widgets.
16012 (allout-make-topic-prefix, allout-rebullet-heading):
16013 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16014 value as alternate bullet to be used, instead of prompting the user
16015 for a bullet character.
16017 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16020 Do not use `tramp-file-name-port', because this returns also
16021 `tramp-default-port'.
16023 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16025 * net/rcirc.el (rcirc-handler-001): Remove useless
16026 with-rcirc-process-buffer.
16027 (rcirc-check-auth-status): Swap arguments to string-match.
16029 2011-03-09 Glenn Morris <rgm@gnu.org>
16031 * shell.el (shell-mode):
16032 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16034 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16035 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16037 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16039 * emacs-lisp/package.el (package-refresh-contents)
16040 (package-menu-execute): Use condition-case-no-debug.
16042 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16044 * simple.el (shell-command-to-string): Use `process-file'.
16046 * emacs-lisp/package.el (package-tar-file-info): Handle also
16049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16050 Use `equal' for upload base check.
16052 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16054 * textmodes/texinfo.el (texinfo-environments):
16055 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16057 2011-03-08 Glenn Morris <rgm@gnu.org>
16059 * cus-start.el (cursor-in-non-selected-windows):
16060 Fix :set quoting oddness. (Bug#8192)
16062 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16063 in some setf expressions. (Bug#2159)
16065 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16067 * custom.el (custom-available-themes): Return themes in
16068 alphabetical order.
16070 See ChangeLog.15 for earlier changes.
16072 ;; Local Variables:
16076 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16078 This file is part of GNU Emacs.
16080 GNU Emacs is free software: you can redistribute it and/or modify
16081 it under the terms of the GNU General Public License as published by
16082 the Free Software Foundation, either version 3 of the License, or
16083 (at your option) any later version.
16085 GNU Emacs is distributed in the hope that it will be useful,
16086 but WITHOUT ANY WARRANTY; without even the implied warranty of
16087 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16088 GNU General Public License for more details.
16090 You should have received a copy of the GNU General Public License
16091 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.