1 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4 files on the same host.
6 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8 * help-fns.el (describe-function-1): Only call
9 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11 2012-07-03 Chong Yidong <cyd@gnu.org>
13 * xml.el: Protect parser against XML bombs.
14 (xml-entity-expansion-limit): New variable.
15 (xml-parse-string, xml-substitute-special): Use it.
16 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
18 2012-07-03 Glenn Morris <rgm@gnu.org>
20 * progmodes/bug-reference.el (bug-reference-bug-regexp):
21 Allow linking to specific messages in debbugs reports (eg 123#5).
23 2012-07-02 Chong Yidong <cyd@gnu.org>
25 * xml.el: Fix entity and character reference expansion, allowing
26 them to expand into markup as per XML spec.
27 (xml-default-ns): New variable.
28 (xml-entity-alist): Use XML spec definitions for lt and amp.
29 (xml-parse-region): Make first two arguments optional. Discard
31 (xml-parse-tag-1): New function, spun off from xml-parse-tag. All
33 (xml-parse-tag): Call xml-parse-tag-1. For backward
34 compatibility, this function should not modify buffer contents.
35 (xml-parse-tag-1): Fix opening-tag regexp.
36 (xml-parse-string): Rewrite, handling entity and character
38 (xml--entity-replacement-text): Signal an error if a parameter
41 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
43 * comint.el (comint-output-filter): Filter out repeated prompts.
45 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
46 and file-name-absolute-p.
47 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
50 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
53 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
54 Rename from byte-compile--refiy-function. All uses changed.
56 2012-07-01 Chong Yidong <cyd@gnu.org>
58 * xml.el (xml--parse-buffer): New function. Move most of
59 xml-parse-region here.
60 (xml-parse-region): Copy region into a temporary buffer, since
61 parameter entity substitution requires changing buffer contents.
62 Use xml--parse-buffer.
63 (xml-parse-file): Use xml--parse-buffer.
64 (xml-parse-dtd): Make parameter entity substitution work right.
65 Use proper regexps for ELEMENT declarations (Bug#7172).
67 2012-06-30 Glenn Morris <rgm@gnu.org>
69 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
71 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
72 Remove outdated and unnecessary dbus declarations.
74 2012-06-30 Eli Zaretskii <eliz@gnu.org>
76 * emacs-lisp/timer.el (timer-until): Subtract results of
77 float-time, instead of taking float-time of the result of
78 time-subtract, since float-time signals an error for negative time
81 2012-06-30 Chong Yidong <cyd@gnu.org>
83 * xml.el (xml-*-re): Convert defvars into defconsts, and
84 eval-and-compile them so eval-and-compile works on derivatives.
85 (xml--entity-replacement-text): Use eval-and-comple.
87 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
89 * vc/vc-git.el (vc-git-registered): Use cache property
91 (vc-git-mode-line-string): Call `vc-working-revision' instead of
92 `vc-git-working-revision' in order to benefit from the cache.
93 (vc-git-root): Use cache property `git-root'.
95 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
97 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
98 removed (likely outside Emacs).
100 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
102 * emacs-lisp/cl-lib.el: Require macroexp.
104 2012-06-30 Chong Yidong <cyd@gnu.org>
106 * xml.el: Implement XML parameter entities.
107 (xml-parameter-entity-alist): New variable.
108 (xml-parse-region, xml-parse-fragment): Preserve previous values
109 of xml-entity-alist and xml-parameter-entity-alist, so that
110 repeated calls on different documents do not change them.
111 (xml-parse-tag): Fix doctype regexp.
112 (xml--entity-replacement-text): New function.
113 (xml-parse-dtd): Use it. Don't handle system entities; doing that
114 properly requires url retrieval which is unimplemented.
115 (xml-escape-string): Doc fix.
117 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
119 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
121 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
123 * fringe.el (fringe-mode): Doc fix.
125 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
127 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
129 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
130 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
132 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
134 * calendar/cal-dst.el (calendar-current-time-zone):
135 Return calendar-current-time-zone-cache if non-nil.
137 2012-06-29 Masatake YAMATO <yamato@redhat.com>
139 * progmodes/which-func.el (which-func-format):
140 Add mouse-face. (Bug#11698)
142 2012-06-29 Leo Liu <sdl.web@gmail.com>
144 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
146 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
148 * minibuffer.el (minibuffer-confirm-exit-commands):
149 Add completion-at-point (bug#11725).
151 2012-06-29 Glenn Morris <rgm@gnu.org>
153 * progmodes/f90.el (f90-font-lock-keywords-2):
154 Add some preprocessor elements. (Bug#10499)
156 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
158 * progmodes/cperl-mode.el (cperl-update-syntaxification):
159 Use syntax-propertize (bug#11739).
161 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
163 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
165 2012-06-28 Julien Danjou <julien@danjou.info>
167 * term.el (term-handle-colors-array): Use a set of new faces to
168 color the terminal. Also uses :inverse-video property.
169 (term-default-fg-color): Set to nil by default, deprecate in favor
171 (term-default-bg-color): Set to nil by default, deprecate in favor
173 (term-current-face): Use `term-face' by default.
174 (term-bold-attribute): Variable deleted.
176 2012-06-28 Glenn Morris <rgm@gnu.org>
178 * simple.el (completion-list-mode-finish):
179 Don't use toggle-read-only. (Since completion-list-mode has
180 a special mode-class, it wasn't doing anything extra anyway.)
182 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
184 Make inlining of other-mode interpreted functions work (bug#11799).
185 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
186 (byte-compile): Use it to fix compilation of lexical-binding closures.
187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
190 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
192 * help-mode.el (help-make-xrefs): Don't just withstand
193 cyclic-variable-indirection but any error in documentation-property.
195 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
197 * bindings.el (bindings--define-key): New function.
198 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
199 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
200 * bindings.el: Use it to purecopy define-key bindings.
202 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
204 * emacs-lisp/cl.el (flet): Mark obsolete.
205 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
206 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
207 * progmodes/js.el (js-c-fill-paragraph):
208 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
209 (ebrowse-switch-member-buffer-to-derived-class):
210 * play/5x5.el (5x5-solver): Use cl-flet.
212 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
213 (cl--symbol-function): New macro.
214 (cl--letf, cl--letf*): Use it.
216 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
217 Strip "toggle-" if any.
219 2012-06-27 Glenn Morris <rgm@gnu.org>
221 * info.el (Info-default-directory-list): Move here from paths.el.
222 * paths.el: Remove file, which is now empty.
223 * loadup.el: No longer load "paths".
225 * custom.el (custom-initialize-delay): Doc fix.
227 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
228 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
229 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
230 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
231 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
232 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
233 * eshell/eshell.el (eshell-defgroup): Remove alias.
235 2012-06-27 Chong Yidong <cyd@gnu.org>
237 * help.el (help-enable-auto-load): New variable.
239 * help-fns.el (help-fns--autoloaded-p): New function.
240 (describe-function-1): Refer to a function as "autoloaded" if it
241 was autoloaded at any time in the past. Perform autoloading if
242 help-enable-auto-load is non-nil.
244 2012-06-26 Eli Zaretskii <eliz@gnu.org>
246 * makefile.w32-in (compile, compile-always): Depend on
247 update-subdirs, not on subdirs.el. Otherwise, several different
248 sub-targets of 'bootstrap' running in parallel could
249 simultaneously write to subdirs.el, producing a garbled file.
251 2012-06-26 Sam Steingold <sds@gnu.org>
253 * files.el (file-name-base): New convenience function.
254 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
255 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
256 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
257 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
258 * textmodes/ispell.el, textmodes/reftex-ref.el:
259 * textmodes/tex-mode.el: Use it.
260 Did not touch cedet and org because they are maintained elsewhere.
262 2012-06-26 Martin Rudalics <rudalics@gmx.at>
264 * calendar/calendar.el (calendar-exit): Don't try to delete or
265 iconify last frame. See:
266 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
268 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
270 * server.el (server-process-filter): Remember dir in the
271 process's `server-client-directory' properties.
273 2012-06-24 Chong Yidong <cyd@gnu.org>
275 * xml.el (xml-parse-tag): Correctly handle comment embedded in
278 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
280 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
282 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
284 * help-fns.el (describe-variable): Don't croak when doc is not found.
285 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
286 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
287 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
288 * emacs-lisp/smie.el (smie-next-sexp): CSE.
289 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
291 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
293 2012-06-23 Chong Yidong <cyd@gnu.org>
295 * info.el (Info-mouse-follow-link): Accept symbol values of
296 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
297 (Info-fontify-node): Use Info-link-keymap for all navigation
298 buttons, with link-args property to perform the desired action.
299 (Info-link-keymap): Doc fix.
300 (Info-next-link-keymap, Info-prev-link-keymap)
301 (Info-up-link-keymap): Delete now-unused keymaps.
303 2012-06-23 Chong Yidong <cyd@gnu.org>
305 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
307 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
310 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
312 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
314 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
317 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
318 the requote function doesn't work properly (bug#11714).
320 2012-06-23 Glenn Morris <rgm@gnu.org>
322 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
324 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
326 Further GV/CL cleanups.
327 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
329 (gv--defun-declaration): New function.
330 (defun-declarations-alist): Use it.
331 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
332 (gv-place): Autoload.
333 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
334 original definition of dotimes and dolist.
335 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
336 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
337 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
338 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
339 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
340 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
341 to the function's definition.
342 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
346 * env.el: Don't use CL.
348 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
350 Support higher-resolution time stamps (Bug#9000).
352 * calendar/time-date.el (with-decoded-time-value): New arg
353 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
354 (encode-time-value): New optional arg PICO. New type 3.
355 (time-to-seconds) [!float-time]: Support the new picoseconds
356 component if it's used.
357 (seconds-to-time, time-subtract, time-add):
358 Support ps-resolution time stamps as well.
360 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
361 (timerp): Timer vectors now have length 9, not 8.
362 (timer--time): Support new-style (4-part) time stamps.
363 (timer-next-integral-multiple-of-time): Time stamps now have
364 picosecond resolution, so take a bit more care about rounding.
365 (timer-relative-time, timer-inc-time): New optional arg psecs.
366 (timer-set-time-with-usecs): Set psecs to 0.
367 (timer--activate): Check psecs component, too.
369 * proced.el (proced-time-lessp): Support ps-resolution stamps.
371 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
373 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
374 Move the non-essential binding to the post/pre-command-hook where it is
375 more obviously correct.
377 * subr.el (read-passwd): Don't use a history at all.
378 * savehist.el (savehist-save): Remove password saved accidentally
379 because of the above bug.
381 2012-06-22 Bastien Guerry <bzg@gnu.org>
383 * files.el (toggle-read-only): Display a message telling whether
384 the buffer is read-only or not (bug#11726).
386 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
388 * emacs-lisp/gv.el: New file.
389 * subr.el (push, pop): Extend to generalized variables.
390 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
391 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
392 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
393 gv-define-simple-setter, and gv-define-expander.
394 Remove setf-methods defined in gv. Rename cl-setf -> setf.
395 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
396 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
397 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
398 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
400 (cl-defstruct): Don't define setf-method any more.
401 * emacs-lisp/cl.el (flet): Don't autoload.
402 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
403 (define-setf-expander, defsetf, define-modify-macro)
404 (cl-struct-setf-expander): Move from cl-lib.el.
405 * emacs-lisp/syntax.el:
406 * emacs-lisp/ewoc.el:
407 * emacs-lisp/smie.el:
408 * emacs-lisp/cconv.el:
409 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
410 (timer--time): Use gv-define-simple-setter.
411 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
412 to avoid coding-system problems in subr.el. Adjust all users.
413 (macroexp--maxsize, macroexp-small-p): New functions.
414 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
415 * scroll-bar.el (scroll-bar-mode):
416 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
417 (normal-erase-is-backspace-mode): Don't use the `eq' place.
418 * winner.el (winner-configuration, winner-make-point-alist)
419 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
420 * files.el (locate-file-completion-table): Avoid list*.
422 2012-06-22 Chong Yidong <cyd@gnu.org>
424 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
425 (dired-create-files): Doc fix (Bug#11329).
426 (dired-do-copy): Doc fix (Bug#11334).
427 (dired-mark-read-string): Doc fix (Bug#11553).
429 * dired.el (dired-recursive-copies, dired-recursive-deletes):
431 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
432 (dired-dwim-target): Doc fix.
434 * wdired.el (wdired-mode): Doc fix.
436 2012-06-22 Glenn Morris <rgm@gnu.org>
438 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
439 (pcmpl-rpm-cache-stamp-file): New constant.
440 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
441 (pcmpl-rpm-packages): Optionally cache list of packages.
443 * pcmpl-rpm.el (pcmpl-rpm): New group.
444 (pcmpl-rpm-query-options): New option.
445 (pcmpl-rpm-packages): No need to inline it.
446 Use pcmpl-rpm-query-options.
448 * calendar/calendar.el (calendar-in-read-only-buffer):
449 Avoid some needless mode changes.
451 2012-06-21 Chong Yidong <cyd@gnu.org>
453 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
454 (desktop-path): Remove . from the default value (Bug#10977).
455 (desktop-read): Use user-emacs-directory if desktop-path is nil.
457 2012-06-20 Chong Yidong <cyd@gnu.org>
459 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
461 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
463 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
466 2012-06-20 Chong Yidong <cyd@gnu.org>
468 * term.el (term-window-width): Handle the case of a missing right
470 (term-check-size): Use window-text-height (Bug#5445).
471 (term-mode): Use define-derived-mode. Minor cleanups.
472 Set font-lock-defaults (Bug#7692).
473 (term-move-columns, term-insert-char, term-emulate-terminal)
474 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
476 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
478 * net/ange-ftp.el (ange-ftp-get-passwd):
479 Bind `enable-recursive-minibuffers'.
480 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
482 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
484 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
486 2012-06-19 Glenn Morris <rgm@gnu.org>
488 * progmodes/python.el (python-mode): Derive from prog-mode.
490 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
492 * emulation/edt.el (edt-default-menu-bar-update-buffers)
493 (edt-user-menu-bar-update-buffers): New functions.
494 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
496 2012-06-19 Chong Yidong <cyd@gnu.org>
498 * subr.el (with-selected-window): Preserve the selected window's
499 terminal's top-frame (Bug#4702).
501 * window.el (save-selected-window): Likewise.
503 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
505 * progmodes/python.el (python-rx-constituents): Move backquote.
506 (python-skeleton-define, python-define-auxiliary-skeleton):
509 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
511 * minibuffer.el (read-file-name-default): Revert the patch from
514 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
516 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
517 (pcase--u1, pcase--q1): Don't use apply-partially.
519 2012-06-18 Glenn Morris <rgm@gnu.org>
521 * progmodes/python.el (python-proc, python-buffer)
522 (python-send-receive, python-send-string): Fix obsolete versions.
524 2012-06-18 Martin Rudalics <rudalics@gmx.at>
526 * window.el (special-display-p): Completely remove stringp
527 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
529 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
531 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
533 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
535 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
536 * net/tramp-sh.el (tramp-maybe-open-connection):
537 Throw if `non-essential' is non-nil.
539 2012-06-17 Martin Rudalics <rudalics@gmx.at>
541 * window.el (special-display-p): Signal an error if BUFFER-NAME
542 is not a string (Bug#11713).
544 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
546 * progmodes/python.el (python-info-beginning-of-backslash):
547 Rename from python-info-beginning-of-backlash, as a spelling fix.
549 2012-06-17 Chong Yidong <cyd@gnu.org>
551 * term.el (term-emulate-terminal): If term-check-size is called,
552 move point to the process mark without resetting point (Bug#4635).
554 2012-06-17 Glenn Morris <rgm@gnu.org>
556 * international/mule-cmds.el (mule-menu-keymap)
557 (set-language-environment, set-locale-environment): Doc tweaks.
559 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
561 * cus-face.el (custom-face-attributes): Add wave-style underline
563 * faces.el (set-face-attribute): Update docstring to describe
564 wave-style underline attribute.
566 2012-06-16 Chong Yidong <cyd@gnu.org>
568 * term/xterm.el (terminal-init-xterm): Discard input before
569 querying background mode (Bug#10959).
571 2012-06-16 Stefan Merten <smerten@oekonux.de>
573 * textmodes/rst.el: Added and corrected some comments.
574 (rst-re-alist-def): Improve symbol syntax.
575 (rst-mode-syntax-table): Correct syntax entries.
576 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
577 (rst-official-version, rst-official-cvs-rev): Update version
580 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
582 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
583 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
585 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
587 * progmodes/python.el: New python.el merge.
588 (python-guess-indent): Obsolete var.
589 (python-indent-guess-indent-offset): New defcustom.
590 (python-indent): Obsolete var.
591 (python-indent-offset): New defcustom.
592 (python-python-command, python-jython-command): Delete var.
593 (python-shell-interpreter): New defcustom.
594 (python-pdbtrack-do-tracking-p): Delete var.
595 (python-pdbtrack-activate): New defcustom.
596 (python-use-skeletons): Obsolete var.
597 (python-skeleton-autoinsert): New defcustom.
598 (inferior-python-filter-regexp, python-continuation-offset)
599 (python-honour-comment-indentation, python-indent-string-contents)
600 (python-jython-packages, python-mode-hook)
601 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
602 (python-shell-prompt-alist)
603 (python-source-modes): Delete defcustoms.
604 (python-check-buffer-name, python-eldoc-setup-code)
605 (python-eldoc-string-code, python-ffap-setup-code)
606 (python-ffap-string-code, python-fill-comment-function)
607 (python-fill-decorator-function, python-fill-paren-function)
608 (python-fill-string-function, python-imenu-include-defun-type)
609 (python-imenu-make-tree, python-imenu-subtree-root-label)
610 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
611 (python-shell-compilation-regexp-alist)
612 (python-shell-completion-module-string-code)
613 (python-shell-completion-pdb-string-code)
614 (python-shell-completion-setup-code)
615 (python-shell-completion-string-code)
616 (python-shell-enable-font-lock, python-shell-exec-path)
617 (python-shell-extra-pythonpaths)
618 (python-shell-internal-buffer-name, python-shell-interpreter-args)
619 (python-shell-process-environment)
620 (python-shell-prompt-block-regexp)
621 (python-shell-prompt-output-regexp)
622 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
623 (python-shell-send-setup-max-wait, python-shell-setup-codes)
624 (python-shell-virtualenv-path): New defcustoms.
625 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
626 (inferior-python-mode-syntax-table, python--prompt-regexp)
627 (python-buffer, python-command python-python-command)
628 (python-default-template, python-imports, python-indent-index)
629 (python-indent-list, python-indent-list-length)
630 (python-mode-running, python-pdbtrack-is-tracking-p)
631 (python-preoutput-continuation, python-preoutput-leftover)
632 (python-preoutput-result, python-preoutput-skip-next-prompt)
633 (python-prev-dir/file, python-recursing)
634 (python-saved-check-command, python-version-checked)
635 (python-which-func-length-limit)
636 (view-return-to-alist): Delete vars.
637 (python-check-custom-command, python-dotty-syntax-table)
638 (python-imenu-index-alist, python-indent-current-level)
639 (python-indent-dedenters, python-indent-levels)
640 (python-nav-beginning-of-defun-regexp)
641 (python-nav-list-defun-positions-cache)
642 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
643 (python-shell-internal-buffer)
644 (python-skeleton-available): New vars.
645 (def-python-skeleton): Delete macro.
646 (python-skeleton-define): New macro.
647 (python-define-auxiliary-skeleton, python-rx): New macros.
648 (python-insert-class): Delete command.
649 (python-skeleton-class): New command.
650 (python-insert-def): Delete command.
651 (python-skeleton-def): New command.
652 (python-insert-for): Delete command.
653 (python-skeleton-for): New command.
654 (python-insert-if): Delete command.
655 (python-skeleton-if): New command.
656 (python-insert-try/except, python-insert-try/finally): Delete commands.
657 (python-skeleton-try): New command.
658 (python-insert-while): Delete command.
659 (python-skeleton-while): New command.
660 (python-backspace): Delete command.
661 (python-indent-dedent-line-backspace): New command.
662 (python-electric-colon): Delete command.
663 (python-indent-electric-colon): New command.
664 (python-guess-indent): Delete command.
665 (python-indent-guess-indent-offset): New command.
666 (python-shift-left): Delete command.
667 (python-indent-shift-left): New command.
668 (python-shift-right): Delete command.
669 (python-indent-shift-right): New command.
670 (python-find-function): Delete command.
671 (python-nav-jump-to-defun): New command.
672 (python-next-statement): Delete command.
673 (python-nav-forward-sentence): New command.
674 (python-previous-statement): Delete command.
675 (python-nav-backward-sentence): New command.
676 (python-fill-paragraph): Delete command.
677 (python-fill-paragraph-function): New command.
678 (python-send-buffer): Delete command.
679 (python-shell-send-buffer): New command.
680 (python-send-defun): Delete command.
681 (python-shell-send-defun): New command.
682 (python-send-region, python-send-region-and-go): Delete commands.
683 (python-shell-send-region)
684 (python-shell-switch-to-shell): New commands.
685 (python-send-string): Delete command.
686 (python-shell-send-string): New command.
687 (python-switch-to-python): Delete command.
688 (python-shell-switch-to-shell): New command.
689 (python-describe-symbol): Delete command.
690 (python-eldoc-at-point): New command.
691 (python--set-prompt-regexp, python-args-to-list)
692 (python-after-info-look, python-check-version)
693 (python-check-comint-prompt, python-find-imports)
694 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
695 (python-unload-function, python-expand-template)
696 (python-maybe-jython, python-preoutput-filter)
697 (python-pdbtrack-get-source-buffer)
698 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
699 (python-pdbtrack-toggle-stack-tracking)
700 (python-pdbtrack-track-stack-file, python-initial-text)
701 (python-first-word, python-comment-line-p, python-send-command)
702 (python-setup-brm, python-sentinel, python-set-proc)
703 (python-skip-out, python-input-filter, python-outdent-p)
704 (python-outline-level, python-backslash-continuation-line-p)
705 (python-end-of-block, python-end-of-statement, python-mark-block)
706 (python-beginning-of-block, python-beginning-of-statement)
707 (python-blank-line-p, python-beginning-of-string)
708 (python-open-block-statement-p): Delete functions.
709 (python-indent-line, python-indent-line-1): Delete functions.
710 (python-indent-line): New function.
711 (python-indentation-levels): Delete function.
712 (python-indent-calculate-levels): New function.
713 (python-proc): Delete function.
714 (python-shell-get-process): New function.
715 (python-send-receive): Delete function.
716 (python-shell-send-string-no-output): New function.
717 (python-module-path): Delete function.
718 (python-ffap-module-path): New function.
719 (python-completion-at-point)
720 (python-symbol-completions): Delete functions.
721 (python-completion-complete-at-point): New function.
722 (python-load-file): Delete function.
723 (python-shell-send-file): New function.
724 (python-calculate-indentation): Delete function.
725 (python-indent-calculate-indentation): New function.
726 (python-skip-comments/blanks): Delete function.
727 (python-util-forward-comment): New function.
728 (python-continuation-line-p): Delete function.
729 (python-info-continuation-line-p): New function.
730 (python-which-func, python-current-defun): Delete function.
731 (python-info-current-defun): New function.
732 (python-beginning-of-defun): Delete function.
733 (python-nav-beginning-of-defun): New function.
734 (python-close-block-statement-p)
735 (python-block-end-p): Delete function.
736 (python-info-closing-block): New function.
737 (python-comint-output-filter-function)
738 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
739 (python-fill-comment, python-fill-decorator, python-fill-paren)
740 (python-fill-string, python-imenu-make-element-tree)
741 (python-imenu-make-tree, python-imenu-tree-assoc)
742 (python-indent-context, python-indent-dedent-line)
743 (python-indent-line-function)
744 (python-indent-post-self-insert-function)
745 (python-indent-toggle-levels)
746 (python-info-assignment-continuation-line-p)
747 (python-info-beginning-of-backlash)
748 (python-info-block-continuation-line-p)
749 (python-info-closing-block-message)
750 (python-info-line-ends-backslash-p)
751 (python-info-looking-at-beginning-of-defun)
752 (python-info-ppss-context, python-info-ppss-context-type)
753 (python-nav-list-defun-positions, python-nav-read-defun)
754 (python-nav-sentence-end, python-nav-sentence-start)
755 (python-pdbtrack-comint-output-filter-function)
756 (python-pdbtrack-set-tracked-buffer)
757 (python-shell-calculate-exec-path)
758 (python-shell-calculate-process-environment)
759 (python-shell-completion--do-completion-at-point)
760 (python-shell-completion--get-completions)
761 (python-shell-completion-complete-at-point)
762 (python-shell-completion-complete-or-indent)
763 (python-shell-get-or-create-process)
764 (python-shell-get-process-name)
765 (python-shell-internal-get-or-create-process)
766 (python-shell-internal-get-process-name)
767 (python-shell-internal-send-string, python-shell-make-comint)
768 (python-shell-parse-command, python-shell-send-setup-code)
769 (python-skeleton-add-menu-items)
770 (python-util-clone-local-variables, python-util-position)
771 (run-python-internal, python-indentation-levels)
772 (python-nav-beginning-of-defun)
773 (python-completion-complete-at-point): New functions.
774 (run-python): Change arguments. New API requirements.
776 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
778 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
781 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
782 (macroexp--expand-all): Use it.
784 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
785 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
786 Use `cl-function' instead.
788 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
790 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
791 Suggested by Stefan Monnier while discussing bug#11657.
793 2012-06-14 Sam Steingold <sds@gnu.org>
795 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
797 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
799 * play/doctor.el (doctor-doc): Remove parameter and use
800 doctor-sent instead of sent.
801 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
803 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
805 * files.el: Require cl-lib.
806 (file-name-non-special): Replace case -> cl-case.
808 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
810 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
811 mapping from #' to function*.
813 2012-06-13 Chong Yidong <cyd@gnu.org>
815 * mouse.el (mouse-drag-track): Do not set the mark if the user
816 releases the mouse without selecting anything (Bug#11588).
818 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
820 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
823 * loadup.el: Count byte-code functions as well.
825 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
826 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
828 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
829 (bug#11649). Add cl-defun and cl-defmacro.
831 2012-06-13 Drew Adams <drew.adams@oracle.com>
833 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
836 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
838 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
839 Otherwise, it blocks in batch mode.
841 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
843 * help-mode.el (bookmark-make-record-default): Declare.
845 2012-06-13 Chong Yidong <cyd@gnu.org>
847 * emacs-lisp/package.el (list-packages): Compute a list of
848 packages that are newly-available since the last list-packages
850 (package-menu--new-package-list): New var.
851 (package-menu--generate, package-menu--print-info)
852 (package-menu--status-predicate, package-menu-mark-install):
853 Handle new status label "new".
855 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
857 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
858 conversion to backquotes.
860 2012-06-12 Chong Yidong <cyd@gnu.org>
862 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
863 Rename from gud-inhibit-global-bindings.
865 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
867 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
868 hook from nxml-glyph-set-hook.
870 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
873 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
875 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
876 Convert to defcustom.
878 2012-06-12 Drew Adams <drew.adams@oracle.com>
880 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
882 (help-mode): Use them.
884 2012-06-11 Glenn Morris <rgm@gnu.org>
886 * progmodes/fortran.el (fortran-font-lock-keywords-3):
887 Use preprocessor face for directives.
888 (fortran-directive-re): Doc fix.
890 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
892 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
893 conversion to backquotes (bug#11652).
895 Fix compiler-expansion of CL's cXXr functions (bug#11673).
896 * emacs-lisp/cl-lib.el (cl--defalias): New function.
897 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
898 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
899 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
900 (cl-ninth, cl-tenth): Mark them as inlinable.
901 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
902 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
903 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
904 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
905 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
906 (cl-list*, cl-adjoin): Don't put an autoload manually.
907 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
908 (cl--compiler-macro-list*): Add autoload cookie.
909 (cl--compiler-macro-cXXr): New function.
911 * help-fns.el (help-fns--compiler-macro): New function extracted from
912 describe-function-1; follow aliases and use `compiler-macro' property.
913 (describe-function-1): Use it.
915 2012-06-11 Chong Yidong <cyd@gnu.org>
917 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
918 is uninstalled, if imagemagick is installed.
920 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
922 * emacs-lisp/cl-lib.el: Use lexical-binding.
923 (cl-map-extents, cl-maclisp-member): Remove.
924 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
925 (cl--set-substring, cl--block-wrapper, cl--block-throw)
926 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
927 * emacs-lisp/cl-extra.el: Use lexical-binding.
928 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
929 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
930 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
931 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
932 * emacs-lisp/cl-seq.el: Use lexical-binding.
933 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
934 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
935 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
936 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
937 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
940 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
942 Sync with Tramp 2.2.6-pre.
944 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
945 `print-length' and `print-level' to nil, in order to avoid
946 truncation. Reported by Christopher Schmidt
947 <christopher@ristopher.com>.
949 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
951 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
953 (tramp-compat-copy-directory): Add optional argument
954 COPY-CONTENTS. It is not handled yet.
956 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
957 (tramp-ftp-file-name-p): Simplify.
959 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
960 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
963 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
964 (tramp-methods): Do not use `tramp-password-end-of-line'.
965 (tramp-completion-function-alist-putty): Handle UNIX case.
966 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
967 (tramp-do-file-attributes-with-stat)
968 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
969 gid as real numbers. They could run out of integer range on cygwin.
970 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
971 (tramp-sh-handle-expand-file-name): Handle hops.
972 (tramp-open-connection-setup-interactive-shell):
973 Use `tramp-cleanup'. Move check for busyboxes ...
974 (tramp-find-shell): ... here. Simplify implementation.
975 Set "remote-shell" property also for alternative shells.
976 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
977 If failing, a regular file would be written otherwise.
978 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
979 (tramp-find-inline-encoding): Cache the coding commands in the
980 process cache. Apply test command on the remote side, if defined.
981 (tramp-find-inline-compress): Cache the compress commands in the
983 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
984 when requested. Handle hops.
985 (tramp-current-connection): New defvar.
986 (tramp-maybe-open-connection): Use `tramp-cleanup'.
987 Throw `suppress', if there was a failed connection shortly before.
988 Handle user interrupt. (Bug#10187)
989 (tramp-get-inline-compress, tramp-get-inline-coding):
990 Read connection properties from the process cache.
992 * net/tramp-smb.el (tramp-smb-server-version)
993 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
995 (tramp-smb-prompt): Extend for powershell prompt.
996 (tramp-smb-file-name-handler-alist): Add handlers for
997 `process-file', `shell-command' and `start-file-process'.
998 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
999 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1000 (tramp-smb-file-name-p): Simplify.
1001 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1002 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1003 (tramp-smb-shell-quote-argument): New defuns.
1004 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1005 Implement using "tar". By this, time-stamps are preserved.
1006 (tramp-smb-handle-copy-file): Handle also the case of directories.
1007 (tramp-smb-do-file-attributes-with-stat)
1008 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1009 Use `tramp-get-connection-buffer').
1010 (tramp-smb-handle-rename-file): Use "rename", when source and
1011 target are on the same share.
1012 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1013 Use `tramp-smb-server-version'.
1014 (tramp-smb-wait-for-output): Remove prompt.
1016 * net/tramp.el (top): Require 'cl.
1017 (tramp-methods, tramp-rsh-end-of-line):
1018 Remove `tramp-password-end-of-line' from docstring.
1019 (tramp-save-ad-hoc-proxies): New defcustom.
1020 (tramp-completion-function-alist): Adapt docstring.
1021 (tramp-default-password-end-of-line): Remove defcustom.
1022 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1023 (tramp-user-regexp, tramp-file-name-regexp-unified)
1024 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1025 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1026 (tramp-remote-file-name-spec-regexp): New defconst.
1027 (tramp-file-name-structure): Extend structure for hops.
1028 (tramp-get-method-parameter): Move up.
1029 (tramp-file-name-p, tramp-dissect-file-name)
1030 (with-parsed-tramp-file-name): Handle hops.
1031 (tramp-file-name-hop): New defun.
1032 (tramp-make-tramp-file-name): New optional arg HOP.
1033 (tramp-message-show-progress-reporter-message): New defvar.
1034 (tramp-with-progress-reporter): Use it. We cannot use
1035 `tramp-message-show-message' here, because this suppresses also
1037 (tramp-error-with-buffer): Suppress buffer view, if
1038 `tramp-message-show-message' is nil.
1039 Use `tramp-get-connection-buffer'.
1040 (tramp-cleanup): New defun.
1041 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1042 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1044 (tramp-completion-handle-file-name-all-completions): Handle hops.
1045 Fix an error when called from ido.
1046 (tramp-completion-dissect-file-name): Use better local variable
1047 name. Add hop to the vector.
1048 (tramp-handle-insert-file-contents): Use progress-reporter for the
1050 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1052 (tramp-check-for-regexp): Simplify search.
1053 (tramp-enter-password): Remove it. Move implementation ...
1054 (tramp-action-password): ... here.
1055 (tramp-mode-string-to-int, tramp-local-host-p)
1056 (tramp-make-tramp-temp-file, tramp-read-passwd)
1057 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1058 Set tramp-autoload cookie.
1060 * net/trampver.el: Update release number.
1062 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1063 Michael Albinus <michael.albinus@gmx.de>
1065 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1066 (tramp-parse-group, tramp-parse-file)
1067 (tramp-parse-shostkeys-sknownhosts): New defuns.
1068 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1069 (tramp-parse-shosts-group, tramp-parse-sconfig)
1070 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1071 (tramp-parse-sknownhosts, tramp-parse-hosts)
1072 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1074 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1075 (tramp-parse-putty-group): Don't narrow.
1076 (tramp-parse-putty): Make a loop.
1077 (tramp-file-name-handler): Catch the `suppress' signal.
1079 2012-06-11 Chong Yidong <cyd@gnu.org>
1081 * image.el (imagemagick-register-types): Put the ImageMagick entry
1082 at the end of image-type-file-name-regexps.
1084 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1086 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1087 (pcase, pcase-let*, pcase-dolist): Use them.
1089 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * emacs-lisp/pcase.el (pcase--let*): New function.
1092 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1093 (pcase--expand): Use macroexp-let².
1095 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1098 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1099 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1100 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1101 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1102 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1104 2012-06-10 Glenn Morris <rgm@gnu.org>
1106 * mail/rmail.el (rmail-yank-current-message): Leave point at
1107 correct position. (Bug#11660)
1109 2012-06-10 Chong Yidong <cyd@gnu.org>
1111 * allout-widgets.el: Fix code header.
1113 2012-06-10 Chong Yidong <cyd@gnu.org>
1115 * cus-edit.el (customize-changed-options-previous-release):
1118 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1120 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1122 2012-06-09 Chong Yidong <cyd@gnu.org>
1124 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1126 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1128 * window.el (special-display-popup-frame): Don't use
1129 window--display-buffer (Bug#11651).
1131 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1133 Fix parallel builds: make sure loaddefs.el is not being written
1134 while Lisp files are compiled.
1135 (compile): Don't depend on 'mh-autoloads'.
1136 (compile-CMD, compile-SH): Depend on 'autoloads'.
1137 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1139 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1141 2012-06-09 Chong Yidong <cyd@gnu.org>
1143 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1144 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1145 Doc fixes (Bug#11225).
1147 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1150 a function if there's a clear indication that it has a compiler-macro.
1151 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1152 (macro-declarations-alist): Add arglist to declaration functions.
1153 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1154 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1155 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1156 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1157 Also add autoload to find the compiler macro.
1158 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1159 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1160 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1161 (cl--compiler-macro-get): New functions, replacing calls to
1162 cl-define-compiler-macro.
1163 (cl-typep) [compiler-macro]: Use macroexp-let².
1165 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1167 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1168 string properly, fixes Bug#11473.
1170 2012-06-08 Chong Yidong <cyd@gnu.org>
1172 * faces.el (set-face-attribute): Doc fix.
1173 (modify-face): Don't use :bold and :italic.
1174 (error, warning, success): Tweak definitions.
1176 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1177 (custom-modified, custom-set, custom-changed, custom-themed)
1178 (custom-saved, custom-button, custom-button-mouse)
1179 (custom-button-pressed, custom-state, custom-comment-tag)
1180 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1181 (custom-group-subtitle): Use new-style face specs.
1182 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1183 (custom-set-face, custom-changed-face, custom-saved-face)
1184 (custom-button-face, custom-button-pressed-face)
1185 (custom-documentation-face, custom-state-face)
1186 (custom-comment-face, custom-comment-tag-face)
1187 (custom-variable-tag-face, custom-variable-button-face)
1188 (custom-face-tag-face, custom-group-tag-face-1)
1189 (custom-group-tag-face): Remove obsolete face alias.
1191 * epa.el (epa-validity-high, epa-validity-medium)
1192 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1193 (epa-field-name, epa-field-body):
1194 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1195 (font-lock-keyword-face, font-lock-builtin-face)
1196 (font-lock-function-name-face, font-lock-variable-name-face)
1197 (font-lock-type-face, font-lock-constant-face):
1198 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1199 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1200 * speedbar.el (speedbar-button-face, speedbar-file-face)
1201 (speedbar-directory-face, speedbar-tag-face)
1202 (speedbar-selected-face, speedbar-highlight-face)
1203 (speedbar-separator-face):
1204 * whitespace.el (whitespace-newline, whitespace-space)
1205 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1206 (whitespace-line, whitespace-space-before-tab)
1207 (whitespace-space-after-tab, whitespace-indentation)
1209 * emulation/cua-base.el (cua-global-mark):
1210 * eshell/em-prompt.el (eshell-prompt):
1211 * net/newst-plainview.el (newsticker-new-item-face)
1212 (newsticker-old-item-face, newsticker-immortal-item-face)
1213 (newsticker-obsolete-item-face, newsticker-date-face)
1214 (newsticker-statistics-face, newsticker-default-face):
1215 * net/newst-reader.el (newsticker-feed-face)
1216 (newsticker-extra-face, newsticker-enclosure-face):
1217 * net/newst-treeview.el (newsticker-treeview-face)
1218 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1219 (newsticker-treeview-immortal-face)
1220 (newsticker-treeview-obsolete-face)
1221 (newsticker-treeview-selection-face):
1222 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1223 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1224 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1225 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1226 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1227 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1228 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1230 * progmodes/vera-mode.el (vera-font-lock-number)
1231 (vera-font-lock-function, vera-font-lock-interface):
1232 * textmodes/table.el (table-cell): Use new-style face specs, and
1233 don't use the old :bold and :italic attributes.
1235 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1236 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1237 (ebrowse-member-class, ebrowse-progress): Likewise.
1238 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1239 (ebrowse-file-name-face, ebrowse-default-face)
1240 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1241 (ebrowse-progress-face): Remove obsolete faces.
1243 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1244 Inherit from error and warning faces respectively.
1246 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1248 (flyspell-incorrect-face, flyspell-duplicate-face):
1249 Remove obsolete aliases.
1251 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1253 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1256 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * startup.el (argv, argi): Make lexically scoped.
1259 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1260 * emacs-lisp/cl-macs.el: Use lexical-binding.
1261 Rename cl-bind-* to cl--bind-*.
1262 * files.el: Don't require `cl' since it doesn't use it.
1263 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1265 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1267 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1268 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1269 instead of calling external sort utility.
1270 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1272 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1274 * descr-text.el (describe-char): Mention how to insert the
1275 character, if the current input method doesn't support it.
1276 See the discussion in this thread for the details:
1277 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1279 2012-06-08 Sam Steingold <sds@gnu.org>
1281 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1282 XF86Back to previous-buffer.
1283 (minibuffer-local-map): Bind them to next-history-element and
1284 previous-history-element respectively.
1285 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1286 help-go-back respectively.
1287 * info.el (Info-mode-map): Bind them to Info-history-forward and
1288 Info-history-back respectively.
1289 These are the keys next to Up on the ThinkPad keyboard.
1291 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1293 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1294 * emacs-lisp/cl-macs.el: Provide itself.
1295 (cl--labels-convert-cache): New var.
1296 (cl--labels-convert): New function.
1297 (cl-flet, cl-labels): New implementation with new semantics, relying on
1299 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1300 (cl-closure-vars, cl--function-convert-cache)
1301 (cl--function-convert): Move from cl-macs.el.
1302 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1303 rename by removing the "cl-" prefix.
1304 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1306 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1308 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1309 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1310 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1311 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1312 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1313 (cl-hash-table-count): Add old compatibility aliases.
1315 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1316 Use macroexpand-all-environment instead.
1317 (cl--old-macroexpand): New var.
1318 (cl--sm-macroexpand): New function.
1319 (cl-symbol-macrolet): Use it during macro expansion.
1320 (cl--function-convert-cache): New var.
1321 (cl--function-convert): New function, extracted from
1323 (cl-lexical-let): Use it.
1325 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1326 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1327 (cl-member): Remove old alias.
1329 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1330 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1331 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1332 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1333 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1334 (cl-macroexpand-cmacs): Remove var.
1335 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1336 Use macroexpand-all instead.
1338 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1341 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1342 (macroexp-copyable-p): New functions and macros.
1343 * emacs-lisp/edebug.el (edebug-unwrap):
1344 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1345 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1346 (pcase--let*): Remove.
1347 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1348 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1349 macroexp-const-p instead.
1350 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1352 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1353 instead of "cl-" for internal definitions. Use macroexp-const-p.
1354 (cl-old-bc-file-form): Remove var.
1355 (cl-const-exprs-p): Remove fun.
1356 (cl-labels, cl-macrolet): Use backquote.
1357 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1358 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1359 (cl-define-setf-expander): Rename from cl-define-setf-method.
1360 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1362 * international/mule-cmds.el: Don't require CL.
1363 (view-hello-file): Don't use `letf'.
1365 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * tmm.el (tmm-prompt): Use string-prefix-p.
1368 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1369 (tmm-add-prompt): Use minibuffer-completion-help.
1370 (tmm-delete-map): Remove.
1372 * subr.el (kbd): Make it its own function.
1374 2012-06-07 Stefan Merten <smerten@oekonux.de>
1376 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1377 Silence compiler warnings. Fix versions.
1378 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1379 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1380 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1381 (rst-package-emacs-version-alist): Correct Emacs version to
1382 represent major merge with upstream.
1383 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1385 2012-06-06 Glenn Morris <rgm@gnu.org>
1387 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1388 Only print environment variables if set.
1390 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1393 (macroexp--cons): Rename from maybe-cons.
1394 (macroexp--accumulate): Rename from macroexp-accumulate.
1395 (macroexp--all-forms): Rename from macroexpand-all-forms.
1396 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1397 (macroexp--expand-all): Rename from macroexpand-all-1.
1399 2012-06-06 Sam Steingold <sds@gnu.org>
1401 * calendar/calendar.el (calendar-in-read-only-buffer):
1402 Call `special-mode' to enable the standard read-only keybindings.
1404 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1407 with "loading" messages (bug#11635).
1409 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1411 * files.el (enable-remote-dir-locals): New option.
1412 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1414 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1415 Ensure, that the temp directory is local.
1417 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1418 `temporary-file-directory'.
1420 * progmodes/python.el (python-send-region): Ensure, that the
1421 temporary file is created also in the remote case.
1423 2012-06-06 Glenn Morris <rgm@gnu.org>
1425 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1426 (vc-rcs-update-changelog): Use it.
1428 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1430 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1431 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1432 (vc-sccs-diff): Replace use of the external vcdiff script.
1434 2012-06-05 Glenn Morris <rgm@gnu.org>
1436 * ledit.el: Move to obsolete/.
1438 2012-06-05 Sam Steingold <sds@gnu.org>
1440 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1443 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * emacs-list/cust-print.el: Move to obsolete.
1447 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1448 compiler-macro expansion.
1450 Add native compiler-macro support.
1451 * emacs-lisp/macroexp.el (macroexpand-all-1):
1452 Support compiler-macros directly. Properly follow aliases and apply
1453 the compiler macros more thoroughly.
1454 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1455 macroexpand now properly follows aliases.
1456 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1457 (cl-compiler-macroexpand): Use new prop.
1458 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1460 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1462 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1464 * window.el (get-lru-window, get-mru-window, get-largest-window):
1465 New argument NOT-SELECTED to avoid picking the selected window.
1466 (window--display-buffer-1, window--display-buffer-2): Replace by
1467 new function window--display-buffer
1468 (display-buffer-same-window, display-buffer-reuse-window)
1469 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1470 Use window--display-buffer.
1471 (display-buffer-use-some-window): Remove temporary dedication
1472 hack by calling get-lru-window and get-largest-window with
1473 NOT-SELECTED argument non-nil. Call window--display-buffer.
1475 2012-06-05 Glenn Morris <rgm@gnu.org>
1477 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1478 Replace external vcdiff script.
1480 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1484 2012-06-04 Chong Yidong <cyd@gnu.org>
1486 * image.el (imagemagick-types-inhibit): Revert last change.
1488 (imagemagick-enabled-types): Remove CIN and EPS*.
1490 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * emacs-lisp/cl-lib.el: Rename from cl.el.
1493 * emacs-lisp/cl.el: New compatibility file.
1494 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1495 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1496 to obey the "cl-" prefix.
1497 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1499 2012-06-03 Glenn Morris <rgm@gnu.org>
1501 * emacs-lisp/authors.el (authors-aliases): Addition.
1503 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1506 2012-06-03 Stefan Merten <smerten@oekonux.de>
1508 * textmodes/rst.el: Add comments.
1509 (rst-transition, rst-adornment): New faces.
1510 (rst-adornment-faces-alist): Make default safe to reevaluate.
1512 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1513 Improve customization tags.
1514 (rst-define-level-faces): Clarify meaning.
1516 2012-06-03 Chong Yidong <cyd@gnu.org>
1518 * progmodes/compile.el (compilation-mode-line-fail)
1519 (compilation-mode-line-run, compilation-mode-line-exit):
1521 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1523 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1525 * progmodes/which-func.el (which-func-update-ediff-windows):
1526 New function. Use it in ediff-select-hook (Bug#11478).
1528 2012-06-03 Chong Yidong <cyd@gnu.org>
1530 * bindings.el: Remove explicit help text from format-mode-line.
1531 It is now supplied by mode-line-default-help-echo.
1532 (mode-line-front-space, mode-line-end-spaces)
1533 (mode-line-misc-info): New variables.
1534 (mode-line-modes, mode-line-position): Move the default value to
1535 the variable definition.
1536 (mode-line-default-help-echo): New defcustom.
1537 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1538 (mode-line-modified-help-echo): New functions.
1539 (mode-line-mule-info, mode-line-modified): Use them.
1540 (mode-line-eol-desc, propertized-buffer-identification):
1541 Consistency fixes for help text.
1542 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1543 set-buffer-file-coding-system (Bug#289).
1544 (mode-line-mule-info-help-echo): Update help text.
1546 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * simple.el (execute-extended-command): Set real-this-command
1551 2012-06-02 Chong Yidong <cyd@gnu.org>
1553 Remove incorrect uses of "modeline" in comments, docstrings, and
1554 function/variable names (Bug#10329).
1556 * cus-edit.el (mode-line):
1557 * dframe.el (dframe-mouse-hscroll):
1558 * emacs-lisp/re-builder.el:
1559 * emacs-lisp/easy-mmode.el (define-minor-mode):
1560 * frame.el (set-frame-name):
1561 * help.el (lookup-minor-mode-from-indicator):
1562 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1563 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1564 (c-toggle-hungry-state):
1565 * progmodes/antlr-mode.el (antlr-language-alist):
1566 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1567 * progmodes/vhdl-mode.el (vhdl-mode):
1568 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1569 * term/ns-win.el (ns-face-at-pos):
1570 * term/sup-mouse.el (sup-mouse-report):
1571 * textmodes/flyspell.el (flyspell-mode-line-string):
1572 * textmodes/ispell.el (ispell-highlight-face):
1573 * textmodes/reftex-global.el:
1574 * vc/vc-arch.el (vc-arch-mode-line-string):
1575 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1576 * vc/vc-git.el (vc-git-mode-line-string):
1577 * vc/vc-hooks.el (vc-display-status)
1578 (vc-default-mode-line-string):
1579 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1581 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1583 * dired.el (dired-sort-set-mode-line): Rename from
1584 dired-sort-set-modeline. All callers changed.
1586 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1587 eshell-status-in-modeline.
1589 * foldout.el (foldout-mode-line-string): Rename from
1590 foldout-modeline-string. All callers changed.
1591 (foldout-update-mode-line): Rename from foldout-update-modeline.
1593 * subr.el (redraw-modeline): Make into obsolete alias.
1595 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1596 timeclock-modeline-display. Make old name an alias.
1597 (timeclock-update-mode-line): Likewise. All callers changed.
1598 (timeclock-mode-line-display): No need to check before using
1600 (timeclock-relative, timeclock-day-over-hook)
1601 (timeclock-use-elapsed, timeclock-mode-string)
1602 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1604 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1605 crisp-mode-modeline-string.
1607 * play/solitaire.el (solitaire-build-mode-line): Rename from
1608 solitaire-build-modeline. All callers changed.
1610 * play/zone.el (zone-hiding-mode-line): Rename from
1611 zone-hiding-modeline. All callers changed.
1612 (zone): Remove unusued `modeline-hidden-level' property.
1614 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1615 xscheme-modeline-initialize. All callers changed.
1617 * strokes.el (strokes-lighter): Rename from
1618 strokes-modeline-string.
1620 * textmodes/sgml-mode.el (html-face-tag-alist)
1621 (html-tag-face-alist): Use mode-line face instead of obsolete
1624 2012-06-02 Stefan Merten <smerten@oekonux.de>
1626 * textmodes/rst.el: Always require `cl'.
1627 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1629 2012-06-02 Chong Yidong <cyd@gnu.org>
1631 * image.el (imagemagick-enabled-types): Rename from
1632 imagemagick-types-enable. Add many more types.
1633 (imagemagick-types-inhibit): Change default to nil.
1634 (imagemagick-filter-types): Caller changed.
1636 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * emacs-lisp/cl-macs.el: Use backquotes.
1639 (cl-transform-function-property): Use eval-and-compile rather than
1641 (defstruct): Use declare-function instead of with-no-warnings.
1643 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1644 (byte-compile-output-docform): Re-add the print-circle bindings.
1645 (byte-compile-fix-header): Use #$ just because it's shorter.
1646 (byte-compile-output-file-form): Remove defun/defmacro.
1648 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1650 * simple.el (choose-completion): Remove now obsolete binding for
1653 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1656 in order to avoid "Stack overflow in regexp matcher".
1658 2012-05-31 Glenn Morris <rgm@gnu.org>
1660 * image.el: For clarity, call imagemagick-register-types at
1661 top-level, rather than relying on a custom :initialize.
1662 (imagemagick-types-enable): New option. (Bug#11557)
1663 (imagemagick-filter-types): New function. (Bug#7406)
1664 (imagemagick-register-types): Use imagemagick-filter-types.
1665 If disabling support, remove elements altogether rather
1666 than using an impossible regexp.
1667 (imagemagick-types-inhibit): Give it the default init function.
1669 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1671 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1672 Handle arbitrary file name lengths (Bug#11585).
1674 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1676 * desktop.el (desktop-read): Clear previous and next buffers for
1677 all windows and bury *Messages* buffer (bug#11556).
1679 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1681 Add `declare' for `defun'. Align `defmacro's with it.
1682 * emacs-lisp/easy-mmode.el (define-minor-mode)
1683 (define-globalized-minor-mode): Don't autoload the var definitions.
1684 * emacs-lisp/byte-run.el: Use lexical-binding.
1685 (defun-declarations-alist, macro-declarations-alist): New vars.
1686 (defmacro, defun): Use them.
1687 (make-obsolete, define-obsolete-function-alias)
1688 (make-obsolete-variable, define-obsolete-variable-alias):
1690 (macro-declaration-function): Mark obsolete.
1691 * emacs-lisp/autoload.el: Use lexical-binding.
1692 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1694 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1696 * textmodes/ispell.el (ispell-with-no-warnings):
1698 (ispell-kill-ispell, ispell-change-dictionary):
1699 Use `called-interactively-p' for Emacs instead of obsolete
1702 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1705 (macro-declaration-function): Move var from C code.
1706 (macro-declaration-function): Define function with defalias.
1707 * emacs-lisp/macroexp.el (macroexpand-all-1):
1708 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1709 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1710 defun/defmacro any more.
1711 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1712 Provide fallback for unknown arglist.
1713 (byte-compile-arglist-warn): Change calling convention.
1714 (byte-compile-output-file-form): Move print-vars binding.
1715 (byte-compile-output-docform): Simplify accordingly.
1716 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1717 (byte-compile-defmacro-declaration): Remove.
1718 (byte-compile-file-form-defmumble): Generalize to defalias.
1719 (byte-compile-output-as-comment): Return byte-positions.
1720 Simplify callers accordingly.
1721 (byte-compile-lambda): Use `assert'.
1722 (byte-compile-defun, byte-compile-defmacro): Remove.
1723 (byte-compile-file-form-defalias):
1724 Use byte-compile-file-form-defmumble.
1725 (byte-compile-defalias-warn): Remove.
1727 2012-05-29 Stefan Merten <smerten@oekonux.de>
1729 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1730 possible. Fix authors. Improve comments. Improve loading of `cl'.
1732 (rst-mode-abbrev-table): Merge definition.
1733 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1734 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1736 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1738 * calendar/icalendar.el
1739 (icalendar-export-region): Export UID properly.
1741 2012-05-29 Leo <sdl.web@gmail.com>
1742 * calendar/icalendar.el (icalendar-import-format):
1743 Add `icalendar-import-format-uid' (Bug#11525).
1744 (icalendar-import-format-uid): New.
1745 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1748 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1751 different alternative patterns.
1752 (pcase-codegen): Be more careful to preserve identity.
1753 (pcase--u1): Don't forget to mark vars as used.
1755 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1756 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1757 (byte-compile-from-buffer): ...rather than here.
1759 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1760 functions from byte-compile-function-environment.
1762 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1764 * window.el (window-deletable-p): Avoid deleting the root window
1765 of a frame with an active minibuffer.
1767 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1769 * simple.el (choose-completion): Use quit-window (Bug#11567).
1771 2012-05-29 Chong Yidong <cyd@gnu.org>
1773 * whitespace.el (whitespace-cleanup): Fix usage of
1774 whitespace-empty-at-bob-regexp (Bug#11492).
1776 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1778 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1781 2012-05-29 Juri Linkov <juri@jurta.org>
1783 * isearch.el (isearch-mode-map): Bind `M-s _' to
1784 `isearch-toggle-symbol'. Bind `M-s c' to
1785 `isearch-toggle-case-fold'.
1786 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1787 (isearch-forward): Add `M-s _' to the docstring.
1788 (isearch-forward-symbol, isearch-toggle-case-fold)
1789 (isearch-symbol-regexp): New functions. (Bug#11381)
1791 2012-05-29 Juri Linkov <juri@jurta.org>
1793 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1794 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1795 a function, call it to get the regexp.
1796 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1797 property `isearch-message-prefix' instead of the string "word ".
1798 (isearch-search-fun-default): For the case of `isearch-word',
1799 return a lambda that calls re-search-forward/re-search-backward
1800 with a regexp returned by `word-search-regexp' or by the function
1803 2012-05-29 Juri Linkov <juri@jurta.org>
1805 * isearch.el (isearch-search-fun-default): New function.
1806 (isearch-search-fun): Move default part to the new function
1807 `isearch-search-fun-default'.
1808 (isearch-search-fun-function): Set the default value to
1809 `isearch-search-fun-default'. (Bug#11381)
1811 * comint.el (comint-history-isearch-end):
1812 Use `isearch-search-fun-default'.
1813 (comint-history-isearch-search): Use `isearch-search-fun-default'
1814 and remove spacial case for `isearch-word'.
1815 (comint-history-isearch-wrap): Remove spacial case for
1818 * hexl.el (hexl-isearch-search-function):
1819 Use `isearch-search-fun-default'.
1821 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1822 Use `word-search-regexp' for `isearch-word'.
1824 * misearch.el (multi-isearch-search-fun):
1825 Use `isearch-search-fun-default'.
1827 * simple.el (minibuffer-history-isearch-search):
1828 Use `isearch-search-fun-default' and remove spacial case for
1830 (minibuffer-history-isearch-wrap): Remove spacial case for
1833 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1834 Remove spacial case for `isearch-word'.
1835 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1837 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1839 Decrease XEmacs incompatibilities.
1840 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1842 (flyspell-delete-region-overlays): Use alternative definition for
1844 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1845 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1846 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1847 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1848 `define-obsolete-face-alias' under XEmacs, but old method.
1850 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1851 `with-no-warnings' definition or Emacs alias.
1852 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1853 (ispell-word): Do not use `region-p' if XEmacs.
1855 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1857 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1858 Check for `ispell-dictionary-base-alist' instead of full
1859 `ispell-dictionary-alist'.
1860 (ispell-init-process): Show spellchecker when starting new Ispell
1863 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1865 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1866 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1868 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1870 * version.el (motif-version-string, gtk-version-string)
1871 (ns-version-string): Declare.
1873 2012-05-27 Juri Linkov <juri@jurta.org>
1875 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1876 after the `eval-defun-1' specialcaseing
1877 like in `edebug-eval-defun' (bug#10181).
1879 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1880 like in `eval-defun-1'.
1882 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1884 * mail/sendmail.el (mail-yank-region):
1885 Recognize rmail-yank-current-message in addition to insert-buffer.
1886 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1887 a *mail* buffer created through rmail-start-mail with sendmail as
1890 2012-05-27 Chong Yidong <cyd@gnu.org>
1892 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1893 Default to 256 (Bug#11267).
1895 * help.el (describe-mode): Doc fix.
1897 2012-05-26 Glenn Morris <rgm@gnu.org>
1899 * w32-fns.el (w32-init-info): Remove.
1900 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1902 * info.el (info-initialize): For self-contained NS builds, put the
1903 included info/ directory at the front. (Bug#2791)
1905 * paths.el (Info-default-directory-list): Make it a defcustom,
1906 mainly so that we can use custom-initialize-delay.
1908 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * subr.el (buffer-has-markers-at): Mark obsolete.
1912 * subr.el (lambda): Use declare.
1914 * emacs-lisp/lisp-mode.el (lambda):
1915 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1917 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1919 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1921 2012-05-26 Glenn Morris <rgm@gnu.org>
1923 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1925 2012-05-25 Glenn Morris <rgm@gnu.org>
1927 * paths.el: Remove no-byte-compile.
1928 * loadup.el: No need to load paths.el uncompiled.
1930 * image.el (imagemagick-types-inhibit): Doc fix.
1932 * version.el: Remove no-byte-compile and associated formatting.
1933 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1934 is ancient code from when there was an "inc-vers.el".
1936 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * progmodes/gdb-mi.el: Minor style changes.
1939 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1940 Turn into minor modes.
1941 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1942 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1943 (gdb-shell): Remove unneeded let-binding.
1944 (gdb-get-many-fields): Eliminate O(n²) behavior.
1946 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1948 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1949 platforms that don't link in fontset.c.
1951 2012-05-25 Juri Linkov <juri@jurta.org>
1953 Use the same diff color scheme as in modern VCSes (bug#10181).
1955 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1956 to avoid confusion with `diff-added' that now uses green colors.
1957 (diff-removed): Use shades of red.
1958 (diff-added): Use shades of green.
1959 (diff-changed): Leave just the yellow color.
1960 (diff-use-changed-face): New variable.
1961 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1962 how to highlight context diff changes.
1963 (diff-refine-change): Use shades of yellow.
1964 (diff-refine-removed): New face that uses shades of red.
1965 (diff-refine-added): New face that uses shades of green.
1966 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1967 `diff-refine-removed' in the call to `smerge-refine-subst'
1968 depending on the value of `diff-use-changed-face'.
1970 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1971 (smerge-other): Use shades of green.
1972 (smerge-base): Use shades of yellow.
1973 (smerge-refined-change): Empty face.
1974 (smerge-refined-removed): New face that uses shades of red.
1975 (smerge-refined-added): New face that uses shades of green.
1976 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1977 args `props-r' and `props-a', and use them. Doc fix.
1978 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1979 on its value use different faces `smerge-refined-change',
1980 `smerge-refined-removed', `smerge-refined-added' in the call to
1981 `smerge-refine-subst'.
1983 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1984 Add face condition `min-colors 88' with shades of red.
1985 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1986 `min-colors 88' with shades of green.
1987 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1988 `min-colors 88' with shades of yellow.
1990 2012-05-24 Glenn Morris <rgm@gnu.org>
1992 * paths.el (prune-directory-list, remote-shell-program): Move to...
1993 * files.el (prune-directory-list, remote-shell-program): ...here.
1994 For the latter, delay initialization, prefer ssh, just search PATH.
1996 * paths.el (term-file-prefix): Move to faces.el (the only user).
1997 * faces.el (term-file-prefix): Move here, make it a defcustom.
1999 * paths.el (news-directory, news-path, news-inews-program):
2000 Move to gnus/nnspool.el.
2002 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2004 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2005 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2006 Make the latter a defcustom, with a delayed initialization.
2008 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2009 These were deleted from Gnus itself late 2010.
2011 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2013 * progmodes/which-func.el (which-func-ff-hook):
2014 Check against user-error, not error.
2016 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2017 cl-specs.el, which no longer exists.
2019 2012-05-22 Glenn Morris <rgm@gnu.org>
2021 * info.el (info-emacs-bug): New command.
2022 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2023 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2025 2012-05-21 Glenn Morris <rgm@gnu.org>
2027 * makefile.w32-in (update-subdirs-SH):
2028 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2030 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2032 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2034 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2035 Simplify Maven regexp, and make sure the file can't start with a space
2038 2012-05-21 Glenn Morris <rgm@gnu.org>
2040 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2041 Scrap superfluous subshells.
2043 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2046 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2048 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2050 * calc/calc.el (calc-ensure-consistent-units): New variable.
2052 * calc/calc-units.el (math-consistent-units-p)
2053 (math-check-unit-consistency): New functions.
2054 (calc-quick-units, calc-convert-units):
2055 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2057 (calc-extract-units): Fix typo.
2059 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2063 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2064 (flyspell-default-deplacement-commands): Don't spell check after
2065 repeated window/frame switches (e.g. triggered by mouse-movement).
2066 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2067 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2068 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2069 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2071 (flyspell-get-casechars, flyspell-get-not-casechars):
2072 Simplify; Don't bother removing a ] just to add it back.
2073 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2075 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2077 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2079 (math-function-table): Add support for more C functions.
2081 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2083 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2084 (flyspell-debug-signal-word-checked): Protect delay handling for
2085 otherchars against empty otherchars.
2087 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2090 their respective macro declarations.
2091 * skeleton.el (define-skeleton):
2092 * progmodes/compile.el (define-compilation-mode):
2093 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2094 (define-ibuffer-filter):
2095 * emacs-lisp/generic.el (define-generic-mode):
2096 * emacs-lisp/easy-mmode.el (define-minor-mode)
2097 (define-globalized-minor-mode):
2098 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2099 * emacs-lisp/byte-run.el (defsubst):
2100 * custom.el (deftheme): Add doc-string metadata.
2102 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2104 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2106 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2110 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2111 * emacs-lisp/cl-macs.el: Idem.
2112 * emacs-lisp/cl-specs.el: Remove.
2114 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2116 Minor renaming of internal CL functions and variables.
2117 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2118 (cl--position): Rename from cl-position.
2119 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2120 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2121 (cl--random-state): Rename from *random-state*.
2123 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2126 parens around the arg list (bug#11499).
2128 2012-05-17 Juri Linkov <juri@jurta.org>
2130 * isearch.el (word-search-regexp, word-search-backward)
2131 (word-search-forward, word-search-backward-lax)
2132 (word-search-forward-lax): Move functions from search.c
2133 (bug#10145, bug#11381).
2135 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2137 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2138 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2139 normal word components.
2141 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * minibuffer.el (completion--sifn-requote): Fix last change.
2144 (minibuffer-local-must-match-filename-map):
2145 Move define-obsolete-variable-alias before its var.
2147 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2151 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2153 (completion--string-equal-p): New function.
2154 (completion--twq-all): Use it to get better assertion failure data.
2156 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2157 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2158 (shell--requote-argument): New functions.
2159 (shell-completion-vars): Use them.
2160 (shell--parse-pcomplete-arguments): Rename from
2161 shell-parse-pcomplete-arguments.
2162 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2163 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2164 Obey comint-file-name-quote-list.
2166 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2167 (smie-indent-keyword): Use it.
2169 2012-05-14 Stefan Merten <smerten@oekonux.de>
2171 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2173 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * net/rlogin.el (rlogin-mode-map): Fix last change.
2177 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2179 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2180 the following \r\n using a single `process-send-string', since the
2181 Lotus SMTP server refuses to accept any commands if they are sent
2182 with two `process-send-string's (Bug#11444).
2184 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * shell.el (shell-parse-pcomplete-arguments):
2187 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2189 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2191 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2192 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2193 (image-transform-width, image-transform-fit-width): New functions.
2194 (image-transform-properties): Use them.
2195 (image-transform-check-size): New function.
2196 (image-toggle-display-image): Use it (for testing).
2197 (image-transform-set-rotation): Reduce angle mod 360.
2198 Delete obsolete comment.
2200 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2202 * image-mode.el: Fix scaling (bug#11399).
2203 (image-transform-resize): Doc fix.
2204 (image-transform-properties): Default scale is 1 and height should
2207 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2209 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2210 than hard-coding `car', to fix misbehavior when moving forward.
2212 2012-05-13 Chong Yidong <cyd@gnu.org>
2214 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2215 (tabulated-list-entries, tabulated-list-padding)
2216 (tabulated-list-sort-key): Make permanent-local.
2218 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2219 (electric-buffer-list): Put electric buffer menu
2220 command descriptions in this docstring, instead of the docstring
2221 of electric-buffer-menu-mode. Code cleanups.
2222 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2223 Electric-buffer-menu-mode.
2224 (electric-buffer-update-highlight): Minor code cleanup.
2226 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2228 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2231 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2233 Move define-obsolete-variable-alias before the var's definition.
2234 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2235 * tooltip.el (tooltip-hook):
2236 * textmodes/reftex-toc.el (reftex-toc-map):
2237 * textmodes/reftex-sel.el (reftex-select-label-map)
2238 (reftex-select-bib-map):
2239 * textmodes/reftex-index.el (reftex-index-map)
2240 (reftex-index-phrases-map):
2241 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2242 * progmodes/meta-mode.el (meta-mode-map):
2243 * novice.el (disabled-command-hook):
2244 * loadhist.el (unload-hook-features-list):
2245 * frame.el (blink-cursor):
2246 * files.el (find-file-not-found-hooks, write-file-hooks)
2247 (write-contents-hooks):
2248 * emulation/tpu-edt.el (GOLD-map):
2249 * emacs-lock.el (emacs-lock-from-exiting):
2250 * emacs-lisp/generic.el (generic-font-lock-defaults):
2251 * emacs-lisp/chart.el (chart-map):
2252 * dos-fns.el (register-name-alist):
2253 * dired-x.el (dired-omit-files-p):
2254 * desktop.el (desktop-enable):
2255 * cus-edit.el (custom-mode-hook):
2256 * buff-menu.el (buffer-menu-mode-hook):
2257 * bookmark.el (bookmark-read-annotation-text-func)
2258 (bookmark-exit-hooks):
2259 * allout.el (allout-mode-deactivate-hook)
2260 (allout-exposure-change-hook, allout-structure-added-hook)
2261 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2262 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2263 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2264 comes before the corresponding variable's definition.
2266 2012-05-12 Chong Yidong <cyd@gnu.org>
2268 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2269 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2270 (Buffer-menu-mode-map): Bind it.
2271 (Buffer-menu--pretty-name): Add a mouse-face property.
2273 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2276 (prolog-upper-case-string, prolog-lower-case-string)
2277 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2278 (prolog-use-smie, prolog-smie-grammar): New vars.
2279 (prolog-smie-forward-token, prolog-smie-backward-token)
2280 (prolog-smie-rules): New funs.
2281 (prolog-comment-indent): Remove.
2282 (prolog-mode-variables): Use default comment indentation instead.
2284 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2285 (prolog-mode): Don't call them any more.
2286 (prolog-electric-colon, prolog-electric-dash)
2287 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2289 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2291 * minibuffer.el (completion--twq-all): Again, allow case differences.
2293 * term.el: Move keymap initialization code to be more idiomatic.
2294 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2295 (term-terminal-menu): Move initialization into declaration.
2296 (term-escape-char): Let the user set it in her .emacs.
2298 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2299 Provide SMIE-based indentation (not enabled by default yet).
2300 (sh-mode-map): Don't bind electric keys.
2301 Use electric-pair-mode instead of skeleton-pair.
2302 (sh-assignment-regexp): Fit within 80 columns.
2303 (sh-indent-supported): Specify actual shell name instead of boolean.
2304 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2305 (sh-maybe-here-document): Use it. Make obsolete.
2306 (sh-electric-here-document-mode) New minor mode.
2307 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2308 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2309 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2310 (sh-smie-rc-grammar, sh-use-smie): New vars.
2311 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2312 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2313 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2314 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2315 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2316 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2317 (sh-set-shell): Use smie-setup if requested.
2319 * term.el (term-set-escape-char): Properly set term-escape-char.
2320 See http://stackoverflow.com/questions/10524656.
2322 2012-05-10 Chong Yidong <cyd@gnu.org>
2324 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2325 Use url-generic-parse-url, and handle host names and Windows
2327 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2328 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2329 URL schemes to work on.
2330 (ffap--toggle-read-only): New function.
2331 (ffap-read-only, ffap-read-only-other-window)
2332 (ffap-read-only-other-frame): Use it.
2333 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2334 necessary for ffap-url-unwrap-remote.
2336 2012-05-10 Dave Abrahams <dave@boostpro.com>
2338 * cus-start.el (create-lockfiles): Add it.
2340 2012-05-09 Chong Yidong <cyd@gnu.org>
2342 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2343 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2345 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2349 2012-05-09 Chong Yidong <cyd@gnu.org>
2351 * ansi-color.el (ansi-color-process-output): Check for validity of
2352 comint-last-output-start before using it. This avoids a bad
2353 interaction with gdb-mi's input/output buffer.
2355 2012-05-09 Glenn Morris <rgm@gnu.org>
2357 * files.el (dir-locals-read-from-file):
2358 Mention dir-locals in any error message.
2360 2012-05-09 Chong Yidong <cyd@gnu.org>
2362 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2363 package (Bug#11410).
2365 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2366 variables into description.
2368 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2371 shell-delimiter-argument-list (bug#11348).
2372 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2374 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2376 * textmodes/rst.el: Silence byte-compiler warnings.
2377 (rst-re-alist, rst-reset-section-caches): Move around.
2378 (rst-re): Use `characterp', not `char-valid-p'.
2379 (font-lock-beg, font-lock-end): Declare.
2381 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2382 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2384 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2386 2012-05-08 Glenn Morris <rgm@gnu.org>
2388 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2390 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * vc/log-edit.el: Add GNU coding standards highlighting.
2393 (log-edit-font-lock-gnu-style)
2394 (log-edit-font-lock-gnu-keywords): New vars.
2395 (log-edit-font-lock-keywords): New fun.
2396 (log-edit-mode): Don't fold case in font-lock.
2397 (log-edit-font-lock-keywords): Do not assume case-folding.
2399 * imenu.el: Misc cleanup. Make docstrings out of comments.
2400 Use lexical-binding.
2401 (imenu--index-alist, imenu--last-menubar-index-alist)
2402 (imenu-menubar-modified-tick): Use defvar-local.
2403 (imenu--split-menu): Remove unused var.
2404 (imenu--cleanup-seen): Declare as global.
2405 (imenu--cleanup): Use dolist.
2407 * subr.el (defvar-local): Add debug spec and doc-string position.
2409 2012-05-08 Glenn Morris <rgm@gnu.org>
2411 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2412 * language/english.el, language/georgian.el, language/greek.el:
2413 * language/japanese.el, language/khmer.el, language/korean.el:
2414 * language/lao.el, language/misc-lang.el, language/romanian.el:
2415 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2416 * language/thai.el, language/utf-8-lang.el:
2417 Remove no-byte-compile setting.
2419 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2421 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2423 * progmodes/make-mode.el (makefile-browse):
2424 Remove unnecessary interactive. (Bug#11324)
2426 2012-05-07 Glenn Morris <rgm@gnu.org>
2428 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2430 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2432 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * loadup.el: Preload newcomment.el.
2435 * newcomment.el: Move autoload-only code to toplevel.
2437 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2438 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2439 Handle new :right-align column property.
2440 (tabulated-list-print-col): Idem, plus use `display' text-property to
2441 try and preserve alignment for variable pitch fonts.
2443 2012-05-07 Chong Yidong <cyd@gnu.org>
2445 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2446 (tabulated-list-use-header-line): New var.
2447 (tabulated-list-init-header): Use it.
2448 (tabulated-list-print-fake-header): New function.
2449 (tabulated-list-print): Use it.
2450 (tabulated-list-sort-button-map): Add non-header-line commands.
2451 (tabulated-list-init-header): Add column name property to basic
2453 (tabulated-list-col-sort): Handle non-header-line button case.
2454 (tabulated-list--sort-by-column-name): Fix a corner case.
2456 * buff-menu.el (list-buffers--refresh):
2457 Handle Buffer-menu-use-header-line.
2459 2012-05-06 Chong Yidong <cyd@gnu.org>
2461 * buff-menu.el: Convert to Tabulated List mode.
2462 (Buffer-menu-buffer+size-width): Make obsolete.
2463 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2464 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2465 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2466 documentation into docstring of buffer-menu.
2467 (Buffer-menu-toggle-files-only): Add an informative message.
2468 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2469 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2470 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2471 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2472 (Buffer-menu-execute, Buffer-menu-select)
2473 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2474 (Buffer-menu-bury): Use Tabulated List machinery.
2475 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2476 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2478 (list-buffers--refresh): New function.
2479 (list-buffers-noselect): Use it.
2480 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2481 (Buffer-menu--pretty-file-name): New helper functions.
2483 * loadup.el: Preload tabulated-list.
2485 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2486 tabulated-list-sort-column.
2487 (tabulated-list-init-header): Add the initial aligning space even
2488 if tabulated-list-padding is zero.
2490 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2492 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2493 whose cdr is not a cons cell correctly (bug#11038).
2495 2012-05-06 Chong Yidong <cyd@gnu.org>
2497 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2498 Accept additional plist in column descriptors.
2499 (tabulated-list-init-header): Obey it.
2500 (tabulated-list-get-entry): New function.
2501 (tabulated-list-put-tag): Use it. Use string-width instead of
2503 (tabulated-list--column-number): New function.
2504 (tabulated-list-print): Use it.
2505 (tabulated-list-print-col): New function.
2506 Set `tabulated-list-column-name' property on each column's text.
2507 (tabulated-list-print-entry): Use it.
2508 (tabulated-list-delete-entry, tabulated-list-set-col):
2510 (tabulated-list-sort-column): New command (Bug#11337).
2512 * buff-menu.el (list-buffers): Move C-x C-b binding from
2513 buff-menu.el to bindings.el.
2515 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2516 :advertised-binding feature.
2518 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2520 * progmodes/compile.el (compilation-internal-error-properties):
2521 Calculate start position correctly when end-col is set but
2522 end-line is not (Bug#11382).
2524 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2526 * man.el (Man-unindent): Use text-property-default-nonsticky to
2527 prevent untabify from inheriting face properties (Bug#11408).
2529 2012-05-05 Stefan Merten <smerten@oekonux.de>
2531 * textmodes/rst.el: Major merge with upstream development up to
2532 Docutils SVN r7399 / rst.el V1.2.1.
2534 Clarify maintainership and authors.
2536 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2537 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2538 (rst-official-version, rst-official-cvs-rev, rst-version)
2539 (rst-package-emacs-version-alist): New functions and variables
2540 for version information.
2542 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2543 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2544 (rst-mode-syntax-table, rst-mode): New and corrected functions
2545 and variables representing reStructuredText features.
2547 (rst-re): New function for reStructuredText regexes. Use in
2550 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2551 (rst-mode-map): Rebind keys.
2553 (rst-mode-lazy, rst-font-lock-keywords)
2554 (rst-font-lock-extend-region)
2555 (rst-font-lock-extend-region-internal)
2556 (rst-font-lock-extend-region-extend)
2557 (rst-font-lock-find-unindented-line-limit)
2558 (rst-font-lock-find-unindented-line-match)
2559 (rst-adornment-level, rst-font-lock-adornment-level)
2560 (rst-font-lock-adornment-match)
2561 (rst-font-lock-handle-adornment-pre-match-form)
2562 (rst-font-lock-handle-adornment-matcher): Major revision of
2563 font-locking. Integrate with other code. Use `jit-lock-mode'.
2565 (rst-preferred-adornments, rst-adjust-hook)
2566 (rst-new-adornment-down, rst-preferred-bullets)
2567 (rst-preferred-bullets, rst-indent, rst-indent-width)
2568 (rst-indent-field, rst-indent-literal-normal)
2569 (rst-indent-literal-minimized, rst-indent-comment): Change,
2570 extend and improve customization.
2572 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2573 (rst-normalize-cursor-position, rst-get-decoration)
2574 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2575 (rst-rstrip, rst-toc-insert-find-delete-contents)
2576 (rst-shift-fill-region, rst-compute-bullet-tabs)
2577 (rst-debug-print-tabs, rst-debug-mark-found)
2578 (rst-shift-region-guts, rst-shift-region-right)
2579 (rst-shift-region-left, rst-use-char-classes)
2580 (rst-font-lock-keywords-function)
2581 (rst-font-lock-indentation-point)
2582 (rst-font-lock-find-unindented-line-begin)
2583 (rst-font-lock-find-unindented-line-end)
2584 (rst-font-lock-find-unindented-line)
2585 (rst-font-lock-adornment-point, rst-font-lock-level)
2586 (rst-adornment-level-alist): Remove functions and variables.
2588 (rst-compare-adornments, rst-get-adornment-match)
2589 (rst-suggest-new-adornment, rst-get-adornments-around)
2590 (rst-adornment-complete-p, rst-get-next-adornment)
2591 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2592 (rst-straighten-adornments): Standardize function names to
2593 use "adornment" instead of "decoration". Correct callers.
2594 Similar standardizing in many places.
2596 (rst-update-section, rst-adjust, rst-promote-region)
2597 (rst-enumerate-region, rst-bullet-list-region)
2598 (rst-repeat-last-character): Correct use of `interactive'.
2600 (rst-classify-adornment, rst-find-all-adornments)
2601 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2602 (rst-find-leftmost-column, rst-repeat-last-character):
2605 (rst-find-title-line, rst-reset-section-caches)
2606 (rst-get-adornments-around, rst-adjust-adornment-work)
2607 (rst-arabic-to-roman, rst-roman-to-arabic)
2608 (rst-insert-list-pos, rst-insert-list-new-item)
2609 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2612 (rst-all-sections, rst-section-hierarchy)
2613 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2616 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2617 configuration instead of only buffer. Change where necessary.
2619 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2620 (rst-shift-region, rst-adaptive-fill): New functions for
2621 indentation and filling.
2623 (rst-comment-line-break, rst-comment-indent)
2624 (rst-comment-insert-comment, rst-comment-region)
2625 (rst-uncomment-region): New functions for handling comments.
2627 (rst-compile): Quote shell arguments.
2629 (rst-compile-pdf-preview, rst-compile-slides-preview):
2630 Delete temporary files after use.
2632 2012-05-05 Glenn Morris <rgm@gnu.org>
2634 * calendar/cal-html.el: Optionally include holidays in the output.
2635 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2636 (cal-html-holidays): New option.
2637 (cal-html-css-default): Add holiday entry.
2638 (holiday-in-range): Autoload it.
2639 (cal-html-htmlify-entry): Add optional class argument.
2640 (cal-html-htmlify-list): Add optional holidays argument.
2641 (cal-html-insert-agenda-days): Include holidays in the output.
2642 (cal-html-one-month): Maybe include holidays.
2644 * calendar/holidays.el (holiday-in-range):
2645 Move here from cal-tex-list-holidays.
2646 * calendar/cal-tex.el (cal-tex-list-holidays):
2647 Make it an obsolete alias for holiday-in-range. Update all callers.
2649 2012-05-05 Chong Yidong <cyd@gnu.org>
2651 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2654 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2656 * files.el (file-auto-mode-skip): New var.
2657 (set-auto-mode-1): Use it.
2659 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * repeat.el: Use lexical-binding.
2662 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2663 (repeat-undo-count): Remove.
2665 * progmodes/octave-mod.el (octave-abbrev-start):
2666 * progmodes/f90.el (f90-abbrev-start):
2667 * face-remap.el (text-scale-adjust):
2668 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2670 * emacs-lisp/pcase.el (pcase--let*): New function.
2671 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2673 (pcase--split-pred): Be more clever about ruling out overlap between
2674 a predicate and some constant pattern.
2675 (pcase--q1): Use `null' instead of (eq foo nil).
2677 * subr.el (setq-local, defvar-local): New macros.
2678 (kbd): Redefine as an alias.
2679 (with-selected-window): Leave unrelated frames alone.
2680 (set-temporary-overlay-map): New function.
2682 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * subr.el (user-error): New function.
2685 * window.el (switch-to-buffer):
2686 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2687 (smerge-match-conflict):
2688 * simple.el (previous-matching-history-element)
2689 (next-matching-history-element, goto-history-element, undo-more)
2691 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2692 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2693 (next-file, tags-loop-scan, list-tags, complete-tag):
2694 * progmodes/compile.el (compilation-loop):
2695 * mouse.el (mouse-minibuffer-check):
2696 * man.el (Man-bgproc-sentinel, Man-goto-page):
2697 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2698 (Info-history-forward, Info-follow-reference, Info-menu)
2699 (Info-extract-menu-item, Info-extract-menu-counting)
2700 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2701 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2702 (Info-next-reference, Info-prev-reference, Info-index)
2703 (Info-index-next, Info-follow-nearest-node)
2704 (Info-copy-current-node-name):
2705 * imenu.el (imenu--make-index-alist)
2706 (imenu-default-create-index-function, imenu-add-to-menubar):
2707 * files.el (basic-save-buffer, recover-file):
2708 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2709 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2710 (checkdoc-message-text, checkdoc-defun):
2711 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2712 * cus-edit.el (customize-changed-options, customize-rogue)
2713 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2714 (custom-variable-mark-to-reset-standard)
2715 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2717 * completion.el (check-completion-length):
2718 * comint.el (comint-search-arg)
2719 (comint-previous-matching-input-string-position)
2720 (comint-previous-matching-input)
2721 (comint-replace-by-expanded-history-before-point, comint-send-input)
2722 (comint-copy-old-input, comint-backward-matching-input)
2723 (comint-goto-process-mark, comint-set-process-mark):
2724 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2725 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2727 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * dabbrev.el (dabbrev--ignore-case-p): New function.
2730 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2733 * files.el (automount-dir-prefix): Mark as obsolete.
2735 2012-05-04 Glenn Morris <rgm@gnu.org>
2737 * patcomp.el, play/bruce.el: Move to obsolete/.
2739 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2741 Fix minor Y10k bugs.
2742 * arc-mode.el (archive-unixdate):
2743 * autoinsert.el (auto-insert-alist):
2744 * calc/calc-forms.el (math-this-year):
2745 * emacs-lisp/copyright.el (copyright-current-year)
2746 (copyright-update-year, copyright):
2747 * tar-mode.el (tar-clip-time-string):
2748 * time.el (display-time-update):
2749 Don't assume years have 4 digits.
2751 2012-05-04 Chong Yidong <cyd@gnu.org>
2753 * dos-w32.el (file-name-buffer-file-type-alist)
2754 (direct-print-region-use-command-dot-com):
2755 * ffap.el (ffap-menu-regexp):
2756 * find-file.el (ff-special-constructs):
2757 * follow.el (follow-debug):
2758 * forms.el (forms--debug):
2759 * iswitchb.el (iswitchb-all-frames):
2760 * ido.el (ido-all-frames):
2761 * emacs-lisp/timer.el (timer-max-repeats):
2762 * mail/feedmail.el (feedmail-mail-send-hook)
2763 (feedmail-mail-send-hook-queued):
2764 * mail/footnote.el (footnote-signature-separator):
2765 * mail/mailabbrev.el (mail-alias-separator-string)
2766 (mail-abbrev-mode-regexp):
2767 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2768 * progmodes/idlwave.el (idlwave-libinfo-file)
2769 (idlwave-default-completion-case-is-down)
2770 (idlwave-library-routines): Convert defvars to defcustoms.
2772 * mail/rmail.el (rmail-decode-mime-charset):
2773 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2774 (idlwave-shell-fix-inserted-breaks)
2775 (idlwave-shell-activate-alt-keybindings)
2776 (idlwave-shell-use-breakpoint-glyph):
2777 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2779 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2783 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2785 * progmodes/verilog-mode.el (font-lock-keywords):
2786 Fix mis-highligting auto. Reported by Craig Barner.
2787 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2788 defines from global name space. Reported by Dan Dever.
2789 (verilog-auto-reset, verilog-auto-reset-widths)
2790 (verilog-auto-tieoff): Support using unbased numbers for
2791 AUTORESET and AUTOTIEOFF.
2792 (verilog-submit-bug-report): Update variable list.
2793 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2794 parenthesis from not matching. Reported by Michael Rytting.
2795 (verilog-auto-template-lint): Fix hash error when linting modules
2796 with no used templates.
2797 (verilog-warn, verilog-warn-error)
2798 (verilog-warn-fatal): When non-interactive report multiple
2799 warnings before exiting. Suggested by Brad Dobbie.
2800 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2801 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2802 to report unused template errors. Reported by Brad Dobbie.
2803 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2804 nets, bug438. Reported by Vns Blore.
2805 (verilog-auto-inout-module, verilog-auto-reg)
2806 (verilog-read-decls, verilog-read-sub-decls-sig)
2807 (verilog-signals-edit-wire-reg, verilog-signals-with):
2808 Fix passing of Verilog data types in ANSI input/output ports
2809 such as "output logic" into the AUTOs. Special case "wire" and
2810 "reg" for backwards compatibility presuming Verilog 2001.
2811 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2812 (verilog-preprocess): Fix replication of preprocess output.
2813 Reported by Brad Dobbie.
2814 (verilog-auto-inst-interfaced-ports):
2815 Create verilog-auto-inst-interfaced-ports, bug429.
2816 Reported by Julian Gorfajn.
2817 (verilog-after-save-font-hook)
2818 (verilog-before-save-font-hook): New variable.
2819 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2820 (verilog-save-font-mods): Wrap disabling fontification, reported
2822 (verilog-do-indent, verilog-pretty-declarations-auto)
2823 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2824 Reported by Pierre-David Pfister.
2825 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2826 of class declarations, bug292. Reported by Kevin Heilman.
2827 (verilog-read-decls): Fix 'parameter type' not appearing in
2828 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2829 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2830 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2831 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2832 Reported by David Kravitz.
2834 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2836 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2837 assignment with tests in ifs and for loops.
2838 (verilog-extended-complete-re, verilog-complete-reg): Change so
2839 that DPI inport functions don't look like fuction declarations.
2840 (verilog-pretty-expr): Don't line up assignment
2841 operations to the test and increment in if and for loops
2842 (verilog-extended-complete-re, verilog-complete-reg): Change so
2843 that DPI inport functions don't look like fuction declarations
2845 2012-05-03 Kenichi Handa <handa@m17n.org>
2847 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2848 decoding, and show a warning message without signaling an error
2851 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * emacs-lisp/bytecomp.el
2854 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2855 since cconv.el might have introduced :fun-body, internal-make-closure,
2856 and friends for bytecomp to handle (bug#11391).
2857 * custom.el (defcustom): Avoid ((λ ..) ..).
2859 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2863 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2865 * notifications.el (dbus-debug):
2866 * term/linux.el (gpm-mouse-enable):
2867 * term/screen.el (xterm-register-default-colors): Declare.
2869 2012-05-02 Chong Yidong <cyd@gnu.org>
2871 * cus-start.el (gc-cons-percentage, exec-suffixes)
2872 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2873 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2874 (make-cursor-line-fully-visible, void-text-area-pointer)
2875 (font-list-limit): Add customization data.
2877 * allout.el (allout-exposure-change-functions)
2878 (allout-structure-added-functions)
2879 (allout-structure-deleted-functions)
2880 (allout-structure-shifted-functions): Rename abnormal hooks from
2881 *-hook, and convert to defcustoms.
2882 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2883 Convert to defcustoms.
2884 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2886 * allout-widgets.el: Hook callers changed.
2888 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2890 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2891 the yanked message in preference to the default value of
2892 buffer-file-coding-system.
2894 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2896 * window.el (display-buffer--action-function-custom-type):
2899 2012-05-02 Alan Mackenzie <acm@muc.de>
2901 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2903 2012-05-01 Glenn Morris <rgm@gnu.org>
2905 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2907 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2909 * cus-edit.el (custom-variable-documentation): Simplify with format.
2911 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2912 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * simple.el (suggest-key-bindings, execute-extended-command):
2915 Move from keyboard.c.
2917 2012-05-01 Chong Yidong <cyd@gnu.org>
2919 * follow.el: Eliminate advice.
2920 (set-process-filter, process-filter, sit-for): Advice deleted.
2921 (follow-mode-off-hook): Obsolete hook removed.
2922 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2924 (follow-auto): Use a :set function.
2925 (follow-mode): Rewritten. Don't advise process filters.
2926 (follow-switch-to-current-buffer-all, follow-scroll-up)
2927 (follow-scroll-down): Assume follow-mode is bound.
2928 (follow-comint-scroll-to-bottom)
2929 (follow-align-compilation-windows): New functions.
2930 (follow--window-sorter): New function.
2931 (follow-all-followers): Use it to explicitly sort windows by their
2932 positions; don't make assumptions about next-window order.
2933 (follow-windows-start-end, follow-delete-other-windows-and-split)
2934 (follow-calc-win-start): Doc fix.
2935 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2936 vertical-motion unnecessarily.
2937 (follow-adjust-window): New function.
2938 (follow-post-command-hook): Use it.
2939 (follow-call-set-process-filter, follow-call-process-filter)
2940 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2941 (follow-stop-intercept-process-output, follow-generic-filter):
2943 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2944 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2945 New functions, replacing advice on scroll-bar-* commands.
2946 (follow-mwheel-scroll): New function (Bug#4112).
2948 * comint.el (comint-adjust-point): New function.
2949 (comint-postoutput-scroll-to-bottom): Use it.
2950 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2952 2012-05-01 Glenn Morris <rgm@gnu.org>
2954 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2955 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2956 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2957 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2958 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2959 Remove no-byte-compile setting.
2961 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2964 all-completions code to not return a number in the last cdr.
2966 2012-04-30 Leo Liu <sdl.web@gmail.com>
2968 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2971 2012-04-29 Chong Yidong <cyd@gnu.org>
2973 * follow.el (follow-calc-win-end): Rewrite to handle partial
2974 screen lines correctly (Bug#8390).
2975 (follow-avoid-tail-recenter): Minor cleanup.
2977 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2979 Avoid the obsolete `assoc' package.
2980 * speedbar.el (speedbar-refresh): Avoid adelete.
2981 (speedbar-file-lists): Simplify and avoid aput.
2982 * man.el (Man--sections, Man--refpages): New vars, replacing
2983 Man-sections-alist and Man-refpages-alist.
2984 (Man-build-section-alist, Man-build-references-alist):
2985 Use them; avoid aput.
2986 (Man--last-section, Man--last-refpage): New vars.
2987 (Man-follow-manual-reference): Use them.
2988 Use the `default' arg of completing-read.
2989 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2991 2012-04-27 Chong Yidong <cyd@gnu.org>
2993 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2995 * startup.el (x-apply-session-resources): New function.
2997 * term/ns-win.el (ns-initialize-window-system):
2998 * term/w32-win.el (w32-initialize-window-system):
2999 * term/x-win.el (x-initialize-window-system): Use it to properly
3000 set menu-bar-mode and other vars from X resources, even if the
3001 initial frame is not a window-system frame (Bug#2299).
3003 * subr.el (read-key): Avoid running filter function when setting
3004 up temporary tool bar entries (Bug#9922).
3006 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3008 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3011 2012-04-27 Chong Yidong <cyd@gnu.org>
3013 * select.el (xselect--encode-string): New function, split from
3014 xselect-convert-to-string.
3015 (xselect-convert-to-string): Use it.
3016 (xselect-convert-to-filename, xselect-convert-to-os)
3017 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3018 returned strings are properly encoded (Bug#11315).
3020 2012-04-27 Chong Yidong <cyd@gnu.org>
3022 * simple.el (delete-active-region): Move to killing custom group.
3024 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3026 * progmodes/which-func.el (which-func-current): Quote %
3027 characters for mode-line processing.
3029 2012-04-27 Chong Yidong <cyd@gnu.org>
3031 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3032 reaching eob (Bug#11286).
3034 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3036 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3037 (gdb): Make it buffer-local and init to zero.
3038 (gdb-control-commands-regexp): New variable.
3039 (gdb-send): Don't wrap in "-interpreter-exec console" if
3040 gdb-control-level is positive. Increment gdb-control-level
3041 whenever the command matches gdb-control-commands-regexp, and
3042 decrement it each time the command is "end". (Bug#11279)
3044 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3046 * window.el (adjust-window-trailing-edge, enlarge-window)
3047 (shrink-window, window-resize):
3048 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3049 windows (Bug#11276).
3051 2012-04-27 Chong Yidong <cyd@gnu.org>
3053 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3054 fix "missing prefix" warning. All callers changed.
3056 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * emacs-lisp/assoc.el: Move to obsolete/.
3060 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3064 * term/ns-win.el (ns-define-service):
3065 * progmodes/pascal.el (pascal-goto-defun):
3066 * progmodes/js.el (js--read-tab):
3067 * progmodes/etags.el (tags-lazy-completion-table):
3068 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3069 * emacs-lisp/ewoc.el (ewoc--wrap):
3070 * emacs-lisp/assoc.el (aput, adelete, amake):
3071 * doc-view.el (doc-view-convert-current-doc):
3072 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3074 2012-04-26 Chong Yidong <cyd@gnu.org>
3076 * image.el (image-type-from-buffer): Only return supported image
3079 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3080 value, for symmetry with diff-end-of-hunk.
3081 (diff-split-hunk, diff-find-source-location)
3082 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3083 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3084 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3085 compute the relevant hunk or file properly (Bug#6005).
3086 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3088 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * vc/vc.el: Replace lexical-let by lexical-binding.
3098 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3099 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3100 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3102 2012-04-26 Chong Yidong <cyd@gnu.org>
3104 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3105 (diff-mode-shared-map): Bind it to / and [remap undo].
3107 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3108 (ediff-window-setup-function): Use it as the default, to set up
3109 windows based on whether the current frame is graphical (Bug#2138).
3110 (ediff-choose-window-setup-function-automatically): Make obsolete.
3112 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3114 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * ffap.el: Remove old code for obsolete package.
3117 (ffap-complete-as-file-p): Remove.
3119 Use completion-table-with-quoting for comint and pcomplete.
3120 * comint.el (comint--unquote&requote-argument)
3121 (comint--unquote-argument, comint--requote-argument): New functions.
3122 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3123 (comint-quote-filename): Use regexp-opt-charset.
3124 (comint--common-suffix, comint--common-quoted-suffix)
3125 (comint--table-subvert): Remove.
3126 (comint-unquote-function, comint-requote-function): New vars.
3127 (comint--complete-file-name-data): Use them with
3128 completion-table-with-quoting.
3129 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3130 * pcomplete.el (pcomplete-arg-quote-list)
3131 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3132 (pcomplete-unquote-argument-function): Default to non-nil.
3133 (pcomplete-unquote-argument): Simplify.
3134 (pcomplete--common-quoted-suffix): Remove.
3135 (pcomplete-requote-argument-function): New var.
3136 (pcomplete--common-suffix): New function.
3137 (pcomplete-completions-at-point): Use completion-table-with-quoting
3138 and completion-table-subvert.
3140 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3141 (minibuffer--double-dollars): Preserve properties.
3142 (completion--sifn-requote): New function.
3143 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3145 * minibuffer.el: Add support for completion of quoted/escaped data.
3146 (completion-table-with-quoting, completion-table-subvert): New funs.
3147 (completion--twq-try, completion--twq-all): New functions.
3148 (completion--nth-completion): New function.
3149 (completion-try-completion, completion-all-completions): Use it.
3151 2012-04-25 Leo Liu <sdl.web@gmail.com>
3153 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3154 Use compilation-message if available to find real filename.
3156 2012-04-25 Chong Yidong <cyd@gnu.org>
3158 * vc/diff-mode.el (diff-setup-whitespace): New function.
3159 (diff-mode): Use it.
3161 * vc/diff.el (diff-sentinel):
3162 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3163 Whitespace mode variables based on diff style (Bug#8612).
3165 2012-04-25 Leo Liu <sdl.web@gmail.com>
3167 * progmodes/python.el (python-send-region): Add suffix .py to the
3170 * files.el (auto-mode-alist): Use javascript-mode instead.
3172 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3174 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3176 * soap-client.el (soap-resolve-references-for-sequence-type)
3177 (soap-resolve-references-for-array-type): Hack to prevent self
3178 references, see Bug#9.
3179 (soap-parse-envelope): Report the contents of the 'detail' node
3180 when receiving a fault reply.
3181 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3183 * soap-inspect.el (soap-sample-value-for-simple-type)
3184 (soap-inspect-simple-type): New function.
3186 * soap-client.el (soap-simple-type): New struct.
3187 (soap-default-xsd-types, soap-default-soapenc-types)
3188 (soap-decode-basic-type, soap-encode-basic-type):
3189 support unsignedInt and double basic types.
3190 (soap-resolve-references-for-simple-type)
3191 (soap-parse-simple-type, soap-encode-simple-type): New function.
3192 (soap-parse-schema): Parse xsd:simpleType declarations.
3194 * soap-client.el (soap-default-xsd-types)
3195 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3196 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3197 the local name of "soapenc:Array".
3198 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3199 decoding integer, byte and anyURI xsd types.
3201 2012-04-25 Chong Yidong <cyd@gnu.org>
3203 * cus-edit.el (custom-buffer-create-internal): Update header text.
3205 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3207 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3208 settings on 'system-type', not on 'window-system'. On MS-Windows,
3209 set interactive-mode on in GDB.
3211 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3213 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3214 (ruby-syntax-propertize-regexp): Remove.
3215 (ruby-syntax-propertize-function): Split regexp into chunks.
3216 Match following code directly.
3218 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3220 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3221 (ruby-syntax-propertize-regexp): New function.
3222 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3223 by a special keyword.
3225 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3226 (ruby-syntax-general-delimiters-goto-beg)
3227 (ruby-syntax-propertize-general-delimiters): New functions.
3228 (ruby-syntax-propertize-function): Use them to handle GDL.
3229 (ruby-font-lock-keywords): Move old handling of GDL...
3230 (ruby-font-lock-syntactic-keywords): .. to here.
3231 (ruby-calculate-indent): Adjust indentation for GDL.
3233 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3235 * notifications.el (top): Remove unneeded declarations.
3236 (notifications-specification-version): Change to "1.2".
3237 (notifications-interface, notifications-notify-method)
3238 (notifications-close-notification-method): Fix docstring.
3239 (notifications-get-capabilities-method): New defconst.
3240 (notifications-notify): Add :action-items, :resident and
3241 :transient hints. Change "image_data" to "image-data" and
3242 "image_path" to "image-path".
3243 (notifications-get-capabilities): New defun.
3245 2012-04-24 Leo Liu <sdl.web@gmail.com>
3247 * progmodes/python.el: Move hideshow setup to the end.
3249 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3251 * window.el (handle-select-window): Clear echo area since this is
3252 no more done by read_char (Bug#11304).
3254 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3257 and `/ M' to filter-derived-mode.
3258 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3259 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3260 (ibuffer-mark-by-mode): Use default rather than initial-input.
3261 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3263 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3265 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3266 (ibuffer-filter-by-derived-mode): New filter.
3267 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3269 2012-04-23 Andreas Politz <politza@fh-trier.de>
3271 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3273 2012-04-23 Chong Yidong <cyd@gnu.org>
3275 * cus-edit.el (customize-apropos, customize-apropos-options):
3276 Disable matching of non-option variables (Bug#11176).
3277 (customize-option, customize-option-other-window)
3278 (customize-changed-options): Doc fix.
3279 (customize-apropos-options, customize-apropos-faces)
3280 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3282 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3283 Fix word list splitting (Bug#11132).
3284 (apropos-symbol, apropos-keybinding, apropos-label)
3285 (apropos-property, apropos-function-button)
3286 (apropos-variable-button, apropos-misc-button): New faces.
3287 (apropos-symbol-face, apropos-keybinding-face)
3288 (apropos-label-face, apropos-property-face, apropos-match-face):
3289 Variables removed (Bug#8396).
3290 (apropos-library-button, apropos-format-plist, apropos-print)
3291 (apropos-print-doc, apropos-describe-plist): Callers changed.
3293 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3295 * net/xesam.el (xesam-mode-map): Use let-bound map in
3296 initialization. (Bug#11292)
3298 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3300 Preserve ispell session localwords when switching back to
3303 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3304 variable to hold buffer session localwords.
3305 (ispell-kill-ispell): add option 'clear to delete session
3307 (ispell-command-loop, ispell-change-dictionary)
3308 (ispell-buffer-local-words): Preserve session localwords when
3311 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3312 Preserve session localwords when needed.
3314 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3316 * ispell.el (ispell-insert-word) Remove unneeded function using
3317 obsolete `translation-table-for-input'.
3318 (ispell-word, ispell-process-line, ispell-complete-word):
3319 Use plain `insert' instead of removed `ispell-insert-word'.
3321 2012-04-22 Chong Yidong <cyd@gnu.org>
3323 * cus-edit.el (custom-variable-menu)
3324 (custom-variable-reset-saved, custom-face-menu)
3325 (custom-face-reset-saved): If there is no saved value, make the
3326 "reset-saved" operation bring back the default (Bug#9509).
3327 (custom-face-state): Properly detect themed faces.
3329 * faces.el (face-spec-set): Stop supporting deprecated form of
3332 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3334 Move functions from C to Lisp. Make non-blocking method calls
3335 the default. Implement further D-Bus standard interfaces.
3337 * net/dbus.el (dbus-message-internal): Declare function.
3338 Remove unneeded function declarations.
3339 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3340 (dbus-message-type-method-return, dbus-message-type-error)
3341 (dbus-message-type-signal): Declare variables. Remove local
3343 (dbus-interface-dbus, dbus-interface-peer)
3344 (dbus-interface-introspectable, dbus-interface-properties)
3345 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3347 (dbus-interface-objectmanager): New defconst.
3348 (dbus-call-method, dbus-call-method-asynchronously)
3349 (dbus-send-signal, dbus-method-return-internal)
3350 (dbus-method-error-internal, dbus-register-service)
3351 (dbus-register-signal, dbus-register-method): New defuns, moved
3353 (dbus-call-method-handler, dbus-setenv)
3354 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3356 (dbus-call-method-non-blocking): Make it an obsolete function.
3357 (dbus-unregister-object, dbus-unregister-service)
3358 (dbus-handle-event, dbus-register-property)
3359 (dbus-property-handler): Obey the new structure of
3360 `bus-registered-objects'.
3361 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3362 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3363 Use `dbus-call-method'.
3365 2012-04-22 Chong Yidong <cyd@gnu.org>
3367 * cus-edit.el (custom-commands, custom-reset-menu)
3368 (Custom-reset-standard): Tweak labels.
3369 (custom-reset-button-menu): Change default to t.
3370 (custom-buffer-create-internal): For the custom-reset-button-menu
3371 case, put the revert button first.
3372 (custom-group-subtitle): New face.
3373 (custom-group-value-create): Align docstring to a specific column.
3375 * wid-edit.el (widget-documentation-link-add): Don't handle
3376 indentation in this function.
3377 (widget-documentation-string-indent-to): New function.
3378 (widget-documentation-string-value-create): Use it.
3380 * autorevert.el (auto-revert):
3381 * epg-config.el (epg):
3382 * ibuffer.el (ibuffer):
3385 * eshell/eshell.el (eshell):
3386 * net/ange-ftp.el (ange-ftp):
3387 * progmodes/ebnf2ps.el (postscript):
3388 * progmodes/flymake.el (flymake):
3389 * progmodes/prolog.el (prolog):
3390 * progmodes/verilog-mode.el (verilog-mode):
3391 * progmodes/which-func.el (which-func):
3392 * term/xterm.el (xterm):
3393 * textmodes/picture.el (picture):
3394 * textmodes/tildify.el (tildify):
3395 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3396 customization buffers.
3398 2012-04-22 Alan Mackenzie <acm@muc.de>
3400 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3401 Adding a ) can hide the resulting (..) from searches. Fix it.
3402 Bound the backward search to the position of the existing (.
3404 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3406 * progmodes/verilog-mode.el (verilog-mode): Check whether
3407 which-func-modes is t before adding verilog-mode.
3408 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3410 2012-04-21 Leo Liu <sdl.web@gmail.com>
3412 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3414 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3416 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3417 filling of the last column of a table (Bug#5635).
3418 (woman-find-next-control-line): New arg, specifying an additional
3419 regexp component for the control line.
3420 (woman2-roff-buffer): Use it.
3421 (woman-break-table): New function.
3422 (woman2-TS): Use it.
3424 2012-04-21 Chong Yidong <cyd@gnu.org>
3426 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3427 (woman-horizontal-escapes, woman-negative-vertical-space)
3428 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3429 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3431 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3433 * minibuffer.el (completion-file-name-table): Complete user names.
3435 2012-04-20 Leo Liu <sdl.web@gmail.com>
3437 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3440 2012-04-20 Chong Yidong <cyd@gnu.org>
3442 * server.el (server-execute): Respect initial-buffer-choice if it
3443 is a string and there are no files to open (Bug#2825).
3444 (server-create-window-system-frame, server-create-tty-frame):
3445 Don't switch buffers here.
3446 (server-process-filter): Only try to open a window system frame if
3447 compiled with graphical support (Bug#8314).
3449 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3451 * battery.el (battery-echo-area-format): Display remaining time
3452 for sysfs backend too (Bug#11269).
3453 (battery-linux-sysfs): Fix conditional for the charge.
3455 2012-04-20 Chong Yidong <cyd@gnu.org>
3457 * progmodes/gdb-mi.el (gdb): Revert previous change.
3458 (gdb-inferior-io--init-proc): New function.
3459 (gdb-init-1): Use it.
3460 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3461 responsible for allocating a new pty and hooking it to gdb when
3462 the old pty gets an EIO due to process exit.
3463 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3464 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3465 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3467 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3469 * window.el (window-min-size, window-sizable, window-min-delta)
3470 (window-max-delta, window--resizable, window-resizable)
3471 (window-total-size, window-full-height-p, window-full-width-p)
3472 (window-in-direction, window--resize-mini-window, window-resize)
3473 (window--resize-child-windows-normal)
3474 (window--resize-child-windows, window--resize-siblings)
3475 (window--resize-this-window, adjust-window-trailing-edge)
3476 (enlarge-window, shrink-window): Doc fixes.
3478 2012-04-20 Chong Yidong <cyd@gnu.org>
3480 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3481 New function to call delete-process on the gdb-inferior buffer's pty.
3482 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3483 pty process (Bug#11273).
3484 (gdb-update): New arg to suppress talking to the gdb process.
3485 (gdb-done-or-error): Use it.
3486 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3487 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3488 sentinel not being called.
3490 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3492 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3494 2012-04-20 Glenn Morris <rgm@gnu.org>
3496 * net/network-stream.el (open-network-stream): Doc fix.
3498 2012-04-20 Chong Yidong <cyd@gnu.org>
3500 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3502 2012-04-20 Alan Mackenzie <acm@muc.de>
3504 Ensure searching for keywords is case sensitive.
3506 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3507 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3508 (c-defun-name, c-mark-function, c-cpp-define-name)
3509 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3510 (c-context-line-break): Bind case-fold-search to nil.
3512 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3513 Bind case-fold-search to nil.
3515 2012-04-20 Chong Yidong <cyd@gnu.org>
3517 * mail/sendmail.el (mail-bury): Call return action with the right
3518 Rmail buffer (Bug#11242).
3520 * server.el (server-process-filter): Handle corner case where both
3521 tty and nowait options are present (Bug#11102).
3523 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3525 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3526 (top level): Put into the executable the ident-style '$Id:' tag on
3529 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * electric.el (electric-indent-post-self-insert-function): Check that
3532 electric-indent-mode is enabled in current buffer.
3534 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3536 * imenu.el (imenu-progress-message): Restore; it is "used" in
3537 erc/erc-imenu.el and net/snmp-mode.el.
3539 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3541 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3542 (mouse-avoidance-nudge-mouse): Remove unused binding.
3544 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3546 * descr-text.el (describe-char):
3547 * progmodes/python.el (python-describe-symbol):
3548 Don't call `toggle-read-only', set `buffer-read-only'.
3550 * imenu.el (imenu-default-goto-function): Mark unused args.
3551 (imenu-progress-message): Remove obsolete macro; all callers changed.
3553 * subr.el (keymap-canonicalize): Remove unused binding.
3554 (read-passwd): Mark unused arg.
3556 * tutorial.el (tutorial--display-changes): Remove unused binding.
3557 (tutorial--save-tutorial-to): Remove unused variable.
3559 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3560 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3561 (package-generate-autoloads, package-menu--generate)
3562 (package-menu--find-upgrades): Remove unused bindings.
3564 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3565 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3566 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3567 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3568 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3569 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3570 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3571 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3572 (cua-delete-char-rectangle): Mark unused args.
3573 (cua-align-rectangle): Remove unused binding.
3575 * mail/rmail.el (compilation--message->loc)
3576 (epa--find-coding-system-for-mime-charset): Declare.
3578 * net/dbus.el (dbus-register-service): Declare.
3579 (dbus-name-owner-changed-handler): Remove unused binding.
3581 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3582 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3583 (nxml-scan-backward-within): Mark unused arg.
3584 (nxml-dynamic-markup-word): Remove unused binding.
3586 * mouse.el (mouse-menu-major-mode-map):
3587 * emacs-lisp/authors.el (authors-scan-change-log)
3588 (authors-add-to-author-list):
3589 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3590 * emacs-lisp/smie.el (smie-auto-fill):
3591 * mail/sendmail.el (mail-bury):
3592 * mail/unrmail.el (unrmail):
3593 * net/tls.el (open-tls-stream):
3594 * textmodes/picture.el (picture-mouse-set-point):
3595 Remove unused bindings.
3597 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3599 * net/tramp.el (tramp-action-password): Let-bind
3600 `enable-recursive-minibuffers' to t.
3602 2012-04-18 Sam Steingold <sds@gnu.org>
3604 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3605 instead of 'string to accommodate values like [f11].
3606 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3607 * progmodes/gdb-mi.el: Likewise.
3609 2012-04-18 Leo Liu <sdl.web@gmail.com>
3611 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3613 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3616 2012-04-18 Chong Yidong <cyd@gnu.org>
3618 * simple.el (line-move): Use forward-line if in batch mode
3621 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3623 * files.el (after-find-file): Do not try to add a final newline if
3624 the buffer is read-only (Bug#11156).
3626 2012-04-17 Richard Stallman <rms@gnu.org>
3628 * mail/rmail.el (rmail-start-mail):
3629 Pass (rmail-mail-return...) for the return-action.
3630 Pass (rmail-yank-current-message...) for the yank-action.
3631 (rmail-yank-current-message): New function.
3632 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3633 (rmail-reply): Likewise.
3634 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3636 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3637 buffer, not the last. Reject temp buffers. Use the rmail-mode
3640 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3642 * server.el (server-ensure-safe-dir): Simplify.
3644 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * emacs-lisp/smie.el: Provide smarter auto-filling.
3647 (smie-auto-fill): New function.
3648 (smie-setup): Use it.
3650 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3652 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3654 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3655 (comment-indent): Use it.
3657 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3659 * ses.el: The overall change is to add cell renaming, that is
3660 setting fancy names for cell symbols other than name matching
3661 "\\`[A-Z]+[0-9]+\\'" regexp .
3662 (ses-localvars): Add ses--renamed-cell-symb-list.
3663 (ses-create-cell-variable): New defun.
3664 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3665 (ses-relocate-formula): Relocate formulas only for cells the
3666 symbols of which are not renamed, i.e. symbols whose names do not
3667 match regexp "\\`[A-Z]+[0-9]+\\'".
3668 (ses-relocate-all): Relocate values only for cells the symbols of
3669 which are not renamed.
3670 (ses-load): Create cells variables as the (ses-cell ...) are read,
3671 in order to check row col consistency with cell symbol name only
3672 for cells that are not renamed.
3673 (ses-replace-name-in-formula): New defun.
3674 (ses-rename-cell): New defun.
3676 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3678 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3679 New option (bug#11118).
3680 (perl-calculate-indent): Respect it.
3682 2012-04-17 Glenn Morris <rgm@gnu.org>
3684 * dired-aux.el (dired-mark-read-string): Doc fix.
3686 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3688 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3689 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3691 2012-04-17 Glenn Morris <rgm@gnu.org>
3693 * mouse.el (mouse-drag-track):
3694 * speedbar.el (speedbar-frame-mode):
3695 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3697 2012-04-16 Leo Liu <sdl.web@gmail.com>
3699 * progmodes/python.el: Trivial cleanup.
3701 2012-04-16 Glenn Morris <rgm@gnu.org>
3703 * vc/vc.el (vc-string-prefix-p):
3704 * vc/pcvs-util.el (cvs-string-prefix-p):
3705 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3706 * mpc.el (mpc-string-prefix-p):
3707 Make all of these into obsolete aliases for string-prefix-p.
3709 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3711 * textmodes/two-column.el: Move custom options to the start.
3712 (frame-width): Remove compat definition.
3713 (2C-associate-buffer, 2C-dissociate):
3714 Use with-current-buffer rather than save-excursion.
3715 (2C-dissociate): Force a mode-line update.
3716 (2C-autoscroll): Use ignore-errors.
3718 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3721 * emacs-lisp/cl-extra.el (*random-state*):
3722 Remove unnecessary declaration.
3724 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3726 * play/cookie1.el (cookie-snarf):
3727 Give an explicit error if input file cannot be read.
3729 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3731 * progmodes/perl-mode.el (c-macro-expand):
3732 Remove unnecessary autoload (it is in loaddefs.el).
3734 * textmodes/picture.el (picture-desired-column)
3735 (picture-update-desired-column): Convert comments to doc-strings.
3736 (picture-substitute): Remove function.
3737 (picture-mode-map): Initialize in the defvar.
3739 * woman.el: Remove eval-after-load for tar-mode.
3740 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3741 (woman-tar-extract-file): Autoload it.
3743 * frame.el (automatic-hscrolling): Make this alias obsolete.
3745 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3747 * ispell.el (ispell-set-spellchecker-params): Post-process
3748 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3749 (ispell-dictionary-base-alist): Revert to original XEmacs
3750 friendly version for default. [:alpha:] will be added in
3751 `ispell-set-spellchecker-params' if needed
3753 2012-04-16 Chong Yidong <cyd@gnu.org>
3755 * image.el (imagemagick--extension-regexp): New variable.
3756 (imagemagick-register-types): Use it.
3757 (imagemagick-types-inhibit): Add :set function. Allow new value
3758 of t to inhibit all types.
3760 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3761 so we can preload it.
3763 * loadup.el (fboundp): Preload regexp-opt, needed by
3764 imagemagick-register-types.
3766 2012-04-15 Chong Yidong <cyd@gnu.org>
3768 * frame.el (scrolling): Remove nearly unused customization group.
3770 * scroll-all.el (scroll-all-mode): Move to windows group.
3772 2012-04-15 Chong Yidong <cyd@gnu.org>
3774 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3776 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3778 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3779 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3781 2012-04-15 Glenn Morris <rgm@gnu.org>
3783 * simple.el (process-file-side-effects): Doc fix.
3785 2012-04-15 Glenn Morris <rgm@gnu.org>
3787 * international/mule-cmds.el (set-language-environment): Doc fix.
3789 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3791 * server.el (server-auth-key, server-generate-key): Doc fixes.
3792 (server-get-auth-key): Doc fix. Use `string-match-p'.
3793 (server-start): Reflow docstring.
3795 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3797 * server.el (server-generate-key): `called-interactively-p'
3798 requires a parameter.
3800 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3802 * server.el (server-auth-key): New variable.
3803 (server-generate-key, server-get-auth-key): New function.
3804 (server-start): Use the new variable and functions to allow
3805 setting a permanent server key (bug#9423).
3807 2012-04-14 Leo Liu <sdl.web@gmail.com>
3809 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3811 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3814 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3815 Emacs uses American spelling.
3817 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3819 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3820 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3821 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3822 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3824 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * progmodes/which-func.el (which-func-modes): Change default.
3828 2012-04-14 Kim F. Storm <storm@cua.dk>
3830 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3831 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3833 2012-04-14 Chong Yidong <cyd@gnu.org>
3835 * custom.el (custom-theme-set-variables): Doc fix.
3837 2012-04-14 Glenn Morris <rgm@gnu.org>
3839 * international/mule.el (set-auto-coding-for-load): Doc fix.
3841 2012-04-14 Alan Mackenzie <acm@muc.de>
3843 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3844 imenu work again for Objective C Mode. Correct the *-index values,
3845 these having been disturbed by a previous change in 2011-08.
3847 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3848 Correct two search limits.
3850 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3854 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3856 * international/characters.el: Fix sorting.
3858 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3860 * international/characters.el: Add more missing Latin case pairs.
3862 2012-04-14 Glenn Morris <rgm@gnu.org>
3864 * files.el (dir-locals-set-class-variables): Doc fix.
3866 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3868 * international/characters.el: Add set-case-syntax-pair call for
3869 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3870 counterpart. (Bug#11209)
3872 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3874 2012-04-14 Glenn Morris <rgm@gnu.org>
3876 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3878 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3880 * textmodes/ispell.el (ispell-dictionary-base-alist):
3881 Add data for Hebrew.
3883 2012-04-14 Chong Yidong <cyd@gnu.org>
3885 * net/rcirc.el (rcirc-cmd-quit):
3886 Revert 2012-03-18 change (Bug#11192).
3888 2012-04-14 Glenn Morris <rgm@gnu.org>
3890 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3892 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3894 * minibuffer.el (completion-in-region-mode-map):
3895 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3897 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3899 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3901 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3903 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3904 to allow `C-M-f' and `C-M-b' to move to the nearest path
3905 separator (bug#9511).
3907 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3909 * avoid.el: Require cl when compiling. And also move the
3910 `provide' to the end.
3912 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3914 * avoid.el (mouse-avoidance-banish-position): New variable.
3915 (mouse-avoidance-banish-destination): Use it (bug#10165).
3917 2012-04-13 Leo Liu <sdl.web@gmail.com>
3919 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3921 2012-04-13 Ken Brown <kbrown@cornell.edu>
3923 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3924 this is no longer needed now that cygstart understands file:// URLs.
3925 (browse-url-filename-alist): For the same reason, don't modify
3926 file:// URLs on Cygwin.
3928 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3931 the region on shift if the binding is already shifted (bug#11221).
3933 2012-04-12 Glenn Morris <rgm@gnu.org>
3935 * mail/mailpost.el: Move to obsolete/.
3937 2012-04-12 Drew Adams <drew.adams@oracle.com>
3939 * imenu.el (imenu--generic-function): Ignore invisible definitions
3942 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3944 * hexl.el (hexl-bits): New variable.
3945 (hexl-options): Mention the variable in the doc string.
3946 (hexl-rulerise, hexl-line-displen): New functions.
3947 (hexl-mode): Mention the new variable.
3948 (hexl-mode, hexl-current-address, hexl-current-address):
3950 (hexl-ascii-start-column): New function.
3951 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3952 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3954 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3956 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3957 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3958 the encoding, as expected by hunspell.
3960 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3962 * battery.el (battery--linux-sysfs-regexp): New const.
3963 (battery-status-function): Use it. Remove yeeloong special case.
3964 (battery-yeeloong-sysfs): Remove.
3965 (battery-echo-area-format): Remove yeeloong special case.
3967 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3970 Reported by Noah Friedman.
3972 * subr.el (read-passwd): Use read-string.
3974 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3976 * vcursor.el (vcursor-move): Increase the priority of the overlay
3979 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3981 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3982 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3984 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3986 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3987 define-minor-mode (bug#10760).
3989 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3991 * progmodes/grep.el (rgrep): Tweak the find command line so
3992 that directories matching `grep-find-ignored-files' won't be
3995 2012-04-11 Chong Yidong <cyd@gnu.org>
3997 * startup.el (command-line): Remove support for long-obsolete
3998 variable font-lock-face-attributes.
4000 2012-04-11 Glenn Morris <rgm@gnu.org>
4002 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4004 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * window.el (window--state-get-1): Obey window-point-insertion-type.
4008 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4010 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4011 to previous function when point is on the first character of a
4012 function. Take care of that in `narrow-to-defun' (bug#6157).
4014 2012-04-11 Glenn Morris <rgm@gnu.org>
4016 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4017 not just file-errors.
4019 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4020 (vc-bzr-sha1): Use internal sha1.
4022 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4026 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4028 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4029 that start in the middle of the line (bug#10496).
4031 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4033 * battery.el (battery-linux-proc-acpi): Only one battery is
4034 discharged at a time, but that seems to confuse battery.el when
4035 computing `rate-type' for the battery not being discharged
4038 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4040 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4042 * international/quail.el: Use dolist and simplify.
4043 (quail-define-package, quail-update-keyboard-layout)
4044 (quail-define-rules): Use dolist.
4045 (quail-insert-kbd-layout, quail-get-translation): CSE.
4047 * tmm.el: Use dolist, remove left over hook.
4048 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4050 (calendar-load-hook): Don't mess with it.
4052 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4053 Use derived-mode-p. Run the diff asynchronously.
4055 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4057 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4059 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4061 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4062 (list-dynamic-libraries--loaded): New function.
4063 (list-dynamic-libraries--refresh): Use it.
4065 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4067 * progmodes/python.el (python-fill-paragraph):
4068 Make python-fill-region in a multiline string work when font-lock is
4069 disabled (bug#7018).
4071 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4073 * language/european.el (cp775): Add oem/legacy (en)coding on
4074 DOS/MS Windows for the Baltic languages. There are still plenty
4075 of texts written in this encoding/codepage (bug#6519).
4077 2012-04-10 Glenn Morris <rgm@gnu.org>
4079 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4080 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4082 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4084 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4085 next-line "n" and previous-line "p" in order to make recentf more
4086 consistent with ibuffer, dired or org-mode (bug#9387).
4088 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4090 * image.el (put-image): Return the overlay created instead of the
4091 optional input string (bug#7834). Note that this may break code
4092 that is (for some reason or other) depending on `put-image'
4093 returning the string.
4095 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4097 * simple.el (zap-to-char): Allow zapping using input methods
4100 * textmodes/fill.el (fill-region): Leave point and mark where they
4101 were before filling (bug#5399).
4103 2012-04-09 Glenn Morris <rgm@gnu.org>
4105 * version.el (emacs-bzr-get-version):
4106 Handle lightweight checkouts of local branches.
4108 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4110 * international/characters.el: Recover lost case pairs. (Bug#11209)
4112 2012-04-09 Chong Yidong <cyd@gnu.org>
4114 * custom.el (custom-variable-p): Return nil for non-symbol
4115 arguments instead of signaling an error.
4116 (user-variable-p): Obsolete alias for custom-variable-p.
4118 * apropos.el (apropos-variable):
4119 * files-x.el (read-file-local-variable):
4120 * simple.el (set-variable):
4121 * woman.el (woman-mini-help):
4122 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4124 2012-04-09 Glenn Morris <rgm@gnu.org>
4126 * startup.el (normal-top-level): Don't look for leim-list.el
4127 in places where it will not be found. (Bug#910)
4129 * international/mule-cmds.el (set-default-coding-systems):
4130 * files.el (normal-mode):
4131 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4132 This function was removed with ucs-tables.el in 2008.
4134 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4136 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4137 ispell-encoding8-command to "-i", without a trailing space.
4138 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4139 separate command-line arguments, to specify the encoding, since
4140 that's how hunspell expects it.
4142 2012-04-08 Glenn Morris <rgm@gnu.org>
4144 * loadup.el: Load bindings before cus-start.
4145 This reduces somewhat the number of "rogue" settings in emacs -Q.
4147 2012-04-07 Glenn Morris <rgm@gnu.org>
4149 * version.el (emacs-bzr-get-version): New function.
4150 (emacs-bzr-version): New variable.
4151 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4152 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4154 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4156 * international/uni-bidi.el, international/uni-category.el:
4157 * international/uni-combining.el, international/uni-decimal.el:
4158 * international/uni-decomposition.el, international/uni-digit.el:
4159 * international/uni-lowercase.el, international/uni-mirrored.el:
4160 * international/uni-name.el, international/uni-numeric.el:
4161 * international/uni-titlecase.el, international/uni-uppercase.el:
4162 Update for Unicode 6.1.
4164 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4166 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4168 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170 * window.el (shrink-window): Mention the `window-min-height'
4171 variable in the doc string.
4173 2012-04-05 Bastien Guerry <bzg@altern.org>
4175 * color.el (color-lighten-name): Fix typo.
4177 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * server.el (server--on-display-p): New function.
4180 (server--on-display-p): Use it.
4182 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4184 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4187 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * comint.el (comint--common-quoted-suffix): Check string boundary
4190 before comparing (bug#11158).
4191 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4193 2012-04-04 Chong Yidong <cyd@gnu.org>
4195 * minibuffer.el (completion-extra-properties): Doc fix.
4197 * subr.el (delayed-warnings-hook): Doc fix.
4199 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4201 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4202 selection (Bug#11159).
4203 (epa-insert-keys): Inform that the default public key will be
4204 exported if no key is selected.
4206 2012-04-04 Richard Stallman <rms@gnu.org>
4208 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4210 2012-04-03 Chong Yidong <cyd@gnu.org>
4212 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4213 mail-insert-file, not its obsolete alias mail-attach-file.
4215 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4217 * notifications.el (notifications-notify): Fix docstring.
4219 2012-04-02 Glenn Morris <rgm@gnu.org>
4221 * emacs-lisp/authors.el (authors-aliases): Another addition.
4223 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4225 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4226 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4227 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4229 2012-04-01 Chong Yidong <cyd@gnu.org>
4231 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4232 Handle root directory properly.
4233 (copy-directory): Caller changed.
4235 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4236 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4238 2012-03-31 Glenn Morris <rgm@gnu.org>
4240 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4242 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4244 * calendar/calendar.el (calendar-window-list)
4245 (calendar-hide-window): Restore. (Bug#11140)
4246 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4248 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4250 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4252 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4253 Check if file is a symlink (Bug#10489).
4255 * files.el (copy-directory): Likewise.
4257 2012-03-30 Chong Yidong <cyd@gnu.org>
4259 * image.el (imagemagick-types-inhibit)
4260 (imagemagick-register-types): Doc fix.
4262 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4264 * ispell.el (ispell-get-extended-character-mode):
4265 Disable extended-char-mode for hunspell. hunspell does not support it
4266 and treats ~word as ordinary words in pipe mode.
4268 2012-03-30 Glenn Morris <rgm@gnu.org>
4270 * tutorial.el (help-with-tutorial): Ensure local variables don't
4271 happen to make the buffer read-only. (Bug#11127)
4273 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4276 (perl-calculate-indent): Return `noindent' in strings.
4278 2012-03-28 Sam Steingold <sds@gnu.org>
4280 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4281 instead of the broken adhockery which does not prevent calendar
4282 buffers from being displayed at random after exit.
4283 (calendar-window-list, calendar-hide-window): Remove the broken
4286 2012-03-28 Glenn Morris <rgm@gnu.org>
4288 * replace.el (query-replace-map): Doc fix.
4290 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4292 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4293 contents. (Bug#11109)
4295 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4299 (avl-tree--check, avl-tree--check-node): New funs.
4301 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4303 * window.el (switch-to-visible-buffer): New option.
4304 (switch-to-prev-buffer, switch-to-next-buffer):
4305 Observe switch-to-visible-buffer. Make sure that checking for a window
4306 showing a buffer already is done on the same frame.
4308 2012-03-27 Glenn Morris <rgm@gnu.org>
4310 * startup.el (mail-host-address): Doc fix.
4312 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4314 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4317 2012-03-26 Ami Fischman <ami@fischman.org>
4319 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4321 2012-03-26 Glenn Morris <rgm@gnu.org>
4323 * files.el (save-buffers-kill-emacs): Doc fix.
4325 * startup.el (normal-top-level, command-line, command-line-1):
4326 Give them doc strings.
4328 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4330 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4331 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4333 2012-03-25 Chong Yidong <cyd@gnu.org>
4335 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4336 theme if it was previously enabled before (Bug#11031).
4338 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4339 spec with custom-face-get-current-spec if its :shown-value is not
4340 determined yet (Bug#9337).
4341 (customize-create-theme, custom-theme-revert): Doc fixes.
4343 * button.el (button-at): Minor addition to docstring.
4345 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4347 * vc/vc.el (vc-merge): Fix a prompt.
4349 2012-03-24 Chong Yidong <cyd@gnu.org>
4351 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4354 * button.el (button-at): Minor addition to docstring.
4356 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4358 * newcomment.el (comment-choose-indent): No space after BOL.
4360 2012-03-22 Sam Steingold <sds@gnu.org>
4362 * window.el (switch-to-prev-buffer): Revert last patch because the
4363 bug turned out to be an advertised feature (Elisp manual 28.14).
4365 2012-03-22 Glenn Morris <rgm@gnu.org>
4367 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4368 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4370 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4372 * net/network-stream.el (network-stream-open-starttls): Make error
4373 message under Windows be less misleading.
4375 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4377 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4378 understands (bug#9942).
4380 2012-03-22 Chong Yidong <cyd@gnu.org>
4382 * simple.el (end-of-visible-line): Handle return value of
4383 next-single-property-change properly (Bug#9371).
4385 2012-03-22 Kenichi Handa <handa@m17n.org>
4387 * international/quail.el (quail-insert-kbd-layout): Fix previous
4388 change. To avoid unwanted bidi reordering, use
4389 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4391 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4393 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4394 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4395 (ruby-beginning-of-indent): Be more careful with the difference
4396 between word-boundary and symbol boundary.
4397 (ruby-mode-syntax-table): Make : a symbol constituent.
4399 2012-03-21 Andreas Politz <politza@fh-trier.de>
4401 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4403 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * progmodes/etags.el (tags-completion-at-point-function):
4408 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4410 2012-03-21 Sam Steingold <sds@gnu.org>
4412 * progmodes/etags.el (tags-completion-at-point-function):
4413 Avoid the error when point is inside the pattern.
4415 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4417 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4420 2012-03-21 Drew Adams <drew.adams@oracle.com>
4422 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4424 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4426 * ido.el (ido-set-current-directory, ido-read-internal)
4427 (ido-choose-completion-string, ido-completion-help): Handle nil
4428 value of ido-completion-buffer (Bug#11008).
4430 2012-03-21 Sam Steingold <sds@gnu.org>
4432 * window.el (switch-to-prev-buffer): Do not switch to a visible
4433 window previous buffer, just like with the frame previous buffers.
4435 2012-03-21 Chong Yidong <cyd@gnu.org>
4437 * faces.el (make-face, make-empty-face, copy-face):
4438 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4441 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4444 (widget-complete): Remove broken use of it.
4446 2012-03-20 Chong Yidong <cyd@gnu.org>
4448 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4449 Use string-width and truncate-string-width to handle arbitrary
4452 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4454 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4455 to draw rectangles, not squares. (Regression introduced by revno
4456 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4458 2012-03-18 Chong Yidong <cyd@gnu.org>
4460 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4461 it is not yet defined (for temacs).
4463 2012-03-18 Leo Liu <sdl.web@gmail.com>
4465 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4467 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4469 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4470 (ispell-choices-win-default-height, ispell-silently-savep)
4471 (ispell-dictionary-alist, ispell-encoding8-command)
4472 (ispell-check-version, ispell-aspell-find-dictionary)
4473 (ispell-valid-dictionary-list, ispell-words-keyword)
4474 (ispell-get-word, ispell-internal-change-dictionary)
4475 (ispell-region, ispell-skip-region-list)
4476 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4477 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4478 (ispell-message-text-end, ispell-message)
4479 (ispell-buffer-local-parsing): Doc fix.
4481 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4483 * htmlfontify.el: Add support for code block fontification for ODT
4485 (hfy-optimisations): Define new option
4487 (hfy-fontify-buffer): Honor above setting.
4488 (hfy-begin-span, hfy-end-span): New routines factored out form
4489 `hfy-fontify-buffer'.
4490 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4491 that permit insertion of custom tags.
4492 (hfy-fontify-buffer): Use above handlers.
4493 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4494 (hfy-face-to-css): Re-defined to be a variable.
4495 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4496 over multiple runs. This is made possible by having the caller let
4497 bind a special variable `hfy-user-sheet-assoc'.
4498 (htmlfontify-string): New defun.
4499 (hfy-compile-face-map): Make sure that the last char in the
4500 buffer is correctly fontified.
4501 (hfy-face-resolve-face): Whitespace only change.
4503 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4505 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4508 2012-03-16 Leo Liu <sdl.web@gmail.com>
4510 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4512 2012-03-16 Alan Mackenzie <acm@muc.de>
4514 Further optimise the handling of large macros.
4516 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4517 limit to a call of `c-literal-limits'.
4518 (c-determine-+ve-limit): New function.
4519 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4520 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4521 In CASE 5B, restrict a search limit to 500.
4522 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4524 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4525 Restrict macro bounds to +-500 from after-change's BEG END.
4527 2012-03-16 Leo Liu <sdl.web@gmail.com>
4529 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4531 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4533 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4534 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4536 2012-03-16 Glenn Morris <rgm@gnu.org>
4538 * view.el (view-buffer, view-buffer-other-window)
4539 (view-buffer-other-frame): Doc fixes re special mode-class.
4541 * subr.el (eval-after-load): If named feature is provided not from
4542 a file, run after-load forms. (Bug#10946)
4544 * calendar/calendar.el (calendar-insert-at-column):
4545 Handle non-unit-width characters a bit better. (Bug#10978)
4547 2012-03-15 Chong Yidong <cyd@gnu.org>
4549 * emacs-lisp/ring.el (ring-extend): New function.
4550 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4552 * comint.el (comint-read-input-ring)
4553 (comint-add-to-input-history): Grow comint-input-ring lazily.
4555 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4558 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4560 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4561 (imenu-add-to-menubar): Don't add a redundant index.
4562 (imenu-update-menubar): Handle a dynamically composed keymap.
4564 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4566 * mail/sendmail.el (mail-encode-header):
4567 Bind rfc2047-encode-encoded-words to nil.
4569 2012-03-13 Glenn Morris <rgm@gnu.org>
4571 * calendar/calendar.el (calendar-string-spread):
4572 Handle non-unit-width characters a bit better. (Bug#10978)
4574 2012-03-13 Leo Liu <sdl.web@gmail.com>
4576 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4577 directory and file as argument (Bug#10822).
4579 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4581 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4582 For dynamically generated code, follow $PC.
4583 (gdb-disassembly-handler-custom): Handle no function name case.
4585 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4587 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4588 * emulation/ws-mode.el (ws-query-replace):
4589 * sort.el (sort-regexp-fields):
4590 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4592 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * dabbrev.el: Fix cycle completion order (bug#10963).
4595 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4596 (dabbrev-completion): Don't use an obarray; provide
4597 a cycle-sort-function.
4599 2012-03-12 Leo Liu <sdl.web@gmail.com>
4601 * simple.el (kill-new): Use equal-including-properties for comparison.
4602 (kill-do-not-save-duplicates): Doc fix.
4604 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * dabbrev.el: Fix cycle completion (bug#10963).
4607 Use lexical binding and wrap to 80 columns.
4608 (dabbrev-completion): Delay computing the list of completions.
4610 2012-03-12 Kenichi Handa <handa@m17n.org>
4612 * international/quail.el (quail-insert-kbd-layout): Surround each
4613 row by LRO and PDF instead of inserting many LRMs. Pad the left
4614 and right of each non-spacing marks. Insert invisible space
4615 between lower and upper characters to prevent composition.
4617 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * minibuffer.el (minibuffer-complete): Don't get confused when the
4620 function is run twice via different commands (bug#10958).
4621 (complete-with-action): Fix docstring.
4623 2012-03-12 Chong Yidong <cyd@gnu.org>
4625 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4626 (nxml-completion-at-point-function): New function.
4627 (nxml-mode): Use it.
4628 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4630 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4631 Load generated autoloads file before byte compiling (Bug#10970).
4632 (package--make-autoloads-and-compile): New helper fun.
4634 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4636 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4638 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4640 * autorevert.el (auto-revert-handler): Ensure, that
4641 file-readable-p is applied only for local files or in
4642 auto-revert-tail-mode.
4644 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4646 * server.el (server-eval-at): Handle non-tcp connections.
4647 Decode result string.
4649 * server.el (server-msg-size): New constant.
4650 (server-reply-print): New function.
4651 (server-eval-and-print): Use it.
4652 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4655 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4657 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4660 2012-03-11 Chong Yidong <cyd@gnu.org>
4662 * simple.el (goto-line): Doc fix (Bug#9938).
4664 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4666 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4667 when finished (Bug#10963).
4669 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4671 * window.el (split-window-below): Fix bug in case where
4672 split-window-keep-point is nil (Bug#10971).
4674 2012-03-11 Juri Linkov <juri@jurta.org>
4676 * replace.el (replace-highlight): Set isearch-word to nil
4677 unconditionally. (Bug#10887)
4679 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4681 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4682 mairix-replace-illegal-chars; all callers changed. Don't remove
4683 ^, ~, and = characters: they are meaningful in mairix search specs.
4684 (mairix-widget-create-query): Add usage information about mairix
4685 search forms: negating words, searching for substrings, etc.
4687 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4689 * international/fontset.el (font-encoding-alist): Add an entry for
4692 2012-03-10 Richard Stallman <rms@gnu.org>
4694 * mail/sendmail.el (mail-encode-header):
4695 Set rfc2047-encode-encoded-words.
4697 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4699 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4700 view buffer means not swapped.
4701 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4702 (rmail-write-region-annotate): Error if real text has disappeared.
4704 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4706 2012-03-10 Chong Yidong <cyd@gnu.org>
4708 * emulation/cua-rect.el (cua--init-rectangles):
4709 * emulation/cua-base.el (cua--init-keymaps):
4710 Add delete-forward-char to remappings (Bug#9666).
4712 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4714 * speedbar.el (speedbar-unhighlight-one-tag-line):
4715 Avoid unhighlighting due to frame switching (Bug#10275).
4717 2012-03-10 Chong Yidong <cyd@gnu.org>
4719 * minibuffer.el (completion-in-region, completion-help-at-point):
4720 Give the completion field overlay a high priority (Bug#6830).
4722 * dired.el (dired-goto-file): Recognize absolute file name
4723 listings (Bug#7126).
4724 (dired-goto-file-1): New helper function.
4725 (dired-toggle-read-only): Inhibit warnings.
4727 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4729 * net/dbus.el (dbus-property-handler): Return empty array if
4730 there are no properties.
4732 2012-03-09 Leo Liu <sdl.web@gmail.com>
4734 * savehist.el (savehist-printable): Stricter check for string
4737 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4739 * mail/smtpmail.el (smtpmail-send-it):
4740 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4743 2012-03-09 Glenn Morris <rgm@gnu.org>
4745 * files.el (dir-locals-find-file):
4746 Don't check result is regular, readable.
4747 (dir-locals-read-from-file): Demote errors.
4749 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4751 * international/quail.el (quail-insert-kbd-layout):
4752 Insert invisible LRM characters before each character in a keyboard
4753 layout cell, to prevent their reordering by bidi display engine.
4754 For details, see the discussion in
4755 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4757 2012-03-08 Alan Mackenzie <acm@muc.de>
4759 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4760 the starting position; make it extend the marked region when
4761 invoked repeatedly - all under appropriate circumstances.
4762 Fixes bugs #5525, #10906.
4764 2012-03-08 Glenn Morris <rgm@gnu.org>
4766 * files.el (locate-dominating-file, dir-locals-find-file):
4767 Undo 2012-03-06 change.
4769 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4771 * international/quail.el (quail-help):
4772 Force bidi-paragraph-direction be left-to-right. See discussion in
4773 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4776 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4778 Avoid superfluous registering of signals. (Bug#10807)
4780 * notifications.el (notifications-on-action-object)
4781 (notifications-on-close-object): New defvars.
4782 (notifications-on-action-signal, notifications-on-closed-signal):
4783 Unregister the signal if not needed any longer.
4784 (notifications-notify): Register `notifications-action-signal' or
4785 `notifications-closed-signal', if :on-action or :on-close has been
4788 2012-03-07 Chong Yidong <cyd@gnu.org>
4790 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4793 2012-03-06 Glenn Morris <rgm@gnu.org>
4795 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4796 (x-disown-selection-internal, x-get-selection-internal):
4797 Doc fix (add arglist signatures). (Bug#10783)
4799 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4801 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4802 Handle breakpoints with no "type".
4804 2012-03-06 Glenn Morris <rgm@gnu.org>
4806 * files.el (locate-dominating-file): Add optional predicate argument.
4807 (dir-locals-find-file): Make use of above change.
4809 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4811 * info.el (Info-insert-dir): Also try "dir.gz".
4813 2012-03-06 Glenn Morris <rgm@gnu.org>
4815 * files.el (dir-locals-find-file):
4816 Ignore non-readable or non-regular files. (Bug#10928)
4818 * files.el (locate-dominating-file): Doc fix.
4820 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4822 * calendar/calendar.el (calendar-set-mode-line):
4823 `getenv' returns a string. (Bug#10951)
4825 2012-03-05 Leo Liu <sdl.web@gmail.com>
4827 * simple.el (backward-delete-char-untabify): Constrain point to
4830 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4832 2012-03-05 Chong Yidong <cyd@gnu.org>
4834 * simple.el (count-words): If called from Lisp, return the word
4835 count, for symmetry with `count-lines'. Arglist changed.
4836 (count-words--message): Args changed. Consolidate counting code
4837 from count-words and count-words-region.
4838 (count-words-region): Caller changed.
4839 (count-lines-region): Make it an obsolete alias.
4841 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4843 * saveplace.el (save-place-to-alist)
4844 (save-place-ignore-files-regexp): Allow value nil to disable this
4847 2012-03-04 Chong Yidong <cyd@gnu.org>
4849 * faces.el (face-spec-reset-face): For the default face, reset the
4850 attributes to default values (Bug#10748).
4852 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4854 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4855 previous patch: Check `message-send-mail-function', and not the
4856 default function (bug#10897).
4858 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4860 * notifications.el (notifications-on-action-signal)
4861 (notifications-on-closed-signal): Check for unique service name of
4862 incoming event. Fix error in removing entry.
4863 (top): Register for signals with wildcard service name.
4864 (notifications-notify): Use daemon unique service name for map entries.
4866 2012-03-04 Chong Yidong <cyd@gnu.org>
4868 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4870 2012-03-04 Glenn Morris <rgm@gnu.org>
4872 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4873 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4874 (expand-abbrev, define-abbrev-table): Doc fixes.
4876 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4878 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4879 `message-default-send-mail-function' and not `send-mail-function'
4880 when doing the prompting for `sendmail-query-once' before sending
4881 in Message buffers (bug#10897).
4883 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4884 This is inconsistent with all the other stream functions, which leave
4885 the setting up to the higher levels (if so wanted) (bug#10931).
4887 2012-03-02 Alan Mackenzie <acm@muc.de>
4889 Depessimize the handling of very large macros.
4891 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4892 (c-macro-cache-syntactic): New variables to implement a one
4893 element macro cache.
4894 (c-invalidate-macro-cache): New function.
4895 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4896 Adapt to use the new cache.
4897 (c-state-safe-place): Use better the cache of safe positions.
4898 (c-state-semi-nonlit-pos-cache)
4899 (c-state-semi-nonlit-pos-cache-limit):
4900 New variables for...
4901 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4902 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4903 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4904 Use c-state-semi-safe-place.
4906 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4907 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4909 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4911 * jka-compr.el (jka-compr-call-process):
4912 Apply `file-accessible-directory-p' only when the default directory is
4915 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4917 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4918 access of FILE2, if FILE1 does not exist.
4920 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4921 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4923 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4924 Add "PAGER=" to `process-environment'.
4926 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4928 * progmodes/sql.el: Bug fix
4929 (sql-get-login-ext): Save login values in globals.
4930 (sql-get-login): Use new version of `sql-get-login-ext'.
4931 (sql-interactive-mode): Set global `sql-connection' to nil.
4932 (sql-connect): Set global values for connection.
4933 (sql-product-interactive): Save global values as buffer local.
4935 2012-02-29 Leo Liu <sdl.web@gmail.com>
4937 * abbrev.el (define-abbrevs): Reset sys to nil.
4939 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4941 * files.el (file-equal-p): Rename from `files-equal-p'.
4942 Return nil when one or both files don't exist.
4943 (file-subdir-of-p): Now only top directory must exists,
4944 return nil if it doesn't.
4945 (copy-directory): No need to test with `file-subdir-of-p' after
4947 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4950 2012-02-28 Glenn Morris <rgm@gnu.org>
4952 * shell.el (shell-mode):
4953 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4954 * play/landmark.el (landmark-font-lock-face-O):
4955 * play/handwrite.el (handwrite):
4956 * play/gomoku.el (gomoku-O):
4957 * net/browse-url.el (browse-url-browser-display):
4958 * international/mule.el (define-charset):
4959 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4960 * filesets.el (filesets-find-file-delay):
4961 * eshell/em-xtra.el (eshell-xtra):
4962 * eshell/em-unix.el (eshell-grep):
4963 * emulation/viper.el (viper-mode):
4964 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4965 * emacs-lisp/easymenu.el (easy-menu-define):
4966 * calendar/timeclock.el (timeclock-use-display-time):
4968 * bookmark.el (bookmark-save-flag):
4969 Doc fix (standardize possessive apostrophe usage).
4971 2012-02-27 Chong Yidong <cyd@gnu.org>
4973 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4974 Fix key-binding lookup for ESC key (Bug#9146).
4976 * font-lock.el (font-lock-specified-p): Rename from
4977 font-lock-spec-present. Callers changed.
4979 2012-02-27 Daniel Hackney <dan@haxney.org>
4981 * emacs-lisp/package.el (package-compute-transaction):
4982 Handle holding a package version to t in package-load-list.
4984 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4986 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4987 (tramp-get-inode, tramp-get-device): Use cached values.
4989 2012-02-26 Alan Mackenzie <acm@muc.de>
4991 Check there is a font-lock specification before doing initial
4994 * font-core.el (font-lock-mode): Move the conditional from
4995 :after-hook to font-lock-initial-fontify.
4996 (font-lock-default-function): Move the check for a specification
4997 to font-lock-spec-present.
4999 * font-lock.el (font-lock-initial-fontify): Call ...
5000 (font-lock-spec-present): New function.
5002 2012-02-26 Jim Blandy <jimb@red-bean.com>
5004 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5005 (gdb-send): Apply it to the operand of the '-interpreter-exec
5006 console' command, so that we can pass arguments with (say) quotes
5007 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5009 2012-02-26 Chong Yidong <cyd@gnu.org>
5011 * help-fns.el (describe-function-1): Clarify description of
5012 remapping (Bug#10844).
5014 * files.el (files-equal-p): Doc fix.
5015 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5016 and quit the loop once a mismatch is found.
5018 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5020 * bs.el (bs--show-with-configuration): Don't throw an error
5021 if the window cannot be split; otherwise, subsequent calls to
5022 bs-show fail, restoring a stale window config. (Bug#10882)
5024 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5026 * term/ns-win.el (global-map): Bind ns-drag-file to
5027 ns-find-file (Bug#5855, Bug#10050).
5029 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5031 * calendar/parse-time.el (parse-time-string): Allow extractor to
5034 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5036 * net/tramp.el (tramp-file-name-for-operation):
5037 Add `files-equal-p' and `file-subdir-of-p'.
5039 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5040 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5041 Add COPY-CONTENTS argument.
5043 2012-02-25 Chong Yidong <cyd@gnu.org>
5045 Add custom groups for VC backends, for consistency with vc-bzr.
5047 * vc/vc-arch.el (vc-arch):
5048 * vc/vc-cvs.el (vc-cvs):
5049 * vc/vc-git.el (vc-git):
5050 * vc/vc-hg.el (vc-hg):
5051 * vc/vc-mtn.el (vc-mtn):
5052 * vc/vc-rcs.el (vc-rcs):
5053 * vc/vc-sccs.el (vc-sccs):
5054 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5055 All relevant defcustoms reassigned.
5057 2012-02-25 Chong Yidong <cyd@gnu.org>
5059 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5061 * term/x-win.el (x-initialize-window-system): Reduce default for
5062 x-selection-timeout to 5 seconds (Bug#8869).
5064 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5066 * files.el (files-equal-p, file-subdir-of-p): New functions.
5067 (copy-directory): Error when trying to copy a directory on itself.
5068 Add missing copy-contents arg to tramp handler.
5069 * dired-aux.el (dired-copy-file-recursive): Same.
5070 (dired-create-files): Modify destination when source is equal to
5071 dest when copying files.
5072 Return also when dest is a subdir of source. (Bug#10489)
5074 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5076 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5079 2012-02-23 Alan Mackenzie <acm@muc.de>
5081 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5082 parameter "after-hook:" to allow the expansion to run code after
5083 the execution of the mode hooks.
5085 * font-lock.el (font-lock-initial-fontify): New function extracted
5086 from font-lock-mode-internal.
5088 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5091 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5094 (completion--cache-all-sorted-completions): New function.
5095 (completion-all-sorted-completions): Use it.
5096 (completion--do-completion, minibuffer-force-complete):
5097 Use it to re-instate the flush hook.
5099 * icomplete.el (icomplete-completions): Replace last fix with a better
5102 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5104 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5105 when it might call us back infinitely (bug#10797).
5107 2012-02-23 Glenn Morris <rgm@gnu.org>
5109 * minibuffer.el (completion-category-overrides): Doc fix.
5111 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5114 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5116 2012-02-23 Glenn Morris <rgm@gnu.org>
5118 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5119 (authors-obsolete-files-regexps, authors-ignored-files)
5120 (authors-ambiguous-files, authors-renamed-files-alist):
5123 2012-02-23 Juri Linkov <juri@jurta.org>
5125 * isearch.el (isearch-occur): Sync interactive spec with occur's
5126 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5128 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5130 2012-02-22 Juri Linkov <juri@jurta.org>
5132 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5133 (ucs-insert): Doc fix. Check for hex digits in the string.
5134 Don't display `nil' in the error message. (Bug#10857)
5136 2012-02-22 Alan Mackenzie <acm@muc.de>
5138 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5140 2012-02-22 Glenn Morris <rgm@gnu.org>
5142 * ffap.el (ffap-c-path):
5143 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5145 2012-02-22 Chong Yidong <cyd@gnu.org>
5147 * custom.el (load-theme): Doc fix.
5149 2012-02-22 Glenn Morris <rgm@gnu.org>
5151 * dired-x.el (dired-guess-shell-alist-default):
5152 Remove escape sequences from nroff output. (Bug#172)
5154 2012-02-21 Glenn Morris <rgm@gnu.org>
5156 * vc/emerge.el (emerge-defvar-local):
5157 Set `permanent-local' property rather than unused `preserved'.
5159 * textmodes/picture.el (picture-delete-char): New alias.
5160 (picture-mode-map): Use it. (Bug#10860)
5161 (picture-mode): Doc fix.
5163 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5165 * newcomment.el (uncomment-region-default): Remove unused binding.
5167 2012-02-21 Glenn Morris <rgm@gnu.org>
5169 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5170 (picture-self-insert, picture-tab-chars): Doc fix.
5171 (picture-mode-map): Fix C-a, C-e.
5173 2012-02-20 Glenn Morris <rgm@gnu.org>
5175 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5177 2012-02-20 Leo Liu <sdl.web@gmail.com>
5179 * icomplete.el (icomplete-completions): Check FROM arg before
5180 passing to substring (Bug#10850).
5182 2012-02-19 Chong Yidong <cyd@gnu.org>
5184 * comint.el: Require ansi-color.
5185 (comint-output-filter-functions): Add ansi-color-process-output.
5187 * ansi-color.el: Don't set comint-output-filter-functions; it is
5188 now in the initial value defined in comint.el.
5189 (ansi-color-apply-face-function): New variable.
5190 (ansi-color-apply-on-region): Use it.
5191 (ansi-color-apply-overlay-face): New function.
5193 * shell.el (shell): No need to require ansi-color.
5194 (shell-mode): Use ansi-color-apply-face-function to highlight
5195 color escapes using font-lock-face property (Bug#10835).
5197 2012-02-19 Chong Yidong <cyd@gnu.org>
5199 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5200 mode-line formats (Bug#10839).
5202 2012-02-18 Glenn Morris <rgm@gnu.org>
5204 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5206 * mail/undigest.el (unforward-rmail-message): Doc fix.
5208 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5210 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5212 * international/characters.el (script-list): Sync with the latest
5213 Unicode Character Database.
5215 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5217 * international/titdic-cnv.el: Remove duplicate coding tag.
5218 * language/cham.el: Likewise.
5219 * language/tai-viet.el: Likewise.
5221 2012-02-18 Glenn Morris <rgm@gnu.org>
5223 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5224 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5225 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5226 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5227 * calendar/holidays.el (holiday-bahai-holidays)
5228 (calendar-holidays, list-holidays):
5229 Use utf-8 Bahá'à in doc-strings, menus, etc.
5231 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5233 * saveplace.el (save-place-ignore-files-regexp): New variable
5234 allowing for excluding files from saving their location of point.
5235 The default value matches the temporary commit message editing
5236 files from Git, SVN, Bazaar, and Mercurial.
5237 (save-place-to-alist): Use it.
5239 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5240 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * newcomment.el (uncomment-region-default): Don't leave extra space
5243 when an arg is provided (bug#8150).
5245 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5247 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5249 2012-02-17 Glenn Morris <rgm@gnu.org>
5251 * net/socks.el: Require network-stream. (Bug#10599)
5253 2012-02-17 Kenichi Handa <handa@m17n.org>
5255 * international/charprop.el:
5256 * international/uni-name.el:
5257 * international/uni-old-name.el:
5258 * international/uni-comment.el: Regenerate.
5260 2012-02-16 Glenn Morris <rgm@gnu.org>
5262 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5263 Interactively in calendar buffer, give an error if not on a date.
5265 2012-02-15 Glenn Morris <rgm@gnu.org>
5267 * shell.el (shell-delimiter-argument-list):
5268 Revert 2011-02-17 change. (Bug#8027)
5270 2012-02-15 Chong Yidong <cyd@gnu.org>
5272 * minibuffer.el (completion-at-point-functions): Doc fix.
5274 * custom.el (defcustom): Doc fix; note use of defvar.
5276 2012-02-15 Glenn Morris <rgm@gnu.org>
5278 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5281 2012-02-14 Glenn Morris <rgm@gnu.org>
5283 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5285 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5287 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5288 way the ports list is computed.
5289 (smtpmail-query-smtp-server): Prompt the user for a port number if
5290 we can't connect to any of the standard ports (bug#10810).
5292 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5294 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5296 2012-02-13 Glenn Morris <rgm@gnu.org>
5298 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5300 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5302 * net/gnutls.el (gnutls-trustfiles): New variable.
5303 (gnutls-negotiate): Use it.
5305 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5307 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5308 does its stuff if Gnus is running.
5310 2012-02-13 Alan Mackenzie <acm@muc.de>
5312 Fix a loop in c-set-fl-decl-start.
5314 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5315 c-backward-syntactic-ws actually moves backwards.
5317 2012-02-13 Leo Liu <sdl.web@gmail.com>
5319 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5320 beginning so that all \C-o chars are removed.
5322 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5324 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5326 2012-02-12 Alan Mackenzie <acm@muc.de>
5328 Fix infinite loop with long macros.
5329 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5331 2012-02-12 Chong Yidong <cyd@gnu.org>
5333 * window.el (display-buffer): Doc fix (Bug#10785).
5335 2012-02-12 Glenn Morris <rgm@gnu.org>
5337 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5338 (x-disown-selection-internal, x-get-selection-internal):
5339 Sync docs with the xselect.c versions.
5341 * allout-widgets.el: Add missing license notice.
5343 2012-02-11 Glenn Morris <rgm@gnu.org>
5345 * select.el (x-get-selection-internal, x-own-selection-internal)
5346 (x-disown-selection-internal):
5347 * x-dnd.el (x-get-selection-internal): Update declarations.
5349 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5351 * window.el (window-sides-slots):
5352 * tool-bar.el (tool-bar-position):
5353 * term/xterm.el (xterm-extra-capabilities):
5354 * ses.el (ses-self-reference-early-detection):
5355 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5356 (verilog-auto-wire-type)
5357 (verilog-auto-delete-trailing-whitespace)
5358 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5359 (verilog-auto-tieoff-declaration):
5360 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5361 (sql-oracle-statement-starters, sql-oracle-scan-on):
5362 * progmodes/prolog.el (prolog-align-comments-flag)
5363 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5364 (prolog-left-indent-regexp, prolog-paren-indent-p)
5365 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5366 (prolog-types, prolog-mode-specificators)
5367 (prolog-determinism-specificators, prolog-directives)
5368 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5369 (prolog-electric-dot-flag)
5370 (prolog-electric-dot-full-predicate-template)
5371 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5372 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5373 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5374 (prolog-program-switches, prolog-prompt-regexp)
5375 (prolog-debug-on-string, prolog-debug-off-string)
5376 (prolog-trace-on-string, prolog-trace-off-string)
5377 (prolog-zip-on-string, prolog-zip-off-string)
5378 (prolog-use-standard-consult-compile-method-flag)
5379 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5380 (prolog-imenu-max-lines, prolog-info-predicate-index)
5381 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5382 (prolog-char-quote-workaround):
5383 * progmodes/cc-vars.el (c-defun-tactic):
5384 * net/tramp.el (tramp-encoding-command-interactive)
5385 (tramp-local-end-of-line):
5386 * net/soap-client.el (soap-client):
5387 * net/netrc.el (netrc-file):
5388 * net/gnutls.el (gnutls):
5389 * minibuffer.el (completion-category-overrides)
5390 (completion-cycle-threshold)
5391 (completion-pcm-complete-word-inserts-delimiters):
5392 * man.el (Man-name-local-regexp):
5393 * mail/feedmail.el (feedmail-display-full-frame):
5394 * international/characters.el (glyphless-char-display-control):
5395 * eshell/em-ls.el (eshell-ls-date-format):
5396 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5397 (lisp-lambda-list-keyword-parameter-indentation)
5398 (lisp-lambda-list-keyword-parameter-alignment):
5399 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5400 * dired-x.el (dired-omit-verbose):
5401 * cus-theme.el (custom-theme-allow-multiple-selections):
5402 * calc/calc.el (calc-highlight-selections-with-faces)
5403 (calc-lu-field-reference, calc-lu-power-reference)
5404 (calc-note-threshold):
5405 * battery.el (battery-mode-line-limit):
5406 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5407 (archive-7z-update):
5408 * allout.el (allout-prefixed-keybindings)
5409 (allout-unprefixed-keybindings)
5410 (allout-inhibit-auto-fill-on-headline)
5411 (allout-flattened-numbering-abbreviation):
5412 * allout-widgets.el (allout-widgets-auto-activation)
5413 (allout-widgets-icons-dark-subdir)
5414 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5415 (allout-widgets-theme-dark-background)
5416 (allout-widgets-theme-light-background)
5417 (allout-widgets-item-image-properties-emacs)
5418 (allout-widgets-item-image-properties-xemacs)
5419 (allout-widgets-run-unit-tests-on-load)
5420 (allout-widgets-time-decoration-activity)
5421 (allout-widgets-hook-error-post-time)
5422 (allout-widgets-track-decoration):
5423 Add missing :version tags to new defcustoms and defgroups.
5425 * progmodes/sql.el (sql-ansi-statement-starters)
5426 (sql-oracle-statement-starters): Add custom type.
5428 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5429 (prolog-system-version): Give it a type.
5431 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5433 * term/pc-win.el (x-select-text, x-selection-owner-p)
5434 (x-own-selection-internal, x-disown-selection-internal)
5435 (x-get-selection-internal): Sync doc strings and argument lists
5436 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5438 2012-02-11 Leo Liu <sdl.web@gmail.com>
5440 * progmodes/python.el (python-end-of-statement): Fix infinite
5443 2012-02-10 Glenn Morris <rgm@gnu.org>
5445 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5446 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5448 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5450 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5451 about SMTP before checking the From header.
5453 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5454 into own function for reuse by emacsbug.el.
5456 2012-02-10 Leo Liu <sdl.web@gmail.com>
5458 * subr.el (condition-case-unless-debug): Rename from
5459 condition-case-no-debug. All callers changed.
5460 (with-demoted-errors): Fix caller.
5462 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5463 * nxml/rng-valid.el (rng-do-some-validation):
5464 * emacs-lisp/package.el (package-refresh-contents)
5465 (package-menu-execute):
5466 * desktop.el (desktop-create-buffer):
5467 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5469 2012-02-10 Glenn Morris <rgm@gnu.org>
5471 * textmodes/bibtex.el:
5472 Add missing :version tags for new/changed defcustoms.
5474 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5476 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5478 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5479 (smtpmail-via-smtp): Use it, or fall back on the From address.
5480 (smtpmail-send-it): Ditto.
5482 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5484 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5485 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5486 (byte-compile-tmp-var): New const.
5487 (byte-compile-defvar): Use it to minimize .elc size.
5488 Just use `defvar' rather than simulate it (bug#10761).
5490 2012-02-09 Glenn Morris <rgm@gnu.org>
5492 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5494 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5497 * progmodes/compile.el (compilation-error-screen-columns)
5498 (compilation-first-column, compilation-filter-start): Doc fixes.
5500 * vc/log-view.el (log-view-toggle-entry-display):
5501 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5503 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5504 (report-emacs-bug-can-use-xdg-email):
5505 (report-emacs-bug-insert-to-mailer): Doc fixes.
5506 (report-emacs-bug): Message fix.
5508 * net/browse-url.el (browse-url-can-use-xdg-open)
5509 (browse-url-xdg-open): Doc fixes.
5511 * electric.el (electric-indent-mode, electric-pair-mode)
5512 (electric-layout-rules, electric-layout-mode): Doc fixes.
5513 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5515 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5517 * server.el (server-unselect-display): Don't inadvertently kill
5518 the current buffer. (Bug#10729)
5520 2012-02-08 Glenn Morris <rgm@gnu.org>
5522 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5523 (sql-list-table): Doc fixes.
5525 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5526 Comment out (does nothing).
5528 * completion.el (dynamic-completion-mode):
5529 * dirtrack.el (dirtrack-debug-mode):
5530 * electric.el (electric-layout-mode):
5531 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5532 * face-remap.el (text-scale-mode, buffer-face-mode):
5533 * iimage.el (iimage-mode):
5534 * image-mode.el (image-transform-mode):
5535 * minibuffer.el (completion-in-region-mode):
5536 * scroll-lock.el (scroll-lock-mode):
5537 * simple.el (next-error-follow-minor-mode):
5538 * tar-mode.el (tar-subfile-mode):
5539 * tooltip.el (tooltip-mode):
5540 * vcursor.el (vcursor-use-vcursor-map):
5541 * wid-browse.el (widget-minor-mode):
5542 * emulation/tpu-edt.el (tpu-edt-mode):
5543 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5544 * international/iso-ascii.el (iso-ascii-mode):
5545 * language/thai-util.el (thai-word-mode):
5546 * mail/supercite.el (sc-minor-mode):
5547 * net/goto-addr.el (goto-address-mode):
5548 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5549 * progmodes/cwarn.el (cwarn-mode):
5550 * progmodes/flymake.el (flymake-mode):
5551 * progmodes/glasses.el (glasses-mode):
5552 * progmodes/hideshow.el (hs-minor-mode):
5553 * progmodes/pascal.el (pascal-outline-mode):
5554 * textmodes/enriched.el (enriched-mode):
5555 * vc/smerge-mode.el (smerge-mode):
5556 Doc fixes (minor mode argument).
5558 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5560 * ls-lisp.el (ls-lisp-sanitize): New function.
5561 (ls-lisp-insert-directory): Use it to fix or remove any elements
5562 in file-alist with missing attributes. (Bug#4673)
5564 2012-02-07 Alan Mackenzie <acm@muc.de>
5566 Fix spurious recognition of c-in-knr-argdecl.
5568 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5569 putative K&R region.
5571 2012-02-07 Alan Mackenzie <acm@muc.de>
5573 * progmodes/cc-engine.el (c-forward-objc-directive):
5574 Prevent looping in "#pragma mark @implementation".
5576 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5578 * notifications.el (notifications-on-closed-signal): Make `reason'
5579 optional. (Bug#10744)
5581 2012-02-07 Glenn Morris <rgm@gnu.org>
5583 * emacs-lisp/easy-mmode.el (define-minor-mode):
5584 Doc fixes for the macro and the mode it defines.
5586 * image.el (imagemagick-types-inhibit): Doc fix.
5588 * cus-start.el (imagemagick-render-type): Add it.
5590 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5592 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5593 Set the default at load time, too, so that `font-lock-fontify-buffer'
5594 can be called without setting up the entire mode first. This fixes
5595 a bug in `mm-inline-text' with C MIME parts.
5597 2012-02-06 Chong Yidong <cyd@gnu.org>
5599 * simple.el (list-processes--refresh): Delete exited processes
5602 * comint.el (comint-next-prompt): next-single-char-property-change
5603 and prev-single-char-property-change never return nil (Bug#8657).
5605 * custom.el (defcustom): Doc fix (Bug#9711).
5607 2012-02-05 Chong Yidong <cyd@gnu.org>
5609 * cus-edit.el (custom-variable-reset-backup): Quote the value
5610 before storing it in the customized-value property (Bug#6712).
5611 (custom-display): Add a customization type tag.
5612 (custom-buffer-create-internal): Improve tooltip message.
5614 * wid-edit.el (widget-field-value-get): New optional arg to
5615 suppress trailing whitespace truncation.
5616 (character): Use it (Bug#2689).
5618 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5620 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5621 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5623 2012-02-05 Chong Yidong <cyd@gnu.org>
5625 * cus-edit.el (custom-variable-value-create): For mismatched
5626 types, show the current value (Bug#7600).
5628 * custom.el (defcustom): Doc fix.
5630 2012-02-05 Glenn Morris <rgm@gnu.org>
5632 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5634 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5636 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5637 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5638 (pp-last-sexp): Use `looking-at-p'.
5640 2012-02-04 Glenn Morris <rgm@gnu.org>
5642 * files.el (revert-buffer):
5643 Doc fix (mention revert-buffer-in-progress-p).
5645 * emacs-lisp/ert-x.el (ert-simulate-command):
5646 Check deferred-action-list (which is obsolete) is bound.
5648 * subr.el (with-wrapper-hook): Doc fixes.
5650 * simple.el (filter-buffer-substring-functions)
5651 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5653 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5655 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5656 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5658 2012-02-04 Leo Liu <sdl.web@gmail.com>
5660 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5662 2012-02-04 Glenn Morris <rgm@gnu.org>
5664 * image.el (image-extension-data): Add obsolete alias.
5666 * isearch.el (isearch-update): Doc fix.
5668 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5670 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5672 2012-02-03 Glenn Morris <rgm@gnu.org>
5674 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5675 (image-animate-timeout): Doc fix.
5677 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5679 2012-02-02 Glenn Morris <rgm@gnu.org>
5681 * server.el (server-auth-dir): Doc fix.
5682 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5684 * subr.el (run-mode-hooks): Doc fix.
5686 2012-02-02 Juri Linkov <juri@jurta.org>
5688 * image-mode.el (image-toggle-display-image): Remove tautological
5689 `major-mode' from the `derived-mode-p' test.
5691 2012-02-02 Kenichi Handa <handa@m17n.org>
5693 * composite.el (compose-region): Cancel previous change.
5695 2012-02-02 Kenichi Handa <handa@m17n.org>
5697 * composite.el (compose-region, compose-string): Signal error for
5698 a null string component (Bug#6988).
5700 2012-02-01 Chong Yidong <cyd@gnu.org>
5702 * view.el (view-buffer-other-window, view-buffer-other-frame):
5703 Handle special modes like view-buffer (Bug#10650).
5704 (view-buffer): Simplify.
5706 * frame.el (set-frame-font): Tweak meaning of third argument.
5708 * dynamic-setting.el (font-setting-change-default-font):
5709 Use set-frame-font (Bug#9982).
5711 2012-02-01 Glenn Morris <rgm@gnu.org>
5713 * progmodes/compile.el (compilation-internal-error-properties):
5714 Respect compilation-first-column in the "*compilation*" buffer.
5716 * emacs-lisp/easy-mmode.el (define-minor-mode):
5717 Relax :variable's test for a named function.
5719 2012-01-31 Alan Mackenzie <acm@muc.de>
5721 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5724 2012-01-31 Chong Yidong <cyd@gnu.org>
5726 * frame.el (set-frame-font): New arg ALL-FRAMES.
5728 * menu-bar.el (menu-set-font): Use set-frame-font.
5730 * faces.el (face-spec-reset-face): Don't apply unspecified
5731 attribute values to the default face.
5733 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5735 * progmodes/cwarn.el (cwarn): Remove dead link.
5736 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5737 Remove * from defcustom docstrings.
5738 (turn-on-cwarn-mode): Make obsolete.
5739 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5740 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5742 2012-01-31 Glenn Morris <rgm@gnu.org>
5744 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5745 Fix :variable handling of mode a symbol not equal to modefun.
5746 Allow named functions to be used as the cdr of :variable.
5748 2012-01-30 Glenn Morris <rgm@gnu.org>
5750 * emacs-lisp/authors.el (authors-fixed-entries):
5751 Remove reference to deleted file rnewspost.el.
5753 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5755 * window.el (window-with-parameter): Remove unused variable `windows'.
5756 (window--side-check): Remove unused variable `code'.
5757 (window--resize-siblings): Remove unused variable `first'.
5758 (adjust-window-trailing-edge): Remove unused variable `failed'.
5759 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5760 Use `let', not `let*'.
5761 (balance-windows-2): Remove unused variable `found'.
5762 (window--state-put-2): Remove unused variable `splits'.
5763 (window-state-put): Remove unused variable `selected'.
5764 (same-window-p): Use `string-match-p'.
5765 (display-buffer-assq-regexp): Remove unused variable `value'.
5766 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5767 Mark argument ALIST as ignored.
5768 (pop-to-buffer): Remove unused variable `old-window'.
5770 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5772 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5773 and .lzma compressed files.
5775 2012-01-29 Chong Yidong <cyd@gnu.org>
5777 * frame.el (window-system-default-frame-alist): Doc fix.
5779 * dynamic-setting.el (font-setting-change-default-font): Don't
5780 change the default face if SET-FONT argument is non-nil (Bug#9982).
5782 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5784 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5786 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5788 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5789 breakpoints in files outside current directory (Bug#6098).
5791 2012-01-29 Chong Yidong <cyd@gnu.org>
5793 * progmodes/python.el: Require ansi-color at top-level.
5795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5796 Define and use in Emacs Lisp mode (Bug#9360).
5797 (lisp-mode-abbrev-table): Add doc.
5798 (lisp-mode-variables): Don't set local-abbrev-table.
5799 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5801 2012-01-28 Roland Winkler <winkler@gnu.org>
5803 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5805 2012-01-28 Roland Winkler <winkler@gnu.org>
5807 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5808 (bibtex-set-dialect): Use it. Either set global values of
5809 dialect-dependent variables or bind these variables buffer-locally
5811 (bibtex-mode): Call bibtex-set-dialect via
5812 hack-local-variables-hook.
5813 (bibtex-dialect): Update docstring.
5814 Add safe-local-variable predicate.
5815 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5817 (bibtex-mode-map): Define menu for each dialect.
5818 (bibtex-entry): Fix docstring.
5820 2012-01-28 Chong Yidong <cyd@gnu.org>
5822 * eshell/esh-arg.el (eshell-quote-argument): New function.
5824 * eshell/esh-ext.el (eshell-invoke-batch-file):
5825 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5826 first arg to eshell-parse-command (Bug#10523).
5828 2012-01-28 Drew Adams <drew.adams@oracle.com>
5830 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5831 `default-directory' is non-nil.
5833 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5835 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5836 line that displays system-configuration-options. (Bug#9924)
5838 2012-01-28 Drew Adams <drew.adams@oracle.com>
5840 * descr-text.el (describe-char): Show information about POS, in
5841 addition to information about the character at POS. Improve and
5842 update the doc string. Change "code point" to "code point in
5843 charset", to avoid confusion with the character's Unicode code
5844 point shown above that. (Bug#10129)
5846 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5848 * descr-text.el (describe-char): Show the raw character, not only
5849 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5850 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5853 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5855 * emacs-lisp/package.el (package-install):
5856 Run package-refresh-contents if there is no archive yet (Bug#9798).
5858 2012-01-28 Chong Yidong <cyd@gnu.org>
5860 * emacs-lisp/package.el (package-maybe-load-descriptor):
5861 New function, split from package-maybe-load-descriptor.
5862 (package-maybe-load-descriptor): Use it.
5863 (package-download-transaction): Fully load required packages
5864 inside the loop, so that `require' calls work (Bug#10593).
5865 (package-install): No need to call package-initialize now.
5867 2012-01-28 Chong Yidong <cyd@gnu.org>
5869 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5871 * tooltip.el (tooltip-mode): Doc fix.
5872 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5874 * frame.el (set-cursor-color): Doc fix (Bug#352).
5876 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5877 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5879 * cus-edit.el (custom-buffer-create-internal): Fix search button
5881 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5883 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5885 * dired.el (dired-mark-files-regexp):
5886 Include any subdirectory components. (Bug#10445)
5888 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5890 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5891 Handle [host]:port syntax. (Bug#10533)
5893 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5895 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5897 2012-01-26 Glenn Morris <rgm@gnu.org>
5899 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5900 * term.el (term-raw-escape-map): Use Control-X-prefix.
5901 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5903 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5905 * window.el (window-state-get, window--state-get-1): Don't deal
5906 with fixed-sizeness of windows. Simplify code.
5908 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5910 * window.el (window--state-get-1, window--state-put-2):
5911 Don't save and restore the mark.
5913 2012-01-25 Chong Yidong <cyd@gnu.org>
5915 * custom.el (custom-variable-p): Doc fix.
5917 2012-01-25 Glenn Morris <rgm@gnu.org>
5919 * dired.el (dired-goto-file): Handle some of the more common
5920 characters that `ls -b' escapes. (Bug#10596)
5922 * progmodes/compile.el (compilation-next-error-function):
5923 Respect compilation-first-column in the "*compilation*" buffer.
5924 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5926 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5928 2012-01-24 Glenn Morris <rgm@gnu.org>
5930 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5932 2012-01-24 Julien Danjou <julien@danjou.info>
5934 * color.el (color-rgb-to-hsl): Fix value computing.
5935 (color-hue-to-rgb): New function.
5936 (color-hsl-to-rgb): New function.
5937 (color-clamp, color-saturate-hsl, color-saturate-name)
5938 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5939 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5941 2012-01-24 Glenn Morris <rgm@gnu.org>
5943 * vc/vc-rcs.el (vc-rcs-create-tag):
5944 * vc/vc-sccs.el (vc-sccs-create-tag):
5945 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5947 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5949 * eshell/esh-util.el (eshell-read-hosts-file):
5950 Skip comment lines. (Bug#10549)
5952 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5954 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5956 * subr.el (display-delayed-warnings): Doc fix.
5957 (collapse-delayed-warnings): New function to collapse identical
5959 (delayed-warnings-hook): Add it.
5961 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5963 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5965 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5966 (tramp-default-user-alist): Don't add "pscp".
5967 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5968 property "login-as", if set. (Bug#10530)
5970 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5972 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5973 "plink1" and "psftp". (Bug#10530)
5975 2012-01-21 Kenichi Handa <handa@m17n.org>
5977 * international/mule-cmds.el (prefer-coding-system): Show a
5978 warning message if the default value of file-name-coding-system
5981 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5983 * windmove.el (windmove-reference-loc):
5984 Fix windmove-reference-loc miscalculation.
5986 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5988 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5991 2012-01-21 Glenn Morris <rgm@gnu.org>
5993 * international/mule.el (auto-coding-alist): Add .tbz.
5995 * files.el (local-enable-local-variables): Doc fix.
5996 (inhibit-local-variables-regexps): Rename from
5997 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5998 Doc fix. Add some extensions from auto-coding-alist.
5999 (inhibit-local-variables-suffixes):
6000 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6001 (inhibit-local-variables-p):
6002 New function, extracted from set-auto-mode-1.
6003 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6004 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6005 (hack-local-variables): Doc fix. Make the mode-only case
6006 respect enable-local-variables and friends.
6007 Respect inhibit-local-variables-regexps for file-locals, but
6008 not for directory-locals.
6009 (set-visited-file-name):
6010 Take account of inhibit-local-variables-regexps.
6011 Whether it applies may change as the file name is changed.
6012 * jka-cmpr-hook.el (jka-compr-install):
6013 * jka-compr.el (jka-compr-uninstall):
6014 Update for inhibit-first-line-modes-suffixes name change.
6016 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6018 * help-macro.el (make-help-screen): Temporarily restore original
6019 binding for minor-mode-map-alist (Bug#10454).
6021 2012-01-19 Julien Danjou <julien@danjou.info>
6023 * color.el (color-name-to-rgb): Use the white color to find the max
6024 color component value and return correctly computed values.
6025 (color-name-to-rgb): Add missing float conversion for max value.
6027 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6029 * window.el (window--state-get-1, window-state-get): Do not use
6030 special state value for window-persistent-parameters.
6031 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6032 (window--state-put-2): Reset all window parameters to nil before
6033 assigning values of persistent parameters.
6035 2012-01-18 Alan Mackenzie <acm@muc.de>
6037 Eliminate sluggishness and hangs in fontification of "semicolon
6040 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6041 Change value 10000 -> 3000.
6042 (c-state-safe-place): Reformulate so it doesn't stack up an
6043 infinite number of wrong entries in c-state-nonlit-pos-cache.
6044 (c-determine-limit-get-base, c-determine-limit): New functions to
6045 determine backward search limits disregarding literals.
6046 (c-find-decl-spots): Amend commenting.
6047 (c-cheap-inside-bracelist-p): New function which detects "={".
6049 * progmodes/cc-fonts.el
6050 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6052 (c-font-lock-declarations): Fix an occurrence of point being
6053 undefined. Check additionally for point being in a bracelist or
6054 near a macro invocation without a semicolon so as to avoid a
6055 fruitless time consuming search for a declarator. Give a more
6056 precise search limit for declarators using the new
6059 2012-01-18 Glenn Morris <rgm@gnu.org>
6061 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6062 (set-auto-mode): Doc fixes.
6064 2012-01-17 Glenn Morris <rgm@gnu.org>
6066 * isearch.el (search-nonincremental-instead): Fix doc typo.
6068 * dired.el (dired-insert-directory): Handle newlines in directory name.
6069 (dired-build-subdir-alist): Unescape newlines in directory name.
6071 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6073 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6074 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6075 (tramp-action-terminal): Use it. (Bug#10530)
6077 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6079 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6081 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6083 * window.el (window-state-ignored-parameters): Remove variable.
6084 (window--state-get-1): Rename argument MARKERS to IGNORE.
6085 Handle persistent window parameters. Make copy of clone-of
6086 parameter only if requested. (Bug#10348)
6087 (window--state-put-2): Install a window parameter only if it has
6088 a non-nil value or an existing parameter shall be overwritten.
6090 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6092 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6094 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6096 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6097 don't pass the (nil) value of `upnode' to string-match.
6099 2012-01-14 Chong Yidong <cyd@gnu.org>
6101 * startup.el (command-line): Fix X resource class for cursorColor.
6102 Fix values recognized by the cursorBlink resource.
6104 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6106 * epg.el (epg--make-temp-file): Avoid permission race condition
6107 when running on old Emacs versions (bug#10403).
6109 2012-01-14 Glenn Morris <rgm@gnu.org>
6111 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6113 2012-01-13 Alan Mackenzie <acm@muc.de>
6115 Fix filling for when filladapt mode is enabled.
6117 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6118 c-mask-paragraph, pass in `fill-paragraph' rather than
6119 `fill-region-as-paragraph'. (This is a reversion of a previous
6121 * progmodes/cc-mode.el (c-basic-common-init):
6122 Make fill-paragraph-handle-comment buffer local and set it to nil.
6124 2012-01-13 Glenn Morris <rgm@gnu.org>
6126 * dired.el (dired-switches-escape-p): New function.
6127 (dired-insert-directory): Use dired-switches-escape-p.
6128 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6130 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6132 2012-01-12 Glenn Morris <rgm@gnu.org>
6134 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6135 changes in adaptive-fill-regexp. (Bug#10276)
6137 2012-01-11 Alan Mackenzie <acm@muc.de>
6139 Fix Emacs bug #10463 - put `widen's around the critical spots.
6141 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6142 widen around each invocation of c-state-pp-to-literal. Remove an
6143 unused let variable.
6145 2012-01-11 Glenn Morris <rgm@gnu.org>
6147 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6150 2012-01-10 Chong Yidong <cyd@gnu.org>
6152 * net/network-stream.el (network-stream-open-starttls):
6153 Avoid emitting a confusing error message when the server gives a bad
6154 response to the capability command.
6156 2012-01-10 Glenn Morris <rgm@gnu.org>
6158 * mail/unrmail.el (unrmail): Tweak previous change.
6160 2012-01-09 Chong Yidong <cyd@gnu.org>
6162 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6164 2012-01-08 Alan Mackenzie <acm@muc.de>
6166 Optimise font locking in long enum definitions.
6168 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6169 arm to a cond form to handle enums.
6170 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6171 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6173 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6175 * files.el (move-file-to-trash): Preserve default file modes on error.
6178 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6180 * faces.el (set-face-attribute): Clarify the meaning of the nil
6183 * subr.el (with-selected-frame): Mention that the selected frame
6184 is restored (bug#9980).
6186 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6189 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6190 (password-read): Don't autoload unused function.
6192 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6194 * progmodes/which-func.el (which-func-mode): Turn into a
6195 non-interactive function and mark as obsolete (bug#10428).
6197 2012-01-06 Chong Yidong <cyd@gnu.org>
6199 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6200 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6201 functions, along with 1 and -1.
6203 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6205 * time.el (display-time-load-average)
6206 (display-time-default-load-average): Doc fixes. See the thread
6208 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6211 2012-01-06 Glenn Morris <rgm@gnu.org>
6213 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6214 has no messages. (Bug#10377)
6216 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6217 than Info-edit. (Bug#10385)
6219 * time.el (display-time-load-average, display-time-next-load-average):
6222 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6223 local setting of buffer-read-only to the input buffer. (Bug#10419)
6225 * calendar/calendar.el (calendar-mode):
6226 Locally set scroll-margin to 0. (Bug#10379)
6228 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6230 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6232 2012-01-05 Glenn Morris <rgm@gnu.org>
6234 * eshell/em-unix.el (diff-no-select): Autoload it.
6235 (eshell/diff): Use diff-no-select. (Bug#10420)
6237 2012-01-05 Chong Yidong <cyd@gnu.org>
6239 * shell.el (shell-dynamic-complete-functions): Revert last change.
6240 (shell-command-completion-function): New function.
6241 (shell-completion-vars): Use it to implement
6242 shell-completion-execonly (Bug#10417).
6244 * custom.el (enable-theme): Don't set custom-safe-themes.
6246 * cus-theme.el (custom-theme-merge-theme):
6247 Ignore custom-enabled-themes and custom-safe-themes.
6249 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6251 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6252 first prompt in `sql-interacive-mode'.
6253 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6255 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6256 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6257 context of original buffer. Invoke `sql-login-hook'.
6259 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6261 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6262 letters in cite-prefix.
6264 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6266 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6268 2012-01-03 Chong Yidong <cyd@gnu.org>
6270 * shell.el (shell-dynamic-complete-functions):
6271 Put pcomplete-completions-at-point, so as to try
6272 comint-filename-completion first (Bug#10417).
6274 2012-01-02 Richard Stallman <rms@gnu.org>
6276 * battery.el (battery-status-function):
6277 Detect when to use battery-yeeloong-sysfs.
6278 (battery-echo-area-format): Add string for Yeeloong.
6279 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6280 (battery-yeeloong-sysfs): New function.
6282 2012-01-02 Chong Yidong <cyd@gnu.org>
6284 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6285 (dirtrack): Merge code for handling relative filenames in prompt
6286 from shell-dir-cookie-watcher.
6287 (dirtrack-debug-message): New arg to avoid excess format calls.
6289 * shell.el (shell-dir-cookie-re): Variable deleted.
6290 (shell-dir-cookie-watcher): Function deleted.
6291 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6294 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6296 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6297 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6300 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6302 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6304 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6306 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6307 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6309 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6311 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6312 also for alternative shells.
6313 (tramp-open-connection-setup-interactive-shell): Check, whether
6314 the shell is a busybox.
6315 (tramp-send-command): Don't suppress multiple prompts for
6316 busyboxes, it hurts.
6318 2011-12-28 Chong Yidong <cyd@gnu.org>
6320 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6321 (gdb-get-source-file): Move mode line update to
6322 gdb-get-source-file (Bug#10087).
6324 2011-12-25 Chong Yidong <cyd@gnu.org>
6326 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6327 gud-gdb-marker-filter without taking it as an argument.
6328 (gud-gdb-run-command-fetch-lines): Caller changed.
6329 (gud-gdb-completion-function): New variable.
6330 (gud-gdb-completion-at-point): Use it.
6331 (gud-gdb-completions-1): Split from gud-gdb-completions.
6333 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6334 function as separate arguments.
6335 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6336 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6337 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6338 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6339 (gdb-stopped, def-gdb-auto-update-trigger)
6340 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6341 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6343 (gud-gdbmi-completions): New function.
6344 (gdb): Use it for generating the completion table.
6346 2011-12-24 Alan Mackenzie <acm@muc.de>
6348 Introduce a mechanism to widen the region used in context font
6349 locking. Use this to protect declarations from losing their contexts.
6351 * progmodes/cc-langs.el (c-before-font-lock-functions):
6352 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6353 (c-before-context-fontification-functions): New defvar, a list of
6354 functions to be run just before context (etc.) font locking.
6356 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6357 New, functionality extracted from
6358 c-neutralize-syntax-in-and-mark-CPP.
6359 (c-in-after-change-fontification): New variable.
6360 (c-after-change): Set c-in-after-change-fontification.
6361 (c-set-fl-decl-start): Rejig its interface, so it can be called
6362 from both after-change and context fontifying.
6363 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6365 (c-standard-font-lock-fontify-region-function): New variable.
6366 (c-font-lock-fontify-region): New function.
6368 2011-12-24 Juri Linkov <juri@jurta.org>
6370 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6373 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6375 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6376 existence of source file. (Bug#10325)
6378 2011-12-23 Alan Mackenzie <acm@muc.de>
6380 Fix unstable fontification inside templates.
6382 * progmodes/cc-langs.el (c-before-font-lock-functions):
6383 Newly created from the singular version. The (c c++ objc) entry now
6384 additionally has c-set-fl-decl-start. The other languages (apart
6385 from AWK) have that as a single entry.
6387 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6388 The functionality for "local" declarations has been extracted to
6389 c-set-fl-decl-start.
6391 * progmodes/cc-mode.el (c-common-init, c-after-change):
6392 Changes due to pluralisation of c-before-font-lock-functions.
6393 (c-set-fl-decl-start): New function, extracted from
6394 c-font-lock-enclosing-decls and enhanced.
6396 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6398 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6400 2011-12-22 Juri Linkov <juri@jurta.org>
6402 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6404 2011-12-22 Chong Yidong <cyd@gnu.org>
6406 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6408 2011-12-21 Drew Adams <drew.adams@oracle.com>
6410 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6412 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6414 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6416 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6418 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6419 highlighting and support. Fix up comments for capitalization.
6420 (cfengine-mode-debug): New var.
6421 (cfengine3-mode): Change the modeline indicator to "CFE3".
6422 (cfengine3-font-lock-keywords): Improve defun highlighting.
6423 (cfengine2-actions): Rename from `cfengine-actions'.
6424 (cfengine2-font-lock-keywords): Rename from
6425 `cfengine-font-lock-keywords'.
6426 (cfengine2-imenu-expression): Rename from
6427 `cfengine-imenu-expression'.
6428 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6429 (cfengine2-beginning-of-defun): Rename from
6430 `cfengine-beginning-of-defun'.
6431 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6432 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6433 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6434 modeline indicator to "CFE2".
6435 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6436 (cfengine-mode-abbrevs): Mark obsolete.
6438 2011-12-21 Chong Yidong <cyd@gnu.org>
6440 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6443 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6445 * window.el (window-normalize-buffer-to-display): Remove.
6446 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6448 2011-12-19 Chong Yidong <cyd@gnu.org>
6450 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6451 Don't signal an error in a predicate function; return non-nil.
6452 (vc-dir-mark-file): Move the error here.
6453 (vc-dir-mark-unmark): If acting on the region, keep going if one
6454 of the entries cannot be marked/unmarked.
6455 (vc-dir-mark-all-files): If current entry is a directory, mark
6456 only child files, as documented.
6458 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6460 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6461 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6464 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6466 * term/ns-win.el (ns-get-selection-internal)
6467 (ns-store-selection-internal): Declare.
6468 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6469 Declare as obsolete.
6470 (ns-get-pasteboard, ns-paste-secondary):
6471 Use ns-get-selection-internal.
6472 (ns-set-pasteboard, ns-copy-including-secondary):
6473 Use ns-store-selection-internal.
6475 2011-12-17 Chong Yidong <cyd@gnu.org>
6477 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6478 (vc-deduce-fileset): Doc fix.
6480 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6482 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6484 2011-12-13 Sam Steingold <sds@gnu.org>
6486 * man.el (Man-getpage-in-background): When running under a
6487 window-system, ignore $MANWIDTH and $COLUMNS.
6489 2011-12-15 Kenichi Handa <handa@m17n.org>
6491 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6492 (setup-ethiopic-environment-internal): Comment out key-binding for
6493 ethio-toggle-punctuation.
6495 2011-12-13 Alan Mackenzie <acm@muc.de>
6497 Add the switch statement to AWK Mode.
6499 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6500 "default" to the keywords regexp.
6502 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6503 expression as the rest.
6504 (c-nonlabel-token-key): Allow string literals for AWK.
6505 Refactor for the other modes.
6507 Large brace-block initialisation makes CC Mode slow: Fix.
6508 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6509 routines. Limit backward searching in c-font-lock-enclosing.decl.
6511 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6512 pp-state and literal type in addition to the limits.
6513 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6514 (c-state-literal-at): Use the above new defun.
6515 (c-slow-in-literal, c-fast-in-literal): Remove.
6516 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6518 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6519 being in a literal. Add a limit for backward searching.
6521 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6524 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6528 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6530 * window.el (delete-other-windows): Use correct frame in call to
6531 window-with-parameter.
6533 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6535 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6536 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6537 (makefile-gmake-statements, makefile-makepp-statements):
6538 Use it and add new makepp keywords.
6539 (makefile-makepp-font-lock-keywords): Add new patterns.
6540 (makefile-match-function-end): Match new [...] and [[...]].
6542 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6544 * ses.el (ses-call-printer-return, ses-cell-property-get)
6545 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6546 (ses-create-cell-variable, ses-reset-header-string)
6547 (ses-cell-set-formula, ses-repair-cell-reference-all)
6548 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6549 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6550 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6551 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6552 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6553 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6554 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6555 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6556 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6557 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6558 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6559 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6561 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6563 * ses.el: The overall change is to add cell renaming, that is
6564 setting fancy names for cell symbols other than name matching
6565 "\\`[A-Z]+[0-9]+\\'" regexp .
6566 (ses-create-cell-variable): New defun.
6567 (ses-relocate-formula): Relocate formulas only for cells the
6568 symbols of which are not renamed, i.e. symbols whose names do not
6569 match regexp "\\`[A-Z]+[0-9]+\\'".
6570 (ses-relocate-all): Relocate values only for cells the symbols of
6571 which are not renamed.
6572 (ses-load): Create cells variables as the (ses-cell ...) are read,
6573 in order to check row col consistency with cell symbol name only
6574 for cells that are not renamed.
6575 (ses-replace-name-in-formula): New defun.
6576 (ses-rename-cell): New defun.
6578 2011-12-11 Chong Yidong <cyd@gnu.org>
6580 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6581 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6583 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6585 * window.el (other-window): Fix docstring.
6587 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6589 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6590 `from' or `to' address before taking its substring.
6591 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6592 encoded name is chopped in the middle of the encoded string, and
6593 thus displayed encoded.
6595 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6597 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6599 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6601 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6602 to use texinfo-update-node and commands that call it if the
6603 Texinfo file uses @node lines without next/prev/up pointers.
6604 Correct outdated description about texinfo-master-menu.
6605 (texinfo-all-menus-update, texinfo-master-menu)
6606 (texinfo-update-node, texinfo-every-node-update)
6607 (texinfo-multiple-files-update): Doc fix. Warn against updating
6608 all the @node lines.
6609 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6610 argument is numeric. Explain better in the doc string what the
6611 function really does.
6612 (texinfo-insert-master-menu-list): Improve the error message
6613 displayed if there's no menu in the Top node.
6614 (Bug#2975) See also this thread:
6615 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6617 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6619 * speedbar.el (speedbar-supported-extension-expressions):
6620 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6622 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6624 * printing.el (pr-mode-alist):
6625 * simple.el (filter-buffer-substring-functions)
6626 (completion-list-insert-choice-function):
6627 * window.el (window-with-parameter, window-atom-root)
6628 (window-sides-slots, window-size-fixed, window-min-delta)
6629 (window-max-delta, window--resize-mini-window)
6630 (window--resize-child-windows-normal, window-tree)
6631 (delete-other-windows, quit-window, split-window)
6632 (display-buffer-record-window, special-display-buffer-names)
6633 (special-display-regexps, special-display-popup-frame)
6634 (same-window-p, split-window-sensibly)
6635 (display-buffer-overriding-action, display-buffer-alist)
6636 (display-buffer-base-action, display-buffer, switch-to-buffer)
6637 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6638 (fit-window-to-buffer, recenter-positions)
6639 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6640 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6641 and remove unneeded backslashes in docstrings.
6643 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6645 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6647 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6648 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6650 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6651 when reading the makefile (bug#10116).
6653 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6658 2011-12-06 Glenn Morris <rgm@gnu.org>
6660 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6662 2011-12-06 Chong Yidong <cyd@gnu.org>
6664 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6666 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6668 * textmodes/table.el (table-shorten-cell): Fix typo.
6670 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6672 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6674 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6676 * descr-text.el (describe-char): Fix display of strong
6677 right-to-left characters and directional embeddings and overrides.
6679 * simple.el (what-cursor-position): Fix display of codepoints of
6680 strong right-to-left characters.
6682 2011-12-05 Chong Yidong <cyd@gnu.org>
6684 * faces.el (read-color): Doc fix.
6686 2011-12-05 Glenn Morris <rgm@gnu.org>
6688 * align.el (align--set-marker): Add doc-string.
6689 Don't try to move something that is not a marker. (Bug#10216)
6691 2011-12-04 Glenn Morris <rgm@gnu.org>
6693 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6694 overly zealous deletion of trailing whitespace.
6696 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6698 * server.el (server-delete-client): On Windows, do not try to delete
6700 (server-process-filter): On Windows, treat requests for a tty frame as
6701 if they were for a GUI frame if the running server is in GUI mode.
6703 2011-12-03 Glenn Morris <rgm@gnu.org>
6705 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6707 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * electric.el: Streamline electric-indent's hook.
6710 (electric-indent-chars): Revert to simple list.
6711 (electric-indent-functions): New var.
6712 (electric-indent-post-self-insert-function): Use it.
6714 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6715 there's no inferior buffer (bug#10196).
6716 (prolog-consult-compile): Don't use toggle-read-only.
6718 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6720 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6721 interrupt. (Bug#10187)
6723 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6728 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6731 2011-12-02 Juri Linkov <juri@jurta.org>
6733 * info.el (Info-search): Display "end of manual" when Isearch
6734 reaches the end of single-file Info manual. (Bug#9918)
6736 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6738 * isearch.el (isearch-message-prefix): Run the input method part
6739 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6741 2011-12-02 Juri Linkov <juri@jurta.org>
6743 * isearch.el (isearch-occur): Use `word-search-regexp' for
6745 (isearch-search-and-update): Add condition for `isearch-word' and
6746 call `word-search-regexp'. (Bug#10145)
6748 2011-12-01 Glenn Morris <rgm@gnu.org>
6750 * eshell/em-hist.el (eshell-hist-initialize):
6751 Handle eshell-history-size nil and HISTSIZE set or unset.
6752 (eshell-history-file-name, eshell-history-size): Fix custom type.
6754 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6758 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6760 * progmodes/verilog-mode.el (verilog-pretty-expr):
6761 Rework verilog-pretty-expr to handle new assignment operators in system
6762 verilog, such as += *= and the like.
6763 (verilog-assignment-operator-re): Regular expression to find the
6764 assigment operator in a verilog assignment.
6765 (verilog-assignment-operation-re): Regular expression to find an
6766 assignment statement for pretty-expr.
6767 (verilog-in-attribute-p): Query returns true if point is in an
6768 attribute context; used to skip these for expression line up from
6770 (verilog-in-parameter-p): Query returns true if point is in an
6771 parameter definition context; used to skip these for expression
6772 line up from pretty-expr.
6773 (verilog-in-parenthesis-p): Query returns true if point is in a
6774 parenthetical expression, specifically ( ) but not [ ] or { };
6775 used by pretty-expr.
6776 (verilog-just-one-space): If there is no space, don't add one.
6777 (verilog-get-lineup-indent-2): Specifically skip just attribute
6778 contexts for expression lineup, rather than skipping all
6779 parenthetical expressions.
6780 (verilog-calculate-indent): Fix comment, and fix indent.
6781 (verilog-do-indent): Indent declarations in lists (suggested by
6783 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6785 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6788 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6790 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6791 parameters with embedded comments. Reported by Ray Stevens.
6792 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6793 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6794 Reported by Tim Holt.
6795 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6796 instantiated by upper module causing wrong expansion until AUTOed a
6797 second time. Reported by K C Buckenmaier.
6798 (verilog-diff-auto): Fix showing .* as a difference when
6799 `verilog-auto-star-save' off. Reported by Dan Dever.
6800 (verilog-auto-reset, verilog-read-always-signals)
6801 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6802 temporary signals in reset list if
6803 verilog-auto-reset-blocking-in-non is nil, and match assignment
6804 style to each signal's assignment type, bug381.
6805 Reported by Thomas Esposito.
6806 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6807 (verilog-uvm-statement-re): Support UVM indentation and
6808 highlighting, with old OVM keywords only.
6809 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6810 Support AUTOTIEOFF creating non-wire data types.
6811 Suggested by Jonathan Greenlaw.
6812 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6813 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6814 (verilog-inject-sense, verilog-read-inst-pins)
6815 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6816 Fix mismatching parenthesis inside commented out code when deleting
6817 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6818 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6819 non-numeric vector width. Reported by Alex Reed.
6820 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6821 detecting signals with parameter widths. Reported by Alex Reed.
6822 (verilog-auto-delete-trailing-whitespace):
6823 With `verilog-auto-delete-trailing-whitespace' remove trailing
6824 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6825 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6826 Fix verilog-scan-cache corruption when running user AUTO expansion
6827 hooks that call indentation routines.
6828 (verilog-simplify-range-expression): Fix typo ignoring lower case
6830 (verilog-delete-auto): Fix delete-autos to also remove user created
6831 automatics, as long as they start with AUTO.
6832 (verilog-batch-diff-auto, verilog-diff-auto)
6833 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6834 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6835 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6836 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6837 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6838 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6839 is disabled and its cache will get corrupt, causing AUTOS not to
6840 expand. Instead use only -quick functions.
6841 (verilog-scan-region): Fix scanning over escaped quotes.
6842 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6843 (verilog-re-search-backward-quick)
6844 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6845 related functions now ignore strings, to fix misparsing of strings
6846 with magic comments embedded in them.
6847 (verilog-read-auto-template):
6848 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6849 Reported by Brad Dobbie.
6850 (verilog-read-auto-template):
6851 Fix 'verilog-auto-inst-template-numbers' with comments.
6852 Reported by Brad Dobbie.
6853 (verilog-auto-inst, verilog-auto-inst-param)
6854 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6855 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6856 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6857 debugging templates without merge conflicts, bug357.
6858 Reported by Brad Dobbie.
6859 (verilog-read-auto-template):
6860 Fix verilog-auto-inst-template-numbers with multiple templates.
6861 Reported by Brad Dobbie.
6862 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6863 abbrevs so user won't be asked to save.
6864 (verilog-read-auto-lisp-present): Fix to start at beginning of
6865 buffer in case called outside of verilog-auto.
6866 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6867 to "X-2". Reported by Matthew Myers.
6868 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6869 all inputs from module templates. Reported by Leith Johnson.
6870 (verilog-module-inside-filename-p): Fix locating programs as with
6872 (verilog-auto-inst-port): Fix vl-width expressions when using
6873 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6874 (verilog-decls-get-regs, verilog-decls-get-signals,
6875 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6876 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6877 verilog-read-decls): Combine reg and wire structures into one var
6878 structure to represent SystemVerilog concepts.
6879 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6880 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6881 (verilog-auto-wire-type, verilog-insert-definition):
6882 Add verilog-auto-wire-type and AUTOLOGIC to support using
6883 SystemVerilog "logic" keyword instead of "wire"/"reg".
6884 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6885 to declares outputs that also have assignments (presumably in an
6886 ifdef or generate if so there's not a driver conflict).
6887 Reported by Matthew Myers.
6888 (verilog-auto-declare-nettype, verilog-insert-definition):
6889 Add verilog-auto-declare-nettype to fix declarations using
6890 `default_nettype none. Reported by Julian Gorfajn.
6891 (verilog-read-always-signals-recurse, verilog-read-decls)
6892 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6893 malformed end statement, bug325. Reported by Joshua Wise and
6895 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6896 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6897 when expanding .* in interfaces, bug320.
6898 Reported by Pierre-David Pfister.
6899 (verilog-read-module-name): Fix import statements between module
6900 name and open parenthesis, bug317.
6901 Reported by Pierre-David Pfister.
6902 (verilog-simplify-range-expression): Fix simplification of
6903 multiplications inside AUTOWIRE connections, bug303.
6904 (verilog-auto-inst-port): Support parameter expansion in
6905 multidimensional arrays.
6906 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6907 after "assert property". Reported by Julian Gorfajn.
6908 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6909 with multiplication, bug303.
6910 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6911 Reported by Jan Frode Lonnum.
6913 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6915 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6916 (hfy-shell-file-name, hfy-shell):
6917 * international/fontset.el (x-decompose-font-name): Fix typos.
6919 2011-11-29 Ken Brown <kbrown@cornell.edu>
6921 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6922 (gdb-version): Remove defvar.
6923 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6924 (gdb-gud-context-command, gdb-non-stop-handler)
6925 (gdb-current-context-command, gdb-stopped): Use it.
6926 (gdb-init-1): Enable pretty printing here.
6927 (gdb-non-stop-handler): Don't enable pretty-printing here.
6928 Check to see if the target supports non-stop mode; if not, turn off
6929 non-stop mode. Use the following.
6930 (gdb-check-target-async): New defun.
6931 (gud-watch, gdb-stopped): Fix whitespace.
6932 (gdb-get-source-file): Don't try to display the source file if
6933 `gdb-main-file' is nil.
6935 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * align.el: Try to generate fewer markers (bug#10047).
6938 (align--set-marker): New macro.
6939 (align-region): Use it.
6941 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6943 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6945 2011-11-29 Chong Yidong <cyd@gnu.org>
6947 * indent.el (indent-for-tab-command, indent-according-to-mode):
6949 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6951 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6953 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6954 aware of remote file names. (Bug#10124)
6956 2011-11-29 Chong Yidong <cyd@gnu.org>
6958 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6960 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * files.el (find-file): Don't use force-same-window (bug#10144).
6963 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6964 use pop-to-buffer if the selected window can't be used.
6965 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6967 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6969 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6972 2011-11-28 Chong Yidong <cyd@gnu.org>
6974 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6976 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6978 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6979 gdb-get-source-file-list on gdb-create-source-file-list.
6981 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6983 * whitespace.el (whitespace-newline): Use a different foreground
6984 color for 16-color light-background displays.
6986 2011-11-24 Chong Yidong <cyd@gnu.org>
6988 * window.el (display-buffer--special-action): Doc fix.
6990 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6992 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6993 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6994 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6995 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6996 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6997 (avl-tree-stack-first):
6998 * emacs-lisp/cconv.el (cconv--analyse-use):
6999 * net/gnutls.el (gnutls-negotiate): Fix typos.
7001 2011-11-24 Glenn Morris <rgm@gnu.org>
7003 * lpr.el (lpr-windows-system, lpr-lp-system):
7004 * mail/binhex.el (binhex-begin-line):
7005 * progmodes/grep.el (grep-history, grep-find-history):
7006 * textmodes/flyspell.el:
7007 * vc/pcvs-defs.el (cvs-global-menu):
7008 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7009 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7010 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7012 * net/tls.el: Fix case of "GnuTLS".
7014 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7016 * version.el (emacs-build-system): Give it a doc-string.
7018 2011-11-24 Juri Linkov <juri@jurta.org>
7020 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7022 2011-11-24 Glenn Morris <rgm@gnu.org>
7024 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7025 if called on a non-mime message just toggle the headers. (Bug#8006)
7027 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7029 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7030 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7031 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7032 (allout-rebullet-heading, allout-open-sibtopic)
7033 (allout-toggle-current-subtree-encryption)
7034 (allout-toggle-subtree-encryption, allout-encrypt-string)
7035 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7036 (allout-distinctive-bullets-string, allout-auto-activation):
7037 * window.el (window-normalize-buffer-to-display):
7038 * progmodes/verilog-mode.el (verilog-batch-indent):
7039 * textmodes/bibtex.el (bibtex-field-braces-opt)
7040 (bibtex-field-strings-opt):
7041 * vc/cvs-status.el (cvs-tree-merge):
7044 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7046 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7047 `non-essential' to t, in order to avoid remote connections.
7049 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7051 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7052 On MS-DOS and MS-Windows, compare with loaddefs.el
7055 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7057 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7059 2011-11-23 Glenn Morris <rgm@gnu.org>
7061 * paths.el (rmail-file-name): Reformat the doc-string so that it
7064 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7065 (rmail-auto-file): Ignore case in the "special" field names,
7066 as mail-fetch-field does for all others.
7068 * mail/rmail.el (rmail-forward):
7069 * mail/rmailkwd.el (rmail-set-label):
7070 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7071 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7073 * mail/rmail.el (rmail-current-message): Doc fix.
7075 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7077 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7079 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7081 2011-11-22 Glenn Morris <rgm@gnu.org>
7083 * mail/rmailmm.el (test-rmail-mime-handler)
7084 (test-rmail-mime-bulk-handler)
7085 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7087 2011-11-21 Juri Linkov <juri@jurta.org>
7089 * calc/calc.el (calc-read-key-sequence):
7090 Let-bind `input-method-function' to nil. (Bug#10018)
7092 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7095 Tell the caller that the next line needs recomputation, even
7096 though it doesn't start a sexp (bug#10094).
7098 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7102 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7105 Use force-same-window.
7107 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7109 * descr-text.el (describe-char-unicode-data):
7110 * json.el (json-string-escape):
7111 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7112 (Footnote-unicode, Footnote-style-p):
7113 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7115 2011-11-20 Chong Yidong <cyd@gnu.org>
7117 * window.el (replace-buffer-in-windows): Restore interactive spec.
7119 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7121 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7123 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7124 (byte-compile-global-not-obsolete-vars): New var.
7125 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7127 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7129 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7131 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7132 * progmodes/pascal.el (electric-pascal-equal):
7133 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7134 * xml.el (xml-substitute-special): Fix typos.
7136 2011-11-20 Glenn Morris <rgm@gnu.org>
7138 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7139 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7141 (rmail-decode-mime-charset): Mark as obsolete.
7143 * mail/rmailsum.el (rmail-message-regexp-p-1):
7144 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7145 Before using mime functions, check they are set. (Bug#10077)
7147 2011-11-19 Juri Linkov <juri@jurta.org>
7149 * info.el (Info-finder-find-node): Use `package--builtins' instead
7150 of `package-alist'. Use node names formed by the pattern "Keyword "
7151 and the keyword name.
7153 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7155 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7157 2011-11-19 Juri Linkov <juri@jurta.org>
7159 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7160 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7161 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7162 `old-history', `old-history-forward'. Add let-binding
7163 `window-selected'. Remove calls to `kill-buffer',
7164 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7165 before calling `Info-find-node', so `Info-find-node-2' will reread
7166 the Info file. Restore window positions only when `window-selected'
7169 2011-11-19 Juri Linkov <juri@jurta.org>
7171 * isearch.el (isearch-lazy-highlight-new-loop):
7172 Remove condition `(not isearch-error)'. (Bug#9918)
7174 * misearch.el (multi-isearch-search-fun): Add condition
7175 `(not bound)' to ignore lazy-highlighting search.
7176 Add the search-failed message "end of multi" when the end of
7177 multi-sequence is reached. Uncapitalize the search-failed
7178 message "Repeat for next buffer".
7180 * info.el (Info-search): Add the search-failed message
7181 "end of the manual" when the end of the manual is reached
7184 2011-11-19 Juri Linkov <juri@jurta.org>
7186 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7187 Use non-destructive `remove' instead of `delete' because
7188 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7189 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7191 2011-11-19 Juri Linkov <juri@jurta.org>
7193 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7194 to nil instead of binding `search-ring' and `regexp-search-ring'.
7197 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7199 * simple.el (line-move): Force movement by logical lines for any
7200 hscrolled window, not only when auto-hscroll-mode is on.
7201 (line-move-visual): Update doc string to that effect. (Bug#10076)
7203 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7205 * language/european.el (macintosh): Define as alias for mac-roman.
7207 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7209 * mail/rmailmm.el (rmail-mime-display-header)
7210 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7211 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7212 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7213 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7214 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7216 (rmail-mime-entity-segment): To get past the tagline, move forward
7217 2 more lines, to account for the 2 empty lines that precede and
7218 follow the line with the buttons.
7219 (rmail-mime-update-tagline): Move one more line, to get past the
7220 empty line that follows the buttons in the tagline. (Bug#9520)
7222 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7224 * window.el (window-max-delta-1, window-min-delta-1)
7225 (window-min-size-1, window-state-get-1, window-state-put-1)
7226 (window-state-put-2): Use "window--" prefix.
7228 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7231 (smie-warning-count): New var.
7232 (smie-set-prec2tab): Use it.
7233 (smie-bnf->prec2): Improve warnings. Add docstring.
7234 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7235 (smie-bnf--set-class): New function.
7236 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7239 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7240 (compilation-error-properties, compilation-move-to-column):
7241 Handle compilation-first-column while in the target buffer.
7243 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7244 Don't hardcode point-min==1.
7246 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7247 (eshell-rewrite-for-command): Remove workaround.
7248 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7249 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7250 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7252 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7254 2011-11-17 Glenn Morris <rgm@gnu.org>
7256 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7257 Ignore buffer-local generated-autoload-file if it is the same
7258 as the global value. (Bug#10049)
7260 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7262 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7263 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7264 (reftex-toc-previous-heading, reftex-toc-max-level)
7265 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7266 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7267 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7268 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7269 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7270 (reftex-toc-rename-label, reftex-toc-visit-location)
7271 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7272 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7273 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7274 leaving "*toc*" only for references to the buffer.
7276 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7278 * window.el (window-resize, delete-window, split-window):
7279 Replace window-splits by window-combination-resize.
7280 * cus-start.el (window-splits): Replace by window-combination-resize.
7282 2011-11-17 Glenn Morris <rgm@gnu.org>
7284 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7285 Make bash entry derive from sh entry, not shell entry.
7287 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7289 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7292 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7294 * menu-bar.el (menu-bar-file-menu):
7295 * printing.el (pr-ps-utility):
7296 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7297 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7298 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7299 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7300 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7301 (icalendar--convert-cyclic-to-ical)
7302 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7303 (icalendar--convert-ical-to-diary)
7304 (icalendar--convert-recurring-to-diary)
7305 (icalendar--convert-non-recurring-all-day-to-diary)
7306 (icalendar-import-format-sample):
7307 * progmodes/idlw-shell.el (idlwave-shell-mode):
7308 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7309 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7310 (vhdl-ps-print-init): Fix typos.
7312 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7314 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7315 FSF and collapse date sequence, obscure author/maintainer email address
7316 better, remove extra version line, track relocation of author's webpage.
7318 * progmodes/python.el (python-pdbtrack-input-prompt)
7319 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7320 regular python pdb prompts. Adjustments shamelessly taken exactly as
7321 suggested in EmacsWiki page (tiny change):
7322 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7324 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7326 * expand.el (expand-pos, expand-index, expand-point):
7327 Remove redundant info from docstring.
7328 (expand-add-abbrevs): Doc fix.
7329 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7330 (expand-sample-perl-mode-expand-list): Fix typos.
7332 * net/dbus.el (dbus-event-member-name):
7333 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7334 * term/pc-win.el (msdos-create-frame-with-faces):
7335 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7337 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7339 * window.el (split-window, window-state-get-1)
7340 (window-state-put-1, window-state-put-2): Rename occurrences of
7341 window-nest to window-combination-limit.
7342 * cus-start.el (window-nest): Rename to window-combination-limit.
7344 2011-11-16 Chong Yidong <cyd@gnu.org>
7346 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7349 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7352 `completing-read' will remove *Completions* and will preserve
7353 current-buffer for us.
7354 (tmm-add-prompt): Users of *Completions* will always (re)set its
7356 (tmm-old-comp-map): Remove.
7358 2011-11-16 Glenn Morris <rgm@gnu.org>
7360 * mail/rmailedit.el: Require rmailmm when compiling.
7361 (rmail-old-mime-state): New declaration.
7362 (rmail-edit-current-message): If editing a mime message,
7363 edit the "raw" message from the mbox buffer.
7364 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7366 2011-11-15 Glenn Morris <rgm@gnu.org>
7368 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7369 which wasn't being used. Add optional arg to force given state.
7370 (rmail-mime): Add optional arg to force given state.
7372 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7374 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7375 * frame.el (display-mm-dimensions-alist):
7376 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7377 (outline-move-subtree-down):
7378 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7379 (newsticker--treeview-do-get-node):
7380 * net/quickurl.el (quickurl-list-buffer-name):
7381 * progmodes/dcl-mode.el (dcl-mode):
7382 * progmodes/gdb-mi.el (gdb-mapcar*):
7383 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7385 2011-11-15 Glenn Morris <rgm@gnu.org>
7387 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7388 in a boolean sense, so just make it a boolean, and fix the doc.
7389 (rmail-show-mime-function, rmail-mime-feature)
7390 (rmail-require-mime-maybe): Doc fixes.
7391 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7393 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7395 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7397 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7398 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7399 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7400 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7402 2011-11-15 Glenn Morris <rgm@gnu.org>
7404 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7405 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7406 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7407 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7408 (rmail-mime, rmail-show-mime): Doc fixes.
7410 * term/ns-win.el (mode-line-frame-identification):
7411 Leave it alone. (Bug#10051)
7413 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7415 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7416 Handle empty buffers. (Bug#9978)
7418 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7420 * international/mule.el (define-charset):
7421 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7422 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7423 * progmodes/verilog-mode.el (verilog-backward-token):
7424 * textmodes/ispell.el (lookup-words):
7425 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7427 2011-11-14 Glenn Morris <rgm@gnu.org>
7429 * progmodes/executable.el
7430 (executable-make-buffer-file-executable-if-script-p):
7431 Handle file-modes returning nil.
7433 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7434 message - not necessary, and causes problems. (Bug#9831)
7436 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7438 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7440 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7441 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7442 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7444 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7446 * window.el (window-resize, delete-window): Use window-splits
7447 variable instead of function.
7448 (window-state-get-1, window-state-put-2, window-state-put):
7449 Don't deal with windows' splits status.
7451 2011-11-12 Glenn Morris <rgm@gnu.org>
7453 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7454 (apropos-documentation): Doc fixes.
7456 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7458 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7459 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7461 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * electric.el (electric-indent-post-self-insert-function): Make it
7464 possible for a char to only indent in some circumstances.
7465 (electric-indent-mode): Simplify.
7467 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7469 * window.el (windows-with-parameter): Remove unused function.
7470 (windows-at-side): Rename to window-at-side-list.
7471 (window-check, window-atom-check, window-atom-check-1)
7472 (window-side-check, window-size-ignore, window-size-fixed-1)
7473 (window-in-direction-2): Prefix with "window--".
7474 (window-tree-1): Rename to window--subtree, fix doc-string.
7476 2011-11-11 Glenn Morris <rgm@gnu.org>
7478 * subr.el (eval-after-load): If FILE is already loaded,
7479 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7481 2011-11-10 Glenn Morris <rgm@gnu.org>
7483 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7484 Call svn via vc-svn-command rather than vc-do-command.
7485 (vc-svn-command): Add --non-interactive. (Bug#9993)
7486 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7488 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7489 Add toggle-read-only. (Bug#7292)
7490 * files.el (toggle-read-only): Mention that it should only
7491 be used interactively. (Bug#10006)
7493 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7496 Adjust regexp for OCaml warnings.
7498 * electric.el (electric-pair-post-self-insert-function): Let user
7499 turn it off buffer-locally (bug#9932).
7501 * progmodes/python.el (python-beginning-of-statement):
7504 * progmodes/compile.el: Better handle TABs (bug#9749).
7505 (compilation-internal-error-properties)
7506 (compilation-next-error-function): Obey the target buffer's
7507 compilation-error-screen-columns.
7509 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7511 * progmodes/meta-mode.el: Remove obsolete comments.
7512 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7513 Fix typos in docstrings.
7515 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7517 * window.el (window-size-fixed-p): Rewrite doc-string.
7518 (window-resizable-p): Rename to window--resizable-p. Update callers.
7519 (window--resizable): New function. Make all callers of
7520 window-resizable call window--resizable instead.
7521 (window-resizable): Rewrite in terms of window--resizable.
7523 2011-11-08 Glenn Morris <rgm@gnu.org>
7525 * progmodes/delphi.el (delphi-mode-syntax-table):
7526 Let define-derived-mode define a proper syntax table. (Bug#9994)
7528 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7530 * window.el: Stay away from defsubst.
7531 (window-list-no-nils): Remove.
7532 (window-state-get-1, window-state-get): Use backquote instead.
7534 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7536 * emacs-lisp/find-func.el (find-function-read):
7537 Fix incorrect use of default argument in `completing-read'.
7539 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7541 * window.el (display-buffer-function, special-display-function):
7542 Mention display-buffer-record-window but do not mention
7543 help-setup parameter in doc-strings.
7544 (window-min-delta): Fix doc-string typo.
7546 2011-11-08 Chong Yidong <cyd@gnu.org>
7548 * window.el (window-total-height, window-total-width): Doc fix.
7549 (window-body-size): Move from C.
7550 (window-body-height, window-body-width): Move to C.
7552 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7554 * window.el: Make special-display like display-buffer-alist (bug#9532).
7555 (display-buffer--special-action): New function, morphed
7556 from display-buffer--special.
7557 (display-buffer): Use it to handle special-display-buffers at higher
7558 priority (just after display-buffer-alist).
7559 (display-buffer-fallback-action, display-buffer--other-frame-action)
7560 (pop-to-buffer-same-window): Remove display-buffer--special.
7562 2011-11-07 Glenn Morris <rgm@gnu.org>
7564 * calendar/cal-menu.el (cal-menu-set-date-title):
7565 Do nothing if not in a calendar. (Bug#9976)
7567 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7569 * files.el (find-file): Always use selected-window.
7571 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7573 * window.el (window-combinations): Make WINDOW argument
7574 mandatory. Rewrite doc-string.
7575 (walk-window-subtree, window-atom-check, window-min-delta)
7576 (window-max-delta, window--resize-this-window)
7577 (window--resize-root-window-vertically, window-tree)
7578 (balance-windows, window-state-put): Rewrite doc-strings as to
7579 not mention the term "subwindow".
7580 (window--resize-subwindows-skip-p): Rename to
7581 window--resize-child-windows-skip-p.
7582 (window--resize-subwindows-normal): Rename to
7583 window--resize-child-windows-normal.
7584 (window--resize-subwindows): Rename to
7585 window--resize-child-windows.
7586 (window-or-subwindow-p): Rename to window--in-subtree-p.
7588 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7590 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7591 Ensure that mbox format messages end in two newlines (Bug#9974).
7593 2011-11-06 Chong Yidong <cyd@gnu.org>
7595 * window.el (window-combination-p): Function deleted; its
7596 side-effect is not used in any existing code.
7597 (window-combinations, window-combined-p): Call window-*-child
7600 2011-11-05 Chong Yidong <cyd@gnu.org>
7602 * window.el (window-valid-p): Rename from window-any-p.
7603 (window-size-ignore, window-state-get): Callers changed.
7604 (window-normalize-window): Rename from window-normalize-any-window.
7605 New arg LIVE-ONLY, replacing window-normalize-live-window.
7606 (window-normalize-live-window): Delete.
7607 (window-combination-p, window-combined-p, window-combinations)
7608 (walk-window-subtree, window-atom-root, window-min-size)
7609 (window-sizable, window-sizable-p, window-size-fixed-p)
7610 (window-min-delta, window-max-delta, window-resizable)
7611 (window-resizable-p, window-full-height-p, window-full-width-p)
7612 (window-current-scroll-bars, window-point-1, set-window-point-1)
7613 (window-at-side-p, window-in-direction, window-resize)
7614 (adjust-window-trailing-edge, maximize-window, minimize-window)
7615 (window-deletable-p, delete-window, delete-other-windows)
7616 (record-window-buffer, unrecord-window-buffer)
7617 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7618 (quit-window, split-window, window-state-put)
7619 (set-window-text-height, fit-window-to-buffer)
7620 (shrink-window-if-larger-than-buffer): Callers changed.
7622 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7624 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7625 rfc2047-decode-string.
7626 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7629 * window.el (window-body-height, window-body-width): Mention in
7630 the doc string that the return values are in frame's canonical
7633 2011-11-03 Alan Mackenzie <acm@muc.de>
7635 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7636 change in cc-engine.el.
7638 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7642 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7644 * window.el (quit-window): Call unrecord-window-buffer after
7645 showing another buffer in the window. (Bug#9937)
7646 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7648 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7650 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7651 Accept status with more than 9 shelves. (Bug#9935)
7652 Reported by Colin D Bennett <colin@gibibit.com>.
7654 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7656 * help.el (with-help-window): Don't reference
7657 temp-buffer-show-specifiers in doc-string.
7659 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7661 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7664 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7666 * whitespace.el: New version 13.2.2.
7667 (whitespace-newline-mode): Disable properly. Reported by Sarah
7670 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7672 * net/newst-treeview.el: Remove "Time-stamp".
7673 (newsticker--group-manage-orphan-feeds): Do not call
7674 newsticker--treeview-tree-update.
7675 (newsticker-treeview-update, newsticker-treeview):
7676 Call newsticker--treeview-tree-update if necessary.
7678 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7680 * window.el (window-iso-combination-p, window-iso-combined-p)
7681 (window-iso-combinations): Remove "iso-" infix.
7682 Suggested by Chong Yidong.
7683 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7684 (window-max-delta-1, window-resize, window--resize-siblings)
7685 (window--resize-this-window, adjust-window-trailing-edge)
7686 (split-window, balance-windows-1)
7687 (shrink-window-if-larger-than-buffer):
7688 * calendar/calendar.el (calendar-generate-window):
7689 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7691 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7694 in place (bug#9907).
7695 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7696 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7697 (eshell-structure-basic-command, eshell-rewrite-while-command)
7698 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7699 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7700 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7701 (eshell-do-pipelines-synchronously, eshell-eval-command):
7702 Use backquotes and prefer setq to set.
7703 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7704 (eshell-macrop): Use functionp.
7705 (eshell-do-eval): Handle multiple expressions in `while' body.
7707 2011-10-30 Chong Yidong <cyd@gnu.org>
7709 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7710 instead of set-mark (Bug#9810).
7712 2011-10-30 Chong Yidong <cyd@gnu.org>
7714 * window.el (split-window-below, split-window-right): Rename from
7715 split-window-above-each-other and split-window-side-by-side
7716 respectively. All callers changed.
7717 (split-window-sensibly, split-window-sensibly): Use them.
7718 (split-window-keep-point): Doc fix.
7720 * isearch.el: Add isearch-scroll property to split-window-below
7721 and split-window-right.
7723 * follow.el (follow-mode):
7724 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7725 * progmodes/ada-xref.el (ada-gdb-application):
7726 * emulation/vip.el (vip-buffer-in-two-windows):
7727 * image-dired.el (image-dired-dired-with-window-configuration):
7728 * dired-x.el (dired-do-find-marked-files):
7729 * dired.el (dired-pop-to-buffer):
7730 * bs.el (bs--show-with-configuration):
7731 * vc/emerge.el (emerge-setup-windows):
7732 * textmodes/two-column.el (2C-two-columns):
7733 * textmodes/reftex-toc.el (reftex-toc):
7734 * progmodes/gdb-mi.el (gdb-setup-windows):
7735 * progmodes/fortran.el (fortran-window-create):
7736 * net/newst-treeview.el (newsticker--treeview-window-init):
7737 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7738 * emulation/tpu-edt.el (tpu-gold-map):
7739 * emulation/crisp.el (crisp-mode-map):
7740 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7742 2011-10-29 Chong Yidong <cyd@gnu.org>
7744 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7746 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7748 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7749 forged Ispell output (Bug#7904).
7751 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7753 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * doc-view.el: Avoid ugly errors about not finding nil.
7756 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7757 (doc-view-dvipdf-program, doc-view-unoconv-program)
7758 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7759 Avoid nil or absolute file name as default value.
7760 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7762 2011-10-28 Alan Mackenzie <acm@muc.de>
7764 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7766 2011-10-28 Alan Mackenzie <acm@muc.de>
7768 Amend the handling of c-beginning/end-of-defun in nested declaration
7771 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7772 cc-langs.el. Change it to a defcustom.
7774 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7777 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7778 Prevent "class foo : bar" being spuriously recognized as a label.
7780 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7781 Add parameter `inclusive' (to include enclosing braces in the region).
7782 (c-widen-to-enclosing-decl-scope): New function.
7783 (c-while-widening-to-decl-block): New macro.
7784 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7785 outward for defun boundaries, and correspondingly change symbol
7786 `respect-enclosure' to `go-outward'.
7787 (c-declaration-limits): Change algorithm to report only the "innermost"
7790 2011-10-28 Deniz Dogan <deniz@dogan.se>
7792 * net/rcirc.el (rcirc-mode): Use hard newlines.
7794 2011-10-28 Alan Mackenzie <acm@muc.de>
7796 Amend to indent and fontify macros "which include their own semicolon"
7797 correctly, using the "virtual semicolon" mechanism.
7799 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7801 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7802 Recode to scan one line at a time rather than having \n and \r
7803 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7804 (c-forward-label): Amend for virtual semicolons.
7805 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7807 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7808 of the new C macros.
7810 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7811 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7812 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7813 (c-opt-cpp-macro-define): Make into a full language variable.
7814 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7815 AWK Mode (including \n, \r) removed, no longer needed.
7817 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7818 Invoke c-make-macro-with-semi-re.
7820 * progmodes/cc-vars.el (c-macro-with-semi-re):
7821 (c-macro-names-with-semicolon): New variables.
7822 (c-make-macro-with-semi-re): New function.
7824 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7826 * vc/log-edit.el: Fill empty field rather than adding new one.
7827 (log-edit-add-field): New function.
7828 (log-edit-insert-changelog): Use it.
7830 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7832 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7834 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7837 (gdb--check-interpreter): New function.
7840 2011-10-27 Glenn Morris <rgm@gnu.org>
7842 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7843 (least-positive-float, least-negative-float)
7844 (least-positive-normalized-float, least-negative-normalized-float)
7845 (float-epsilon, float-negative-epsilon):
7846 Remove unnecessary declarations.
7848 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7849 * emacs-lisp/cl.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): Add doc-strings,
7853 based on those in cl.texi.
7855 * files.el (set-visited-file-name): If the major-mode changed,
7856 reload the local variables. (Bug#9796)
7858 2011-10-27 Chong Yidong <cyd@gnu.org>
7860 * subr.el (change-major-mode-after-body-hook): New hook.
7861 (run-mode-hooks): Run it.
7863 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7864 Use change-major-mode-before-body-hook.
7866 * simple.el (fundamental-mode):
7867 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7868 change introducing fundamental-mode-hook.
7870 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7872 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7874 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7876 * ido.el (ido-file-name-all-completions-1): Do not require
7877 tramp.el explicitly. (Bug#7583)
7879 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * progmodes/octave-mod.el:
7882 * progmodes/octave-inf.el: Update maintainer.
7884 2011-10-26 Chong Yidong <cyd@gnu.org>
7886 * subr.el (with-wrapper-hook): Rewrite doc.
7888 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7890 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7891 filenames "/method:foo:". (Bug#9793)
7893 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7898 2011-10-24 Glenn Morris <rgm@gnu.org>
7900 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7902 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7904 * notifications.el: Add the requirement of a running D-Bus session
7905 bus to the Commentary.
7907 2011-10-24 Juri Linkov <juri@jurta.org>
7909 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7910 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7913 2011-10-24 Juri Linkov <juri@jurta.org>
7915 * info.el (Info-following-node-name-re): Add newline to the list
7916 of allowed characters for leading space. (Bug#9824)
7918 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7920 * progmodes/octave-inf.el (inferior-octave-mode-map):
7921 Fix C-c C-h binding.
7922 * progmodes/octave-mod.el (octave-help): Remove.
7924 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7926 Sync with Tramp 2.2.3.
7928 * net/tramp-cache.el (top): Pacify byte-compiler using
7929 `init-file-user' and `site-run-file'.
7931 * net/trampver.el: Update release number.
7933 2011-10-23 Chong Yidong <cyd@gnu.org>
7935 * files.el (toggle-read-only): Remove obsolete comment about
7938 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7939 for toggle-read-only. Note that this hasn't called vc-next-action
7940 since 2008-05-02, though it wasn't documented at the time.
7942 * vc/ediff-init.el (ediff-toggle-read-only-function):
7943 Use toggle-read-only.
7945 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7947 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7950 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7951 correct faulty logical expression.
7952 (c-parse-state-state, c-record-parse-state-state):
7953 (c-replay-parse-state-state): New defvar/defuns.
7954 (c-debug-parse-state): Use new functions.
7956 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7958 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7959 last fix. Use window-in-direction correctly.
7961 2011-10-21 Chong Yidong <cyd@gnu.org>
7963 * progmodes/idlwave.el (idlwave-mode):
7964 * progmodes/vera-mode.el (vera-mode): No need to set
7965 require-final-newline; that's done in prog-mode.
7966 Suggested by Stefan Monnier.
7968 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7970 * mouse.el (mouse-drag-window-above)
7971 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7972 (mouse-drag-mode-line-1, mouse-drag-header-line)
7973 (mouse-drag-vertical-line-rightward-window): Remove.
7974 (mouse-drag-line): New function.
7975 (mouse-drag-mode-line, mouse-drag-header-line)
7976 (mouse-drag-vertical-line): Call mouse-drag-line.
7977 * window.el (window-at-side-p, windows-at-side): New functions.
7979 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7981 * tar-mode.el (tar-grind-file-mode):
7982 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7984 2011-10-21 Chong Yidong <cyd@gnu.org>
7986 * progmodes/idlwave.el (idlwave-mode):
7987 * progmodes/vera-mode.el (vera-mode):
7988 Use mode-require-final-newline.
7990 2011-10-20 Glenn Morris <rgm@gnu.org>
7992 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7994 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7996 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7998 2011-10-20 Chong Yidong <cyd@gnu.org>
8000 * emulation/cua-base.el (cua-mode):
8001 * mail/footnote.el (footnote-mode):
8002 * mail/mailabbrev.el (mail-abbrevs-mode):
8003 * net/xesam.el (xesam-minor-mode):
8004 * progmodes/bug-reference.el (bug-reference-mode):
8005 * progmodes/cap-words.el (capitalized-words-mode):
8006 * progmodes/compile.el (compilation-minor-mode)
8007 (compilation-shell-minor-mode):
8008 * progmodes/gud.el (gud-tooltip-mode):
8009 * progmodes/hideif.el (hide-ifdef-mode):
8010 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8011 * progmodes/subword.el (subword-mode):
8012 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8013 * progmodes/which-func.el (which-function-mode):
8014 * term/tvi970.el (tvi970-set-keypad-mode):
8015 * term/vt100.el (vt100-wide-mode):
8016 * textmodes/flyspell.el (flyspell-mode):
8017 * textmodes/ispell.el (ispell-minor-mode):
8018 * textmodes/nroff-mode.el (nroff-electric-mode):
8019 * textmodes/paragraphs.el (use-hard-newlines):
8020 * textmodes/refill.el (refill-mode):
8021 * textmodes/reftex.el (reftex-mode):
8022 * textmodes/rst.el (rst-minor-mode):
8023 * textmodes/sgml-mode.el (html-autoview-mode)
8024 (sgml-electric-tag-pair-mode):
8025 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8026 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8027 * emulation/crisp.el (crisp-mode):
8028 * emacs-lisp/eldoc.el (eldoc-mode):
8029 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8030 minor mode behavior.
8032 2011-10-19 Juri Linkov <juri@jurta.org>
8034 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8035 the list of hard-coded chars with escape-glyph face.
8037 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8041 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8043 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8046 2011-10-19 Glenn Morris <rgm@gnu.org>
8048 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8049 Ignore ignored files. (Bug#9726)
8051 2011-10-19 Chong Yidong <cyd@gnu.org>
8053 Doc fix for minor modes, stating that an omitted argument enables
8054 the mode unconditionally when called from Lisp.
8056 * abbrev.el (abbrev-mode):
8057 * allout.el (allout-mode):
8058 * autoinsert.el (auto-insert-mode):
8059 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8060 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8061 (global-auto-revert-mode):
8062 * battery.el (display-battery-mode):
8063 * composite.el (global-auto-composition-mode)
8064 (auto-composition-mode):
8065 * delsel.el (delete-selection-mode):
8066 * desktop.el (desktop-save-mode):
8067 * dired-x.el (dired-omit-mode):
8068 * dirtrack.el (dirtrack-mode):
8069 * doc-view.el (doc-view-minor-mode):
8070 * double.el (double-mode):
8071 * electric.el (electric-indent-mode, electric-pair-mode):
8072 * emacs-lock.el (emacs-lock-mode):
8073 * epa-hook.el (auto-encryption-mode):
8074 * follow.el (follow-mode):
8075 * font-core.el (font-lock-mode):
8076 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8077 * help.el (temp-buffer-resize-mode):
8078 * hilit-chg.el (highlight-changes-mode)
8079 (highlight-changes-visible-mode):
8080 * hi-lock.el (hi-lock-mode):
8081 * hl-line.el (hl-line-mode, global-hl-line-mode):
8082 * icomplete.el (icomplete-mode):
8083 * ido.el (ido-everywhere):
8084 * image-file.el (auto-image-file-mode):
8085 * image-mode.el (image-minor-mode):
8086 * iswitchb.el (iswitchb-mode):
8087 * jka-cmpr-hook.el (auto-compression-mode):
8088 * linum.el (linum-mode):
8089 * longlines.el (longlines-mode):
8090 * master.el (master-mode):
8091 * mb-depth.el (minibuffer-depth-indicate-mode):
8092 * menu-bar.el (menu-bar-mode):
8093 * minibuf-eldef.el (minibuffer-electric-default-mode):
8094 * mouse-sel.el (mouse-sel-mode):
8095 * msb.el (msb-mode):
8096 * mwheel.el (mouse-wheel-mode):
8097 * outline.el (outline-minor-mode):
8098 * paren.el (show-paren-mode):
8099 * recentf.el (recentf-mode):
8100 * reveal.el (reveal-mode, global-reveal-mode):
8101 * rfn-eshadow.el (file-name-shadow-mode):
8102 * ruler-mode.el (ruler-mode):
8103 * savehist.el (savehist-mode):
8104 * scroll-all.el (scroll-all-mode):
8105 * scroll-bar.el (scroll-bar-mode):
8106 * server.el (server-mode):
8107 * shell.el (shell-dirtrack-mode):
8108 * simple.el (auto-fill-mode, transient-mark-mode)
8109 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8110 (line-number-mode, column-number-mode, size-indication-mode)
8111 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8112 * strokes.el (strokes-mode):
8113 * time.el (display-time-mode):
8114 * t-mouse.el (gpm-mouse-mode):
8115 * tool-bar.el (tool-bar-mode):
8116 * tooltip.el (tooltip-mode):
8117 * type-break.el (type-break-mode-line-message-mode)
8118 (type-break-query-mode):
8119 * view.el (view-mode):
8120 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8121 (global-whitespace-mode, global-whitespace-newline-mode):
8122 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8124 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8125 Fix autogenerated docstring.
8127 2011-10-19 Juri Linkov <juri@jurta.org>
8129 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8130 by checking environment variables "DESKTOP_SESSION" and
8131 "XDG_CURRENT_DESKTOP". (Bug#9779)
8133 2011-10-19 Juri Linkov <juri@jurta.org>
8135 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8136 (browse-url-chromium-program, browse-url-chromium-arguments):
8138 (browse-url-default-browser): Check for `browse-url-chromium' and
8139 call `browse-url-chromium-program'.
8140 (browse-url-chromium): New command. (Bug#9779)
8142 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8144 * facemenu.el (list-colors-duplicates): On Windows, detect more
8145 duplicates by assuming that only colors matching "^System" are
8146 special "system colors". (Bug#9722)
8148 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8150 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8151 to distinguish the author from the committer.
8153 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8155 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8157 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8159 * international/mule.el (sgml-html-meta-auto-coding-function):
8160 Add support for detecting encoding in HTML5 specified only as
8161 <meta charset="UTF-8">. Implementation just makes http-equiv and
8162 content-type parts from HTML4 encoding string optional. (Bug#9716)
8164 2011-10-18 Glenn Morris <rgm@gnu.org>
8166 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8168 2011-10-18 Chong Yidong <cyd@gnu.org>
8170 * faces.el (cursor): Doc fix.
8172 2011-10-17 Chong Yidong <cyd@gnu.org>
8174 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8176 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8178 * dirtrack.el (dirtrack): Support shell buffers with path
8179 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8181 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8183 * json.el: Bump version to 1.3 and note change in History.
8184 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8186 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * comint.el (comint-insert-input, comint-send-input)
8189 (comint-get-old-input-default, comint-backward-matching-input)
8190 (comint-next-prompt): Use nil instead of `input' for field property of
8191 past user input (bug#114).
8193 * minibuffer.el (completion--replace): Inherit surrounding properties
8195 (minibuffer-complete-and-exit): Use it.
8197 * comint.el (comint--table-subvert): Quote the all-completions output
8200 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8202 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8204 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8205 window on right of selected. (Bug#9350) Reword other window
8206 entries and separate them from frame entries.
8208 2011-10-15 Glenn Morris <rgm@gnu.org>
8210 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8213 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8215 * net/network-stream.el (network-stream-open-starttls):
8216 Improve detection of failure due to lack of TLS support.
8218 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8219 putting the input text in front and in bold.
8221 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8225 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8228 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8229 unread-command-events rather than pushing yet-another event.
8231 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8233 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8234 the explanation of the possible choices. Make the options passed
8235 to completing-read shorter.
8237 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8239 * textmodes/flyspell.el (flyspell-large-region): Make sure
8240 extended character mode is used if defined (Bug#1339).
8242 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8244 * simple.el (what-cursor-position): Fix the display of the
8245 character info for LRE, LRO, RLE, and RLO characters by appending
8248 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8251 even in case of error; add debug spec; simplify data flow.
8252 (with-timeout-handler): Remove.
8254 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8256 Fix Bug#6019, Bug#9315.
8258 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8259 complete `buffer-file-name', the local file name part could look
8260 remotely (for example on VMS).
8262 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8263 `tramp-run-real-handler'.
8264 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8265 already quoted by '"'.
8267 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8268 Let `file-name-handler-alist' be nil, the local file name part
8269 could look remotely (for example on VMS).
8271 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8275 (flyspell-post-command-hook): ...to here.
8277 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8279 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8281 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8282 using completion. Protect against "slow" callers.
8283 Remove the "message hack".
8285 2011-10-11 Juri Linkov <juri@jurta.org>
8287 * isearch.el (isearch-lazy-highlight-word): New variable.
8288 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8291 2011-10-11 Glenn Morris <rgm@gnu.org>
8293 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8294 like f90-previous-statement does.
8296 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8298 * eshell/eshell.el (eshell-command): History should be saved
8299 only in interactive use, to avoid error.
8301 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8303 * minibuffer.el (completion-file-name-table): Fix last change,
8304 i.e. ignore normal errors but not the other ones.
8306 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8308 * window.el (special-display-buffer-names)
8309 (special-display-regexps): Remove some remnants of earlier
8310 changes from doc-strings.
8311 (quit-windows-on): New function.
8313 * vc/vc.el (vc-revert, vc-rollback):
8314 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8315 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8316 (Bug#6183) (Bug#7074) (Bug#7447)
8318 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8320 * window.el (frame-auto-hide-function): Add version tag.
8323 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8325 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8328 2011-10-09 Leo Liu <sdl.web@gmail.com>
8330 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8333 2011-10-08 Glenn Morris <rgm@gnu.org>
8335 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8336 before the first code statement zero indent. (Bug#9690)
8338 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8340 * simple.el (count-words-region): Always count in the region.
8341 Report the number of lines and characters too.
8342 (count-words): New command, which counts in the buffer if the
8343 region is inactive, as count-words-region used to.
8344 (count-words--message): New function. Handle plurals.
8345 (count-lines-region): Make it an alias for count-words-region.
8347 * bindings.el (esc-map): Replace count-lines-region with
8350 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8352 * window.el (window--delete): Delete dedicated frame
8353 unconditionally when argument KILL is non-nil. (Bug#9699)
8354 (switch-to-buffer): Fix doc-string typo.
8356 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8358 * eshell/eshell.el (eshell-command): Avoid using hooks.
8360 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8362 * bindings.el ([M-left],[M-right]): Bind to left-word and
8363 right-word respectively.
8365 2011-10-07 Glenn Morris <rgm@gnu.org>
8367 * cus-start.el (debug-on-quit): Fix custom type.
8369 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371 * subr.el (define-key-after): Clarify that the function is not
8372 useful for non-menu keymaps.
8374 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8376 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8378 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8379 in current minibuffer (Fix bug with recursive minibuffers).
8381 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8383 * progmodes/gdb-mi.el (gdb): Doc fix.
8385 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8387 * window.el (frame-auto-hide-function): New option replacing
8388 frame-auto-delete. Suggested by Stefan Monnier.
8389 (window--delete): Call frame-auto-hide-function instead of
8390 investigating frame-auto-delete.
8391 (window-point-1, set-window-point-1): New functions.
8392 (window-in-direction, record-window-buffer, window-state-get-1)
8393 (display-buffer-record-window): Use window-point-1 instead of
8395 (set-window-buffer-start-and-point): Use set-window-point-1.
8397 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8401 2011-10-05 Glenn Morris <rgm@gnu.org>
8403 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8404 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8406 2011-10-05 Leo Liu <sdl.web@gmail.com>
8408 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8409 works with buffer object.
8411 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * mpc.el (mpc-tool-bar-map): Add labels.
8415 2011-10-04 Glenn Morris <rgm@gnu.org>
8417 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8419 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8421 * window.el (window--delete): New function.
8422 (frame-auto-delete): Resuscitate option.
8423 (bury-buffer, replace-buffer-in-windows)
8424 (quit-window): Rewrite using window--delete.
8425 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8426 Pass display-buffer-mark-dedicated to window--display-buffer-2
8429 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8432 returns a list (bug#9554). Add remote file name completion.
8433 * comint.el (comint--table-subvert): Curry and get quote&unquote
8434 functions as arguments.
8435 (comint--complete-file-name-data): Adjust call accordingly.
8436 * pcomplete.el (pcomplete--table-subvert): Remove.
8437 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8439 * minibuffer.el (completion-table-case-fold): Use currying.
8440 (completion--styles-type, completion--cycling-threshold-type):
8442 (completion-styles, completion-category-overrides)
8443 (completion-cycle-threshold): Use them.
8444 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8445 completion-table-case-fold.
8447 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8449 * minibuffer.el (completion-category-overrides): Fix type of styles
8450 and add more user friendly tags (bug#9660).
8452 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8455 (mule-input-method-string): New widget.
8456 (default-input-method, language-info-custom-alist): Use it.
8458 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8460 * pcomplete.el: Require comint.
8461 (pcomplete--common-suffix): Remove.
8462 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8463 (pcomplete--table-subvert): Sync with comint--table-subvert.
8464 (pcomplete--entries): Use comint-completion-file-name-table.
8465 * comint.el (comint-unquote-filename): Simplify.
8466 (comint-completion-file-name-table): New function (bug#9616).
8467 (comint--complete-file-name-data): Use it.
8469 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8470 (pcmpl-gnu-tar-buffer): Remove.
8471 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8472 around. Make sure pcomplete-suffix-list is only changed temporarily.
8473 Don't look inside the tar's file if it's too large.
8475 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8477 * cus-edit.el (custom-mode-map):
8478 * epa.el (epa-key-list-mode-map):
8479 * man.el (Man-mode-map):
8480 * startup.el (splash-screen-keymap):
8481 * simple.el (special-mode-map): Use scroll-up-command and
8482 scroll-down-command.
8484 * progmodes/idlw-help.el (idlwave-help-mode-map):
8485 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8486 * net/newst-plainview.el (newsticker-mode-map):
8487 * emulation/ws-mode.el (wordstar-mode-map):
8488 * emulation/vi.el (vi-com-map):
8489 * calc/calc-graph.el (calc-graph-show-dumb):
8490 * term/sun.el (terminal-init-sun):
8491 * term/ns-win.el (global-map):
8492 * progmodes/grep.el (grep-mode-map):
8493 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8494 * mail/rmail.el (rmail-mode-map):
8495 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8497 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8498 custom-safe-themes as special.
8500 2011-10-01 Julien Danjou <julien@danjou.info>
8502 * notifications.el (notifications-notify): Fix docstring.
8504 2011-10-01 Per Starbäck <per@starback.se>
8506 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8508 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8510 * startup.el (command-line-1): Fix last fix by inserting
8511 initial-scratch-message into *scratch* before displaying it.
8512 (Bug#9605) and (Bug#9636)
8514 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8516 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8517 window is hscrolled, move by logical lines. (Bug#9607)
8518 (line-move-visual): Update the doc string to the above effect.
8520 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8522 * window.el (display-buffer-record-window): When WINDOW is the
8523 selected window use `point' instead of `window-point'. (Bug#9626)
8525 * startup.el (command-line-1): Use insert-before-markers when
8526 inserting initial-scratch-message. (Bug#9605)
8528 * help.el (help-window): Remove variable.
8530 2011-09-29 Glenn Morris <rgm@gnu.org>
8532 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8534 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8536 * descr-text.el (describe-char-categories): Accept category
8537 descriptions more than one line long.
8539 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * simple.el (delete-trailing-whitespace): Fix last change.
8543 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8544 Don't confuse "y => 3" as the beginning of a `y' operation.
8546 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8547 object has more than 4 slots (bug#9613).
8549 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8551 * subr.el (with-output-to-temp-buffer):
8552 * net/quickurl.el (quickurl, quickurl-browse-url):
8553 Fix typos in docstrings.
8555 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8557 * minibuffer.el (completion-styles)
8558 (completion-category-overrides): Cross reference each other in doc
8561 2011-09-27 Glenn Morris <rgm@gnu.org>
8563 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8564 to split-string. (Bug#9606)
8566 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8568 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8571 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8573 * emacs-lisp/package.el (list-packages): Fix echo area message.
8575 2011-09-27 Leo Liu <sdl.web@gmail.com>
8577 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8579 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8581 * net/dbus.el (dbus-unregister-object): Don't release services for
8582 registered signals. (Bug#9581)
8584 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8586 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8587 function that picks between cfengine 2 and 3 support
8588 automatically. Update docs accordingly.
8590 2011-09-22 Kenichi Handa <handa@m17n.org>
8592 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8594 (indian-itrans-v5-table-for-tamil): New variable.
8595 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8597 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8599 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8600 that's true if the current command involved collapsing of text.
8601 It's reset to false at the beginning of the next command.
8602 (allout-post-command-business): Move the cursor to the beginning
8603 of entry if the cursor is hidden and collapsing activity just
8606 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8608 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8609 tracking (Bug#9541).
8611 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8613 * net/newst-reader.el (newsticker-html-renderer)
8614 (newsticker-show-news): Automatically load html rendering package
8615 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8616 because w3m-fill-column is let-bound" and the error "Symbol's value
8617 as variable is void: w3m-fill-column".
8619 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8621 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8622 Release services only if they are defined. (Bug#9581)
8624 2011-09-23 Richard Stallman <rms@gnu.org>
8626 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8627 distinguish start of paragraph from start of its text.
8629 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8631 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8632 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8633 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8635 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8637 * international/mule-diag.el (mule-diag): Insert a newline after
8638 each fontset description.
8640 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * simple.el (delete-trailing-whitespace):
8643 Document last change; simplify.
8645 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8647 * simple.el (delete-trailing-whitespace): Also delete
8648 extra newlines at the end of the buffer.
8650 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8651 (picture-newline): Use forward-line so as to ignore fields.
8653 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * subr.el (with-wrapper-hook): Fix edebug spec.
8657 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8659 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8662 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8664 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8665 Fix nasty bug using wrong cached values.
8667 2011-09-23 Alan Mackenzie <acm@muc.de>
8669 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8671 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8673 * window.el (pop-to-buffer): Ensure right window is selected if we
8674 chose another frame.
8676 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8678 * simple.el (what-cursor-position): Use get-char-property-change
8679 and next-single-char-property-change, to be able to show display
8680 properties that come from overlays as well as text properties.
8682 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8684 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8686 * cmuscheme.el (run-scheme, switch-to-scheme):
8687 * cus-edit.el (customize-group, custom-buffer-create)
8691 * mail/sendmail.el (mail):
8692 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8694 2011-09-22 Richard Stallman <rms@gnu.org>
8696 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8697 move back only to line beg, don't move back over blank lines.
8699 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8701 * files.el (copy-directory): Set directory attributes only in case
8702 they could be retrieved from the source directory. (Bug#9565)
8704 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8706 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8707 (hs-find-block-beginning, hs-hide-level-recursive):
8708 Ignore strings as well as comments. (Bug#9502)
8710 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8712 * progmodes/sql.el (sql-comint-postgres):
8713 Convert port number to a string. (Bug#9566)
8715 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8717 * window.el (quit-window): Undedicate window when switching to
8718 previous buffer. Reported by Thierry Volpiatto
8719 <thierry.volpiatto@gmail.com>.
8720 (special-display-popup-frame): When popping up a new frame reset
8721 its previous buffers to nil. Simplify code.
8723 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8725 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8726 and process filter, as done also in `shell-command'.
8728 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8730 * window.el (set-window-buffer-start-and-point):
8731 Call set-window-start with NOFORCE argument t.
8732 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8733 (quit-window): Reword doc-string. Handle new format of
8734 quit-restore parameter. Don't delete window if it has a
8735 previous buffer we can show instead of the present one.
8736 (display-buffer-record-window): Rewrite using a new format for
8737 the quit-restore window parameter
8738 (special-display-popup-frame, display-buffer-same-window)
8739 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8740 (display-buffer-pop-up-window, display-buffer-use-some-window):
8741 Adapt symbol passed to display-buffer-record-window.
8742 * help.el (help-window-setup): Handle new format of quit-restore
8745 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8747 * faces.el (face-list): Fix docstring (bug#9564).
8749 * window.el (display-buffer--action-function-custom-type):
8750 Don't include internal functions in the Custom interface.
8752 2011-09-20 Juri Linkov <juri@jurta.org>
8754 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8755 (Info-forward-node, Info-backward-node, Info-next-preorder)
8756 (Info-last-preorder): Use it. (Bug#9528)
8758 2011-09-20 Juri Linkov <juri@jurta.org>
8760 * info.el (Info-last-preorder): Visit last menu item only when
8761 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8763 2011-09-20 Julien Danjou <julien@danjou.info>
8765 * password-cache.el (password-cache-remove): Remove entries even if the
8766 value is nil, so that password with a nil value (negative caching) is
8767 possible to invalidate.
8769 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8771 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8772 all whitespace around breakpoint. (Bug#9553)
8773 (f90-find-breakpoint): Only break at whitespace inside a comment.
8775 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8777 * minibuffer.el (completion-file-name-table): Keep track of errors.
8778 (completion-table-with-predicate): Handle the case where pred1 is nil.
8779 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8781 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8784 (debugger-return-value): Signal an error if the debugging context does
8785 not await any return value.
8787 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8788 * image-mode.el (image-toggle-display-text)
8789 (image-toggle-display-image): Stay away from evil `intangible'.
8791 2011-09-19 Leo Liu <sdl.web@gmail.com>
8793 * replace.el (occur-revert-arguments): Make it permanent-local.
8794 (occur-mode): Don't call font-lock-defontify.
8796 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8798 * net/ldap.el (ldap-search-internal): Don't push empty search
8801 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8805 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8807 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8808 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8810 2011-09-18 Juri Linkov <juri@jurta.org>
8812 * buff-menu.el (Buffer-menu-mode-map):
8813 * dired.el (dired-mode-map):
8814 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8815 (lisp-interaction-mode-map):
8816 * emacs-lisp/package.el (package-menu-mode-map):
8817 * epa.el (epa-key-list-mode-map):
8818 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8819 (menu-bar-options-menu):
8820 * outline.el (outline-mode-menu-bar-map):
8821 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8822 * vc/vc-dir.el (vc-dir-menu-map):
8823 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8824 Capitalize non-function content words in menu item strings.
8826 * dired.el (dired-mode-map): Add menu item for
8827 `image-dired-dired-toggle-marked-thumbs'.
8829 2011-09-18 Juri Linkov <juri@jurta.org>
8831 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8832 to `isearch-case-fold-search' and restore its original value
8833 after the `isearch-mode' call.
8835 2011-09-18 Juri Linkov <juri@jurta.org>
8837 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8838 because `zgrep' returns 1 for successful matches (bug#9226).
8840 2011-09-18 Juri Linkov <juri@jurta.org>
8842 * info.el (Info-extract-menu-node-name): Check the second match
8843 for empty string (second test-case of bug#9528).
8844 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8845 intermediate nodes to the history (first test-case of bug#9528).
8847 2011-09-18 Juri Linkov <juri@jurta.org>
8849 * info.el (Info-mode-syntax-table): New variable.
8850 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8852 2011-09-18 Juri Linkov <juri@jurta.org>
8854 * info.el (Info-file-supports-index-cookies):
8855 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8856 outputs one more line for long file names (bug#4142).
8858 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8860 * newcomment.el (comment-normalize-vars): If prompting for
8861 comment-start, set comment-start-skip too (Bug#8424).
8863 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8865 * icomplete.el: Fix previous fix of Bug#5849.
8866 (icomplete-mode): Don't set completion-show-inline-help.
8867 (icomplete-minibuffer-setup): Set completion-show-inline-help
8868 locally during icompletion.
8870 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8872 * woman.el (woman2-process-escapes): Don't delete unrecognized
8875 * files.el (inhibit-first-line-modes-regexps): Add image files.
8876 (hack-local-variables-prop-line): Return nil for malformed
8877 prop-lines (Bug#9044).
8879 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8881 * net/tramp.el (top): Don't require 'shell.
8882 (tramp-methods): Fix docstring.
8883 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8884 Return complete remote file name. Handle "smb" case.
8885 Use `tramp-tmpdir', if defined for the respective method.
8886 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8888 * net/tramp-compat.el (top): Require 'shell.
8890 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8891 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8892 `tramp-current-host'.
8893 (tramp-get-remote-tmpdir): Remove.
8895 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8896 `tramp-tmpdir' entries.
8897 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8898 (tramp-smb-handle-file-attributes): Ignore errors.
8899 (tramp-smb-wait-for-output): Check also for process end.
8901 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8904 when sending QUIT (bug#9312).
8906 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8908 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8909 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8910 occur-mode-display-occurrence.
8911 (occur-edit-mode): Add usage message.
8912 (occur-cease-edit): New command.
8913 (occur-after-change-function): Use text properties to find the
8914 position of the prefix text.
8915 (occur-engine): Set stickiness of prefix text properties.
8917 2011-09-17 Glenn Morris <rgm@gnu.org>
8919 * progmodes/etags.el (complete-tag):
8920 Fix call to completion-in-region. (Bug#9526)
8922 2011-09-17 Juri Linkov <juri@jurta.org>
8924 * textmodes/ispell.el (ispell-word): Add to the error message
8925 the word, ispell program name and current dictionary (bug#9121).
8926 (ispell-tex-arg-end): Capitalize "error" in the error message.
8928 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8930 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8933 2011-09-17 Juri Linkov <juri@jurta.org>
8935 * window.el (window-safe-min-height, window-safe-min-width):
8936 Fix typos (followup to bug#9522).
8938 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8940 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8942 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8944 * simple.el (line-move): If goal-column is set, move by logical
8945 lines, not by display lines. (Bug#971)
8946 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8947 to reflect the above change.
8949 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8951 * image.el (imagemagick-register-types): Use regexp-opt.
8953 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8955 * window.el (display-buffer-base-action): Rename from
8956 display-buffer-default-action. Make default value empty.
8957 (display-buffer-overriding-action): Convert to defvar.
8958 (display-buffer-fallback-action): New var.
8960 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8962 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8964 (package--add-to-archive-contents): If there is a duplicate entry
8965 with an older version, remove it.
8966 (package-menu-mark-delete, package-menu-mark-install)
8967 (package-menu-mark-unmark): Make unused args optional.
8968 (package-menu-mark-obsolete-for-deletion):
8969 Use package-menu-get-status instead of a regexp search.
8970 (package-menu-get-status): Use tabulated-list-entry.
8971 (package-menu-mark-upgrades): New command.
8972 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8973 (package-menu-execute): Do installation before deletion.
8974 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8975 instead of checking major-mode.
8976 (package-menu--find-upgrades): New function.
8978 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8980 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8981 passwords in the log buffer.
8982 (smtpmail-process-filter): Update the process marker so that the
8983 "broken by peer" status message is inserted in the right place.
8985 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8987 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8988 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8989 bibtex-completion-at-point-function.
8990 (bibtex-completion-at-point-function): Use them.
8992 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8994 * mpc.el (mpc-constraints-tag-lookup): New function.
8995 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8996 also to browser "album|playlist".
8998 2011-09-14 Juri Linkov <juri@jurta.org>
9000 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9001 (isearch-edit-string): Use length of `isearch-string' when
9002 `isearch-fail-pos' returns nil.
9003 (isearch-message): Remove duplicate code and call
9004 `isearch-fail-pos' with arg `t'.
9006 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9008 * replace.el (occur-mode-goto-occurrence): Don't force using other
9011 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9013 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9015 * window.el (display-buffer-window): Remove.
9016 (display-buffer-record-window): Use help-setup window parameter
9017 instead of variable display-buffer-window.
9018 (display-buffer-function, special-display-buffer-names)
9019 (special-display-function): Mention help-setup parameter instead
9020 of display-buffer-window in doc-string.
9021 * help.el (help-window-setup): New argument help-window.
9022 Use help-window-setup parameter instead of display-buffer-window.
9023 Reword some messages.
9024 (with-help-window): Pass window used for displaying the buffer
9025 to help-window-setup. Don't set display-buffer-window.
9027 2011-09-13 Glenn Morris <rgm@gnu.org>
9029 * emacs-lisp/debug.el (debugger-make-xrefs):
9030 Preserve point. (Bug#9462)
9032 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9034 * window.el (window-deletable-p): Use next-frame.
9036 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9038 * window.el (window-auto-delete): Remove.
9039 (window-deletable-p): Remove argument FORCE. Don't deal with
9040 dedication and previous buffers.
9041 (switch-to-prev-buffer): Don't delete window.
9042 (delete-windows-on): Delete a window's frame if and only if the
9043 window is dedicated.
9044 (replace-buffer-in-windows): Delete buffer's window or frame if
9045 and only if window is dedicated.
9046 (quit-window): Handle quit-restore as before last change.
9047 (bury-buffer): Delete window only if window-deletable-p returns t.
9049 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9051 * window.el (window-deletable-p): Never delete the last frame on a
9054 2011-09-13 Glenn Morris <rgm@gnu.org>
9056 * help.el (describe-key-briefly): Copy previous standard-output change.
9058 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9060 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9062 2011-09-13 Glenn Morris <rgm@gnu.org>
9064 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9065 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9067 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9069 * dired-aux.el (dired-mark-read-string): Don't return default
9070 value on empty input (Bug#9361).
9071 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9072 Omit initial minibuffer contents.
9073 (dired-do-chmod): Signal an error on empty input.
9074 (dired-mark-read-string): Don't return default on empty input.
9076 * files.el (file-modes-symbolic-to-number): Doc fix.
9078 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9080 * international/mule-cmds.el (ucs-completions): Remove.
9081 (read-char-by-name): Use complete-with-action instead; add metadata.
9083 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9085 * window.el (display-buffer--action-function-custom-type)
9086 (display-buffer--action-custom-type): New vars.
9087 (display-buffer-alist, display-buffer-default-action)
9088 (display-buffer-overriding-action): Add defcustom types.
9090 * frame.el (delete-other-frames): Doc fix (Bug#276).
9092 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9096 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9098 Change modes that used same-window-* vars to use switch-to-buffer.
9100 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9101 Use switch-to-buffer.
9103 * cus-edit.el (customize-group, custom-buffer-create)
9104 (customize-browse, custom-buffer-create-other-window):
9105 Use switch-to-buffer or switch-to-buffer-other-window.
9107 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9108 (Info-prev, Info-up, Info-speedbar-goto-node)
9109 (info-display-manual): Use switch-to-buffer.
9110 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9112 * mail/sendmail.el (mail): Use switch-to-buffer.
9113 (mail-recover): Use switch-to-buffer-other-window.
9115 * cmuscheme.el (run-scheme, switch-to-scheme):
9118 * net/rlogin.el (rlogin):
9119 * net/telnet.el (telnet, rsh):
9120 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9122 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9124 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9126 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9129 so don't mention it (bug#9301).
9130 (dired-sort-toggle-or-edit): Clarify string further.
9132 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9133 match `x', `w32' and `ns', like the manual says (bug#9029).
9135 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9136 (process-kill-buffer-query-function): Mention the buffer name in
9139 * image-mode.el (image-next-line): The line parameter is mandatory
9142 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9143 which can be useful (bug#9301).
9145 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9147 * subr.el (match-string): Mention that the current buffer should
9148 be the same as the search was done in (bug#9282).
9150 * facemenu.el: Disable the remove-* commands if the mark isn't
9153 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9155 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9157 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9159 * replace.el (occur-mode-goto-occurrence)
9160 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9163 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9166 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9167 special-display and same-window variables.
9168 (mail-other-window): Use switch-to-buffer-other-window.
9169 (mail-other-frame): USe switch-to-buffer-other-frame.
9171 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9172 Use display-buffer-other-frame.
9173 (gdb-display-gdb-buffer): Use pop-to-buffer.
9175 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9177 * progmodes/python.el: Don't set same-window-buffer-names.
9179 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9181 * window.el (display-buffer-alist): Add *Python*.
9183 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9185 * window.el (display-buffer-alist): Add entry for buffers
9186 previously handled same-window-*.
9187 (display-buffer-alist, display-buffer-default-action)
9188 (display-buffer-overriding-action): Mark as risky.
9189 (display-buffer-alist): Document action function changes.
9190 (display-buffer--same-window-action)
9191 (display-buffer--other-frame-action): New variables.
9192 (switch-to-buffer, display-buffer-other-frame): Use them.
9193 (display-buffer): Rename reuse-frame entry to reusable-frames.
9194 (display-buffer-reuse-selected-window): Function deleted.
9195 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9196 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9197 (display-buffer-special): New function.
9198 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9199 display-buffer-reuse-or-pop-window. Split off special-display
9200 part into display-buffer-special.
9201 (display-buffer-use-some-window): Don't perform any special
9202 pop-up-frames handling.
9203 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9204 (display-buffer--maybe-same-window): Rename from
9205 display-buffer-maybe-same-window.
9207 * info.el: Don't set same-window-regexps.
9208 (info-setup): New function.
9209 (info-other-window, info): Call it.
9211 * cus-edit.el: Don't set same-window-regexps.
9212 (customize-group): New argument.
9213 (customize-group-other-window): Use it.
9214 (customize-face, customize-face-other-window): Likewise.
9215 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9219 * progmodes/gud.el: Don't set same-window-regexps.
9225 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9227 2011-09-10 Juri Linkov <juri@jurta.org>
9229 * isearch.el (isearch-edit-string): Remove obsolete mention of
9230 `C-w' (`isearch-yank-word-or-char') from docstring.
9231 (isearch-query-replace): Fix typo in docstring (bug#9466).
9233 2011-09-10 Juri Linkov <juri@jurta.org>
9235 * paren.el (show-paren-function): Don't show escaped parens.
9236 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9238 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9240 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9241 (mm-default-file-encoding): Remove autoload forms, they are
9242 replaced with autoload cookies in mml.el and mm-encode.el.
9243 (mail-add-attachment): New command.
9244 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9245 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9247 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9249 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9251 * simple.el (count-words-region): Use buffer if there's no region
9254 2011-09-09 Juri Linkov <juri@jurta.org>
9256 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9257 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9258 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9260 2011-09-09 Alan Mackenzie <acm@muc.de>
9262 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9263 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9265 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9267 Fix for Savannah bug#9392.
9268 * simple.el (mail-encode-mml): New defvar.
9270 * mail/rmail.el (mail-encode-mml): Add a defvar.
9271 (rmail-enable-mime-composing): Default to t.
9272 (rmail-forward): Use MIME method of forwarding only if both
9273 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9274 Set mail-encode-mml non-nil if the MIME method was used.
9276 * mail/sendmail.el (mml-to-mime): Add autoload form.
9277 (mail-encode-mml): Add a defvar.
9278 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9280 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9281 message through mml-to-mime, and reset mail-encode-mml to nil.
9283 2011-09-09 Glenn Morris <rgm@gnu.org>
9285 * woman.el (woman-if-body): When processing an .el block,
9286 do not delete the next .el block as well. (Bug#9447)
9287 (woman-special-characters): Add oq, cq, and hy characters.
9289 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9291 * window.el (window-deletable-p): Make sure window is live before
9292 invoking window-prev-buffers.
9294 2011-09-08 Leo Liu <sdl.web@gmail.com>
9296 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9298 2011-09-08 Juri Linkov <juri@jurta.org>
9300 * progmodes/compile.el (compilation-environment): Make it
9301 a defcustom (bug#8340).
9303 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9305 * window.el (frame-auto-delete): Rename to window-auto-delete.
9306 Make it control auto-deletion of windows and/or frames.
9307 (window-deletable-p): New argument FORCE. Rewrite conditions
9308 for deleting window/frame. (Bug#9419)
9309 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9310 Rewrite handling of case when window/frame can be deleted.
9311 (delete-windows-on): Call window-deletable-p with new FORCE
9312 argument t. (Bug#9456)
9314 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9316 * help-mode.el (help-mode): Restore autoload.
9318 2011-09-07 Juri Linkov <juri@jurta.org>
9320 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9321 `compilation-environment'. Set buffer-local
9322 `compilation-environment' to `thisenv' later after (funcall mode).
9325 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9326 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9327 instead of replacing its value. (Bug#8340)
9329 2011-09-07 Juri Linkov <juri@jurta.org>
9331 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9332 based on text properties put by `grep-filter' instead of matching
9334 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9335 to the value of `grep-error-screen-columns' (bug#9438).
9337 2011-09-07 Juri Linkov <juri@jurta.org>
9339 * simple.el (next-error-highlight, next-error-highlight-no-select):
9342 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9344 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9345 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9347 2011-09-07 Leo Liu <sdl.web@gmail.com>
9349 * net/rcirc.el (rcirc-mode): Conditionally initialize
9352 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * emacs-lisp/find-func.el (find-function-C-source): Only set
9355 find-function-C-source-directory after checking that we found a source
9356 file there (bug#9440).
9358 2011-09-06 Alan Mackenzie <acm@muc.de>
9360 * isearch.el (isearch-other-meta-char): Wherever a key list is
9361 unread, "unread" the prefix arg, too. This fixes bug #8901.
9363 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9365 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9367 2011-09-05 Juri Linkov <juri@jurta.org>
9369 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9371 2011-09-05 Juri Linkov <juri@jurta.org>
9373 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9374 keeping point where processing of grep matches begins, and
9375 continue to delete remaining escape sequences from the same point.
9376 (grep-filter): Make leading zero optional in "0?1;31m" because
9377 git-grep emits "\033[1;31m" escape sequences unlike expected
9378 "\033[01;31m" as GNU Grep does (bug#9408).
9379 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9381 2011-09-05 Juri Linkov <juri@jurta.org>
9383 * subr.el (y-or-n-p): Capitalize "yes".
9385 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9387 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9388 `tramp-cache-unload-hook' where appropriate.
9389 (tramp-methods): Rename `tramp-remote-sh' to
9390 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9391 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9393 * net/tramp-sh.el (top): Don't require 'shell.
9394 (tramp-methods): Add `tramp-remote-shell' and
9395 `tramp-remote-shell-args' entries.
9396 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9397 (tramp-sh-handle-shell-command): Remove.
9398 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9399 Use `tramp-remote-shell'.
9401 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9403 * mail/sendmail.el (sendmail-query-once-function): Delete.
9404 (sendmail-query-once): Save directly to send-mail-function.
9405 Update message-send-mail-function too.
9407 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9409 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9411 * progmodes/python.el (python-mode-map): Use correct function to
9412 start python interpreter from menu-bar (as reported by Geert
9414 (inferior-python-mode-map): Fix typo.
9415 (python-shell-map): Remove.
9417 2011-09-03 Deniz Dogan <deniz@dogan.se>
9419 * net/rcirc.el (rcirc-print): Simplify code for
9420 rcirc-scroll-show-maximum-output. There is no need to walk
9421 through all windows to find the right one.
9423 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9425 * help.el (help-return-method): Doc fix.
9427 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9429 * window.el (window-deletable-p): Don't return a non-nil value
9430 when there's a buffer that was shown in the window before.
9432 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9433 Set window's previous buffers to nil.
9435 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9437 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9438 newline before and after the tag line, so it doesn't interfere
9439 with determining the paragraph direction of bidirectional text.
9441 2011-09-03 Leo Liu <sdl.web@gmail.com>
9443 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9445 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9447 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9448 (pop-to-buffer): Change interactive spec. Pass second argument
9449 directly to display-buffer.
9450 (display-buffer): Fix interactive spec. Use functionp to
9451 distinguish between a function and a list of functions.
9453 * abbrev.el (edit-abbrevs):
9454 * arc-mode.el (archive-extract):
9455 * autoinsert.el (auto-insert):
9456 * bookmark.el (bookmark-bmenu-list):
9457 * files.el (find-file):
9458 * view.el (view-buffer):
9459 * progmodes/compile.el (compilation-goto-locus):
9460 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9462 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9464 * window.el (display-buffer-alist): Doc fix.
9465 (display-buffer): Add docstring. Don't treat
9466 display-buffer-default specially.
9467 (display-buffer-reuse-selected-window)
9468 (display-buffer-same-window, display-buffer-maybe-same-window)
9469 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9470 (display-buffer-pop-up-window)
9471 (display-buffer-reuse-or-pop-window)
9472 (display-buffer-use-some-window): New functions.
9473 (display-buffer-default-action): Use them.
9474 (display-buffer-default): Delete.
9475 (pop-to-buffer-1): Fix choice of actions.
9477 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * minibuffer.el (completion--insert-strings): Don't get confused by
9480 completion entries that end with an LF char.
9482 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9484 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9486 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9488 * window.el (display-buffer): Restore interactive spec.
9489 (display-buffer-same-window, display-buffer-other-window):
9491 (pop-to-buffer-1): New function. Use the above.
9492 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9493 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9495 * view.el (view-buffer-other-window, view-buffer-other-frame):
9496 Just use pop-to-buffer.
9498 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9500 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9502 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9504 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9506 2011-08-31 Richard Stallman <rms@gnu.org>
9508 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9509 of the separation of rmail-view-buffer from rmail-buffer.
9510 If you say no to "replace original", the decrypt is in the
9511 view buffer. If you say yes, the decrypt goes into the
9514 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9516 * window.el (display-buffer-window): Rewrite doc-string.
9517 (display-buffer-record-window): New function.
9518 (display-buffer-macro-specifiers)
9519 (display-buffer-even-window-sizes, display-buffer-set-height)
9520 (display-buffer-set-width, display-buffer-in-window)
9521 (display-buffer-reuse-window, display-buffer-split-specifiers)
9522 (display-buffer-side-specifiers, display-buffer-split-window-1)
9523 (display-buffer-split-window, display-buffer-split-atom-window)
9524 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9525 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9526 (display-buffer-other-window-means-other-frame)
9527 (display-buffer-normalize-special)
9528 (display-buffer-normalize-default)
9529 (display-buffer-normalize-argument)
9530 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9531 (display-buffer-normalize-specifiers, display-buffer-frame)
9532 (display-buffer-same-window, display-buffer-same-frame)
9533 (display-buffer-other-window)
9534 (display-buffer-same-frame-other-window)
9535 (display-buffer-other-frame, pop-to-buffer-same-window)
9536 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9537 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9538 (switch-to-buffer-same-frame)
9539 (switch-to-buffer-other-window-same-frame)
9540 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9541 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9542 (display-buffer-alist-set): Remove.
9543 (display-buffer-function, special-display-buffer-names)
9544 (special-display-regexps, special-display-function):
9545 In doc-string refer to display-buffer-window and quit-restore
9547 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9548 (special-display-frame-alist, special-display-popup-frame)
9549 (same-window-buffer-names, same-window-regexps, same-window-p)
9550 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9551 (split-window-preferred-function, split-height-threshold)
9552 (split-width-threshold, window-splittable-p)
9553 (split-window-sensibly, window--try-to-split-window)
9554 (window--frame-usable-p, even-window-heights)
9555 (window--even-window-heights, window--display-buffer-1)
9556 (window--display-buffer-2, display-buffer-other-frame):
9557 Restore old Emacs 23 code, order and doc-strings where applicable.
9558 (display-buffer-default, display-buffer-assq-regexp): New functions.
9559 (display-buffer-alist): Rewrite doc-string.
9560 (display-buffer-default-action)
9561 (display-buffer-overriding-action): New variables.
9562 (display-buffer, switch-to-buffer): Rewrite.
9563 (pop-to-buffer): Restore Emacs 23 behavior but use
9564 window-normalize-buffer-to-display.
9565 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9566 Restore Emacs 23 behavior but use
9567 window-normalize-buffer-to-switch-to.
9568 (pop-to-buffer-same-window): Rewrite.
9569 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9570 Rewrite using Emacs 23 options.
9572 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9574 * net/tramp.el (tramp-root-regexp): Remove.
9575 (tramp-completion-file-name-regexp-unified)
9576 (tramp-completion-file-name-regexp-separate)
9577 (tramp-completion-file-name-regexp-url): Don't use leading volume
9578 letter on win32 systems. (Bug#5303, Bug#9311)
9579 (tramp-drop-volume-letter): Simplify definition.
9580 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9582 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9587 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9589 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9591 2011-08-29 Juri Linkov <juri@jurta.org>
9593 * isearch.el (isearch-done): Don't display message "Mark saved"
9594 when arg `edit' is non-nil to prevent its flicker in the echo area.
9596 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9598 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9599 obsolete packages for deletion.
9601 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9603 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9604 (help-mode): Derive help-mode from special-mode. Don't invoke
9605 view-mode from help-mode.
9606 (help-xref-override-view-map): Remove.
9607 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9608 view-mode is not used anymore.
9610 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9612 * server.el (server-port): Doc fix.
9614 * cus-theme.el (custom-theme-choose-mode): Inherit from
9615 special-mode (Bug#9124).
9616 (custom-theme-choose-mode-map): Add special-mode to parent.
9618 2011-08-28 Alan Mackenzie <acm@muc.de>
9620 * progmodes/cc-fonts.el
9621 (c-make-font-lock-BO-decl-search-function): New function.
9622 (c-basic-matchers-after - "Fontify the clauses after various
9623 keywords"): Extract the three keyword lists for the 3 erroneous
9624 constructs from the list of four, and use the new function above
9625 in place of an old one.
9627 2011-08-28 Deniz Dogan <deniz@dogan.se>
9629 * net/rcirc.el (rcirc-insert-prev-input)
9630 (rcirc-insert-next-input): Remove unused argument.
9632 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9634 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9636 2011-08-27 Alan Mackenzie <acm@muc.de>
9638 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9639 handle function pointer parameters properly.
9641 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9643 * window.el (display-buffer-reuse-window): Fix case where
9644 selected window was reused with non-nil OTHER-WINDOW argument.
9647 2011-08-27 Deniz Dogan <deniz@dogan.se>
9649 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9650 oftc's NickServ messages.
9652 2011-08-27 Glenn Morris <rgm@gnu.org>
9654 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9656 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9658 * emacs-lisp/package.el (package-install): Call package-initialize
9659 if called interactively.
9661 2011-08-26 Leo Liu <sdl.web@gmail.com>
9663 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9665 2011-08-25 Juri Linkov <juri@jurta.org>
9667 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9668 `search-whitespace-regexp' (bug#9364).
9670 2011-08-25 Juri Linkov <juri@jurta.org>
9672 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9673 `regexp-search-ring' to their global values to protect from
9674 updating by `read-from-minibuffer' (bug#9185).
9676 2011-08-25 Juri Linkov <juri@jurta.org>
9678 * textmodes/ispell.el (ispell-command-loop): Add newline
9679 at the end of the "Use option `i'..." line.
9681 2011-08-25 Juri Linkov <juri@jurta.org>
9683 * battery.el (display-battery-mode): If `battery-status-function'
9684 or `battery-mode-line-format' is nil, display the message and set
9685 `display-battery-mode' to nil (bug#9363).
9687 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9689 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9690 bidi-string-mark-left-to-right; they are unnecessary now.
9692 2011-08-25 Deniz Dogan <deniz@dogan.se>
9694 * net/quickurl.el: Documentation typo fixes.
9696 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9698 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9700 2011-08-25 Glenn Morris <rgm@gnu.org>
9702 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9704 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9705 (smtpmail-via-smtp): Handle nil response from smtp.
9707 2011-08-24 Juri Linkov <juri@jurta.org>
9709 * proced.el (proced-marked): Inherit from `error' instead of
9710 `font-lock-warning-face'.
9712 * ibuffer.el (ibuffer-marked-face): Change default face from
9713 `font-lock-warning-face' to `warning'.
9714 (ibuffer-deletion-face): Change default face from
9715 `font-lock-type-face' to `error'.
9717 * battery.el (battery-update): Use the face `error' instead of
9718 `font-lock-warning-face' (bug#6117).
9720 2011-08-24 Juri Linkov <juri@jurta.org>
9722 * faces.el (success): Change face color from "Green3" to
9723 "ForestGreen" on light background (bug#9353).
9725 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9727 * window.el (quit-window): Rename from quit-restore-window.
9728 Use same arglist as old quit-window.
9729 (frame-auto-delete): Doc fix.
9731 * view.el (view-mode-exit): Use quit-window.
9733 2011-08-24 Juri Linkov <juri@jurta.org>
9735 * isearch.el (isearch-ring-adjust1): Start visiting previous
9736 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9737 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9738 for empty search string (when the last search string is reused
9739 automatically) to adjust the isearch ring to the last element and
9740 prepare the correct index for further M-p commands (bug#9185).
9742 2011-08-24 Kenichi Handa <handa@m17n.org>
9744 * international/ucs-normalize.el: If decomposition property of
9745 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9747 (nfd, nfkd): Likewise.
9749 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9751 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9752 from process filters aren't reliably transmitted to the surrounding
9753 accept-process-output.
9754 (mpc-proc-check): New function.
9755 (mpc-proc-sync): Use it (bug#8293)
9757 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9759 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9760 Add compatibility functions (bug#9313).
9762 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9764 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9766 * international/uni-bidi.el: Regenerate.
9768 2011-08-23 Kenichi Handa <handa@m17n.org>
9770 * international/charprop.el:
9771 * international/uni-bidi.el:
9772 * international/uni-category.el:
9773 * international/uni-combining.el:
9774 * international/uni-comment.el:
9775 * international/uni-decimal.el:
9776 * international/uni-decomposition.el:
9777 * international/uni-digit.el:
9778 * international/uni-lowercase.el:
9779 * international/uni-mirrored.el:
9780 * international/uni-name.el:
9781 * international/uni-numeric.el:
9782 * international/uni-old-name.el:
9783 * international/uni-titlecase.el:
9784 * international/uni-uppercase.el: Regenerate.
9786 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9788 * help.el (help-window-setup): Fix message displayed when other
9789 window is reused. (Bug#9341)
9791 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9794 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9796 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9798 * shell.el (shell-parse-pcomplete-arguments): New function.
9799 (shell-completion-vars): Use it instead (bug#9160).
9801 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9803 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9804 strings and comments (bug#9333).
9806 * emacs-lisp/debug.el (debug-arglist): New function.
9807 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9808 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9810 2011-08-22 Juri Linkov <juri@jurta.org>
9812 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9813 Revert regexp that highlights output switches to its old
9814 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9816 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9817 to check for empty output (bug#9226).
9819 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9821 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9822 symbol-constituent as the default, as that stops font-lock from
9823 working properly (Bug#8843).
9825 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9827 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9828 `coding-system-for-*' around the process open call to avoid
9829 auth-source side effects.
9830 (smtpmail-try-auth-methods): Expand the secret password.
9831 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9834 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9836 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9838 * emacs-lisp/find-func.el (find-function-noselect): New arg
9841 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9842 signal an error for built-in functions (Bug#6664).
9844 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9847 (smtpmail-try-auth-methods): Use it.
9849 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9851 * font-lock.el (font-lock-fontify-region)
9852 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9853 (font-lock-default-unfontify-buffer)
9854 (font-lock-default-fontify-region)
9855 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9857 * progmodes/compile.el (compilation-error-properties):
9858 Fix confusion between file struct and message struct (Bug#9319).
9859 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9862 * net/browse-url.el (browse-url-firefox): Don't call
9863 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9865 2011-08-20 Glenn Morris <rgm@gnu.org>
9867 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9869 * tutorial.el (tutorial--default-keys): Update some default bindings.
9871 * files.el (hack-local-variables): Fully ignore case for "mode:".
9873 2011-08-20 Alan Mackenzie <acm@muc.de>
9875 Resolve invalid use of a regexp in regexp-opt.
9877 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9878 detection for a java annotation.
9880 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9881 detection for a java annotation.
9883 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9885 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9887 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9889 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9892 2011-08-20 Alan Mackenzie <acm@muc.de>
9894 Fontify CPP expressions correctly when starting in the middle of
9895 such a construct. Mainly for when jit-lock etc. starts a chunk
9898 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9900 (c-make-font-lock-search-form): New function, extracted from
9901 c-make-font-lock-search-function.
9902 (c-make-font-lock-search-function): Use the above function.
9903 (c-make-font-lock-context-search-function): New function.
9904 (c-cpp-matchers): Enhance the preprocessor expression case with
9906 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9907 which takes an expression.
9909 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9911 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9913 * window.el (display-buffer-reuse-window)
9914 (display-buffer-pop-up-window): Don't reuse or split a side
9917 2011-08-19 Glenn Morris <rgm@gnu.org>
9919 * files.el (hack-local-variables-prop-line, hack-local-variables):
9920 Downcase "Mode:". (Bug#9331)
9922 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9924 * international/characters.el: Add L and R categories.
9926 * subr.el (bidi-string-mark-left-to-right): Rename from
9927 string-mark-left-to-right. Use category search.
9929 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9931 2011-08-18 Juri Linkov <juri@jurta.org>
9933 * faces.el (error, warning, success): New faces with definitions
9934 copied from old default values of `font-lock-warning-face',
9935 `compilation-warning', `compilation-info' (bug#6117).
9937 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9939 * progmodes/compile.el (compilation-error): Inherit from `error'.
9940 (compilation-warning): Inherit from `warning'.
9941 (compilation-info): Inherit from `success'.
9943 * dired.el (dired-marked): Inherit from `warning'.
9944 (dired-flagged): Inherit from `error'.
9946 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9948 * mail/smtpmail.el (auth-source): Require to avoid problems with
9949 binding variables (bug#9298). Also clean up some unused
9952 * net/network-stream.el (network-stream-open-starttls):
9953 Support using starttls.el without using gnutls-cli.
9955 2011-08-17 Juri Linkov <juri@jurta.org>
9957 * progmodes/grep.el (rgrep): Handle the case when
9958 `grep-find-command' is a cons cell (bug#9278).
9960 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9962 * window.el (display-buffer-pop-up-frame): Run frame creation
9963 function with BUFFER current (as special-display-popup-frame
9964 does). Reported by Drew Adams.
9966 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9968 * epa-mail.el: Simplify GnuPG group expansion using
9970 (epa-mail-group-alist, epa-mail-group-modtime)
9971 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9972 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9973 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9976 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9978 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9980 2011-08-16 Alan Mackenzie <acm@muc.de>
9982 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9983 Correct, to avoid the inside of macros.
9985 2011-08-16 Richard Stallman <rms@gnu.org>
9987 * epa-mail.el: Handle GnuPG group definitions.
9988 (epa-mail-group-alist, epa-mail-group-modtime)
9989 (epa-mail-gnupg-conf-file): New variables.
9990 (epa-mail-parse-groups, epa-mail-sync-groups)
9991 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9992 (epa-mail-expand-recipients): New functions.
9993 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9995 * mail/rmail.el (rmail-epa-decrypt): New command.
9997 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9998 Don't bind buffer-read-only, just inhibit-read-only.
9999 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10000 (epa-decrypt-armor-in-region): Make error message clearer.
10002 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10004 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10005 and "a2b" to "ab" for `prefix'.
10007 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10009 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10011 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10012 Fourquet (Bug#8804).
10014 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10016 * startup.el (argi): Declare as global variable (bug#9275).
10018 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10020 * subr.el (string-mark-left-to-right): Search the entire string
10021 for RTL script, not just the terminating character. Doc fix.
10023 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10027 (js--regexp-literal, js-syntax-propertize-function): Remove.
10028 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10029 (js-mode-map): Don't rebind electric keys.
10030 (js-insert-and-indent): Remove.
10031 (js-mode): Setup electric-layout and electric-indent instead.
10033 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10035 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10037 * epa.el (epa-progress-callback-function): Fix the logic of
10038 displaying progress.
10039 * epa-file.el (epa-file-insert-file-contents): Make progress
10040 display more user-friendly.
10041 (epa-file-write-region): Ditto.
10043 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10045 * subr.el (string-mark-left-to-right): New function.
10047 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10048 Use string-mark-left-to-right.
10049 (list-buffers-noselect): Caller changed.
10051 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10052 Use string-mark-left-to-right.
10053 (tabulated-list-print): Recenter after moving point.
10055 2011-08-10 Juri Linkov <juri@jurta.org>
10057 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10058 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10059 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10061 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10063 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10066 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10068 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10069 character. (Bug#6594)
10071 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10073 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10074 (image-dired--with-db-file): New macro.
10075 (image-dired-write-tags, image-dired-remove-tag)
10076 (image-dired-create-gallery-lists, image-dired-write-comments)
10077 (image-dired-get-comment, image-dired-mark-tagged-files)
10078 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10079 (image-dired-gallery-generate): Use insert-file-contents.
10081 * time.el (display-time-world-list, display-time-world-display):
10082 * time-stamp.el (time-stamp-string):
10083 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10084 set-time-zone-rule (Bug#7337).
10086 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10088 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10089 (epg-error-to-string, epg-errors-to-string): New function.
10090 (epg-wait-for-completion): Reverse errors list.
10091 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10092 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10093 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10094 (epg-sign-keys, epg-generate-key-from-file)
10095 (epg-generate-key-from-string): Format errors by using
10096 epg-errors-to-string (bug#9255).
10097 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10099 2011-08-07 Juri Linkov <juri@jurta.org>
10101 * faces.el (list-faces-display): Remove extra angle bracket
10102 from `help-mode-map'.
10104 * info.el (Info-history-toc-nodes): Doc fix.
10106 * longlines.el (longlines-mode): Doc fix.
10108 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10111 of statements and in a few more cases (bug#9183).
10113 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10115 (cl-transform-lambda): Use them (bug#9239).
10117 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10119 * window.el (display-buffer-same-window)
10120 (display-buffer-same-frame, display-buffer-other-window)
10121 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10122 (pop-to-buffer-other-window)
10123 (pop-to-buffer-same-frame-other-window)
10124 (pop-to-buffer-other-frame): Make them defuns.
10125 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10127 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10129 * subr.el (make-composed-keymap): Move from C. Change calling
10130 convention, and improve docstring to bring attention to a subtle point.
10131 * minibuffer.el (completing-read-default): Adjust accordingly.
10133 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10136 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10138 * net/trampver.el: Update release number.
10140 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10145 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147 * mail/sendmail.el (sendmail-query-once): Restore the current
10148 buffer after querying (bug#9074).
10150 * dired.el (dired-flagged): Use different faces for marked and
10151 flagged files (bug#6117).
10153 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10156 * ido.el (ido-mode): Switch off the message if called
10159 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10160 before 587, since it appears that that's more likely to work for
10163 * cus-edit.el (custom-file): When running under emacs -q, always
10164 refuse to save the customizations, even if the .emacs file doesn't
10167 * info.el: Remove the `Info-beginning-of-buffer' function
10170 * net/network-stream.el (network-stream-open-starttls):
10171 Use `starttls-available-p' to see whether starttls.el can be used.
10173 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10175 * window.el (display-buffer-in-window): Don't set dedicated status
10176 of window here (Bug#9215).
10177 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10178 (display-buffer-pop-up-side-window)
10179 (display-buffer-in-side-window): Set dedicated status of window here.
10181 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10183 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10184 before binding generated-autoload-file.
10186 2011-08-01 Deniz Dogan <deniz@dogan.se>
10188 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10190 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10192 Sync with Tramp 2.2.2.
10194 * net/trampver.el: Update release number.
10196 2011-07-30 Juri Linkov <juri@jurta.org>
10198 * dired-aux.el (dired-touch-initial): Remove function.
10199 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10200 current time, and `default' to the last modification time of the
10201 current marked file (bug#6887).
10203 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10205 * simple.el (goto-line): Use string-to-number to provide a
10206 numeric argument to read-number (bug#9163).
10208 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10210 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10211 connection process, it could be nil.
10213 2011-07-27 Leo Liu <sdl.web@gmail.com>
10215 Simplify url handling in rcirc-mode.
10217 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10218 (rcirc-browse-url-at-mouse): Remove.
10219 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10221 2011-07-26 Alan Mackenzie <acm@muc.de>
10223 Fontify bitfield declarations properly.
10225 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10226 (c-symbol-chars): Now exported as a lang variable.
10227 (c-not-primitive-type-keywords): New lang variable.
10229 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10230 QT keyword "more" to prevent "more slots: ...." being spuriously
10231 parsed as a bitfield declaration.
10233 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10234 Refactor and enhance to handle bitfield declarations.
10235 (c-punctuation-in): New function.
10236 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10237 declarations properly.
10239 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10241 * calendar/icalendar.el (icalendar--all-events): Take care of
10242 multiple vcalendars in a single file.
10243 (icalendar--convert-float-to-ical): Checkdoc fixes.
10245 2011-07-25 Deniz Dogan <deniz@dogan.se>
10247 * image.el (insert-image): Clarifying docstring.
10249 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10251 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10252 `tramp-send-command-and-check' if there is no error.
10253 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10255 2011-07-22 Alan Mackenzie <acm@muc.de>
10257 Prevent cc-langs.elc being loaded at run time.
10259 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10262 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10263 "(require 'cc-langs)". Quote a form so it will evaluate at
10264 (cc-mode's) compilation time.
10266 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10268 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10269 loading. (Bug#9114)
10271 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10273 * window.el (display-buffer-pop-up-window)
10274 (display-buffer-pop-up-side-window)
10275 (display-buffer-in-side-window): Call display-buffer-set-height
10276 and display-buffer-set-width after setting the new window's
10277 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10279 2011-07-20 Sam Steingold <sds@gnu.org>
10281 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10282 (etags-tags-included-tables): Call `convert-standard-filename' on
10283 the file names contained in TAGS so that windows Emacs can handle
10284 TAGS files created by cygwin ctags.
10286 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10288 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10289 which apparently didn't work.
10291 2011-07-19 Roland Winkler <winkler@gnu.org>
10293 * proced.el (proced-send-signal): For *Marked Processes* buffer
10294 put point at beginning of buffer.
10296 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10298 * proced.el (proced-format): Make header lines align with the text
10301 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10303 * view.el (view-buffer): Allow running in `special' modes if we're
10304 visiting a file (bug#8615).
10306 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10308 * window.el (display-buffer-alist-of-strings-p)
10309 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10311 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10314 2011-07-18 Alan Mackenzie <acm@muc.de>
10316 Fontify declarators properly when, e.g., a jit-lock chunk begins
10317 inside a declaration.
10319 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10321 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10323 (c-complex-decl-matchers): Insert reference to
10324 c-font-lock-enclosing-decls.
10326 * progmodes/cc-engine.el (c-backward-single-comment):
10327 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10328 to nil around calls to (forward-comment -1).
10330 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10332 * image.el (put-image): Doc typo fix.
10334 * progmodes/etags.el (tags-search): Doc typo fix.
10336 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10337 password if we get errors 550 to 554.
10339 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10341 * net/gnutls.el (gnutls-log-level): Remove.
10343 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10344 indentation character (bug#6380).
10346 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10348 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10349 to clarify what the problem is (bug#4291).
10351 * simple.el (current-kill): Clarify what
10352 `interprogram-paste-function' does (bug#7500).
10353 (auto-fill-mode): Document `auto-fill-function' in relation to
10354 `auto-fill-mode' (bug#2470).
10356 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10358 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10359 method if slot is read-only (bug#9035).
10361 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10363 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10364 * window.el (pop-to-buffer): Select window used even if it was
10365 selected before, see discussion of (Bug#8615), (Bug#6954).
10366 Pass argument NORECORD on to select-frame-set-input-focus.
10368 2011-07-15 Glenn Morris <rgm@gnu.org>
10370 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10373 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10375 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10376 (gnutls-negotiate): Use it.
10378 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10380 * net/gnutls.el (gnutls-negotiate):
10381 Upcase `gnutls-algorithm-priority'.
10383 2011-07-15 Glenn Morris <rgm@gnu.org>
10385 * jka-compr.el (jka-compr-verbose): Move from here...
10386 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10387 Add missing :version tag.
10388 * info.el: No need to require jka-compr when compiling.
10390 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10392 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10393 (gnutls-negotiate): Use it.
10395 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10397 * info.el (Info-beginning-of-buffer): New command.
10398 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10399 announcing `b' as the key (bug#8325).
10400 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10402 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10404 * international/mule-cmds.el
10405 (describe-specified-language-support): Make the error message
10406 clearer (bug#8905).
10408 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10410 * isearch.el (isearch-barrier): Add a doc string, since it's
10411 mentioned in a function doc string (bug#8678).
10413 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10415 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10416 buffer argument (Bug#9083) and self-identifying label argument.
10418 2011-07-15 Glenn Morris <rgm@gnu.org>
10420 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10422 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10424 * man.el (Man-fontify-manpage): Fix message when formatting the
10425 man page (bug#7929).
10427 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10429 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10430 argument LRM; if non-nil, append an invisible LRM character to the
10432 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10433 last argument non-nil, when formatting buffer names.
10434 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10435 paragraph direction.
10437 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10439 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10440 the man page name (bug#7929).
10442 * image.el (put-image): Mention the `put-image' overlay property
10445 * scroll-bar.el (set-scroll-bar-mode): Mention that
10446 `scroll-bar-mode' lists the values (bug#7772).
10448 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10449 command (bug#7729).
10451 * rect.el (apply-on-rectangle): Return the point after the last
10453 (string-rectangle): Go to the point after the last operation
10456 * printing.el (pr-toggle-region): Clarify the documentation
10457 slightly (bug#7493).
10459 * time.el (display-time-update):
10460 Allow `display-time-mail-function' to return nil (bug#7158).
10461 Fix suggested by Detlev Zundel.
10463 * vc/diff.el (diff): Clarify the order the file names are read
10466 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10467 the doc string (bug#7015).
10469 * font-lock.el (font-lock-maximum-decoration): Mention what
10470 numeric levels mean (bug#6935).
10472 * startup.el (initial-buffer-choice): Don't mention the `none'
10473 selection, which is against policy.
10475 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10477 * window.el (display-buffer-normalize-special):
10478 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10480 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10482 * subr.el (version<, version<=, version=): Mention "-CVS" and
10483 "-12345" alpha version numbers.
10485 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10487 * bindings.el: Add advertised binding for set-mark-command
10490 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10492 * bindings.el (mode-line-other-buffer):
10493 * bookmark.el (bookmark-bmenu-2-window):
10494 * bs.el (bs-cycle-next, bs-cycle-previous):
10495 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10498 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10501 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10503 * follow.el (follow-debug-message, follow-redisplay):
10504 * jka-cmpr-hook.el (with-auto-compression-mode):
10505 Fix typos in docstrings.
10507 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509 * subr.el (with-silent-modifications): Clarify somewhat what the
10510 macro inhibits (bug#6525).
10512 * simple.el (eval-expression): Note what it does if called
10513 interactively (bug#6495).
10515 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10517 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10518 Use pop-to-buffer buffer-or-name if it is nil.
10520 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10521 Remove switch-to-buffer.
10523 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525 * files.el (make-directory): Clarify that an error will be raised
10526 if there's an error (bug#6397).
10528 * startup.el (initial-buffer-choice): Add `none' as a choice
10531 * subr.el (add-hook): Clarify section about buffer-local hooks
10534 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10536 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10538 * tabify.el (untabify): Preserve the current column so that point
10539 doesn't move (bug#6032).
10541 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10543 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10544 Rewrite to avoid awkward possessive "s" (bug#5986).
10546 2011-07-13 Glenn Morris <rgm@gnu.org>
10548 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10549 (dired-insert-directory): Give a message the first time
10550 if ls is found not to support --dired.
10552 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10554 * simple.el (toggle-truncate-lines): Clarify what is toggled
10555 (bug#5580). Text by Drew Adams.
10557 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10559 * simple.el (blink-matching-open): Make the error message from the
10560 last change less verbose.
10562 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10564 * font-lock.el (font-lock-comment-face): Use the high contrast
10565 "yellow" color for font-lock-comment-face on low color terminals
10566 using a dark background color (bug#4221).
10568 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10570 * dired.el (dired-insert-set-properties): Make the doc string
10571 reflect what it does now (bug#5325).
10573 * simple.el (blink-matching-open): Say that we were unable to find
10574 the match within the limit, if we're limited (bug#5122).
10576 * international/mule-cmds.el (prefer-coding-system): Add an
10577 example (bug#4869).
10579 * progmodes/etags.el (tags-search): Document `file-list-form'
10582 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10584 * net/browse-url.el (browse-url-default-browser)
10585 (browse-url-browser-function): Make the default browser choice a
10586 bit more logical (bug#4300). Also clean up the doc string.
10588 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10590 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10591 binary endings (bug#4440).
10593 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10595 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10596 which can be pretty annoying (bug#8971).
10598 * jka-compr.el (jka-compr-verbose): New variable, and use
10599 throughout (bug#8971).
10601 * info.el (Info-find-file): Fall back on the installation
10602 directory if we can't find the info node anywhere else.
10604 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10606 * vc/vc.el (vc-revert-file):
10607 Don't set file time-stamp in the past. (Bug#5181)
10609 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10611 * files.el (after-find-file): Give a better error message when
10612 trying to find a symlink that points to a file that doesn't exist
10615 * progmodes/cc-vars.el: Remove (probably) misleading comment
10618 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10620 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10622 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10624 * mouse-sel.el: Hack restoring functionality, while keeping
10625 compatibility with 2010-07-03 changes to mouse selection.
10626 (mouse-sel-primary-overlay): New var.
10627 (mouse-sel-selection-alist): Use it.
10628 (mouse-sel-mode): Doc fix; remove points that are default features
10631 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10634 Fix previous fix (bug#2490).
10636 2011-07-12 Roland Winkler <winkler@gnu.org>
10638 * textmodes/bibtex.el (bibtex-initialize):
10639 Use pop-to-buffer-same-window.
10640 (bibtex-search-entries): Fix interactive call.
10642 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10645 Fontise bytecomp Error lines more correctly (bug#2490).
10646 Fix suggested by Johan Bockgård.
10648 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10650 * dired-x.el (dired-guess-default): Use `delete-dups'.
10652 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10654 * dired.el (dired-mark-prompt):
10655 * dired-aux.el (dired-read-shell-command): Doc fix.
10657 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10659 * mail/sendmail.el (sendmail-query-once):
10660 Use `customize-save-variable' unconditionally, now that it works under
10663 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10665 * cus-edit.el (custom-file): Take an optional no-error variable.
10666 (customize-save-variable): Set the variable, and give a warning if
10667 running under "emacs -q".
10669 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10671 * loadhist.el (unload-feature-special-hooks):
10672 Add `auto-coding-functions', `fill-nobreak-predicate' and
10673 `find-directory-functions' (bug#5327).
10675 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10679 * cus-edit.el (custom-guess-name-alist): -alist variables should
10680 use the `alist' type (bug#3120). Suggested by Drew Adams.
10682 * printing.el: Add documentation to all the `pr-toggle-' commands.
10684 2011-07-11 Leo Liu <sdl.web@gmail.com>
10686 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10687 backends where it makes sense (bug#2623).
10689 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10691 * dired-x.el (dired-guess-default): Remove duplicate shell command
10692 entries (bug#2028).
10693 (dired-guess-default): Fix grammar in doc string (bug#2028).
10694 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10696 * subr.el (remove-duplicates): New conveniency function.
10698 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10700 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10703 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10705 * window.el (display-buffer-normalize-default): Don't invert
10706 meaning of even-window-heights. Reported by Eli Zaretskii
10709 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10711 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10713 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10715 * window.el (display-buffer): Fix arguments to
10716 display-buffer-reuse-window in last change.
10718 * faces.el (link): Use a less saturated blue on light backgrounds.
10720 * startup.el (fancy-startup-text, fancy-about-text)
10721 (fancy-startup-tail): Use font-lock faces, for background safety.
10723 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10725 * emulation/viper-cmd.el (viper-change-state-to-vi):
10726 Limit triggering of abbrev expansion (Bug#9038).
10728 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10730 * window.el (display-buffer-default-specifiers): Remove.
10731 (display-buffer-macro-specifiers): Remove default specifiers.
10732 (display-buffer-alist): Default to nil.
10733 (display-buffer-reuse-window): New optional argument other-window.
10734 (display-buffer-pop-up-window): Allow splitting internal
10735 windows. Check whether a live window was created.
10736 (display-buffer-other-window-means-other-frame)
10737 (display-buffer-normalize-arguments): Rename to
10738 display-buffer-normalize-argument and rewrite. Set the
10739 other-window specifier.
10740 (display-buffer-normalize-special): New function.
10741 (display-buffer-normalize-options): Rename to
10742 display-buffer-normalize-default and rewrite.
10743 (display-buffer-normalize-options-inhibit): Remove.
10744 (display-buffer-normalize-specifiers): Rewrite.
10745 (display-buffer): Process other-window specifier and call
10746 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10748 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10749 (display-buffer-alist-set): Don't handle 'unset default values.
10750 (display-buffer-in-window, display-buffer-alist-set):
10751 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10752 <tassilo@member.fsf.org>.
10754 2011-07-09 Leo Liu <sdl.web@gmail.com>
10756 * register.el (insert-register): Restore accidental change on
10757 2011-06-26. (Bug#9028)
10759 2011-07-09 Glenn Morris <rgm@gnu.org>
10761 * subr.el (remq): Handle the empty list. (Bug#9024)
10763 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10765 * mail/sendmail.el (send-mail-function): No longer delay custom
10767 * custom.el (custom-initialize-delay): Doc fix.
10769 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10773 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10775 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10776 human-friendly prompt.
10778 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10780 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10781 provided by a particular plugin.
10783 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10785 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10786 save customizations (with "emacs -Q"), just set the variable
10787 instead of erroring out.
10789 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10791 2011-07-08 Juri Linkov <juri@jurta.org>
10793 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10794 (archive-zip-update-case): Use 7z if found by `executable-find'.
10795 The order of searching the available programs is the same as in
10796 `archive-zip-extract' (bug#8968).
10798 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10800 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10801 (menu-bar-options-menu): Tweak descriptions.
10803 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10805 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10806 menu items into verb phrases (bug#1421). Also refill to fit under
10809 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10811 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10812 (Info-read-node-name): Doc fix (Bug#1084).
10814 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10815 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10816 (end-of-sexp, beginning-of-sexp)
10817 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10818 (forward-symbol, forward-same-syntax, word-at-point)
10819 (sentence-at-point): Doc fix (Bug#1144).
10821 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10823 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10824 should cover it (bug#1281).
10826 * cus-edit.el (custom-show): Mark as obsolete.
10828 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10829 negotiation fails, then possibly try again with a non-encrypted
10830 connection (bug#9017).
10832 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10835 2011-07-07 Richard Stallman <rms@gnu.org>
10837 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10838 property, and handle its changed format.
10839 Look for the correct line number.
10840 Use file's line contents (but not past first =) to find
10841 correct line in message.
10843 2011-07-07 Kenichi Handa <handa@m17n.org>
10845 * international/characters.el (build-unicode-category-table):
10847 (unicode-category-table): Set it by unicode-property-table-internal.
10849 * international/mule-cmds.el (char-code-property-alist): Move to
10851 (get-char-code-property): Call unicode-property-table-internal to
10852 load a file. Call get-unicode-property-internal where necessary.
10853 (put-char-code-property): Call unicode-property-table-internal to
10854 load a file. Call put-unicode-property-internal where necessary.
10855 put-unicode-property-internal where necessary.
10856 (char-code-property-description):
10857 Call unicode-property-table-internal to load a file.
10859 * international/charprop.el:
10860 * international/uni-bidi.el:
10861 * international/uni-category.el:
10862 * international/uni-combining.el:
10863 * international/uni-comment.el:
10864 * international/uni-decimal.el:
10865 * international/uni-decomposition.el:
10866 * international/uni-digit.el:
10867 * international/uni-lowercase.el:
10868 * international/uni-mirrored.el:
10869 * international/uni-name.el:
10870 * international/uni-numeric.el:
10871 * international/uni-old-name.el:
10872 * international/uni-titlecase.el:
10873 * international/uni-uppercase.el: Regenerate.
10875 * loadup.el: Load international/charprop.el before
10876 international/characters.
10878 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10880 * window.el (next-buffer, previous-buffer): Signal an error if
10881 called from a minibuffer window.
10883 * bindings.el: Revert 2011-07-04 change.
10885 2011-07-06 Richard Stallman <rms@gnu.org>
10887 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10888 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10889 Treat markers like ints.
10890 (rmail-mime-entity): Doc fix.
10892 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10894 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10895 defcustom again for backwards compatibility.
10897 * simple.el (shell-command-on-region): Fill.
10899 * dired-aux.el (dired-kill-line): Add a doc string.
10901 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10902 to "\\sw\\|\\s_" (bug#358).
10904 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10905 (dired-unmark-backward): Ditto.
10906 (dired-flag-backup-files): Ditto.
10908 * dired-x.el (dired-mark-sexp): Ditto.
10910 2011-07-06 Richard Stallman <rms@gnu.org>
10912 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10913 (rmail-mime-entity): New arg TRUNCATED.
10914 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10916 (rmail-mime-save): Warn if entity is truncated.
10917 (rmail-mime-toggle-hidden): Likewise, for showing.
10918 (rmail-mime-process-multipart): Record when an entity is truncated.
10920 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10921 if ENTITY is a string.
10923 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10925 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10926 of faces when `M-C-x'-ing their definitions (bug#8378).
10927 Also clean up the code slightly.
10929 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10930 because that makes the colors go away.
10932 * mail/sendmail.el (send-mail-function): Change the default to
10933 `sendmail-query-once'.
10934 (sendmail-query-once): Add an autoload cookie.
10936 * net/network-stream.el (network-stream-open-starttls): Try using
10937 a plain connection even if the server offered STARTTLS, and we
10938 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10939 capability. This should make smtpmail.el work in slightly more
10942 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10944 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10946 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10948 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10950 * progmodes/sql.el: Version 3.0
10951 (sql-product-alist): Add product :completion-object,
10952 :completion-column, and :statement attributes.
10953 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10954 (sql-mode-syntax-table): Mark all punctuation.
10955 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10957 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10958 (sql-mode-oracle-font-lock-keywords): Improve.
10959 (sql-oracle-show-reserved-words): New function for development.
10960 (sql-product-font-lock): Simplify for source code buffers.
10961 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10963 (sql-highlight-product): Set product specific syntax table.
10964 (sql-mode-map): Add statement movement functions.
10965 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10967 (sql-statement-regexp, sql-beginning-of-statement)
10968 (sql-end-of-statement, sql-signum): New functions.
10969 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10970 (sql-show-sqli-buffer): Bug fix.
10971 (sql-interactive-mode): Store connection data as buffer local.
10972 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10973 with sql-interactive-mode.
10974 (sql-save-connection): Save buffer local settings.
10975 (sql-connection-menu-filter): Change menu entry name.
10976 (sql-product-interactive): Bug fix.
10977 (sql-preoutput-hold): New variable.
10978 (sql-interactive-remove-continuation-prompt): Bug fixes.
10979 (sql-debug-redirect): New variable.
10980 (sql-str-literal): New function.
10981 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10983 (sql-oracle-save-settings, sql-oracle-restore-settings)
10984 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10985 (sql-completion-object, sql-completion-column)
10986 (sql-completion-sqlbuf): New variables.
10987 (sql-build-completions-1, sql-build-completions)
10988 (sql-try-completion): New functions.
10989 (sql-read-table-name): Use them.
10990 (sql-contains-names): New buffer local variable.
10991 (sql-list-all, sql-list-table): Use it.
10992 (sql-oracle-completion-types): New variable.
10993 (sql-oracle-completion-object, sql-sqlite-completion-object)
10994 (sql-postgres-completion-object): New functions.
10996 2011-07-06 Glenn Morris <rgm@gnu.org>
10998 * window.el (pop-to-buffer): Doc fix.
11000 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11002 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11004 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11006 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11008 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11010 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11012 * button.el (button): Inherit from link face. Suggested by Dan
11015 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11017 * progmodes/gdb-mi.el: Fit in 80 columns.
11018 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11021 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11022 if imenu is simply not configured (bug#8941).
11024 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11026 * allout.el (allout-post-undo-hook): New allout outline-change
11027 event hook to signal undo activity.
11028 (allout-post-command-business): Run allout-post-undo-hook if an
11029 undo just occurred.
11030 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11031 * allout-widgets.el (allout-widgets-after-undo-function):
11032 Ensure the integrity of the current item's decoration after it has been
11033 in the vicinity of an undo.
11034 (allout-widgets-mode): Include allout-widgets-after-undo-function
11035 on the new allout-post-undo-hook.
11037 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11039 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11040 Let define-derived-mode define it.
11041 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11042 cycles of abbrev-table inheritance (bug#8998).
11044 2011-07-05 Roland Winkler <winkler@gnu.org>
11046 * textmodes/bibtex.el: Add support for biblatex.
11047 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11048 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11049 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11050 (bibtex-entry-alist, bibtex-field-alist): New variables.
11051 (bibtex-entry-field-alist): Obsolete alias for
11052 bibtex-BibTeX-entry-alist.
11053 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11054 (bibtex-set-dialect): New command.
11055 (bibtex-entry-type, bibtex-entry-head)
11056 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11057 Bind via bibtex-set-dialect.
11058 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11059 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11060 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11061 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11062 Define via bibtex-set-dialect.
11063 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11064 Obey bibtex-no-opt-remove-re.
11065 (bibtex-vec-push, bibtex-vec-incr): New functions.
11066 (bibtex-format-entry, bibtex-field-list)
11067 (bibtex-print-help-message, bibtex-validate)
11068 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11070 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * progmodes/compile.el (compilation-goto-locus):
11073 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11074 * bs.el (bs-cycle-next, bs-cycle-previous):
11075 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11076 * bindings.el (mode-line-other-buffer):
11077 * autoinsert.el (auto-insert):
11078 * arc-mode.el (archive-extract):
11079 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11081 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11083 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11084 Fix check of `emacs-lock-unlockable-modes'.
11085 Coerce true values of `emacs-lock--try-unlocking' to t.
11087 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11089 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11090 * emacs-lock.el: New file.
11092 2011-07-05 Julien Danjou <julien@danjou.info>
11094 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11095 than `boundp' to check if face is set.
11097 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11099 * register.el (registerv-make):
11100 * window.el (window-min-height): Fix typos in docstrings.
11102 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11104 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11107 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11109 * server.el (server-execute): Catch quit and call
11110 `server-return-error' to pass the error back to emacsclient and
11111 close the connection (bug#8942).
11113 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11115 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11116 insecure exception for current topic. Also note that auto-saves
11117 are handled differently.
11119 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11120 State variables for tracking auto-save inhibition situation.
11122 (allout-write-contents-hook-handler): Rename from
11123 'allout-write-file-hook-handler', and describe how it depends on
11124 write-contents-functions sensitivity to non-nil value to prevent
11127 (allout-auto-save-hook-handler): Remove. auto-save does not check
11128 this in individual buffers, only in the starting buffer, so this
11129 is not the right way for us to inhibit auto-save in a buffer
11130 according to its condition.
11132 (allout-mode): Use new allout-write-contents-hook-handler, and
11133 only with write-contents-functions. Remove auto-save provisions -
11134 they're implemented elsewhere.
11136 (allout-before-change-handler): If undo is in progress, note that
11137 for attention of allout-post-command-business.
11139 (allout-post-command-business): If the command we're following was
11140 an undo, check for change in the status of encrypted items and
11141 adjust auto-save inhibitions accordingly.
11143 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11144 according to whether there are or aren't any plain-text topics
11145 pending encryption.
11147 (allout-inhibit-auto-save-info-for-decryption):
11148 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11149 if there are plain-text topics pending encryption.
11151 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11152 buffer-saved-size and some allout state to not inhibit auto-saves
11153 if there are no longer any plain-text topics pending encryption.
11155 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11156 No longer provide for exemption of the current topic.
11158 2011-07-04 Juri Linkov <juri@jurta.org>
11160 Add 7z operations to delete and save changed members (bug#8968).
11161 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11163 (archive-7z-write-file-member): New function.
11164 (archive-7z-summarize): Fix the number of dashes in the
11167 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11172 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11174 * bindings.el: Ignore next-buffer and previous-buffer in
11175 minibuffer-local-map.
11177 * font-lock.el (font-lock-builtin-face): Change light background
11178 color to dark slate blue (Bug#6693).
11180 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11182 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11184 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11187 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11188 Add switch-to-buffer.
11190 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11192 * isearch.el (isearch-search-fun-function): Clarify further the
11193 meaning of the function returned.
11195 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11197 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11199 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11200 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11202 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11203 `tramp-default-remote-path' does not exist.
11204 (tramp-send-command-and-read): New optional argument NOERROR.
11205 (tramp-open-connection-setup-interactive-shell)
11206 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11207 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11208 (tramp-process-sentinel): Flush also process' connection property.
11209 (tramp-sh-handle-start-file-process): Do not set process
11210 sentinel. It is done now ...
11211 (tramp-maybe-open-connection): ... here. (Bug#8929)
11213 2011-07-04 MON KEY <monkey@sandpframing.com>
11215 * play/animate.el (animate-string): Doc fixes and allow changing
11216 the buffer name (bug#5417).
11218 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11220 * play/animate.el (animation-buffer-name): Rename from *animate*.
11222 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11224 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11225 This is simpler and helps future-proof the code.
11226 (timer-until): Use time-subtract and float-time.
11227 (timer--time-less-p): Use time-less-p.
11229 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11231 * type-break.el (timep): Use the value of `float-time' to avoid a
11232 byte-compiler warning.
11234 * server.el (server-eval-and-print): Return any result, even nil.
11236 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11238 * type-break.el: Accept time formats that the builtins accept.
11239 (timep, type-break-time-difference): Accept any format that
11240 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11241 This is simpler and helps future-proof the code.
11242 (type-break-time-difference): Round rather than ignoring
11243 subseconds components.
11245 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247 * info.el (Info-apropos-matches): Make non-interactive, since it
11248 doesn't seem to do anything useful as a command (bug#8829).
11250 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11252 * frame.el (frame-background-mode, frame-set-background-mode):
11253 Move from faces.el.
11254 (frame-default-terminal-background): New function.
11256 * custom.el (custom-push-theme): Don't record faces in `changed'
11257 theme; this doesn't work correctly for per-frame face settings.
11258 (disable-theme): Use face-set-after-frame-default to reset faces.
11259 (custom--frame-color-default): New function.
11261 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11263 * dired.el (dired-flagging-regexp): Remove unused variable
11266 2011-03-29 Kevin Ryde <user42@zip.com.au>
11268 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11269 `perl-Test2' extend to match possible "fail #N" rep count
11272 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11274 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11275 `smtpmail-via-smtp' now returns the error instead of nil.
11277 * isearch.el (isearch-search-fun-function): Clarify the doc string
11280 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11282 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11283 unnecessary spaces (bug#8987).
11285 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287 * net/network-stream.el (open-network-stream): Use the
11288 :end-of-capability command thoughout.
11290 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11292 * net/network-stream.el (open-network-stream): Add the
11293 :end-of-capability command parameter, used by pop3.el.
11295 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11299 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11300 for list)" (bug#6475).
11302 * files.el (file-expand-wildcards): Ignore non-readable
11303 sub-directories while trying to find matches instead of signaling
11304 an error (bug#6297).
11306 * man.el (Man-reference-regexp): Allow matching possible
11307 word-wrapped references (bug#6289).
11309 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11310 for consistency with the other vc buffers (bug#6197).
11311 (vc-checkin): Ditto.
11313 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11315 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11317 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11319 * custom.el (defcustom): Clarify that :set is only used in the
11320 Customize user interface (bug#6089).
11322 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11323 associated with a file, refuse to run instead of erroring out
11326 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11327 the doc string, since it appears that using `fill-column' always
11328 controls the width (bug#7845).
11330 * simple.el (shell-command-on-region): Say where the error output
11331 went if `shell-command-default-error-buffer' is set (bug#6857).
11333 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11335 * allout.el (allout-yank-processing): Adjust cursor position for
11336 backwards-deleted space.
11338 (allout-rebullet-heading): Register changes with
11339 allout-exposure-changed-hook, so the modified topic is properly
11342 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11344 * minibuffer.el (completion-in-region): Document PREDICATE
11347 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11348 of keyword/argument pairs (bug#6904).
11350 * replace.el (multi-occur):
11351 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11353 2011-07-02 Drew Adams <drew.adams@oracle.com>
11355 * dired.el (dired-mark-if): Make the message about whether it's
11356 marking or unmarking clearer (bug#8523).
11358 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11360 * disp-table.el (display-table-print-array): New function.
11361 (describe-display-table): Use it to print the vectors more pretty
11364 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11366 * window.el (window-state-get-1): Don't assign clone numbers.
11367 Add clone-of item to list of window parameters.
11368 (window-state-put-2): Don't process clone numbers.
11369 (display-buffer-alist): Fix doc-string.
11371 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11373 * subr.el (remq): Don't allocate if it's not needed.
11374 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11375 (keymap--merge-bindings): New functions.
11376 (keymap-canonicalize): Use them to refine the canonicalization.
11377 * minibuffer.el (minibuffer-local-completion-map)
11378 (minibuffer-local-must-match-map): Move initialization from C.
11379 (minibuffer-local-filename-completion-map): Move initialization from C;
11380 don't inherit from anything here.
11381 (minibuffer-local-filename-must-match-map): Make obsolete.
11382 (completing-read-default): Use make-composed-keymap to combine
11383 minibuffer-local-filename-completion-map with either
11384 minibuffer-local-must-match-map or
11385 minibuffer-local-filename-completion-map.
11387 2011-07-01 Glenn Morris <rgm@gnu.org>
11389 * type-break.el (type-break-time-sum): Use dolist.
11391 * textmodes/flyspell.el (flyspell-word-search-backward):
11392 Replace CL function.
11394 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11396 * mouse.el (mouse--strip-first-event): New function.
11397 (function-key-map): Use it to map fringe clicks to normal clicks
11400 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11401 (vc-bzr-revision-completion-table): Add support for annotate and date.
11403 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11404 inherit from parent.
11406 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11408 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11409 (dired-show-file-type): Doc fixup (bug#8818).
11411 * dired.el (dired-mode): Fix up the doc string as suggested by
11412 Drew Adams (bug#8817).
11414 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11415 cookie, since the manual says that it should be possible to add
11416 this function to `find-file-hook' (bug#8709).
11418 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11420 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11421 here. Noted Ted Zlatanov as the maintainer.
11422 (cfengine-common-settings, cfengine-common-syntax): New functions
11423 to set up common things between `cfengine-mode' and
11425 (cfengine3-mode): New mode.
11426 (cfengine3-defuns cfengine3-defuns-regex
11427 (cfengine3-class-selector-regex cfengine3-category-regex)
11428 (cfengine3-vartypes cfengine3-font-lock-keywords)
11429 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11430 (cfengine3-indent-line): Add from cfengine3.el.
11432 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11434 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11436 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11438 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11440 * window.el (same-window-buffer-names, same-window-regexps)
11441 (same-window-p, special-display-frame-alist)
11442 (special-display-popup-frame, special-display-function)
11443 (special-display-buffer-names, special-display-regexps)
11444 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11445 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11446 (split-window-preferred-function, split-height-threshold)
11447 (split-width-threshold, even-window-heights)
11448 (display-buffer-mark-dedicated, window-splittable-p)
11449 (split-window-sensibly, window-safely-shrinkable-p):
11451 (display-buffer): Don't spread args with function specifier
11452 because special-display-popup-frame won't like it.
11454 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11456 Time-stamp simplifications and fixes.
11457 These improve accuracy slightly, and future-proof the code
11458 against some potential changes to current-time format.
11460 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11461 by using time-since and float-time.
11463 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11464 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11465 + NNN microseconds".
11467 * type-break.el (type-break-time-sum): Rewrite using time-add.
11469 * play/hanoi.el (hanoi-current-time-float): Remove.
11470 All uses replaced by float-time.
11472 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11473 This yields a more-accurate answer.
11474 (rng-time-to-float): Remove; no longer needed.
11476 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11478 * calendar/timeclock.el (timeclock-seconds-to-time):
11479 Defalias to seconds-to-time, since they're the same thing.
11481 * emacs-lisp/elp.el (elp-elapsed-time):
11482 * emacs-lisp/benchmark.el (benchmark-elapse):
11483 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11485 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11487 * window.el (bury-buffer): Don't iconify the only frame.
11488 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11489 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11491 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11493 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11494 Add mouse-yank-primary.
11496 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11498 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11500 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11503 (find-library-name): Use it to find relative load names when provided
11504 absolute file name (bug#8803).
11506 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11508 * textmodes/flyspell.el (flyspell-word): Consider words that
11509 differ only in case as potential doublons (bug#5687).
11511 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11512 Remove two rather uninteresting debugging-like messages to make
11513 debbugs.el more silent.
11515 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11516 a password-like phrase.
11518 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11520 * progmodes/cc-guess.el: New file.
11522 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11524 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11525 derived from `c-basic-common-init'.
11527 * progmodes/cc-mode.el (top-level): Require cc-guess.
11528 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11530 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11532 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11534 2011-06-30 Alan Mackenzie <acm@muc.de>
11536 * progmodes/cc-engine.el (c-guess-continued-construct):
11537 Correct the handling of template-args-cont, particularly for when font
11538 lock is disabled. Name this case as "CASE G".
11540 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11542 * allout.el (allout-yank-processing): Fix injection of extra space
11543 between bullet and non-whitespace character in first topic when
11544 pasting, ensuring that the actual spacing in the pasted topic
11545 following the bullet char is preserved. This extra space was
11546 causing pasted encrypted topics to get a decrypted status even
11547 when the content was actually still encrypted. Now the decryption
11548 status from before the paste is preserved.
11550 (allout-flag-region): Set all allout overlays so they evaporate
11551 when reduced to zero length (evanescent), to prevent overlay
11554 2011-06-30 Glenn Morris <rgm@gnu.org>
11556 * w32-fns.el (w32-charset-info-alist): Declare.
11558 * find-dired.el (find-grep-options): Simplify.
11560 * term/ns-win.el (ns-set-resource): Declare.
11562 * ses.el (row, col): Declare dynamic variables honestly.
11564 * textmodes/reftex-parse.el (index-tags): Declare.
11566 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11568 * cus-edit.el (customize-push-and-save): New function.
11570 * files.el (hack-local-variables-confirm): Use it.
11572 * custom.el (load-theme): New arg NO-CONFIRM.
11573 Use customize-push-and-save (Bug#8720).
11574 (custom-enabled-themes): Doc fix.
11576 * cus-theme.el (customize-create-theme)
11577 (custom-theme-merge-theme): Callers to load-theme changed.
11579 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11581 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11582 short URLs have at least one dot in them (bug #7614).
11584 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11585 nil, because using a pty is apparently too slow (bug #895).
11587 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11589 * mail/sendmail.el (sendmail-query-once): New function.
11590 (sendmail-query-once-function): New variable.
11592 2011-06-29 Glenn Morris <rgm@gnu.org>
11594 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11596 * ses.el (top-level): Require cl when compiling.
11597 (ses-set-localvars): Fix error statement.
11598 Call it at compile time to silence a storm of warnings.
11600 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11602 * window.el (normalize-live-buffer): Rename to
11603 window-normalize-buffer.
11604 (normalize-live-frame): Rename to window-normalize-frame.
11605 (normalize-any-window): Rename to window-normalize-any-window.
11606 (normalize-live-window): Rename to window-normalize-live-window.
11607 (make-window-atom): Rename to window-make-atom.
11608 (window-resize-reset): Rename to window--resize-reset.
11609 (window-resize-reset-1): Rename to window--resize-reset-1.
11610 (resize-mini-window): Rename to window--resize-mini-window.
11611 (resize-subwindows-skip-p): Rename to
11612 window--resize-subwindows-skip-p.
11613 (resize-subwindows-normal): Rename to
11614 window--resize-subwindows-normal.
11615 (resize-subwindows): Rename to window--resize-subwindows.
11616 (resize-other-windows): Rename to window--resize-siblings.
11617 (resize-this-window): Rename to window--resize-this-window.
11618 (resize-root-window): Rename to window--resize-root-window.
11619 (resize-root-window-vertically): Rename to
11620 window--resize-root-window-vertically.
11621 (normalize-buffer-to-display): Rename to
11622 window-normalize-buffer-to-display.
11623 (normalize-buffer-to-switch-to): Rename to
11624 window-normalize-buffer-to-switch-to.
11625 Correspondingly update all callers of the functions listed
11627 (display-buffer-alist, display-buffer-normalize-arguments)
11628 (display-buffer-normalize-options, display-buffer)
11629 (display-buffer-alist-set): Use "function" instead of
11632 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11634 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11635 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11636 debbugs.gnu.org. Mention acknowledgment email.
11638 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11640 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11641 buffer multibyteness, since it shouldn't matter.
11643 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11645 * window.el (display-buffer-in-side-window): Handle dedicated
11646 windows as in display-buffer-reuse-window.
11647 (display-buffer-normalize-alist): Use value of override
11649 (display-buffer-normalize-specifiers): Use value of
11650 other-window-means-other-frame specifier.
11651 (display-buffer-alist): Rewrite some texts in widgets.
11652 (display-buffer): Spread arguments when calling function
11653 specified by fun-with-args.
11655 2011-06-28 Deniz Dogan <deniz@dogan.se>
11657 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11660 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11661 selectors (Bug#5732).
11662 (css-proprietary-nmstart-re): Use `regexp-opt'.
11664 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11666 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11667 (eshell-ls-date-format): New defcustom.
11668 (eshell-ls-file): Use it.
11670 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11674 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11676 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11677 (ange-ftp-make-tmp-name): New arg.
11678 (ange-ftp-file-local-copy): Use it.
11680 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11682 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11683 no-conversion (Bug#8870).
11685 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11687 * window.el (window-right, window-left, window-child)
11688 (window-child-count, window-last-child)
11689 (window-iso-combination-p, walk-window-tree-1)
11690 (window-atom-check-1, window-tree-1, delete-window)
11691 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11692 new naming conventions - window-vchild, window-hchild,
11693 window-next and window-prev are now called window-top-child,
11694 window-left-child, window-next-sibling and window-prev-sibling
11696 (resize-window-reset): Rename to window-resize-reset.
11697 (resize-window-reset-1): Rename to window-resize-reset-1.
11698 (resize-window): Rename to window-resize.
11699 (window-min-height, window-min-width)
11700 (resize-mini-window, resize-this-window, resize-root-window)
11701 (resize-root-window-vertically, adjust-window-trailing-edge)
11702 (enlarge-window, shrink-window, maximize-window)
11703 (minimize-window, delete-window, quit-restore-window)
11704 (split-window, balance-windows, balance-windows-area-adjust)
11705 (balance-windows-area, window-state-put-2)
11706 (display-buffer-even-window-sizes, display-buffer-set-height)
11707 (display-buffer-set-width, set-window-text-height)
11708 (fit-window-to-buffer): Rename all "resize-window" prefixed
11709 calls to use the "window-resize" prefix convention.
11710 (display-buffer-alist): Fix symbol for label specifier.
11711 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11712 corresponding specifier.
11713 Reported by Juanma Barranquero <lekktu@gmail.com>.
11715 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11717 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11719 (ses-call-printer): Does not pass an empty string to formatter when the
11720 cell is empty to keep from barking printer Calc math-format-value.
11722 2011-06-27 Richard Stallman <rms@gnu.org>
11724 * battery.el (battery-mode-line-limit): New variable.
11725 (battery-update): Handle it.
11727 * mail/rmailmm.el (rmail-mime-process-multipart):
11728 Handle truncated messages.
11730 2011-06-27 Glenn Morris <rgm@gnu.org>
11732 * progmodes/flymake.el (flymake-err-line-patterns):
11733 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11735 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11737 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11738 (ses--clean-!, ses--clean-_): New functions.
11739 (ses-range): Add configurability of readout order, and conversion
11742 * ses.el (ses-repair-cell-reference-all): New function.
11743 (ses-cell-symbol): Set macro as safe, so that it can be used in
11746 * ses.el: Update cycle detection algorithm.
11747 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11748 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11749 (ses-set-localvars): New function.
11750 (ses-make-cell): Add property-list as a cell element.
11751 (ses-cell-property-get-fun, ses-cell-property-get)
11752 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11753 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11755 (ses-cell-property-set, ses-cell-property-pop)
11756 (ses-cell-property-get-handle): New macro.
11757 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11758 New aliases, used for code readability.
11759 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11761 (ses-self-reference-early-detection): New defcustom.
11762 (ses-formula-references): Robustify against self-referring cells.
11763 (ses-mode): Use ses-set-localvars.
11764 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11765 before lauching the update processing.
11766 (ses-initialize-Dijkstra-attempt): New function.
11767 (ses-recalculate-cell): Update for cycle detection based on
11768 Dijkstra algorithm.
11770 * ses.el: Fix commenting and indenting convention.
11772 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * bs.el (bs-cycle-next): Complete last change.
11776 2011-06-27 Drew Adams <drew.adams@oracle.com>
11778 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11780 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11782 * net/network-stream.el (network-stream-open-starttls):
11783 Don't re-get capabilities unless we've reestablished connection.
11784 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11786 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11787 to binary to possibly avoid line encoding issues on Windows (among
11790 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792 * net/network-stream.el (open-network-stream): Return an :error
11793 saying what the problem was, if possible.
11795 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11798 * net/network-stream.el (network-stream-open-starttls): If we
11799 wanted to use STARTTLS, and the server offered it, but we weren't
11800 able to because we had no STARTTLS support, then close the connection.
11801 (open-network-stream): Return an :error element, if present.
11803 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11805 * hl-line.el (hl-line-sticky-flag): Doc fix.
11806 (global-hl-line-sticky-flag): New option (Bug#8323).
11807 (global-hl-line-highlight): Obey it.
11809 * vc/vc.el (vc-revert-show-diff): Default to t.
11811 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11813 * allout-widgets.el (allout-widgets-post-command-business):
11814 Stop decorating intermediate isearch matches. They're not being
11815 undecorated when an isearch is continued past, and isearch
11816 automatically collapses them. This leads to "widget leaks", where
11817 decorated items accumulate in collapsed areas. Lines with lots of
11818 hidden widgets can slow down cursor travel, substantially.
11819 Too much complicated machinery would be needed to ensure undecoration,
11820 so we're doing without this nicety.
11822 (allout-widgets-tally-string): Don't try to do a hash-table-count
11823 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11824 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11825 *Messages* when allout-widgets-maintain-tally is t.
11827 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11829 * window.el (display-buffer-normalize-argument): Rename to
11830 display-buffer-normalize-arguments. Handle special meaning of
11831 LABEL argument. Respect special-display-function when popping up
11832 a new frame. Fix code searching for a window showing the buffer
11834 (display-buffer-normalize-specifiers):
11835 Call display-buffer-normalize-arguments.
11836 (display-buffer-in-window): Don't undedicate the window if its
11837 buffer remains the same.
11838 Reported by Drew Adams <drew.adams@oracle.com>.
11839 (display-buffer-alist): Add choice for same-window macro
11841 (display-buffer): Mention special meaning of LABEL argument in
11842 doc-string. Fix quoting. Don't pop up a new frame even as
11845 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11847 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11848 avoid deleting the current window in some cases (bug#8911).
11850 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11852 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11855 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11857 * net/network-stream.el (network-stream-open-starttls):
11858 Use built-in TLS support if `gnutls-available-p' is true.
11859 (network-stream-open-tls): Ditto.
11861 2011-06-26 Leo Liu <sdl.web@gmail.com>
11863 * register.el (registerv): New struct.
11864 (registerv-make): New function.
11865 (jump-to-register, describe-register-1, insert-register):
11866 Support the jump-func, print-func and insert-func slot of a registerv
11869 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11871 * vc/vc.el (vc-revert-show-diff): New defcustom.
11872 (vc-diff-internal): New arg specifying diff buffer.
11873 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11874 reuse an existing *vc-diff* buffer (Bug#8927).
11876 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11878 2011-06-26 Glenn Morris <rgm@gnu.org>
11880 * progmodes/f90.el (f90-critical-indent): New option.
11881 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11882 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11883 (f90-mode): Doc fix.
11884 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11885 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11886 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11887 (f90-match-end): Handle block, critical.
11889 2011-06-25 Glenn Morris <rgm@gnu.org>
11891 * calendar/diary-lib.el (diary-included-files): Doc fix.
11892 (diary-include-files): New function, extracted from
11893 diary-include-other-diary-files and diary-mark-included-diary-files.
11894 (diary-include-other-diary-files, diary-mark-included-diary-files):
11895 Just call diary-include-files.
11896 (diary-mark-entries): Reset diary-included-files on first call.
11898 * calendar/diary-lib.el (diary-mark-entries)
11899 (diary-mark-included-diary-files):
11900 Visit included diary-files in temp buffers.
11902 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11903 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11904 (f90-start-block-re, f90-imenu-generic-expression)
11905 (f90-looking-at-program-block-start, f90-no-block-limit):
11906 Add support for submodules.
11908 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11909 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11911 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11913 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11914 buffer-file-type before setting its value, to avoid disastrous
11915 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11917 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11919 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11921 * ses.el (ses-unload-function):
11922 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11924 * proced.el (proced-unload-function):
11925 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11927 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11929 * server.el (server-create-window-system-frame): Add parameters arg.
11930 (server-process-filter): Doc fix. Handle frame-parameters.
11932 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11934 Fix bug#8730, bug#8781.
11936 * loadhist.el (unload--set-major-mode): New function.
11937 (unload-feature): Use it.
11939 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11940 (python-unload-function): New function.
11942 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11944 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11946 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11948 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11949 the candidates list.
11951 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11953 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11955 2011-06-23 Richard Stallman <rms@gnu.org>
11957 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11958 (rmail-variables): Set next-error-move-function.
11959 (rmail-what-message): Take argument POS.
11960 (rmail-next-error-move): New function.
11962 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11964 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11965 messages for adjacent non-terminals.
11967 2011-06-23 Richard Stallman <rms@gnu.org>
11969 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11970 (rmail-show-message-1): Preserve buffer modified flag.
11971 (rmail-start-mail): Don't specify use of rmail-mail-return;
11972 that's done by mail-bury now.
11973 (rmail-mail-return): Handle arg NEWBUF.
11975 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11977 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11980 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11982 * window.el (get-lru-window, get-mru-window)
11983 (get-largest-window): Never return a minibuffer window.
11984 (display-buffer-pop-up-window): Fix a bug that could lead to
11985 reusing the minibuffer window.
11986 (display-buffer): Pass original specifier argument to
11987 display-buffer-function instead of the normalized one.
11988 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11990 2011-06-22 Leo Liu <sdl.web@gmail.com>
11992 * minibuffer.el (completing-read-function)
11993 (completing-read-default): Move from minibuf.c
11995 2011-06-22 Richard Stallman <rms@gnu.org>
11997 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11998 to Rmail even if not started by a special Rmail command.
12000 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12001 Copy the buffer currently showing just one message.
12003 2011-06-22 Roland Winkler <winkler@gnu.org>
12005 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12006 (bibtex-clean-entry): First delete the old key so that a
12007 customized algorithm for generating the new key does not get
12008 confused by the old key.
12009 (bibtex-url): Obey regexp of first step.
12010 (bibtex-search-entries): Do not use add-to-list with local
12013 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12015 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12016 stored a user name, then query for the password first, instead of
12017 waiting for SMTP to give an error message and the trying again.
12019 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12021 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12022 BUFFER in call-process.
12024 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12028 (smtpmail-try-auth-methods): Require user name and password from
12031 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12033 * window.el (display-buffer-default-specifiers)
12034 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12035 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12036 (split-window): Normalize SIDE argument (Bug#8916).
12038 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12039 (special-display-frame-alist, special-display-popup-frame):
12040 Remove duplicate declarations. These are now in window.el.
12042 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12044 * mail/smtpmail.el (smtpmail-via-smtp):
12045 Set :use-starttls-if-possible so that we always use STARTTLS if the
12046 server supports it. SMTP servers that support STARTTLS commonly
12049 * net/network-stream.el (network-stream-open-starttls): Support
12050 upgrading to STARTTLS always, even if we don't have built-in support.
12051 (open-network-stream): Add the :always-query-capabilities keyword.
12053 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12054 upgrades with `open-network-stream', and rely solely on
12055 auth-source for all credentials. Big changes throughout the file,
12057 (smtpmail-auth-credentials): Remove.
12058 (smtpmail-starttls-credentials): Remove.
12059 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12062 * net/network-stream.el (network-stream-open-starttls):
12063 Provide support for client certificates both for external and built-in
12065 (auth-source): Require.
12066 (open-network-stream): Document the :client-certificate keyword.
12067 (network-stream-certificate): Change cert-cert to cert and
12070 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12072 * net/tramp-cache.el (top): Don't load the persistency file when
12073 "emacs -Q" has been called.
12075 2011-06-21 Tim Harper <timcharper@gmail.com>
12077 * term/ns-win.el (ns-initialize-window-system):
12078 Set application-specific `ApplePressAndHoldEnabled' system
12079 resource to NO as it is not yet supported by the NS port.
12081 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12083 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12084 (list-dynamic-libraries): ...not here.
12086 2011-06-21 Leo Liu <sdl.web@gmail.com>
12088 * subr.el (sha1): Implement sha1 using secure-hash.
12090 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12092 * window.el (display-buffer-alist): In default value do not
12093 enforce searching a window on any but the selected frame.
12094 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12095 (display-buffer-select-window): Remove function.
12096 (display-buffer-in-window): When a window on another frame gets
12097 reused, do not select it any more but just raise its frame if
12098 necessary (Bug#8851) and (Bug#8856).
12099 (display-buffer-normalize-options): Handle pop-up-frames related
12100 options more faithfully.
12101 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12102 window if it is on another frame.
12103 (display-buffer-alist, display-buffer-default-specifiers):
12104 Don't make new frame unsplittable by default.
12105 (display-buffer-normalize-argument): Fix doc-string typo and use
12106 'same-frame-other-window instead of 'other-window when associating
12107 with display-buffer-macro-specifiers.
12109 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12111 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12113 (5x5-mode-map, 5x5-mode-menu): Bind them.
12114 (5x5-draw-grid): Tweak the solver's rendering.
12116 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12119 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12121 2011-06-21 Drew Adams <drew.adams@oracle.com>
12123 * menu-bar.el: Use function variable instead of switch-to-buffer.
12124 (menu-bar-select-buffer-function): New variable.
12125 (menu-bar-update-buffers): Use it (bug#8876).
12127 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12132 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12134 * x-dnd.el (x-dnd-version-from-flags)
12135 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12136 and long as number (Bug#8899).
12137 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12139 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12142 (completion-try-completion, completion-all-completions): Compute the
12143 metadata argument if it's missing; make it optional (bug#8795).
12145 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12146 (widget-complete): Use new :completion-function property.
12147 (widget-completions-at-point): New function.
12148 (default): Use :completion-function instead of :complete.
12149 (widget-default-completions): Rename from widget-default-complete;
12151 (widget-string-complete, widget-file-complete, widget-color-complete):
12153 (file, symbol, function, variable, coding-system, color):
12154 * international/mule-cmds.el (default-input-method, charset)
12155 (language-info-custom-alist):
12156 * cus-edit.el (face): Use new property :completions.
12158 * progmodes/pascal.el (pascal-completions-at-point): New function.
12159 (pascal-mode): Use it.
12160 (pascal-mode-map): Use completion-at-point.
12161 (pascal-toggle-completions): Make obsolete.
12162 (pascal-complete-word, pascal-show-completions):
12163 * progmodes/octave-mod.el (octave-complete-symbol):
12164 Redefine as obsolete alias.
12165 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12166 Signal absence of completion info for old Octave,
12167 (inferior-octave-complete): Redefine as obsolete alias.
12168 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12169 (meta-completions-at-point): Rename from meta-complete-symbol and
12170 adapt it for use on completion-at-point-functions.
12171 (meta-common-mode): Use it.
12172 (meta-looking-at-backward, meta-match-buffer): Remove.
12173 (meta-complete-symbol): Redefine as obsolete alias.
12174 (meta-common-mode-map): Use completion-at-point.
12175 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12176 (makefile-mode-map): Use completion-at-point.
12177 (makefile-completions-at-point): Rename from makefile-complete and
12178 adapt it for use on completion-at-point-functions.
12179 (makefile-mode): Use it.
12180 (makefile-complete): Redefine as obsolete alias.
12182 2011-06-20 Deniz Dogan <deniz@dogan.se>
12184 * net/rcirc.el: Delete trailing whitespaces once and for all.
12186 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12188 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12190 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12192 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12194 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12196 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12198 * window.el (display-buffer-other-window-means-other-frame):
12199 Call display-buffer-normalize-alist.
12200 (display-buffer-normalize-specifiers-1): Rename to
12201 display-buffer-normalize-argument. New argument other-frame.
12203 (display-buffer-normalize-specifiers-2): Rename to
12204 display-buffer-normalize-options.
12205 (display-buffer-normalize-alist-1): New function.
12206 (display-buffer-normalize-specifiers-3): Rename to
12207 display-buffer-normalize-alist.
12208 Call display-buffer-normalize-alist-1.
12209 (display-buffer-normalize-options-inhibit): New variable.
12210 (display-buffer-normalize-specifiers): Rewrite calling
12211 display-buffer-normalize-alist,
12212 display-buffer-normalize-argument, and
12213 display-buffer-normalize-options. Don't call the latter if
12214 display-buffer-normalize-options-inhibit is non-nil.
12215 (frame-auto-delete): New option.
12216 (window-deletable-p): Use frame-auto-delete.
12217 (window-list-no-nils, window-state-ignored-parameters)
12218 (window-state-get-1, window-state-get, window-state-put-list)
12219 (window-state-put-1, window-state-put-2, window-state-put):
12221 (display-buffer-normalize-options): Move special-display-p group
12222 after pop-up-frame group (Bug#8851) and (Bug#8856).
12224 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12226 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12228 (rx-submatch-n): New function.
12231 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12234 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12236 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12238 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12239 anytime existing face settings are present (Bug#8889).
12241 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12242 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12243 Remove unused argument.
12245 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12247 * window.el (display-buffer-default-specifiers):
12248 Remove pop-up-frame. Add pop-up-window-min-height,
12249 pop-up-window-min-width, and another reuse-window specifier
12250 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12251 (display-buffer-normalize-specifiers-2):
12252 Handle split-height-threshold and split-width-threshold also when
12253 pop-up-windows is unset. Add a reuse-window specifier for the
12254 case popping up a new window fails.
12255 (special-display-popup-frame): Remove double quoting.
12256 (display-buffer-normalize-specifiers-1): Fix thinko.
12258 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12260 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12261 according to comint-completion-addsuffix.
12263 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12264 (pcomplete-suffix-list): Mark as obsolete.
12265 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12266 pcomplete-seen in the closure.
12267 (pcomplete-comint-setup): Setup completion-at-point as well.
12268 (pcomplete--entries): New function.
12269 (pcomplete--env-regexp): New var.
12270 (pcomplete-entries): Rewrite to work with partial-completion and
12271 without relying on pcomplete-suffix-list.
12272 (pcomplete-pare-list): Remove, unused.
12274 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12276 * window.el (display-buffer-alist): Set pop-up-window-min-height
12277 and pop-up-window-min-width in default value. Reported by
12278 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12279 other-window-means-other-frame.
12280 (display-buffer-macro-specifiers): Comment out entry for
12281 other-window specifier.
12282 (display-buffer-other-window-means-other-frame): New function.
12283 (display-buffer-normalize-specifiers-1): New arguments
12284 buffer-name and label. Treat other-window case specially.
12285 (display-buffer-normalize-specifiers-2): Treat other-window case
12287 (display-buffer-normalize-specifiers-3): New function.
12288 (display-buffer-normalize-specifiers):
12289 Call display-buffer-normalize-specifiers-3.
12291 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12293 * window.el (same-window-p): Fix two typos introduced when
12294 adding with-no-warnings.
12295 (display-buffer-normalize-specifiers-1): Don't check
12296 pop-up-frames for 'unset initialization.
12297 (display-buffer-normalize-specifiers-2): Major rewrite using
12298 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12299 (pop-up-frames, display-buffer-reuse-frames)
12300 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12301 Suggested by David Engster <deng@randomsample.de>.
12302 (even-window-heights): Initialize to 'unset.
12303 (display-buffer-alist-set): Handle new 'unset initializations.
12304 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12307 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12309 * window.el (display-buffer-normalize-specifiers-1):
12310 Respect current value of pop-up-frames for most reasonable values of
12311 second argument of display-buffer (Bug#8865).
12312 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12313 (switch-to-buffer-other-window-same-frame)
12314 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12316 (display-buffer): Don't check noninteractive when calling
12317 display-buffer-pop-up-frame.
12318 (display-buffer-pop-up-frame): Never pop up a frame in
12319 noninteractive mode (Bug#8857).
12320 (enlarge-window, shrink-window): Don't report an error when the
12321 window can't be resized as requested (Bug#8862).
12323 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12325 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12327 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12329 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12331 2011-06-15 Alan Mackenzie <acm@muc.de>
12333 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12334 for declarators, disable knr checking to speed up for normal files.
12335 2: Refactor, replacing a sequence of nested if forms by a cond form.
12337 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12339 * net/network-stream.el (open-network-stream): Add the keyword
12340 :always-query-capabilities for the case where you want to force a
12341 `plain' network connection, but the protocol still requires the
12342 capabilitiy command (i.e., SMTP and EHLO).
12344 * subr.el (process-live-p): Rename from `process-alive-p' for
12345 consistency with other `-live-p' functions.
12347 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12349 * window.el (same-window-buffer-names, same-window-regexps)
12350 (special-display-frame-alist, special-display-popup-frame)
12351 (special-display-function, special-display-buffer-names)
12352 (special-display-regexps, pop-up-frame-alist)
12353 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12354 (pop-up-windows, split-window-preferred-function)
12355 (split-height-threshold, split-width-threshold, even-window-heights)
12356 (display-buffer-mark-dedicated): Don't encourage the use of
12357 display-buffer-alist from Elisp code.
12359 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12361 * progmodes/python.el (python-mode): Derive from prog-mode.
12362 * progmodes/ps-mode.el (ps-mode):
12363 * progmodes/mixal-mode.el (mixal-mode):
12364 * progmodes/cfengine.el (cfengine-mode):
12365 * progmodes/ld-script.el (ld-script-mode): Likewise.
12367 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12369 * window.el (display-buffer-alist): Trim default value to avoid
12370 popping up a new frame (Bug#8857) or reusing an arbitrary window
12372 (display-buffer): Do not fall back on popping up a new frame in
12373 batch mode (Bug#8857).
12375 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12377 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12378 (custom-theme-summary): New function.
12379 (customize-themes): Use it.
12381 2011-06-13 Glenn Morris <rgm@gnu.org>
12383 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12385 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12387 * help.el (help-window): Remove variable.
12388 (help-window-point-marker, temp-buffer-max-height)
12389 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12390 (help-print-return-message): Don't set help-window.
12391 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12392 (help-window-setup-finish): Remove.
12393 (help-window-display-message, help-window-setup)
12394 (with-help-window): Major rewrite based on new
12395 display-buffer-window variable.
12397 * help-mode.el (help-mode-finish): Remove help-window related
12400 * view.el (view-exits-all-viewing-windows): Remove reference to
12401 view-return-to-alist in doc-string.
12402 (view-return-to-alist): Make obsolete.
12403 (view-buffer): Call pop-to-buffer-same-window and remove
12405 (view-buffer-other-window): Call pop-to-buffer-other-window and
12406 simplify code. Ignore second argument.
12407 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12408 simplify code. Ignore second argument.
12409 (view-return-to-alist-update): Make obsolete.
12410 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12411 Rewrite using quit-restore window parameters.
12412 (view-mode-exit): Rename second argument to EXIT-ONLY.
12413 Rewrite using quit-restore-window.
12414 (View-exit, View-exit-and-edit, View-leave, View-quit)
12415 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12416 appropriate arguments.
12417 (view-end-message): Use quit-restore window parameter.
12419 * window.el (display-buffer-function): Rewrite doc-string.
12420 (display-buffer-window, display-buffer-alist): New variables.
12421 (display-buffer-split-specifiers)
12422 (display-buffer-side-specifiers)
12423 (display-buffer-macro-specifiers): New constants.
12424 (display-buffer-even-window-sizes, display-buffer-set-height)
12425 (display-buffer-set-width, display-buffer-select-window)
12426 (display-buffer-in-window, display-buffer-reuse-window)
12427 (display-buffer-split-window-1, display-buffer-split-window)
12428 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12429 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12430 (display-buffer-in-side-window, normalize-buffer-to-display)
12431 (display-buffer-normalize-specifiers-1)
12432 (display-buffer-normalize-specifiers-2)
12433 (display-buffer-normalize-specifiers, display-buffer-frame):
12435 (display-buffer): Major rewrite.
12436 (display-buffer-other-window, display-buffer-other-frame)
12437 (pop-to-buffer, switch-to-buffer-other-window)
12438 (switch-to-buffer-other-frame): Rewrite.
12439 (display-buffer-same-window, display-buffer-same-frame)
12440 (display-buffer-same-frame-other-window)
12441 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12442 (pop-to-buffer-other-window)
12443 (pop-to-buffer-same-frame-other-window)
12444 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12445 (switch-to-buffer-other-window-same-frame): New functions.
12446 (same-window-p, special-display-p): Rewrite disabling warnings.
12448 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12449 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12451 (same-window-buffer-names, same-window-regexps)
12452 (special-display-frame-alist, special-display-popup-frame)
12453 (special-display-function, special-display-buffer-names)
12454 (special-display-regexps, pop-up-frame-alist)
12455 (pop-up-frame-function, split-window-preferred-function)
12456 (split-height-threshold, split-width-threshold)
12457 (even-window-heights): Make obsolete.
12459 2011-06-12 Glenn Morris <rgm@gnu.org>
12461 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12462 Misc simplifications.
12464 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12466 * window.el (window-safely-shrinkable-p): Restore function which
12467 was inadvertently removed in change from 2011-06-11. Declare as
12470 * calendar/calendar.el (calendar-generate-window):
12471 Use window-iso-combined-p instead of combination of one-window-p and
12472 window-safely-shrinkable-p.
12474 2011-06-12 Glenn Morris <rgm@gnu.org>
12476 * progmodes/fortran.el (fortran-mode-syntax-table):
12477 * progmodes/f90.el (f90-mode-syntax-table):
12478 Set % to punctuation. (Bug#8820)
12479 (f90-find-tag-default): Remove, no longer needed.
12481 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12483 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12485 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12487 * image.el (image-animated-p): Return animation delay in seconds.
12488 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12489 (image-animate-timeout): Remove DELAY argument. Don't assume
12490 every subimage has the same delay; get it from image-animated-p.
12491 (image-animate): Caller changed.
12493 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12495 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12496 to ignored backtrace functions.
12498 2011-06-11 Glenn Morris <rgm@gnu.org>
12500 * calendar/appt.el (appt-disp-window-function): Doc fix.
12501 (appt-check): Handle overlapping appointments. (Bug#8337)
12503 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12505 * window.el (window-tree-1, window-tree): New functions, moving
12506 the latter to window.el.
12507 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12508 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12509 (bw-refresh-edges): Remove.
12510 (balance-windows-1, balance-windows-2): New functions.
12511 (balance-windows): Rewrite in terms of window tree functions,
12512 balance-windows-1 and balance-windows-2.
12513 (bw-adjust-window): Remove.
12514 (balance-windows-area-adjust): New function with functionality of
12515 bw-adjust-window but using resize-window.
12516 (set-window-text-height): Rewrite doc-string.
12517 Use normalize-live-window and resize-window.
12518 (enlarge-window-horizontally, shrink-window-horizontally):
12519 Rename argument to DELTA.
12520 (window-buffer-height): New function.
12521 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12522 Rewrite using new window resize routines.
12523 (kill-buffer-and-window, mouse-autoselect-window-select):
12524 Use ignore-errors instead of condition-case.
12525 (quit-window): Call delete-frame instead of delete-windows-on
12526 for the only buffer on frame.
12528 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12530 * loadup.el (top-level): Load window before files for the sake
12531 of replace-buffer-in-windows.
12533 * files.el (read-buffer-to-switch)
12534 (switch-to-buffer-other-window)
12535 (switch-to-buffer-other-frame, display-buffer-other-frame):
12538 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12539 (previous-buffer): Move to window.el.
12541 * bindings.el (unbury-buffer): Move to window.el.
12543 * window.el (delete-other-windows-vertically): Move after
12544 definition of delete-other-windows.
12545 (other-window, delete-windows-on, replace-buffer-in-windows):
12546 Move here from window.c.
12547 (record-window-buffer, unrecord-window-buffer)
12548 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12549 (switch-to-next-buffer): New functions.
12550 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12551 from simple.el. Call switch-to-next-buffer.
12552 (previous-buffer): Move here from simple.el.
12553 Call switch-to-prev-buffer.
12554 (bury-buffer): Move here from buffer.c. Switch to previous
12555 buffer when window cannot be deleted.
12556 (unbury-buffer): Move here from bindings.el.
12557 (ctl-x-map): Move binding for other-window from window.c to
12559 (read-buffer-to-switch, switch-to-buffer-other-window)
12560 (switch-to-buffer-other-frame): Move here from files.el.
12561 (normalize-buffer-to-switch-to): New functions.
12562 (switch-to-buffer): Move here from buffer.c.
12563 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12565 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12567 * window.el (window-min-height, window-min-width): Move here
12568 from window.c. Add defcustoms and rewrite doc-strings.
12569 (resize-mini-window, resize-window): New functions.
12570 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12571 Move here from window.c.
12572 (maximize-window, minimize-window): New functions.
12573 (delete-window, delete-other-windows, split-window): Move here
12575 (window-split-min-size): New function.
12576 (split-window-keep-point): Mention split-window-above-each-other
12577 instead of split-window-vertically.
12578 (split-window-above-each-other, split-window-vertically):
12579 Rename split-window-vertically to split-window-above-each-other
12580 and provide defalias for old definition.
12581 (split-window-side-by-side, split-window-horizontally):
12582 Rename split-window-horizontally to split-window-side-by-side
12583 and provide defalias for the old definition.
12584 (ctl-x-map): Move bindings for delete-window,
12585 delete-other-windows and enlarge-window here from window.c.
12586 Replace bindings for split-window-vertically and
12587 split-window-horizontally by bindings for
12588 split-window-above-each-other and split-window-side-by-side.
12590 * cus-start.el (all): Remove entries for window-min-height and
12591 window-min-width. Add entries for window-splits and
12594 2011-06-09 Glenn Morris <rgm@gnu.org>
12596 * calendar/appt.el (appt-mode-line): New function.
12597 (appt-check, appt-disp-window): Use it.
12599 * files.el (hack-one-local-variable-eval-safep):
12600 Allow minor-modes with explicit +/-1 arguments.
12602 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12604 * term/xterm.el (xterm): Add defgroup.
12605 (xterm-extra-capabilities): Add defcustom to supply known xterm
12606 capabilities, skip querying them, or query them (default).
12607 (terminal-init-xterm): Use it.
12608 (terminal-init-xterm-modify-other-keys): New function to set up
12609 modifyOtherKeys support to simplify `terminal-init-xterm'.
12611 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12613 * window.el (resize-window-reset, resize-window-reset-1)
12614 (resize-subwindows-skip-p, resize-subwindows-normal)
12615 (resize-subwindows, resize-other-windows, resize-this-window)
12616 (resize-root-window, resize-root-window-vertically)
12617 (window-deletable-p, window-or-subwindow-p)
12618 (frame-root-window-p): New functions.
12620 2011-06-09 Glenn Morris <rgm@gnu.org>
12622 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12623 (ange-ftp-get-files): Use it.
12625 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12627 * mail/sendmail.el (mail-recover-1, mail-recover):
12628 * files.el (recover-file, recover-session):
12629 Handle dired-listing-switches not being just a single short option.
12631 2011-06-09 Glenn Morris <rgm@gnu.org>
12633 * calendar/appt.el (appt-display-message, appt-disp-window):
12634 Handle lists of appointments.
12636 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12638 * window.el (one-window-p): Move down in code.
12639 Rewrite doc-string.
12640 (window-current-scroll-bars): Rewrite doc-string.
12641 Normalize live window argument.
12642 (walk-windows, get-window-with-predicate, count-windows):
12643 Rewrite doc-string. Use window-list-1.
12644 (window-in-direction-2, window-in-direction, get-mru-window):
12647 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12649 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12650 Doc fix (Bug#8713).
12652 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12654 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12656 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12658 * loadhist.el (unload-feature-special-hooks):
12659 Add `comint-output-filter-functions'.
12661 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12663 * calendar/appt.el (appt-check): Move some initializations into the let.
12665 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12667 * window.el (window-height): Defalias to window-total-height.
12668 (window-width): Defalias to window-body-width.
12670 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12672 * image-mode.el (image-toggle-animation): New command.
12673 (image-mode-map): Bind it to RET.
12674 (image-mode): Update message.
12675 (image-toggle-display-image): Avoid a spurious cache flush.
12676 (image-transform-rotation): Doc fix.
12677 (image-transform-properties): Return quickly in the normal case.
12678 (image-animate-loop): Rename from image-animate-max-time.
12680 * image.el (image-animate-max-time): Move to image-mode.el.
12681 (create-animated-image): Remove unnecessary function.
12682 (image-animate): Rename from image-animate-start. New arg.
12683 (image-animate-stop): Remove; just use image-animate-timer.
12684 (image-animate-timer): Use car-safe.
12685 (image-animate-timeout): Rename argument.
12687 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12689 * window.el (get-lru-window, get-largest-window): Move here from
12690 window.c. Rename first argument to ALL-FRAMES.
12691 Rephrase doc-strings.
12692 (get-buffer-window-list): Rewrite using window-list-1.
12693 Rephrase doc-string.
12694 (window-safe-min-height, window-safe-min-width): New constants.
12695 (window-size-ignore, window-min-size, window-min-size-1)
12696 (window-sizable, window-sizable-p, window-size-fixed-1)
12697 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12698 (window-max-delta-1, window-max-delta, window-resizable)
12699 (window-resizable-p, window-total-height, window-total-width)
12700 (window-body-width): New functions.
12701 (window-full-height-p, window-full-width-p): Rewrite using
12703 (window-body-height): Rewrite using window-body-size.
12705 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12707 * window.el (window-right, window-left, window-child)
12708 (window-child-count, window-last-child, window-any-p)
12709 (normalize-live-buffer, normalize-live-frame)
12710 (normalize-any-window, normalize-live-window)
12711 (window-iso-combination-p, window-iso-combined-p)
12712 (window-iso-combinations)
12713 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12714 (windows-with-parameter, window-with-parameter)
12715 (window-atom-root, make-window-atom, window-atom-check-1)
12716 (window-atom-check, window-side-check, window-check):
12718 (ignore-window-parameters, window-sides, window-sides-vertical)
12719 (window-sides-slots): New variables.
12720 (window-size-fixed): Move down in code. Minor doc-string fix.
12722 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12724 * comint.el (comint-dynamic-complete-as-filename)
12725 (comint-dynamic-complete-filename): Correctly call
12726 completion-in-region.
12728 2011-06-05 Deniz Dogan <deniz@dogan.se>
12730 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12733 2011-06-05 Deniz Dogan <deniz@dogan.se>
12735 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12736 (rcirc): Use it to prompt for encryption.
12738 2011-06-05 Roland Winkler <winkler@gnu.org>
12740 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12741 (bibtex-search-entries): New command bound to C-c C-a.
12742 (bibtex-display-entries): New function.
12744 2011-06-05 Roland Winkler <winkler@gnu.org>
12746 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12747 (bibtex-insert-kill): After yanking insert newline if necessary.
12748 (bibtex-initialize): Call bibtex-string-files-init only once.
12749 (bibtex-mode): Do not call easy-menu-add.
12750 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12751 (bibtex-yank): Set arg properly if nil.
12753 2011-06-05 Roland Winkler <winkler@gnu.org>
12755 * textmodes/bibtex.el (bibtex-search-entry-globally):
12757 (bibtex-search-entry): Use it.
12759 2011-06-05 Roland Winkler <winkler@gnu.org>
12761 * textmodes/bibtex.el (bibtex-entry-format): New option
12763 (bibtex-format-entry, bibtex-reformat): Honor this option.
12764 (bibtex-parse-entry): Return fields in proper order.
12766 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12768 * doc-view.el (doc-view-remove-if): Move computation of result out
12769 of `dolist' to silence misleading lexical-binding warning.
12771 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12773 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12774 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12776 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12778 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12781 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12783 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12784 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12785 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12786 (tramp-parse-putty):
12787 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12788 (tramp-completion-function-alist-ssh)
12789 (tramp-completion-function-alist-telnet)
12790 (tramp-completion-function-alist-su)
12791 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12794 * net/tramp-ftp.el:
12796 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12797 load "tramp.el" `tramp-set-completion-function'.
12799 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * shell.el: Require and use pcomplete.
12802 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12803 (shell-completion-vars): Set pcomplete-default-completion-function.
12805 2011-06-04 Deniz Dogan <deniz@dogan.se>
12807 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12810 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12812 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12814 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12816 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12817 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12818 * vc/log-view.el (log-view-beginning-of-defun):
12819 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12820 (smerge-refine-forward, smerge-refine-chopup-region):
12821 Silence warning for unused `dotimes' counter variables.
12823 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * net/tramp.el (tramp-with-progress-reporter): Rename from
12826 with-progress-reporter. Use `declare'.
12827 * net/tramp-smb.el:
12829 * net/tramp-gvfs.el: Update all uses.
12831 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12833 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12834 buffer isn't killed before making it current.
12836 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12838 Silence various byte-compiler warnings.
12839 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12840 `access-type' and new obsolescence format.
12841 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12843 (byte-compile-check-variable): New `access-type' argument.
12844 Only warn if the access-type is obsolete.
12845 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12846 (byte-compile-variable-set): Adjust callers.
12847 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12848 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12849 setting it as obsolete.
12850 * simple.el (minibuffer-completing-symbol):
12851 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12852 access as obsolete.
12853 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12855 * international/quail.el (quail-mouse-choose-completion): Remove unused
12856 code referring to obsolete var.
12857 (quail-choose-completion-string): Remove.
12858 * server.el (server-clients-with, server-kill-buffer-query-function)
12859 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12860 * proced.el (proced-send-signal):
12861 * emacs-lisp/lisp.el (lisp-complete-symbol):
12862 Replace completion-annotate-function with completion-extra-properties.
12864 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12866 * simple.el (goto-line): Use read-number.
12867 (overriding-map-is-bound): Remove.
12868 (saved-overriding-map): Change default.
12869 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12870 Take the map as argument.
12871 (universal-argument, negative-argument, digit-argument): Use it.
12872 (restore-overriding-map): Adjust.
12873 (do-auto-fill): Use fill-forward-paragraph.
12874 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12876 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12877 (minibuffer-inactive-mode): New major mode.
12878 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12879 the *Messages* buffer" hack.
12880 (mouse-popup-menubar): Don't burp if the event is a normal key.
12882 Miscellaneous tweaks.
12883 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12884 lexical scoping as in subr.el's dolist and dotimes.
12885 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12886 Silence compiler warning.
12887 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12888 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12889 * international/ccl.el (ccl-compile): Trivial simplification.
12890 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12891 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12892 `printflag' argument.
12893 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12894 Purecopy the whole obsolescence data.
12896 2011-06-01 Leo Liu <sdl.web@gmail.com>
12898 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12899 improve doc-string as suggested by Marco Pessotto
12900 <melmothx@gmail.com>.
12901 (rcirc-print): Fix last change.
12903 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * minibuffer.el (complete-with-action): Return nil for the metadata and
12906 boundaries of non-functional tables.
12907 (completion-table-dynamic): Return nil for the metadata.
12908 (completion-table-with-terminator): Add default case, using
12909 complete-with-action.
12910 (completion--metadata): New function.
12911 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12912 to try and avoid pathological performance problems.
12913 (completion--embedded-envvar-table): Return `category' metadata.
12915 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12917 * subr.el (process-alive-p): New tiny convenience function.
12919 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12921 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12922 content but also its previous major mode.
12924 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12926 * emacs-lisp/debug.el (debug): Restore the previous content of the
12927 *Backtrace* buffer when we exit with C-M-c.
12929 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12931 * minibuffer.el: Add metadata method to completion tables.
12932 (completion-category-overrides): New defcustom.
12933 (completion-metadata, completion--field-metadata)
12934 (completion-metadata-get, completion--styles)
12935 (completion--cycle-threshold): New functions.
12936 (completion-try-completion, completion-all-completions):
12937 Add `metadata' argument to choose completion-styles.
12938 (completion--do-completion): Use metadata to choose cycling.
12939 (completion-all-sorted-completions): Use metadata for sorting.
12940 Remove :completion-cycle-penalty which is not needed any more.
12941 (completion--try-word-completion): Add `metadata' argument.
12942 (minibuffer-completion-help): Check metadata for annotation function
12944 (completion-file-name-table): Return `category' metadata.
12945 (minibuffer-completing-file-name): Make obsolete.
12946 * simple.el (minibuffer-completing-symbol): Make obsolete.
12947 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12948 completion-try-completion.
12950 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12952 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12954 2011-05-30 Leo Liu <sdl.web@gmail.com>
12956 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12957 (rcirc-print): Decode all incoming messages (bug#8744).
12958 (rcirc-decode-coding-system): Allow value nil for automatic coding
12961 2011-06-01 Glenn Morris <rgm@gnu.org>
12963 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12965 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12967 * image.el (image-animate-max-time): Allow nil and t values.
12969 (create-animated-image): Doc fix.
12970 (image-animate-start): Remove second arg; just use
12971 image-animate-max-time.
12972 (image-animate-timeout): Doc fix. Args changed.
12974 * image-mode.el (image-toggle-display-image): Ensure that the
12975 image spec passed to the animate timer is the same object as in
12976 the buffer's display property (Bug#6981).
12977 (image-transform-properties): Doc fix.
12979 * image.el (image-animate-max-time): Default to nil.
12981 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12983 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12984 entire buffer list (Bug#8184).
12986 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12988 * image.el (imagemagick-types-inhibit)
12989 (imagemagick-register-types): Doc fix.
12991 2011-05-29 Deniz Dogan <deniz@dogan.se>
12993 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12996 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12998 * select.el: Don't perform clipboard-manager saving in hooks;
12999 leave the hooks empty.
13001 2011-05-28 Leo Liu <sdl.web@gmail.com>
13003 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13004 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13005 (occur-edit-mode): New major mode (Bug#8463).
13006 (occur-after-change-function): New function.
13007 (occur-engine): Give Occur tags a read-only property.
13009 2011-05-28 Kevin Ryde <user42@zip.com.au>
13011 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13013 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13015 * bindings.el (help-echo): Make the initial non-indicator dash
13016 empty on graphical terminals (Bug#7295).
13018 * files.el (auto-mode-alist): Move config rule after the
13019 in-stripping one (Bug#8547).
13021 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13023 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13024 setting (Bug#8740).
13026 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13028 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13029 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13032 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13034 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13036 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13038 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13039 (hs-hide-block-at-point, hs-find-block-beginning)
13040 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13043 2011-05-28 Glenn Morris <rgm@gnu.org>
13045 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13047 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13049 * help-fns.el (describe-function-1): If the function is a derived
13050 major mode, print the parent mode.
13052 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13053 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13055 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13057 * minibuffer.el (completion--capf-wrapper): Check applicability before
13058 returning non-nil for non-exclusive completion data.
13059 * progmodes/etags.el (tags-completion-at-point-function):
13060 * info-look.el (info-lookup-completions-at-point): Mark as
13062 (info-complete): Adjust accordingly.
13064 * info-look.el: Convert to lexical-binding and completion-at-point.
13065 (info-lookup-completions-at-point): New function.
13066 (info-complete): Use it and completion-in-region.
13068 2011-05-28 Drew Adams <drew.adams@oracle.com>
13070 * isearch.el: Let M-e start with point at the first mismatched char.
13071 (isearch-fail-pos): New function.
13072 (isearch-edit-string): Use it.
13074 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13076 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13078 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13080 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13081 traversal functions for avl-trees.
13082 (avl-tree--stack): New struct.
13083 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13084 (avl-tree-enter): Add optional `updatefun' arg.
13085 (avl-tree--do-enter): Add optional `updatefun' arg.
13086 Change return value.
13087 (avl-tree-delete): Add optional `test' and `nilflag' args.
13088 (avl-tree--do-delete): Add `test' and `nilflag' args.
13089 Change return value.
13090 (avl-tree-member): Add optional `nilflag'
13091 (avl-tree-member-p): New function.
13092 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13093 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13094 (avl-tree-stack-empty-p): New functions.
13096 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13097 avl-tree--del-balance1 and make it work both ways.
13098 (avl-tree--del-balance2): Remove.
13099 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13100 make it work both ways.
13101 (avl-tree--enter-balance2): Remove.
13102 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13104 (avl-tree--mapc, avl-tree-map): Add direction argument.
13106 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13108 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13110 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13112 * select.el: Support clipboard managers with built-in function
13113 x-clipboard-manager-save, via delete-frame-functions and
13115 (xselect-convert-to-targets): Add MULTIPLE target to list.
13116 (xselect-convert-to-save-targets): New function.
13118 2011-05-27 Kenichi Handa <handa@m17n.org>
13120 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13121 let-binding rfc2047-encode-encoded-words to nil.
13123 2011-05-27 Glenn Morris <rgm@gnu.org>
13125 * mail/emacsbug.el: Don't require url-util.
13127 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13129 * files.el (set-auto-mode):
13130 Also respect mode: entries at the end of the file. (Bug#8586)
13132 2011-05-26 Glenn Morris <rgm@gnu.org>
13134 * files.el (hack-local-variables-prop-line, hack-local-variables):
13135 Downcase mode names, as seems to be traditional.
13136 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13138 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13139 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13141 2011-05-25 Julien Danjou <julien@danjou.info>
13143 * textmodes/rst.el (rst-define-level-faces): Do not define face
13144 symbol if it is already defined.
13146 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13148 * play/5x5.el (5x5-new-game, 5x5-randomize):
13149 Reset 5x5-solver-output to nil when a new grid is cast.
13150 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13151 these debugging traces, as defmacro breaks the compiled code.
13153 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13155 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13157 2011-05-24 Leo Liu <sdl.web@gmail.com>
13159 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13160 (vc-bzr-sha1): Adapt.
13162 * sha1.el: Remove. Function `sha1' is now builtin.
13164 * bindings.el: Provide sha1 feature.
13166 2011-05-24 Kenichi Handa <handa@m17n.org>
13168 * mail/sendmail.el: Require `rfc2047'.
13169 (mail-insert-from-field): Do not perform RFC2047 encoding.
13170 (mail-encode-header): New function.
13171 (sendmail-send-it): Set buffer-file-coding-system of the work
13172 buffer to the return value of select-message-coding-system.
13173 Call mail-encode-header.
13175 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13177 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13179 * mail/supercite.el (sc-default-cite-frame):
13180 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13182 2011-05-24 Glenn Morris <rgm@gnu.org>
13184 * progmodes/python.el (brm-menu): Declare.
13186 * emulation/viper.el (viper-set-hooks): Declare.
13188 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13189 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13190 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13191 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13192 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13193 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13195 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13197 Add an :exit-function for completion-at-point.
13199 * minibuffer.el (completion--done): New fun.
13200 (completion--do-completion): Use it. New arg `expect-exact'.
13201 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13202 since completion--do-completion does it for us now.
13203 (minibuffer-force-complete): Use completion--done and
13204 completion--replace. Handle sole-completion case with more care.
13205 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13206 (completion-extra-properties): New var.
13207 (completion-annotate-function): Make obsolete.
13208 (minibuffer-completion-help): Adjust accordingly.
13209 Use completion-list-insert-choice-function.
13210 (completion-at-point, completion-help-at-point):
13211 Bind completion-extra-properties.
13212 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13213 * simple.el (completion-list-insert-choice-function): New var.
13214 (completion-setup-function): Preserve it.
13215 (choose-completion): Pay attention to it, shuffle the code a bit.
13216 (choose-completion-string): New arg `insert-function'.
13218 * textmodes/bibtex.el: Convert to lexical binding.
13219 (bibtex-mode-map): Use completion-at-point.
13220 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13221 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13222 (bibtex-complete): Define as obsolete alias.
13223 (bibtex-complete-internal): Remove.
13224 (bibtex-format-entry): Remove unused sub-group in regexp.
13225 * shell.el (shell--command-completion-data)
13226 (shell-environment-variable-completion):
13227 * pcomplete.el (pcomplete-completions-at-point):
13228 * comint.el (comint--complete-file-name-data): Use :exit-function
13229 instead of completion-table-with-terminator so it also works for
13232 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13234 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13236 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13239 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13241 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13243 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13244 customization variable and implement: If non-nil, auto-fill will
13245 be inhibited while on topic's header line.
13247 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13249 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13250 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13251 always have a solution in grid size = 5 cases.
13252 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13253 (5x5-solver-output, 5x5-log-buffer): New vars.
13254 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13255 Make these variables buffer local to achieve 5x5 multi-session-ness.
13256 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13257 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13258 (5x5-solve-suggest): New funs.
13259 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13260 randomize a grid so that we ensure that there is always a solution.
13261 (5x5-make-random-grid): Allow other movement than flipping.
13263 2011-05-23 Kevin Ryde <user42@zip.com.au>
13265 * emacs-lisp/advice.el (ad-read-advised-function):
13266 Use `function-called-at-point' as the default, if it has
13267 advice and passes PREDICATE.
13269 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13271 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13272 byte-compile-lambda if it's actually a lambda.
13274 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13275 Fix function quoting. Use backquote better.
13277 2011-05-22 Yuanle Song <sylecn@gmail.com>
13279 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13280 matching (Bug#8516).
13282 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13284 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13285 different face (Bug#8178).
13287 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13289 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13290 defface (Bug#8144).
13292 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13294 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13295 funcall as well (bug#8712). Warn when performing those conversions.
13296 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13298 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13300 2011-05-22 Glenn Morris <rgm@gnu.org>
13302 * files.el (hack-local-variables-prop-line): Small simplifications.
13303 (hack-local-variables, hack-local-variables-prop-line):
13304 If MODE-ONLY, return the mode, rather than just `t'.
13306 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13308 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13310 2011-05-21 Glenn Morris <rgm@gnu.org>
13312 * files.el (hack-local-variables-prop-line, hack-local-variables):
13313 If only interested in the mode, don't bother doing the other stuff.
13315 * image-mode.el (image-after-revert-hook):
13316 Redraw all frames on which the image is visible. (Bug#8567)
13318 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13320 * wid-edit.el (widget-checklist-match-inline):
13321 Fix 2011-04-19 change. (Bug#8649)
13323 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13325 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13326 Also allow singlespace after single-letter capitals followed by a dot.
13328 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13329 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13331 2011-05-20 Nix <nix@esperi.org.uk>
13333 * files.el (basic-save-buffer-2):
13334 Fix handling of break-hardlink-on-save with non-existent files.
13336 2011-05-19 Deniz Dogan <deniz@dogan.se>
13338 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13339 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13341 2011-05-19 Glenn Morris <rgm@gnu.org>
13343 * progmodes/f90.el (f90-type-def-re):
13344 Handle "type, bind(c)". (Bug#8691)
13346 * emacs-lisp/autoload.el (batch-update-autoloads):
13347 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13349 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13351 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13352 property for the correct connection in case of multihops.
13354 2011-05-18 Glenn Morris <rgm@gnu.org>
13356 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13357 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13359 Rationalize calendar handling of day and month abbrev-arrays.
13360 * calendar/calendar.el (calendar-customized-p): New function.
13361 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13362 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13364 (calendar-abbrev-length, calendar-day-abbrev-array)
13365 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13366 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13367 Elements may no longer be nil.
13368 (calendar-day-name, calendar-month-name):
13369 Update for changed nature of abbrev arrays.
13370 * calendar/diary-lib.el (diary-name-pattern):
13371 Update for changed nature of abbrev arrays.
13372 (diary-mark-entries-1): Update calendar-make-alist calls.
13373 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13374 * calendar/cal-html.el (cal-html-day-abbrev-array):
13375 Simply inherit from calendar-day-abbrev-array.
13377 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13379 * progmodes/grep.el (grep-mode): Disable default
13380 compilation-directory-matcher setting (bug#8684).
13382 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13384 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13385 instead of "head" and "tail". There were problems with SunOS 5.9,
13386 and it performs better.
13388 2011-05-17 Glenn Morris <rgm@gnu.org>
13390 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13392 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13393 Replace obsolete function.
13395 * shell.el (pcomplete-parse-arguments-function): Declare.
13397 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13398 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13399 (appt-check): Doc fixes.
13400 (appt-disp-window-function, appt-delete-window-function):
13401 Remove needless special case in custom :type.
13402 (appt-display-count): Default to 0, not nil.
13403 (appt-check): Reset appt-display-count to 0, not nil.
13405 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13407 * progmodes/python.el (python-font-lock-keywords):
13408 Add the Python 3.X keyword "nonlocal" (bug#8639).
13410 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13412 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13414 2011-05-16 Kevin Ryde <user42@zip.com.au>
13416 * info-look.el (makefile-automake-mode): New setups, looking in
13417 automake manual, then makefile-mode.
13418 (makefile-mode): Remove automake manual, have it just in
13419 makefile-automake-mode since there's various things different or
13420 not relevant to plain make.
13421 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13422 believe a hypothetical automake-mode would go to makefile-mode,
13423 not the other way around.
13425 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13427 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13428 hunk-end tags (Bug#8672).
13430 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13431 vc-annotate-show-diff-revision-at-line (Bug#8671).
13433 2011-05-14 Glenn Morris <rgm@gnu.org>
13435 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13436 in the middle of an existing one with multiple authors. (Bug#8645)
13437 (change-log-font-lock-keywords): Also handle multiple author lines
13438 with leading tabs. (Bug#8644)
13440 * calendar/appt.el (appt-check): Rename some local variables.
13441 Some simplification/reordering.
13443 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13444 (feedmail-sendmail-f-doesnt-sell-me-out)
13445 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13446 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13447 (feedmail-queue-runner-message-sender): Set :version.
13448 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13449 (bbdb-dwim-net-address, vm-mail): Declare.
13450 (feedmail-binmail-gnulinuxish-template):
13451 Rename from feedmail-binmail-linuxish-template.
13452 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13453 Use insert-buffer-substring.
13455 2011-05-14 Bill Carpenter <bill@carpenter.org>
13457 * mail/feedmail.el (feedmail-patch-level): Increase.
13458 (feedmail-debug): New custom group.
13459 (feedmail-confirm-outgoing-timeout)
13460 (feedmail-sendmail-f-doesnt-sell-me-out)
13461 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13462 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13463 (feedmail-sender-line, feedmail-from-line)
13464 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13465 (feedmail-spray-this-address)
13466 (feedmail-spray-address-fiddle-plex-list)
13467 (feedmail-queue-use-send-time-for-date)
13468 (feedmail-queue-use-send-time-for-message-id)
13469 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13470 (feedmail-buffer-eating-function):
13472 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13473 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13474 (feedmail-message-action-scroll-down): New functions.
13475 (feedmail-queue-directory, feedmail-queue-draft-directory):
13476 Use expand-file-name.
13477 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13478 Remove C-v help entry.
13479 (feedmail-queue-buffer-file-name): New variable.
13480 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13481 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13482 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13483 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13484 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13485 (feedmail-message-action-toggle-spray)
13486 (feedmail-run-the-queue-no-prompts)
13487 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13488 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13489 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13490 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13491 (feedmail-envelope-deducer, feedmail-fiddle-from)
13492 (feedmail-fiddle-sender, feedmail-default-date-generator)
13493 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13494 (feedmail-fiddle-spray-address)
13495 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13496 (feedmail-fiddle-list-of-fiddle-plexes)
13497 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13498 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13499 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13500 Change default. Doc fix.
13501 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13502 (feedmail-binmail-linuxish-template): New constant.
13503 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13504 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13505 (feedmail-send-it): Add debug call.
13506 Use feedmail-queue-buffer-file-name, and
13507 feedmail-send-it-immediately-wrapper.
13508 (feedmail-message-action-send): Add debug call.
13509 Use feedmail-send-it-immediately-wrapper.
13510 (feedmail-queue-express-to-queue): Add debug call.
13511 Run feedmail-queue-express-hook.
13512 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13513 (feedmail-message-action-help-blat):
13514 Rename from feedmail-queue-send-edit-prompt-help-first.
13515 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13516 Check line-endings. Handle errors better.
13517 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13518 Doc fix. Add debug call.
13519 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13520 Use feedmail-queue-send-edit-prompt-inner.
13521 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13522 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13523 from feedmail-queue-send-edit-prompt.
13524 (feedmail-queue-send-edit-prompt-help)
13525 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13526 (feedmail-tidy-up-slug): Add debug call.
13527 Respect feedmail-queue-slug-suspect-regexp.
13528 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13529 (feedmail-dump-message-to-queue): Add debug call.
13530 Expand queue-directory.
13531 (feedmail-dump-message-to-queue): Change message slightly.
13532 Use feedmail-say-chatter.
13533 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13534 (feedmail-send-it-immediately-wrapper): New function.
13535 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13536 Insert empty string rather than newline. Handle full-frame case.
13537 Use catch/throw. Use feedmail-say-chatter.
13538 (feedmail-fiddle-from): Try mail-host-address.
13539 (feedmail-default-message-id-generator): Doc fix.
13540 Bind system-time-locale. Handle missing end.
13541 (feedmail-fiddle-x-mailer): Add debug call.
13542 Handle feedmail-x-mailer-line being nil.
13543 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13544 Add debug call. Use buffer-substring-no-properties.
13545 (feedmail-say-debug, feedmail-say-chatter): New functions.
13546 (feedmail-find-eoh): Give an explicit error.
13548 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13550 * net/newst-treeview.el (newsticker-treeview-face): Change default
13551 family from helvetica to sans.
13552 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13553 etc/images/newsticker.
13555 * net/newst-reader.el (newsticker-feed-face): Change default
13556 family from helvetica to sans.
13558 * net/newst-plainview.el (newsticker-new-item-face)
13559 (newsticker-old-item-face, newsticker-immortal-item-face)
13560 (newsticker-obsolete-item-face, newsticker-date-face)
13561 (newsticker-statistics-face): Change default family from
13563 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13564 etc/images/newsticker.
13566 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13567 (newsticker--process-auto-mark-filter-match): Tell user about
13570 2011-05-13 Didier Verna <didier@xemacs.org>
13572 Common Lisp indentation improvements on defmethod and lambda-lists.
13573 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13575 (lisp-lambda-list-keyword-parameter-indentation)
13576 (lisp-lambda-list-keyword-parameter-alignment)
13577 (lisp-lambda-list-keyword-alignment): New customizable user options.
13578 (lisp-indent-defun-method): Improve docstring.
13579 (extended-loop-p): Fix comment.
13580 (lisp-indent-lambda-list-keywords-regexp): New variable.
13581 (lisp-indent-lambda-list): New function.
13582 (lisp-indent-259): Use it.
13583 (lisp-indent-defmethod): Support for more than one
13584 method qualifier and properly indent methods lambda-lists.
13585 (defgeneric): Provide a missing common-lisp-indent-function property.
13587 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13590 bounds for the empty string (bug#8667).
13592 2011-05-13 Glenn Morris <rgm@gnu.org>
13594 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13596 * mail/sendmail.el (sendmail-program): Try executable-find first.
13597 (sendmail-send-it): `sendmail-program' cannot be unbound.
13599 * calendar/appt.el (appt-make-list): Simplify.
13600 (appt-time-msg-list): Doc fix.
13601 (appt-check): Change mode-line message at the time of the appointment.
13603 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13605 * progmodes/ld-script.el (ld-script-keywords)
13606 (ld-script-builtins): Update keywords list.
13608 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13610 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13612 * shell.el (shell-completion-vars): New function.
13614 * simple.el (read-shell-command): Use it.
13615 (blink-matching-open): No need for " [...]" in minibuffer-message.
13617 2011-05-12 Glenn Morris <rgm@gnu.org>
13619 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13620 (appt-check): Simplify.
13622 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13624 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13625 literal "/dev/null".
13627 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13632 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13634 * progmodes/which-func.el (which-function):
13635 Use add-log-current-defun instead of add-log-current-defun-function,
13636 which might not be defined (Bug#8260).
13638 2011-05-12 Glenn Morris <rgm@gnu.org>
13640 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13641 Let byte-compile-initial-macro-environment always take precedence.
13643 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13645 * net/rcirc.el: Add support for SSL/TLS connections.
13646 (rcirc-server-alist): New field `encryption'.
13647 (rcirc): Check `encryption' settings.
13648 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13649 Merge make-local-variable into `set'.
13650 (rcirc--connection-open-p): New function.
13651 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13652 the process is not a network process (e.g. running gnutls-cli).
13653 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13654 Make rcirc-(en|de)code-coding-system local here.
13655 (rcirc-mode): Merge make-local-variable into `set'.
13656 (rcirc-parent-buffer): Make permanent buffer-local.
13657 (rcirc-multiline-minor-mode): Don't do it here.
13658 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13659 there's no server buffer.
13661 2011-05-11 Glenn Morris <rgm@gnu.org>
13663 * newcomment.el (comment-kill): Prefix "unused" local.
13665 * term/w32console.el (get-screen-color): Declare.
13667 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13668 Handle symbol elements of byte-compile-initial-macro-environment.
13670 2011-05-10 Leo Liu <sdl.web@gmail.com>
13672 * bookmark.el (bookmark-bmenu-mode-map):
13673 Bind bookmark-bmenu-search to `/'.
13675 * mail/footnote.el: Convert to utf-8 encoding.
13676 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13677 (Footnote-unicode): New function.
13678 (footnote-style-alist): Add unicode style to the list.
13679 (footnote-style): Doc fix.
13681 2011-05-10 Jim Meyering <meyering@redhat.com>
13683 Fix doubled-word typos.
13684 * international/quail.el (quail-insert-kbd-layout): and and -> and
13685 * kermit.el: and and -> and
13686 * net/ldap.el (ldap-search-internal): to to -> to
13687 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13688 * progmodes/js.el (js-mode): and and -> and
13689 * textmodes/artist.el (artist-move-to-xy): at at -> at
13690 (artist-draw-region-trim-line-endings): if if -> if
13691 And Safetyc -> Safety.
13692 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13694 2011-05-10 Glenn Morris <rgm@gnu.org>
13695 Stefan Monnier <monnier@iro.umontreal.ca>
13697 * files.el (hack-one-local-variable-eval-safep):
13698 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13700 2011-05-10 Glenn Morris <rgm@gnu.org>
13702 * calendar/diary-lib.el (diary-list-entries-hook)
13703 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13704 (diary-nongregorian-marking-hook, diary-list-entries)
13705 (diary-include-other-diary-files, diary-mark-entries)
13706 (diary-mark-included-diary-files): Doc fixes.
13708 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13710 * misc.el: Require tabulated-list.el during compilation.
13712 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13714 * progmodes/compile.el (compilation-start):
13715 Run compilation-filter-hook for the async case too.
13716 (compilation-filter-hook): Doc fix.
13718 2011-05-09 Deniz Dogan <deniz@dogan.se>
13720 * wdired.el: Remove outdated installation comment. Fix usage
13723 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13725 * misc.el: Implement new command `list-dynamic-libraries'.
13726 (list-dynamic-libraries--loaded-only-p): New variable.
13727 (list-dynamic-libraries--refresh): New function.
13728 (list-dynamic-libraries): New command.
13730 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13732 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13733 Fix the ant regexp to handle end-line and end-column info from jikes.
13734 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13735 higher priority to avoid clobbering by gnu.
13737 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13739 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13740 if the face has existing theme settings (Bug#8454).
13742 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13744 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13745 Only match variables declared via `my' or `our' (Bug#8261).
13747 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13748 special file names `.' and `..' (Bug#8259).
13750 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13752 * progmodes/grep.el (grep-mode-font-lock-keywords):
13753 Remove buffer-changing entries.
13754 (grep-filter): New function.
13755 (grep-mode): Add it to compilation-filter-hook.
13757 * progmodes/compile.el (compilation-filter-hook)
13758 (compilation-filter-start): New defvars.
13759 (compilation-filter): Call compilation-filter-hook prior to
13760 updating the process mark.
13762 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13764 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13766 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13768 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13769 mailclient-send-it even if window-system is nil. (Bug#8595)
13771 * term/w32console.el (terminal-init-w32console):
13772 Call get-screen-color and use its output to set the frame
13773 background-mode. (Bug#8597)
13775 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13777 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13778 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13780 (defgeneric, eieio--defmethod): Use them.
13781 (eieio-defgeneric): Remove.
13782 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13784 2011-05-07 Glenn Morris <rgm@gnu.org>
13786 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13787 Use let rather than let*.
13788 (timeclock-find-discrep): Remove unused local.
13790 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13792 * calendar/appt.el (appt-time-msg-list): Doc fix.
13794 2011-05-06 Noah Friedman <friedman@splode.com>
13796 * apropos.el (apropos-print-doc): Only use
13797 emacs-lisp-docstring-fill-column when it is bound to an integer,
13798 per that variable's documentation.
13800 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13802 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13803 and warnings are not silently discarded (e.g. use -d instead of -P).
13805 2011-05-06 Glenn Morris <rgm@gnu.org>
13807 * calendar/appt.el (appt-message-warning-time): Doc fix.
13808 (appt-warning-time-regexp): New option.
13809 (appt-make-list): Respect appt-message-warning-time.
13811 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13813 (diary-add-to-list): Strip comments from the displayed string.
13814 (diary-mode): Set comment-start and comment-end.
13816 * vc/diff-mode.el (smerge-refine-subst): Declare.
13817 (diff-refine-hunk): Don't require smerge-mode when compiling.
13819 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13821 * simple.el (list-processes): Return nil as the docstring says.
13823 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13825 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13827 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13828 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13829 determining of binary transfer. (Bug#7383)
13831 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13833 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13834 Fix port computation bug. (Bug#8618)
13836 2011-05-05 Glenn Morris <rgm@gnu.org>
13838 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13840 * simple.el (shell-dynamic-complete-functions)
13841 (comint-dynamic-complete-functions): Declare.
13843 * net/network-stream.el (gnutls-negotiate):
13844 * simple.el (tabulated-list-print): Fix declarations.
13846 * progmodes/gud.el (syntax-symbol, syntax-point):
13847 Remove unnecessary and incorrect declarations.
13849 * emacs-lisp/check-declare.el (check-declare-scan):
13850 Handle byte-compile-initial-macro-environment in bytecomp.el
13852 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13854 Fix earlier half-done eieio-defmethod change (bug#8338).
13855 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13856 Streamline and change calling convention.
13857 (defmethod): Adjust accordingly and simplify.
13858 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13859 new eieio--defmethod.
13860 (slot-boundp): Minor CSE simplification.
13862 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13864 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13865 (glasses-make-readable): Use glasses-separate-capital-groups.
13867 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13869 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13870 (warning-series): Doc fix.
13871 (display-warning): Don't try to create the buffer if we just found it.
13873 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13875 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13876 (autoload-find-generated-file): New function.
13877 (generate-file-autoloads): Bind generated-autoload-file to
13879 (update-file-autoloads, update-directory-autoloads):
13880 Use autoload-find-generated-file. If called interactively, prompt for
13881 output file (Bug#7989).
13882 (batch-update-autoloads): Doc fix.
13884 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13886 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13888 2011-05-04 Glenn Morris <rgm@gnu.org>
13890 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13891 function, so it follows changes in calendar-date-style.
13892 (diary-fancy-date-matcher): New function.
13893 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13894 (diary-fancy-font-lock-fontify-region-function):
13895 Use diary-fancy-date-pattern as a function.
13897 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13898 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13900 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13902 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13903 instead of positional arguments. Allow :keylist and :crlfiles
13905 (open-gnutls-stream): Call it.
13907 * net/network-stream.el (network-stream-open-starttls): Adjust to
13908 call `gnutls-negotiate' with :process and :hostname arguments.
13910 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13912 * minibuffer.el (completion--message): New function.
13913 (completion--do-completion, minibuffer-complete)
13914 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13915 (completion--do-completion): Don't ignore completion-auto-help when in
13918 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13919 internal encoding (e.g. tibetan zero is not whitespace).
13920 (global-whitespace-mode): Prefer save-current-buffer.
13921 (whitespace-trailing-regexp): Remove useless save-match-data.
13922 (whitespace-empty-at-bob-regexp): Minor simplification.
13924 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13926 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13928 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
13930 * textmodes/ispell.el (ispell-add-per-file-word-list):
13931 Use `concat' to create string for insertion.
13933 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13935 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13936 Avoid open-line which runs post-self-insert-hook.
13937 (bibtex-fill-entry): Remove unused `end' var.
13939 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13941 * textmodes/ispell.el (ispell-add-per-file-word-list):
13942 Protect against `nil' value of `comment-start' (Bug#8579).
13944 2011-05-03 Leo Liu <sdl.web@gmail.com>
13946 * isearch.el (isearch-yank-pop): New command.
13947 (isearch-mode-map): Bind it to `M-y'.
13948 (isearch-forward): Mention it.
13950 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13952 * simple.el (minibuffer-complete-shell-command): Remove.
13953 (minibuffer-local-shell-command-map): Use completion-at-point.
13954 (read-shell-command): Setup completion vars here instead.
13955 (read-expression-map): Bind TAB to symbol completion.
13957 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13958 error directly rather via storing it into `results'.
13960 2011-05-02 Leo Liu <sdl.web@gmail.com>
13962 * vc/diff.el: Fix description.
13964 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13966 * server.el (server-eval-at): New function.
13968 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13970 * net/network-stream.el (open-network-stream): Take a :nowait
13971 parameter and pass it on to `make-network-process'.
13972 (network-stream-open-plain): Ditto.
13974 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13976 * faces.el (face-spec-set-match-display): Don't match toolkit
13977 options on terminal frames.
13979 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13981 * progmodes/pascal.el: Use lexical binding.
13982 (pascal-mode-map): Remove author preferences.
13984 * pcomplete.el (pcomplete-std-complete): Don't abuse
13985 completion-at-point.
13987 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13989 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13990 removing code that has been dead since 1991 or so.
13992 * startup.el (command-line): When warning about "_emacs", use a
13993 delayed warning to allow the user to filter it out.
13995 2011-04-28 Deniz Dogan <deniz@dogan.se>
13997 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13998 user has not joined.
14000 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14002 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14003 aren't any completions at point.
14005 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14007 * subr.el (display-delayed-warnings): New function.
14008 (delayed-warnings-hook): New variable.
14010 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14012 * minibuffer.el (completion-at-point, completion-help-at-point):
14013 Don't presume that a given completion-at-point-function will always
14014 use the same calling convention.
14016 * pcomplete.el (pcomplete-completions-at-point):
14017 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14018 pcomplete-seen is non-nil.
14019 (pcomplete-comint-setup): Also recognize the new comint/shell
14020 completion functions.
14021 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14022 pcomplete-seen is non-nil.
14024 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14026 * calendar/icalendar.el (diary-lib): Add require statement.
14027 (icalendar--create-uid): Read out a uid from a text-property on
14028 the first character in the entry. This allows for code to add its
14029 own uid to the entry.
14030 (icalendar--convert-float-to-ical): Add export of
14031 `diary-float'-entries save for those with the optional DAY
14034 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14036 * subr.el (shell-quote-argument): Use alternate escaping strategy
14037 when we spot a variable reference in a string.
14039 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14041 * cus-start.el (all): Define customization for debug-on-event.
14043 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14045 * subr.el (shell-quote-argument): Escape correctly under Windows.
14047 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14049 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14051 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14053 * net/tramp.el (tramp-process-actions): Add POS argument.
14054 Delete region between POS and (pos).
14056 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14057 Use `nil' position in `tramp-process-actions' call.
14058 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14060 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14061 position in `tramp-process-actions' call.
14063 * net/trampver.el: Update release number.
14065 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14067 * custom.el (defcustom): Obey lexical-binding.
14069 Fix octave-inf completion problems reported by Alexander Klimov.
14070 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14071 Inherit from octave-mode-syntax-table.
14072 (inferior-octave-mode): Set info-lookup-mode.
14073 (inferior-octave-completion-at-point): New function.
14074 (inferior-octave-complete): Use it and completion-in-region.
14075 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14076 comint-filename-completion.
14077 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14078 symbol elements which shouldn't be word elements.
14079 (octave-font-lock-keywords, octave-beginning-of-defun)
14080 (octave-function-header-regexp): Adjust regexps accordingly.
14081 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14083 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14085 * net/gnutls.el (gnutls-errorp): Declare before first use.
14087 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14089 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14090 verify-error, and verify-hostname-error parameters. Check whether
14091 default trustfile exists before going to use it. Add missing
14092 argument to gnutls-message-maybe call. Return value.
14093 Reported by Claudio Bley <claudio.bley@gmail.com>.
14094 (open-gnutls-stream): Add usage example.
14096 * net/network-stream.el (network-stream-open-starttls): Give host
14097 parameter to `gnutls-negotiate'.
14098 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14099 * subr.el (shell-quote-argument): Escape correctly under Windows.
14101 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14103 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14104 Use correct match group (bug#8438).
14106 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14108 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14109 (package-menu--generate): New arg specifying packages to show.
14110 (package-menu-refresh, package-menu-execute, list-packages):
14112 (package-show-package-list): New function, replacing deleted
14113 package--list-packages (renamed because it is non-internal).
14115 * finder.el (finder-list-matches): Use package-show-package-list
14116 instead of deleted package--list-packages.
14118 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14119 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14120 (vc-annotate-mode-map): Bind it to RET.
14122 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14124 * progmodes/etags.el (next-file): Don't use set-buffer to change
14125 buffers (Bug#8478).
14127 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14129 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14131 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14132 (apropos-accumulator): Doc fix.
14133 (apropos-function, apropos-macro, apropos-command)
14134 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14135 (apropos-plist): Add face property.
14136 (apropos-symbols-internal): Fix indentation.
14137 (apropos-print): Simplify help, and recognize apropos-multi-type.
14138 (apropos-print-doc): Use button-type-get to extract the button's
14139 face property. Fill docstring (Bug#8352).
14141 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14143 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14145 * play/mpuz.el (mpuz-silent): Doc fix.
14146 (mpuz-mode-map): Use mapc.
14147 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14148 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14149 Fix typos in docstrings.
14151 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14152 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14154 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14156 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14158 * minibuffer.el (completion--do-completion): Avoid the "Next char
14159 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14161 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14162 mouse-2 into unread-command-events, it is interpreted correctly.
14164 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14165 (image-toggle-display): Doc fix.
14167 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14169 * textmodes/page.el (what-page): Use line-number-at-pos to
14170 calculate line number (Bug#6825).
14172 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14174 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14175 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14176 Pass argument NO-DEFAULT to `find-tag-interactive'.
14178 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14180 Lexical-binding cleanup.
14182 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14183 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14184 * progmodes/ada-prj.el (ada-prj-initialize-values)
14185 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14186 (ada-prj-show-value):
14187 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14188 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14189 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14190 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14191 * progmodes/bug-reference.el (bug-reference-push-button):
14192 * progmodes/fortran.el (fortran-line-length):
14193 * progmodes/glasses.el (glasses-change):
14194 * progmodes/octave-mod.el (octave-fill-paragraph):
14195 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14196 (python-pdbtrack-grub-for-buffer, python-sentinel):
14197 * progmodes/sql.el (sql-save-connection):
14198 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14199 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14200 Mark unused parameters.
14202 * progmodes/compile.el (compilation--flush-directory-cache)
14203 (compilation--flush-parse, compile-internal): Mark unused parameters.
14204 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14205 (compilation-next-error-function): Remove unused variable `timestamp'.
14207 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14208 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14210 * progmodes/dcl-mode.el (dcl-end-of-command):
14211 Remove unused variable `start'.
14212 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14213 (dcl-option-value-basic, dcl-option-value-offset)
14214 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14215 Mark unused parameters.
14216 (dcl-save-local-variable): Remove unused variable `val'.
14219 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14220 Mark unused parameters.
14221 (delphi-ignore-changes): Move before first use.
14222 (delphi-charset-token-at): Remove unused variable `start'.
14223 (delphi-else-start): Remove unused variable `if-count'.
14224 (delphi-comment-block-start, delphi-comment-block-end):
14225 Remove unused variable `kind'.
14226 (delphi-indent-line): Remove unused variable `new-point'.
14228 * progmodes/ebrowse.el (ebrowse-files-list)
14229 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14230 Mark unused parameters. Don't quote `lambda'.
14231 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14232 Don't quote `lambda'.
14233 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14234 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14235 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14236 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14237 Use `ignore-errors'.
14238 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14239 (ebrowse-view/find-file-and-search-pattern)
14240 (ebrowse-view/find-member-declaration/definition):
14241 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14242 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14243 Rename parameter PREFIX-ARG to PREFIX.
14244 (ebrowse-tags-read-name): Remove unused variables `start' and
14246 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14249 * progmodes/etags.el (local-find-tag-hook): Declare.
14250 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14251 Mark unused parameters.
14253 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14254 (executable-interpret): Mark unused parameter.
14256 * progmodes/flymake.el (flymake-process-sentinel)
14257 (flymake-after-change-function)
14258 (flymake-create-temp-with-folder-structure)
14259 (flymake-get-include-dirs-dot): Mark unused parameters.
14260 (flymake-safe-delete-directory): Remove unused variable `err'.
14262 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14263 (speedbar-timer-fn, speedbar-line-text)
14264 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14265 (speedbar-center-buffer-smartly): Declare functions.
14266 (gdb-find-watch-expression): Remove unused variable `array'.
14267 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14268 (gdb-starting): Mark unused parameters.
14269 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14270 (gdb-table-string): Remove unused variable `res'.
14271 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14272 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14273 (gdb-display-buffer): Remove unused variable `cur-size'.
14275 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14276 allow lexical-binding compilation.
14277 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14278 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14279 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14280 Mark unused parameters.
14281 (gud-gdb-marker-filter): Remove unused variable `match'.
14282 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14283 lambda expressions and funcall them, instead of using `fset'.
14285 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14286 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14288 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14289 variable `header-beg'; use `let'.
14291 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14292 `restart', `last-sexp' and `at-do'.
14294 * progmodes/js.el (js--debug): Mark unused parameter.
14295 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14296 (js--splice-into-items): Remove unused variable `item'.
14297 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14299 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14300 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14301 (makefile-complete): Remove unused variable `try'.
14302 (makefile-fill-paragraph, makefile-match-function-end):
14303 Mark unused parameters.
14305 * progmodes/octave-inf.el (inferior-octave-complete):
14306 Remove unused variable `proc'.
14307 (inferior-octave-output-digest): Mark unused parameter.
14309 * progmodes/perl-mode.el (perl-calculate-indent):
14310 Remove unused variable `err'.
14312 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14313 (prolog-indent-line): Mark unused parameters.
14314 (prolog-indent-line): Remove unused variable `beg'.
14316 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14317 (reporter-dont-compact-list): Declare.
14319 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14320 Remove unused variable `char'.
14321 (sh-debug): Mark unused parameter.
14322 (sh-get-indent-info): Remove unused variable `start'.
14323 (sh-calculate-indent): Remove unused variable `var'.
14325 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14326 (simula-electric-keyword): Remove unused variable `null'.
14327 (simula-search-backward, simula-search-forward): Remove unused
14328 variables `begin' and `end'.
14330 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14331 Remove unused variable `pos'.
14332 (vera-electric-tab, vera-comment-uncomment-region):
14333 Mark unused parameters.
14334 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14336 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14338 * emacs-lisp/package.el (package--builtins, package-alist)
14339 (package-load-descriptor, package-built-in-p, package-activate)
14340 (define-package, package-installed-p)
14341 (package-compute-transaction, package-buffer-info)
14342 (package--push): Doc fix. Distinguish more clearly between
14343 version strings and version lists.
14345 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14347 Lexical-binding cleanup.
14349 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14350 (5x5-make-mutate-best):
14351 * play/fortune.el (fortune-in-buffer):
14352 * play/gomoku.el (gomoku-init-display):
14353 * play/solitaire.el (solitaire, solitaire-do-check):
14354 * play/tetris.el (tetris-default-update-speed-function):
14355 Mark unused parameters.
14357 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14358 (bubbles--shift): Remove unused variable `char-org'.
14359 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14360 (bubbles--show-images): Remove unused variable `char'.
14362 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14363 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14364 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14365 (decipher-analyze-buffer): Use ?\s.
14366 (decipher-make-checkpoint): Remove unused variable `mapping'.
14368 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14370 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14371 Remove unused variable `result'; use `let'.
14373 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14374 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14375 (gametree-children-shown-p, gametree-compute-reduced-score):
14376 Use `ignore-errors'.
14378 * play/handwrite.el (ps-lpr-switches): Declare.
14379 (handwrite): Remove unused variables `pmin' and `lastp'.
14381 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14383 * play/landmark.el (landmark-init-display)
14384 (landmark-update-naught-weights): Mark unused parameters.
14385 (landmark-y): Remove unused variable `noise'. Simplify.
14386 (landmark-human-plays): Remove unused variable `score'.
14388 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14389 (mpuz-try-proposal): Remove unused variable `game'.
14391 * play/zone.el (life-patterns): Declare.
14393 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14395 * vc/vc.el (ediff-vc-internal): Declare function.
14397 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14399 * shell.el: Use lexical-binding and std completion UI.
14400 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14401 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14402 comint-preoutput-filter-functions rather than on
14403 comint-output-filter-functions.
14404 (shell-command-completion, shell--command-completion-data)
14405 (shell-filename-completion, shell-environment-variable-completion)
14406 (shell-c-a-p-replace-by-expanded-directory): New functions.
14407 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14408 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14409 (shell-dynamic-complete-environment-variable): Use them.
14410 (shell-dynamic-complete-as-environment-variable)
14411 (shell-dynamic-complete-as-command): Remove.
14412 (shell-match-partial-variable): Match past point.
14413 * comint.el: Clean up use of completion-at-point-functions.
14414 (comint-completion-at-point): New function.
14415 (comint-mode): Use it completion-at-point-functions.
14416 (comint-dynamic-complete): Make it obsolete.
14417 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14418 (comint-c-a-p-replace-by-expanded-history): New function.
14419 (comint-dynamic-complete-functions)
14420 (comint-replace-by-expanded-history): Use it.
14421 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14422 termination strings. Try harder to avoid second try-completion.
14423 (completion-in-region-mode-map): Disable bindings that don't work yet.
14425 * comint.el: Use lexical-binding. Require CL.
14426 (comint-dynamic-complete-functions): Use comint-filename-completion.
14427 (comint-completion-addsuffix): Tweak custom type.
14428 (comint-filename-completion, comint--common-suffix)
14429 (comint--common-quoted-suffix, comint--table-subvert)
14430 (comint--complete-file-name-data): New functions.
14431 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14432 (comint-dynamic-list-filename-completions): Use them.
14433 (comint-dynamic-simple-complete): Make obsolete.
14435 * minibuffer.el (completion-in-region-mode):
14436 Keep completion-in-region-mode--predicate global.
14437 (completion-in-region--postch):
14438 Assume completion-in-region-mode--predicate is not null.
14440 * progmodes/flymake.el (flymake-start-syntax-check-process):
14441 Obey `dir'. Simplify.
14443 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14444 we're in VC after all.
14446 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14448 * vc/vc.el (vc-diff-build-argument-list-internal)
14449 (vc-version-ediff, vc-ediff): New commands.
14450 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14452 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14457 * obsolete/erc-hecomplete.el: Make obsolete.
14458 * obsolete/: Standardize obsolescence info in the header.
14460 2011-04-20 Glenn Morris <rgm@gnu.org>
14462 * calendar/solar.el (solar-horizontal-coordinates):
14463 Use the longitude argument rather than `calendar-longitude'.
14464 (solar-date-next-longitude): Remove unused locals.
14466 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14468 * whitespace.el: New version 13.2.1.
14470 2011-04-20 felix <EmacsWiki> (tiny change)
14472 * whitespace.el (global-whitespace-mode): Keep highlight when
14473 switching between major modes on a file.
14475 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14477 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14478 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14479 multi-line comments as well.
14481 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14483 Lexical-binding cleanup.
14485 * arc-mode.el (archive-mode-revert):
14486 * cmuscheme.el (scheme-interactively-start-process):
14487 * custom.el (custom-initialize-delay):
14488 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14489 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14490 * emacs-lock.el (emacs-lock-clear-sentinel):
14491 * ezimage.el (defezimage):
14492 * follow.el (follow-avoid-tail-recenter):
14493 * fringe.el (set-fringe-mode-1):
14494 * generic-x.el (bat-generic-mode-compile):
14495 * help-mode.el (help-info-variable, help-do-xref)
14496 (help-mode-revert-buffer):
14497 * help.el (view-emacs-todo):
14498 * iswitchb.el (iswitchb-completion-help):
14499 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14500 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14501 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14502 * locate.el (locate-update):
14503 * longlines.el (longlines-encode-region)
14504 (longlines-after-change-function):
14505 * outline.el (outline-isearch-open-invisible):
14506 * ps-def.el (declare-function, charset-dimension, char-width)
14508 * ps-mule.el (ps-mule-plot-string):
14509 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14510 (recentf-edit-list-select, recentf-edit-list-validate)
14511 (recentf-open-files-action):
14512 * rect.el (delete-whitespace-rectangle-line)
14513 (rectangle-number-line-callback):
14514 * register.el (window-configuration-to-register)
14515 (frame-configuration-to-register):
14516 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14517 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14518 (xselect-convert-to-targets, xselect-convert-to-delete)
14519 (xselect-convert-to-filename, xselect-convert-to-charpos)
14520 (xselect-convert-to-lineno, xselect-convert-to-colno)
14521 (xselect-convert-to-os, xselect-convert-to-host)
14522 (xselect-convert-to-user, xselect-convert-to-class)
14523 (xselect-convert-to-name, xselect-convert-to-integer)
14524 (xselect-convert-to-atom, xselect-convert-to-identity):
14525 * subr.el (declare, ignore, process-kill-without-query)
14526 (text-clone-maintain):
14527 * terminal.el (te-get-char, te-tic-sentinel):
14528 * tool-bar.el (tool-bar-make-keymap):
14529 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14530 * type-break.el (type-break-mode, type-break-noninteractive-query):
14531 * view.el (View-back-to-mark):
14532 * wid-browse.el (widget-browse-action, widget-browse-widget)
14533 (widget-browse-widgets, widget-browse-sexp):
14534 * widget.el (define-widget-keywords):
14535 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14536 Mark unused parameters.
14538 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14539 (align-areas): Remove unused variable `look'.
14540 (align-region): Remove unused variables `real-end' and `pos-list'.
14542 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14544 * bindings.el (mode-line-modified, mode-line-remote):
14545 Mark unused parameters.
14546 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14548 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14549 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14551 * comint.el (comint-history-isearch-pop-state)
14552 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14553 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14554 (comint-substitute-in-file-name): Doc fix.
14556 * completion.el (cmpl-statistics-block): Mark unused parameter.
14557 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14558 (save-completions-to-file, load-completions-from-file):
14559 Remove unused local variable `e'.
14561 * composite.el (compose-chars): Remove unused variable `len'.
14562 (lgstring-insert-glyph): Remove unused variable `g'.
14563 (compose-glyph-string): Remove unused variables `ascent',
14564 `descent', `lbearing' and `rbearing'.
14565 (compose-glyph-string-relative): Remove unused variables
14566 `lbearing', `rbearing' and `wadjust'.
14567 (compose-gstring-for-graphic): Remove unused variables `header',
14568 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14569 (compose-gstring-for-terminal): Remove unused variables `header'
14570 and `nchars'. Use `let', not `let*'.
14572 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14573 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14574 (Custom-buffer-done, custom-buffer-create-internal)
14575 (custom-browse-visibility-action, custom-browse-group-tag-action)
14576 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14577 (widget-magic-mouse-down-action, custom-toggle-parent)
14578 (custom-add-parent-links, custom-toggle-hide-variable)
14579 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14580 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14581 (custom-face-menu-create, custom-variable-menu-create, get)
14582 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14583 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14584 (customize-apropos): Remove unused variable `tests'.
14585 (custom-group-value-create): Remove unused variable `hidden-p'.
14586 (sort-fold-case): Declare.
14588 * cus-theme.el (custom-reset-standard-faces-list)
14589 (custom-reset-standard-variables-list): Declare.
14590 (customize-create-theme, custom-theme-revert, custom-theme-write)
14591 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14592 Mark unused parameters.
14594 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14596 * delim-col.el (delimit-columns-max): Move defvar before first use.
14598 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14599 (describe-char): Don't quote `lambda'. Mark unused parameter.
14601 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14602 (auto-insert): Declare.
14603 (desktop-restore-file-buffer): Rename desktop-* parameters;
14605 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14606 (desktop-buffer): Rename desktop-* parameters.
14608 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14609 (dframe-reposition-frame-xemacs, dframe-help-echo)
14610 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14611 Mark unused parameters.
14613 * dired-aux.el (backup-extract-version-start, overwrite-query)
14614 (overwrite-backup-query, rename-regexp-query)
14615 (rename-non-directory-query): Declare.
14616 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14617 (dired-add-entry): Remove unused variable `orig-file-name'.
14618 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14619 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14620 `dired-copy-preserve-time' directly.
14621 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14622 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14624 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14625 (dired-virtual-revert, dired-make-relative-symlink):
14626 Mark unused parameters.
14627 (manual-program): Declare.
14628 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14629 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14630 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14632 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14634 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14636 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14639 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14641 * electric.el (Electric-command-loop): Rename parameter
14642 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14644 * expand.el (expand-in-literal): Remove unused variable `here'.
14646 * facemenu.el (facemenu-add-new-color):
14647 Remove unused variable `docstring'.
14649 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14650 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14651 (face-attr-construct): Mark unused parameter. Doc fix.
14652 (read-color): Remove unused variable `hex-string'.
14654 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14655 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14656 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14657 (display-buffer-other-frame): Remove unused variable `old-window'.
14658 (kill-buffer-hook): Declare.
14659 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14660 Mark unused parameters.
14661 (after-find-file): Pass 1 to `auto-save-mode', not t.
14663 * files-x.el (auto-insert): Declare.
14664 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14666 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14667 variable `buf'. Mark unused parameter.
14668 (find-lisp-insert-directory): Mark unused parameter.
14670 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14671 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14672 (format-common-tail): Remove, unused.
14673 (format-deannotate-region): Remove unused variable `loc'.
14674 (format-annotate-region): Remove unused variable `p'.
14675 (format-annotate-single-property-change): Remove unused variables
14676 `default' and `tail'.
14678 * forms.el (read-file-filter): Declare.
14679 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14681 * frame.el (frame-creation-function-alist): Mark unused parameter.
14682 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14684 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14685 Remove unused parameters.
14686 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14687 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14689 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14690 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14691 (hfy-prepare-tag-map): Mark unused parameters.
14692 (htmlfontify-buffer): Use `called-interactively-p'.
14694 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14695 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14696 (ibuffer-do-occur): Mark unused parameters.
14697 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14698 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14700 * ibuffer.el: Don't quote `lambda'.
14701 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14702 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14703 Mark unused parameters.
14705 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14706 (ido-completing-read): Mark unused parameters.
14707 (ido-copy-current-word): Mark unused parameters;
14708 remove unused variable `name'.
14709 (ido-sort-merged-list): Remove unused parameter `dirs'.
14711 * ielm.el (ielm-input-sender): Mark unused parameter.
14712 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14713 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14714 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14715 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14716 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14718 * image-dired.el (image-dired-display-thumbs): Remove unused
14719 variables `curr-file' and `count'.
14720 (image-dired-remove-tag): Remove unused variable `start'.
14721 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14722 variable `curr-file'
14723 (image-dired-rotate-original): Remove unused variable `temp-file'.
14724 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14725 Remove unused variable `file'.
14726 (image-dired-gallery-generate): Remove unused variable `curr'.
14727 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14729 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14731 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14733 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14735 * isearch.el (minibuffer-history-symbol): Declare.
14736 (isearch-edit-string): Remove unused variable `err'.
14737 (isearch-message-prefix, isearch-message-suffix):
14738 Mark unused parameters.
14740 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14742 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14744 * makesum.el (double-column): Remove unused variable `cnt'.
14746 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14747 (ido-ignore-item-temp-list): Declare.
14749 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14750 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14751 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14752 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14755 * mouse-sel.el (mouse-extend-internal):
14756 Remove unused variable `orig-window-frame'.
14758 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14759 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14760 Move declarations before first use.
14761 (pcomplete-opt): Mark unused parameters; doc fix.
14763 * proced.el (proced-revert): Mark unused parameter.
14764 (proced-send-signal): Remove unused variable `err'.
14766 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14767 Rename parameter PREFIX-ARG to ARG.
14768 (ps-basic-plot-string, ps-basic-plot-whitespace):
14769 Mark unused parameters.
14771 * replace.el (replace-count): Define.
14772 (occur-revert-function): Mark unused parameters.
14773 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14774 (isearch-case-fold-search, isearch-string): Declare.
14775 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14776 bind `case-fold-search'. Remove unused variables `beg' and `end',
14778 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14779 COUNT and bind `replace-count'.
14780 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14783 * savehist.el (print-readably, print-string-length): Declare.
14785 * shadowfile.el (shadow-expand-cluster-in-file-name):
14786 Remove unused variable `cluster'.
14787 (shadow-copy-file): Remove unused variable `i'.
14788 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14789 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14790 (shadow-define-literal-group, shadow-define-regexp-group)
14791 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14793 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14794 (shell): Use `called-interactively-p'.
14795 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14797 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14798 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14799 (delete-backward-char): Remove unused variable `ocol'.
14800 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14801 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14802 (event-apply-hyper-modifier, event-apply-shift-modifier)
14803 (event-apply-control-modifier, event-apply-meta-modifier):
14804 Mark unused parameters.
14805 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14806 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14808 * speedbar.el (speedbar-ignored-directory-expressions)
14809 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14810 (speedbar-find-file, speedbar-dir-follow)
14811 (speedbar-directory-buttons-follow, speedbar-tag-find)
14812 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14813 (speedbar-buffers-line-directory, speedbar-buffer-click):
14814 Mark unused parameters.
14815 (speedbar-tag-file): Remove unused variable `mode'.
14816 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14818 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14820 * talk.el (talk): Remove unused variable `display'.
14822 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14823 (tar-write-region-annotate): Mark unused parameter.
14825 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14826 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14827 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14828 warning by another.
14830 * time-stamp.el (time-stamp-string-preprocess):
14831 Remove unused variable `require-padding'.
14833 * tree-widget.el (widget-glyph-enable): Declare.
14834 (tree-widget-action): Mark unused parameter.
14836 * w32-fns.el (x-get-selection): Mark unused parameter.
14837 (autoload-make-program, generated-autoload-file): Declare.
14839 * wdired.el (wdired-revert): Mark unused parameters.
14840 (wdired-xcase-word): Remove unused variable `err'.
14842 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14843 (whitespace-help-scroll): Remove unused variable `data-help'.
14845 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14846 (widget-image-insert, widget-after-change, default)
14847 (widget-default-format-handler, widget-default-notify)
14848 (widget-default-prompt-value, widget-info-link-action)
14849 (widget-url-link-action, widget-function-link-action)
14850 (widget-variable-link-action, widget-file-link-action)
14851 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14852 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14853 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14854 (widget-insert-button-action, widget-delete-button-action, visibility)
14855 (widget-documentation-link-action, widget-documentation-string-action)
14856 (widget-const-prompt-value, widget-regexp-match, symbol)
14857 (widget-coding-system-prompt-value)
14858 (widget-key-sequence-value-to-external, sexp)
14859 (widget-sexp-value-to-internal, character, vector, cons)
14860 (widget-choice-prompt-value, widget-boolean-prompt-value)
14861 (widget-color--choose-action): Mark unused parameters.
14862 (widget-item-match-inline, widget-choice-match-inline)
14863 (widget-checklist-match, widget-checklist-match-inline)
14864 (widget-group-match): Rename parameter VALUES to VALS.
14865 (widget-field-value-set): Remove unused variable `size'.
14866 (widget-color-action): Remove unused variables `value' and `start'.
14868 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14869 variable `dir'. Doc fix.
14870 (windmove-find-other-window): Don't pass it.
14872 * window.el (count-windows): Mark unused parameter.
14873 (bw-adjust-window): Remove unused variable `err'.
14875 * woman.el (woman-file-name): Remove unused variable `default'.
14876 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14877 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14878 (global-font-lock-mode): Declare.
14879 (woman-decode-region): Mark unused parameter.
14880 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14882 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14883 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14884 (x-dnd-handle-moz-url): Remove unused variable `title'.
14885 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14887 * xml.el (xml-parse-tag, xml-parse-attlist):
14888 Remove unused variable `pos'.
14890 2011-04-19 Glenn Morris <rgm@gnu.org>
14892 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14893 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14894 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14895 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14896 * calendar/cal-html.el (cal-html-insert-minical):
14897 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14898 (calendar-mark-date-pattern):
14899 Prefix "unused" locals.
14901 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14902 optional argument `style'.
14904 * calendar/appt.el (appt-make-list):
14905 * calendar/cal-china.el (calendar-chinese-date-string):
14906 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14907 (diary-hebrew-yahrzeit):
14908 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14909 * calendar/calendar.el (calendar-generate-window):
14910 * calendar/time-date.el (time-to-days):
14911 Remove unused local variables.
14913 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14915 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14916 glyphless-char-display table.
14917 (tabulated-list-glyphless-char-display): New var.
14919 2011-04-18 Sam Steingold <sds@gnu.org>
14921 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14922 to acknowledgments.
14924 2011-04-17 Glenn Morris <rgm@gnu.org>
14926 * calendar/diary-lib.el (diary-sexp-entry):
14927 * calendar/holidays.el (holiday-sexp):
14928 Set debug-on-error rather than the removed stack-trace-on-error.
14930 2011-04-16 Glenn Morris <rgm@gnu.org>
14932 * progmodes/f90.el: Use lexical-binding.
14933 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14935 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14937 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14938 (mail-mode): Setup mailalias completion here instead.
14939 * mail/mailalias.el: Use lexical-binding.
14940 (pattern, mailalias-done): Declare dynamic.
14941 (mail-completion-at-point-function): New function, from mail-complete.
14942 (mail-complete): Use it.
14943 (mail-completion-expand): New function.
14944 (mail-get-names): Use it.
14945 (mail-directory, mail-directory-process, mail-directory-stream):
14946 Don't use `pattern' for lexically bound arg.
14948 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14950 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14951 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14952 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14954 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14955 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14956 (byte-interactive-p): Define them again, for use when inlining
14959 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14961 * loadup.el: Use `string-to-number', not `string-to-int'.
14963 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14965 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14966 gud-gdb-complete-command.
14967 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14968 (gud-gdb-completion-at-point): New function.
14969 (gud-gdb-completions): Remove.
14971 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14973 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14974 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14975 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14976 whether `executable-find' is bound.
14978 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14980 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14982 * minibuffer.el (completion-in-region-mode-predicate)
14983 (completion-in-region-mode--predicate): New vars.
14984 (completion-in-region, completion-in-region--postch)
14985 (completion-in-region-mode): Use them.
14986 (completion--capf-wrapper): Also return the hook function.
14987 (completion-at-point, completion-help-at-point):
14988 Adjust and provide a predicate.
14990 Preserve arg names for advice of subr and lexical functions (bug#8457).
14991 * help-fns.el (help-function-arglist): Consolidate the subr and
14992 new-byte-code cases. Add argument `preserve-names' to extract names
14993 from the docstring when needed.
14994 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14995 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14996 (ad-arglist): Use help-function-arglist's new arg.
14997 (ad-definition-type): Use cond.
14999 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15001 * autorevert.el (auto-revert-handler):
15002 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15003 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15004 Don't quote lambda.
15006 * image-mode.el (image-transform-set-scale):
15007 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15009 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15011 * net/network-stream.el (network-stream-open-starttls): Only do
15012 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15013 Upgrades via gnutls-cli are too slow to be done opportunistically.
15015 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15017 * dframe.el (dframe-current-frame): Remove spurious quote.
15019 2011-04-12 Glenn Morris <rgm@gnu.org>
15021 * calendar/cal-tex.el (cal-tex-end-document):
15022 Try to automatically use latin1 input if needed.
15024 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15025 Don't try to cons a mark onto an empty element.
15027 2011-04-11 Leo Liu <sdl.web@gmail.com>
15029 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15031 (ido-kill-buffer-at-head): Support killing virtual buffers.
15033 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15035 * minibuffer.el (completion-show-inline-help): New var.
15036 (completion--do-completion, minibuffer-complete)
15037 (minibuffer-force-complete, minibuffer-complete-word):
15038 Inhibit minibuffer messages if completion-show-inline-help is nil.
15040 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15041 to avoid interference from inline help (Bug#5849).
15043 2011-04-10 Leo Liu <sdl.web@gmail.com>
15045 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15048 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15050 * image-mode.el (image-toggle-display-image): Signal an error if
15052 (image-transform-mode, image-transform-resize)
15053 (image-transform-set-rotation): Doc fix.
15054 (image-transform-set-resize): Delete.
15055 (image-transform-set-scale, image-transform-fit-to-height)
15056 (image-transform-fit-to-width): Handle image-toggle-display-image
15057 and image-transform-resize directly.
15059 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15061 * doc-view.el (doc-view-fit-width-to-window)
15062 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15063 New functions for fitting the shown image to the Emacs window size.
15064 (doc-view-mode-map): Add bindings for the new functions.
15066 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15068 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15069 Fix typo in docstring.
15071 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15073 * files.el (file-size-human-readable): Produce one digit after
15074 decimal, like "ls -lh" does.
15076 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15077 the file size representation.
15079 * simple.el (list-processes): If async subprocesses are not
15080 available, error out with a clear error message.
15082 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15084 * help.el (help-form-show): New function, to be called from C.
15085 Put help-form output in a buffer named differently than *Help*.
15087 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15089 * files.el (file-size-human-readable): New function.
15091 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15092 computing the representation inline. Don't require `cl'.
15094 2011-04-08 Glenn Morris <rgm@gnu.org>
15096 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15098 * net/browse-url.el (browse-url-firefox):
15099 Test system-type, not system-configuration.
15101 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15102 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15103 Use log-edit-empty-buffer-p. (Bug#7598)
15105 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15106 (rlogin-mode-map): Initialize in the defvar.
15107 (rlogin): Use ignore-errors.
15109 * replace.el (occur-mode-map): Some fixes for menu items.
15111 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15113 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15115 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15117 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15118 issuing unused warnings.
15120 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15123 * simple.el: Lisp reimplement of list-processes. Based on an
15124 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15125 (process-menu-mode): New major mode.
15126 (list-processes--refresh, list-processes):
15127 (process-menu-visit-buffer): New functions.
15129 * files.el (save-buffers-kill-emacs): Don't assume any return
15130 value of list-processes, which is undocumented anyway.
15132 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15134 * emacs-lisp/tabulated-list.el: New file.
15136 * emacs-lisp/package.el: Use Tabulated List mode.
15137 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15138 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15139 table format using Tabulated List mode variables.
15140 (package--push): New macro, replacing package-list-maybe-add.
15141 (package-menu--generate): Use package--push. Renamed from
15142 package--generate-package-list.
15143 (package-menu-refresh, list-packages): Use it.
15144 (package-menu--print-info): Rename from package-print-package.
15145 Return insertion data instead of inserting it directly.
15146 (package-menu-describe-package, package-menu-execute):
15147 Use tabulated-list-get-id.
15148 (package-menu-mark-delete, package-menu-mark-install)
15149 (package-menu-mark-unmark, package-menu-backup-unmark)
15150 (package-menu-mark-obsolete-for-deletion):
15151 Use tabulated-list-put-tag.
15152 (package--list-packages, package-menu-revert)
15153 (package-menu-get-package, package-menu-get-version)
15154 (package-menu-sort-by-column): Functions deleted.
15155 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15156 (package-menu--status-predicate, package-menu--version-predicate)
15157 (package-menu--name-predicate)
15158 (package-menu--description-predicate): Handle arguments in the
15159 Tabulated List format.
15160 (package-list-packages-no-fetch): Call list-packages.
15162 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15164 * files.el (after-find-file-from-revert-buffer): Remove variable.
15165 (after-find-file): Don't bind it.
15166 (revert-buffer-in-progress-p): New variable.
15167 (revert-buffer): Bind it.
15168 Pass nil for `after-find-file-from-revert-buffer'.
15170 * saveplace.el (save-place-find-file-hook): Use new variable
15171 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15173 2011-04-06 Glenn Morris <rgm@gnu.org>
15175 * Makefile.in (AUTOGEN_VCS): New variable.
15176 (autoloads): Use $AUTOGEN_VCS.
15178 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15179 * calendar/calendar.el (calendar-mode-map):
15180 Check for toolkit scroll bars. (Bug#8305)
15182 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15184 * minibuffer.el (completion-in-region--postch)
15185 (completion-in-region-mode): Remove unnecessary messages.
15187 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15189 * font-lock.el (font-lock-refresh-defaults):
15190 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15191 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15193 * info.el (Info-directory-list, Info-read-node-name-2)
15194 (Info-split-parameter-string): Doc fixes.
15195 (Info-virtual-nodes): Reflow docstring.
15196 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15197 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15198 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15199 Fix typos in docstrings.
15200 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15201 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15202 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15203 (Info-restore-desktop-buffer): Mark unused parameters.
15204 (Info-directory-find-file, Info-directory-find-node)
15205 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15206 (Info-virtual-index-find-node, Info-apropos-find-file)
15207 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15208 Mark unused parameters; fix typos in docstrings.
15209 (Info-virtual-index): Remove unused local variable `nodename'.
15211 2011-04-05 Deniz Dogan <deniz@dogan.se>
15213 * net/rcirc.el: Update my e-mail address.
15214 (rcirc-mode-map): Remove M-o binding.
15216 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15218 * startup.el (command-line): Save the cursor's theme-face
15219 directly, instead of using face-override-spec.
15221 * custom.el (load-theme): Minor optimization in assigning faces.
15223 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15225 * help-fns.el (describe-variable): Complete all variables having
15226 documentation, including keywords.
15227 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15229 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15231 Convert to lexical-binding.
15233 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15234 (bs--get-marked-string, bs--get-modified-string)
15235 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15236 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15237 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15239 * ehelp.el (electric-help-execute-extended)
15240 (electric-help-ctrl-x-prefix):
15241 * hexl.el (hexl-revert-buffer-function):
15242 * linum.el (linum-after-change, linum-after-scroll):
15243 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15245 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15247 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15254 * epg.el: Use lexical binding.
15256 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15258 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15260 * textmodes/flyspell.el (flyspell-word): Recognize default
15261 dictionary case for flyspell-mark-duplications-exceptions.
15262 Use regexp matching for languages.
15263 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15264 default dictionary (Bug#7926).
15266 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15268 * emacs-lisp/package.el (package--with-work-buffer):
15269 Recognize https URLs.
15271 * net/network-stream.el: Move from gnus/proto-stream.el.
15272 Change prefix to network-stream throughout.
15273 (open-protocol-stream): Merge into open-network-stream, leaving
15274 open-protocol-stream as an alias. Handle nil BUFFER args.
15276 * subr.el (open-network-stream): Move to net/network-stream.el.
15278 2011-04-02 Glenn Morris <rgm@gnu.org>
15280 * find-dired.el (find-exec-terminator): New option.
15281 (find-ls-option): Test for -ls support.
15282 (find-ls-subdir-switches): Test for -b in find-ls-option.
15283 (find-dired, find-grep-dired): Doc fixes.
15284 (find-dired): Use find-exec-terminator.
15286 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15287 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15288 (find-name-arg): Remove purecopy.
15290 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15291 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15292 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15293 accordingly. Don't add the null-device if not needed.
15295 * files.el (save-some-buffers): Doc fix.
15297 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15299 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15301 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15303 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15304 Use `dolist' rather than `mapcar'.
15306 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15308 Add lexical binding.
15310 * subr.el (apply-partially): Use new closures rather than CL.
15311 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15312 (dolist, dotimes): Use slightly different expansion for lexical code.
15313 (functionp): Move to C.
15314 (letrec): New macro.
15315 (with-wrapper-hook): Use it and apply-partially instead of CL.
15316 (eval-after-load): Preserve lexical-binding.
15317 (save-window-excursion, with-output-to-temp-buffer): Turn them
15320 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15322 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15324 (help-add-fundoc-usage): Don't add `Not documented'.
15325 (help-function-arglist): Handle closures, subroutines, and new
15326 byte-code-functions.
15327 (help-make-usage): Remove leading underscores.
15328 (describe-function-1): Handle closures.
15329 (describe-variable): Use special-variable-p for completion.
15331 * files.el (lexical-binding): Declare safe.
15333 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15334 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15335 (pcase): Add `let' pattern.
15336 Change memoization so it actually works.
15337 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15338 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15341 * emacs-lisp/macroexp.el: Use lexical binding.
15342 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15343 Don't convert ' to #' without checking that it's indeed quoting
15346 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15347 Use eval-sexp-add-defvars.
15348 (eval-sexp-add-defvars): New fun.
15350 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15352 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15354 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15355 than the internal `byte-compile-lambda'.
15356 (defmethod): Don't hide code under quotes.
15357 (eieio-defmethod): New `code' argument.
15359 * emacs-lisp/eieio-comp.el: Remove.
15361 * emacs-lisp/edebug.el (edebug-eval-defun)
15362 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15363 (edebug-toggle): Avoid `eval'.
15365 * emacs-lisp/disass.el (disassemble-internal): Handle new
15367 (disassemble-1): Handle new byte codes.
15369 * emacs-lisp/cl.el (pushnew): Silence warning.
15371 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15372 (cl-byte-compile-throw): Remove.
15373 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15375 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15378 * emacs-lisp/cconv.el: New file.
15380 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15381 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15382 (byte-compile-initial-macro-environment):
15383 Handle declare-function here.
15384 (byte-compile--lexical-environment): New var.
15385 (byte-stack-ref, byte-stack-set, byte-discardN)
15386 (byte-discardN-preserve-tos): New lap codes.
15387 (byte-interactive-p): Don't use any more.
15388 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15390 (byte-compile-lapcode): Use them and handle new lap codes.
15391 (byte-compile-obsolete): Remove.
15392 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15393 (byte-compile-arglist-warn): Check late def of inlinable funs.
15394 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15395 since they should have been expanded by now.
15396 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15397 (byte-compile-from-buffer): Remove unused second arg.
15398 (byte-compile-preprocess): New function.
15399 (byte-compile-toplevel-file-form): New function to distinguish
15400 file-form calls from outside from file-form calls from hunk-handlers.
15401 (byte-compile-file-form): Simplify.
15402 (byte-compile-file-form-defsubst): Remove.
15403 (byte-compile-file-form-defmumble): Simplify now that
15404 byte-compile-lambda always returns a byte-code-function.
15405 (byte-compile): Preprocess.
15406 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15407 Remove, not used any more.
15408 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15409 (byte-compile-make-args-desc): New funs.
15410 (byte-compile-lambda): Handle lexical functions. Always return
15411 a byte-code-function.
15412 (byte-compile-reserved-constants): New var, to make up room for
15413 closed-over variables.
15414 (byte-compile-constants-vector): Obey it.
15415 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15416 (byte-compile-macroexpand-declare-function): New function.
15417 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15418 byte-code-functions.
15419 (byte-compile-form): Check obsolescence here.
15420 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15421 (byte-compile-variable-ref): Remove.
15422 (byte-compile-dynamic-variable-op): New fun.
15423 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15424 (byte-compile-variable-set): New funs.
15425 (byte-compile-discard): Add 2 args.
15426 (byte-compile-stack-ref, byte-compile-stack-set)
15427 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15428 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15429 macroexpand-all instead.
15430 (byte-compile-quote-form): Remove.
15431 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15432 (byte-compile-bind, byte-compile-unbind): New funs.
15433 (byte-compile-let): Handle let* and lexical binding.
15434 (byte-compile-let*): Remove.
15435 (byte-compile-catch, byte-compile-unwind-protect)
15436 (byte-compile-track-mouse, byte-compile-condition-case):
15437 Handle a new :fun-body form, used for lexical scoping.
15438 (byte-compile-save-window-excursion)
15439 (byte-compile-with-output-to-temp-buffer): Remove.
15440 (byte-compile-defun): Simplify.
15441 (byte-compile-stack-adjustment): New fun.
15442 (byte-compile-out): Use it.
15443 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15445 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15448 * emacs-lisp/byte-opt.el: Use lexical binding.
15449 (byte-inline-lapcode): Remove (to bytecomp).
15450 (byte-compile-inline-expand): Pay attention to inlining to/from
15451 lexically bound code.
15452 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15454 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15455 any more and don't call compiler-macros.
15456 (byte-compile-splice-in-already-compiled-code): Remove.
15457 (byte-code): Don't inline any more.
15458 (disassemble-offset): Receive `bytes' as argument rather than via
15460 (byte-compile-tag-number): Declare before first use.
15461 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15462 `return' even if make-spliceable.
15463 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15464 obsolete interactive-p.
15465 (byte-optimize-lapcode): Optimize new lap-codes.
15466 Don't trip up on new form of `byte-constant' lap code.
15468 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15470 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15472 * custom.el (custom-initialize-default, custom-declare-variable):
15475 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15477 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15478 (COMPILE_FIRST): Add macroexp and cconv.
15479 * makefile.w32-in: Mirror changes in Makefile.in.
15481 * vc/cvs-status.el:
15485 * vc/smerge-mode.el:
15486 * textmodes/bibtex-style.el:
15487 * textmodes/css.el:
15495 * emacs-lisp/smie.el:
15498 * abbrev.el: Use lexical binding.
15500 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15502 * info.el (info-display-manual): New function.
15504 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15506 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15508 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15510 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15511 an entry for that server in rcirc-authinfo. (Bug#8385)
15513 2011-03-31 Glenn Morris <rgm@gnu.org>
15515 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15517 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15519 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15521 * progmodes/python.el (python-default-interpreter)
15522 (python-python-command-args, python-jython-command-args)
15523 (python-which-shell, python-which-args, python-which-bufname)
15524 (python-file-queue, python-comint-output-filter-function)
15525 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15526 variables and functions.
15528 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15530 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15531 (completion-in-region-mode): New minor mode.
15532 (completion-in-region): Use it.
15533 (completion-in-region--data, completion-in-region-mode-map): New vars.
15534 (completion-in-region--postch): New function.
15535 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15537 (completion--capf-wrapper): New function.
15538 (completion-at-point): Use it to track well-behavedness of
15540 (completion-help-at-point): New command.
15542 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15544 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15545 syntax class to search for whitespace on a single line
15546 (Message-ID: <4D938140.4030905@redhat.com>).
15548 2011-03-30 Leo Liu <sdl.web@gmail.com>
15550 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15552 (edit-abbrevs-map): Bind them here.
15553 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15555 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15557 * allout.el (allout-hide-by-annotation, allout-flag-region):
15558 Reduce possibility of overlay leakage by making them volatile.
15560 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15561 hash is not shared between buffers. Mode initialization is
15562 responsible for giving it a useful starting value.
15563 (allout-item-span): Reduce possibility of overlay leakage by
15564 making them volatile.
15565 (allout-widgets-count-buttons-in-region): Add diagnostic function
15566 for tracking down button overlay leaks.
15568 2011-03-29 Leo Liu <sdl.web@gmail.com>
15570 * ido.el (ido-read-internal): Use the default history var
15571 minibuffer-history if no HISTORY is specified.
15573 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15575 * net/imap.el (imap-shell-open, imap-process-connection-type):
15576 Use imap-process-connection-type for 'shell' streams as well as
15577 Kerberos, SSL, other subprocesses.
15579 2011-03-28 Leo Liu <sdl.web@gmail.com>
15581 * abbrev.el (abbrev-table-empty-p): New function.
15582 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15583 nonempty ones. (Bug#5937)
15585 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15587 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15589 2011-03-27 Leo Liu <sdl.web@gmail.com>
15591 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15592 for foreground and background colors.
15593 (ansi-color-make-color-map): Adapt.
15595 2011-03-25 Leo Liu <sdl.web@gmail.com>
15597 * midnight.el (midnight-time-float): Remove. Note it calculates
15598 the microsecond component incorrectly and seconds-to-time does the
15600 Remove redundant (require 'timer).
15602 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15603 (ido-completions): Remove unused arguments. (Bug#8329)
15605 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15607 * minibuffer.el (completion--flush-all-sorted-completions):
15608 Remove itself from hook.
15609 (completion-at-point): Let the functions perform the completion
15610 immediately and return nil or t.
15611 * comint.el (comint-dynamic-complete-functions): Now identical to
15612 completion-at-point-functions.
15613 (comint-dynamic-list-input-ring): Remove unused var `index'.
15614 (comint--match-partial-filename, comint--unquote&expand-filename):
15615 New funs, split from comint-match-partial-filename.
15616 (comint-dynamic-complete): Use completion-at-point.
15617 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15619 2011-03-24 Drew Adams <drew.adams@oracle.com>
15621 * thingatpt.el: Support `defun'.
15623 2011-03-23 Leo Liu <sdl.web@gmail.com>
15625 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15627 * help-mode.el (help-mode-finish): Tweak regexp.
15629 2011-03-23 Glenn Morris <rgm@gnu.org>
15631 * eshell/esh-opt.el (eshell-eval-using-options):
15632 Do not bind unused local variable `eshell-option-stub'.
15634 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15636 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15638 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15639 keymap variable in `with-no-warnings' to avoid a warning when the
15640 keymap has been already `defconst'ed.
15642 2011-03-22 Leo Liu <sdl.web@gmail.com>
15644 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15645 encode all chars in abbrevs; otherwise use emacs-mule or
15646 utf-8-emacs. (Bug#8308)
15648 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15650 * simple.el (backward-delete-char-untabify):
15651 Avoid warning about using `delete-backward-char'.
15653 * image.el (image-type-file-name-regexps): Make it variable.
15654 `imagemagick-register-types' modifies it, and the user may want
15655 to add new extensions for known image types.
15656 (imagemagick-register-types): Throw error if not using ImageMagick.
15658 2011-03-22 Leo Liu <sdl.web@gmail.com>
15660 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15661 located before rcirc-prompt-end-marker.
15662 (rcirc-complete): Error if point is not after rcirc prompt.
15663 Handle the case when table is nil.
15664 (rcirc-user-authenticated): Define to fix compiler warning.
15666 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15668 * custom.el (custom--inhibit-theme-enable): Make it affect only
15669 custom-theme-set-variables and custom-theme-set-faces.
15670 (provide-theme): Ignore custom--inhibit-theme-enable.
15671 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15672 (custom-enabling-themes): Delete variable.
15673 (enable-theme): Accept only loaded themes as arguments.
15674 Ignore the special custom-enabled-themes variable.
15675 (custom-enabled-themes): Forbid themes from setting this.
15676 Eliminate use of custom-enabling-themes.
15677 (custom-push-theme): Quote "changed" custom var entry.
15679 2011-03-21 Leo Liu <sdl.web@gmail.com>
15681 * ido.el (ido-read-internal): Add ido-selected to history instead
15684 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15686 * subr.el (deferred-action-list, deferred-action-function):
15689 2011-03-21 Leo Liu <sdl.web@gmail.com>
15691 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15692 change on 2011-02-13 (bug#8309).
15694 * minibuffer.el (read-file-name-function): Change default value.
15695 (read-file-name--defaults): Rename from read-file-name-defaults.
15696 (read-file-name-default): Rename from read-file-name.
15697 (read-file-name): Call read-file-name-function.
15699 2011-03-21 Glenn Morris <rgm@gnu.org>
15701 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15704 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15706 * cus-theme.el: Add missing provide statement.
15707 (customize-create-theme): Extract theme value correctly.
15708 (custom-theme-visit-theme): Autoload.
15709 (customize-create-theme): Prompt before inserting default faces.
15711 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15713 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15714 units and musical notes.
15716 2011-03-20 Leo Liu <sdl.web@gmail.com>
15718 * ido.el (ido-read-internal): Use completing-read-default.
15719 (ido-completing-read): Fix compatibility with completing-read.
15721 2011-03-20 Christian Ohler <ohler@gnu.org>
15723 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15724 (ert-delete-all-tests): Use `called-interactively-p' rather than
15726 (ert--make-xrefs-region): Respect END.
15728 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15730 * dired-aux.el (dired-create-directory): Signal an error if the
15731 directory already exists (Bug#8246).
15733 * facemenu.el (list-colors-display): Call list-faces-display
15734 inside with-help-window.
15735 (list-colors-print): Use display property to align the final
15736 column, instead of checking window-width.
15738 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15740 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15741 windows-nt systems.
15742 (emerge-protect-metachars): Quote correctly for ms-dos and
15743 windows-nt systems.
15745 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15747 * info.el (info-initialize): Replace all uses of `:' with
15748 path-separator for compatibility with non-Unix systems.
15749 Cache quoting of path-separator. (Bug#8258)
15751 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15753 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15754 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15755 (mouse-avoidance-mode): Fix typos in docstrings.
15757 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15759 * startup.el (package-subdirectory-regexp): Move from package.el.
15760 Omit \\` and \\', and let callers add them.
15762 * emacs-lisp/package.el (package-strip-version)
15763 (package-load-all-descriptors): Add \\` and \\' to
15764 package-subdirectory-regexp before using it.
15765 (package-untar-buffer): New arg DIR; ensure that file untars only
15766 into this expected directory. Remove superfluous delete-region.
15767 (package-unpack): Caller changed.
15768 (package-tar-file-info): Use package-subdirectory-regexp.
15770 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15772 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15773 diff-mode-shared-map (bug#8284).
15774 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15776 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15778 * calendar/time-date.el (format-seconds): Use assoc instead of
15779 assoc-string, since assoc-string doesn't exist in XEmacs.
15781 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15783 * custom.el (custom-known-themes): Reflow docstring.
15784 (custom-theme-load-path): Fix typo in docstring.
15785 (load-theme): Fix typo in error message.
15786 (custom-available-themes, custom-variable-theme-value):
15787 Use `let', not `let*'.
15789 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15791 * calc/README: Mention inclusion of musical notes.
15793 * calc/calc-units.el (calc-lu-quant): Rename from
15794 `calc-logunits-quantity'.
15795 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15796 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15797 (calc-db): Rename from `calc-dblevel'.
15798 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15799 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15800 (calc-np): Rename from `calc-nplevel'.
15801 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15802 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15803 (calc-lu-plus): Rename from `calc-logunits-add'.
15804 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15805 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15806 (calc-lu-minus): Rename from `calc-logunits-sub'.
15807 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15808 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15809 (calc-lu-times): Rename from `calc-logunits-mul'.
15810 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15811 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15812 (calc-lu-divide): Rename from `calc-logunits-div'.
15813 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15814 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15816 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15817 functions being autoloaded.
15819 * calc/calc.el (calc-lu-power-reference): Rename from
15820 `calc-logunits-power-reference'.
15821 (calc-lu-field-reference): Rename from
15822 `calc-logunits-field-reference'.
15824 * calc/calc-help.el (calc-l-prefix-help):
15825 Mention musical note functions.
15827 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15829 * minibuffer.el (completion-all-sorted-completions):
15830 Use :completion-cycle-penalty text property if present.
15832 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15834 * allout.el (allout-yank-processing): Adjust for new rebulleting
15835 regime so bullet being yanked is used without prompting the user
15838 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15840 * startup.el (command-line): Warn the user that _emacs is deprecated.
15842 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15844 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15845 (delphi-verbose, delphi-comment-face, delphi-string-face)
15846 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15847 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15848 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15849 (delphi-new-comment-line, delphi-font-lock-defaults)
15850 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15851 Fix typos in docstrings.
15853 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15855 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15856 Invert the roles of character and string values for INSTEAD, so a
15857 string is used for the more common case of a defaulting prompt.
15859 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15861 * progmodes/ruby-mode.el (ruby-backward-sexp):
15862 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15863 * play/gamegrid.el (gamegrid-make-face):
15864 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15865 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15866 * notifications.el (notifications-notify):
15867 * net/xesam.el (xesam-search-engines):
15868 * net/quickurl.el (quickurl-list-insert):
15869 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15871 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15873 * startup.el (command-line): Update package subdirectory regexp.
15875 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15877 * allout.el (allout-abbreviate-flattened-numbering)
15878 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15880 * subr.el (read-char-choice): Only show the cursor after the prompt,
15881 not after the answer.
15883 2011-03-15 Kevin Ryde <user42@zip.com.au>
15885 * help-fns.el (variable-at-point): Skip leading quotes, if any
15888 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15890 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15893 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15895 * shell.el (shell): When called interactively, offer to change the
15896 shell file name on remote hosts.
15898 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15900 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15901 integration for LDAP parameters. The host, base, user or binddn,
15902 and secret tokens can be specified in a netrc file, for instance.
15903 This is optional because an `auth-source' parameter must be
15904 specified in the search attributes.
15906 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15908 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15910 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15912 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15913 into declaration. Remove redundant and harmful binding.
15915 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15917 * files.el (file-ownership-preserved-p): Pass `integer' as an
15918 explicit 2nd argument to `file-attributes'. If the file's owner
15919 is the Administrators group on Windows, and the current user is
15920 Administrator, consider that a match.
15922 * server.el (server-ensure-safe-dir): Consider server directory
15923 safe on MS-Windows if its owner is the Administrators group while
15924 the current Emacs user is Administrator. Use `=' to compare
15925 numerical UIDs, since they could be integers or floats.
15927 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15929 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15931 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15933 Sync with Tramp 2.2.1.
15935 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15937 * net/trampver.el: Update release number.
15939 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15941 * progmodes/compile.el (compilation--previous-directory): Fix up
15942 various nil/dead-marker mismatches (bug#8014).
15943 (compilation-directory-properties, compilation-error-properties):
15944 Don't call it at a position past the one we're about to change.
15946 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15947 Disable obsolescence warnings in the file that declares it.
15949 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15951 * allout-widgets.el (allout-widgets-tally):
15952 Initialize allout-widgets-tally as a hash table rather than nil to
15953 prevent mode-line redisplay warnings. Also, clarify the module
15954 description and fix a comment typo.
15956 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15958 * help-fns.el (describe-variable): Don't complete keywords.
15959 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15961 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15963 * emacs-lisp/package.el (package-version-join): Impose a standard
15964 string representation for pre/alpha/beta version lists.
15965 (package-unpack-single): Standardize the directory name by passing
15966 it through package-version-join.
15967 (package-strip-rcs-id): Accept any version string that does not
15968 signal an error in version-to-list.
15970 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15972 * simple.el (delete-trailing-whitespace): Return nil for the
15973 benefit of `write-file-functions'.
15975 2011-03-10 Glenn Morris <rgm@gnu.org>
15977 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15979 * vc/vc-git.el (vc-git-program): New option.
15980 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15981 (vc-git--call): Use it.
15983 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15985 * cus-edit.el (Custom-newline): If no button at point, look
15986 for a subgroup button at start-of-line. (Bug#2298)
15988 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15990 2011-03-10 Julien Danjou <julien@danjou.info>
15992 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15993 `cursor-type' is nil.
15995 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15997 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15999 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16001 * allout.el: Change so yank of distinctive-bullet items
16002 preserves the existing header prefix, rebulleting it if necessary,
16003 rather than replacing it. This is necessary for proper operation
16004 of cooperative addons like allout-widgets.
16005 (allout-make-topic-prefix, allout-rebullet-heading):
16006 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16007 value as alternate bullet to be used, instead of prompting the user
16008 for a bullet character.
16010 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16012 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16013 Do not use `tramp-file-name-port', because this returns also
16014 `tramp-default-port'.
16016 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16018 * net/rcirc.el (rcirc-handler-001): Remove useless
16019 with-rcirc-process-buffer.
16020 (rcirc-check-auth-status): Swap arguments to string-match.
16022 2011-03-09 Glenn Morris <rgm@gnu.org>
16024 * shell.el (shell-mode):
16025 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16027 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16028 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16030 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16032 * emacs-lisp/package.el (package-refresh-contents)
16033 (package-menu-execute): Use condition-case-no-debug.
16035 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16037 * simple.el (shell-command-to-string): Use `process-file'.
16039 * emacs-lisp/package.el (package-tar-file-info): Handle also
16042 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16043 Use `equal' for upload base check.
16045 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16047 * textmodes/texinfo.el (texinfo-environments):
16048 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16050 2011-03-08 Glenn Morris <rgm@gnu.org>
16052 * cus-start.el (cursor-in-non-selected-windows):
16053 Fix :set quoting oddness. (Bug#8192)
16055 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16056 in some setf expressions. (Bug#2159)
16058 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16060 * custom.el (custom-available-themes): Return themes in
16061 alphabetical order.
16063 See ChangeLog.15 for earlier changes.
16065 ;; Local Variables:
16069 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16071 This file is part of GNU Emacs.
16073 GNU Emacs is free software: you can redistribute it and/or modify
16074 it under the terms of the GNU General Public License as published by
16075 the Free Software Foundation, either version 3 of the License, or
16076 (at your option) any later version.
16078 GNU Emacs is distributed in the hope that it will be useful,
16079 but WITHOUT ANY WARRANTY; without even the implied warranty of
16080 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16081 GNU General Public License for more details.
16083 You should have received a copy of the GNU General Public License
16084 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.