1 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3 * comint.el (comint-output-filter): Filter out repeated prompts.
5 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6 and file-name-absolute-p.
7 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
13 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
14 Rename from byte-compile--refiy-function. All uses changed.
16 2012-07-01 Chong Yidong <cyd@gnu.org>
18 * xml.el (xml--parse-buffer): New function. Move most of
19 xml-parse-region here.
20 (xml-parse-region): Copy region into a temporary buffer, since
21 parameter entity substitution requires changing buffer contents.
22 Use xml--parse-buffer.
23 (xml-parse-file): Use xml--parse-buffer.
24 (xml-parse-dtd): Make parameter entity substitution work right.
25 Use proper regexps for ELEMENT declarations (Bug#7172).
27 2012-06-30 Glenn Morris <rgm@gnu.org>
29 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
31 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
32 Remove outdated and unnecessary dbus declarations.
34 2012-06-30 Eli Zaretskii <eliz@gnu.org>
36 * emacs-lisp/timer.el (timer-until): Subtract results of
37 float-time, instead of taking float-time of the result of
38 time-subtract, since float-time signals an error for negative time
41 2012-06-30 Chong Yidong <cyd@gnu.org>
43 * xml.el (xml-*-re): Convert defvars into defconsts, and
44 eval-and-compile them so eval-and-compile works on derivatives.
45 (xml--entity-replacement-text): Use eval-and-comple.
47 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
49 * vc/vc-git.el (vc-git-registered): Use cache property
51 (vc-git-mode-line-string): Call `vc-working-revision' instead of
52 `vc-git-working-revision' in order to benefit from the cache.
53 (vc-git-root): Use cache property `git-root'.
55 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
57 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
58 removed (likely outside Emacs).
60 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/cl-lib.el: Require macroexp.
64 2012-06-30 Chong Yidong <cyd@gnu.org>
66 * xml.el: Implement XML parameter entities.
67 (xml-parameter-entity-alist): New variable.
68 (xml-parse-region, xml-parse-fragment): Preserve previous values
69 of xml-entity-alist and xml-parameter-entity-alist, so that
70 repeated calls on different documents do not change them.
71 (xml-parse-tag): Fix doctype regexp.
72 (xml--entity-replacement-text): New function.
73 (xml-parse-dtd): Use it. Don't handle system entities; doing that
74 properly requires url retrieval which is unimplemented.
75 (xml-escape-string): Doc fix.
77 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
79 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
81 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
83 * fringe.el (fringe-mode): Doc fix.
85 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
87 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
89 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
90 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
92 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
94 * calendar/cal-dst.el (calendar-current-time-zone):
95 Return calendar-current-time-zone-cache if non-nil.
97 2012-06-29 Masatake YAMATO <yamato@redhat.com>
99 * progmodes/which-func.el (which-func-format):
100 Add mouse-face. (Bug#11698)
102 2012-06-29 Leo Liu <sdl.web@gmail.com>
104 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
106 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
108 * minibuffer.el (minibuffer-confirm-exit-commands):
109 Add completion-at-point (bug#11725).
111 2012-06-29 Glenn Morris <rgm@gnu.org>
113 * progmodes/f90.el (f90-font-lock-keywords-2):
114 Add some preprocessor elements. (Bug#10499)
116 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
118 * progmodes/cperl-mode.el (cperl-update-syntaxification):
119 Use syntax-propertize (bug#11739).
121 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
123 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
125 2012-06-28 Julien Danjou <julien@danjou.info>
127 * term.el (term-handle-colors-array): Use a set of new faces to
128 color the terminal. Also uses :inverse-video property.
129 (term-default-fg-color): Set to nil by default, deprecate in favor
131 (term-default-bg-color): Set to nil by default, deprecate in favor
133 (term-current-face): Use `term-face' by default.
134 (term-bold-attribute): Variable deleted.
136 2012-06-28 Glenn Morris <rgm@gnu.org>
138 * simple.el (completion-list-mode-finish):
139 Don't use toggle-read-only. (Since completion-list-mode has
140 a special mode-class, it wasn't doing anything extra anyway.)
142 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
144 Make inlining of other-mode interpreted functions work (bug#11799).
145 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
146 (byte-compile): Use it to fix compilation of lexical-binding closures.
147 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
150 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
152 * help-mode.el (help-make-xrefs): Don't just withstand
153 cyclic-variable-indirection but any error in documentation-property.
155 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
157 * bindings.el (bindings--define-key): New function.
158 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
159 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
160 * bindings.el: Use it to purecopy define-key bindings.
162 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
164 * emacs-lisp/cl.el (flet): Mark obsolete.
165 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
166 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
167 * progmodes/js.el (js-c-fill-paragraph):
168 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
169 (ebrowse-switch-member-buffer-to-derived-class):
170 * play/5x5.el (5x5-solver): Use cl-flet.
172 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
173 (cl--symbol-function): New macro.
174 (cl--letf, cl--letf*): Use it.
176 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
177 Strip "toggle-" if any.
179 2012-06-27 Glenn Morris <rgm@gnu.org>
181 * info.el (Info-default-directory-list): Move here from paths.el.
182 * paths.el: Remove file, which is now empty.
183 * loadup.el: No longer load "paths".
185 * custom.el (custom-initialize-delay): Doc fix.
187 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
188 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
189 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
190 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
191 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
192 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
193 * eshell/eshell.el (eshell-defgroup): Remove alias.
195 2012-06-27 Chong Yidong <cyd@gnu.org>
197 * help.el (help-enable-auto-load): New variable.
199 * help-fns.el (help-fns--autoloaded-p): New function.
200 (describe-function-1): Refer to a function as "autoloaded" if it
201 was autoloaded at any time in the past. Perform autoloading if
202 help-enable-auto-load is non-nil.
204 2012-06-26 Eli Zaretskii <eliz@gnu.org>
206 * makefile.w32-in (compile, compile-always): Depend on
207 update-subdirs, not on subdirs.el. Otherwise, several different
208 sub-targets of 'bootstrap' running in parallel could
209 simultaneously write to subdirs.el, producing a garbled file.
211 2012-06-26 Sam Steingold <sds@gnu.org>
213 * files.el (file-name-base): New convenience function.
214 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
215 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
216 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
217 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
218 * textmodes/ispell.el, textmodes/reftex-ref.el:
219 * textmodes/tex-mode.el: Use it.
220 Did not touch cedet and org because they are maintained elsewhere.
222 2012-06-26 Martin Rudalics <rudalics@gmx.at>
224 * calendar/calendar.el (calendar-exit): Don't try to delete or
225 iconify last frame. See:
226 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
228 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
230 * server.el (server-process-filter): Remember dir in the
231 process's `server-client-directory' properties.
233 2012-06-24 Chong Yidong <cyd@gnu.org>
235 * xml.el (xml-parse-tag): Correctly handle comment embedded in
238 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
240 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
242 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
244 * help-fns.el (describe-variable): Don't croak when doc is not found.
245 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
246 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
247 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
248 * emacs-lisp/smie.el (smie-next-sexp): CSE.
249 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
251 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
253 2012-06-23 Chong Yidong <cyd@gnu.org>
255 * info.el (Info-mouse-follow-link): Accept symbol values of
256 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
257 (Info-fontify-node): Use Info-link-keymap for all navigation
258 buttons, with link-args property to perform the desired action.
259 (Info-link-keymap): Doc fix.
260 (Info-next-link-keymap, Info-prev-link-keymap)
261 (Info-up-link-keymap): Delete now-unused keymaps.
263 2012-06-23 Chong Yidong <cyd@gnu.org>
265 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
267 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
270 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
272 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
274 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
277 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
278 the requote function doesn't work properly (bug#11714).
280 2012-06-23 Glenn Morris <rgm@gnu.org>
282 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
284 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
286 Further GV/CL cleanups.
287 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
289 (gv--defun-declaration): New function.
290 (defun-declarations-alist): Use it.
291 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
292 (gv-place): Autoload.
293 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
294 original definition of dotimes and dolist.
295 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
296 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
297 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
298 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
299 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
300 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
301 to the function's definition.
302 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
306 * env.el: Don't use CL.
308 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
310 Support higher-resolution time stamps (Bug#9000).
312 * calendar/time-date.el (with-decoded-time-value): New arg
313 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
314 (encode-time-value): New optional arg PICO. New type 3.
315 (time-to-seconds) [!float-time]: Support the new picoseconds
316 component if it's used.
317 (seconds-to-time, time-subtract, time-add):
318 Support ps-resolution time stamps as well.
320 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
321 (timerp): Timer vectors now have length 9, not 8.
322 (timer--time): Support new-style (4-part) time stamps.
323 (timer-next-integral-multiple-of-time): Time stamps now have
324 picosecond resolution, so take a bit more care about rounding.
325 (timer-relative-time, timer-inc-time): New optional arg psecs.
326 (timer-set-time-with-usecs): Set psecs to 0.
327 (timer--activate): Check psecs component, too.
329 * proced.el (proced-time-lessp): Support ps-resolution stamps.
331 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
333 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
334 Move the non-essential binding to the post/pre-command-hook where it is
335 more obviously correct.
337 * subr.el (read-passwd): Don't use a history at all.
338 * savehist.el (savehist-save): Remove password saved accidentally
339 because of the above bug.
341 2012-06-22 Bastien Guerry <bzg@gnu.org>
343 * files.el (toggle-read-only): Display a message telling whether
344 the buffer is read-only or not (bug#11726).
346 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
348 * emacs-lisp/gv.el: New file.
349 * subr.el (push, pop): Extend to generalized variables.
350 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
351 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
352 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
353 gv-define-simple-setter, and gv-define-expander.
354 Remove setf-methods defined in gv. Rename cl-setf -> setf.
355 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
356 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
357 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
358 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
360 (cl-defstruct): Don't define setf-method any more.
361 * emacs-lisp/cl.el (flet): Don't autoload.
362 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
363 (define-setf-expander, defsetf, define-modify-macro)
364 (cl-struct-setf-expander): Move from cl-lib.el.
365 * emacs-lisp/syntax.el:
366 * emacs-lisp/ewoc.el:
367 * emacs-lisp/smie.el:
368 * emacs-lisp/cconv.el:
369 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
370 (timer--time): Use gv-define-simple-setter.
371 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
372 to avoid coding-system problems in subr.el. Adjust all users.
373 (macroexp--maxsize, macroexp-small-p): New functions.
374 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
375 * scroll-bar.el (scroll-bar-mode):
376 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
377 (normal-erase-is-backspace-mode): Don't use the `eq' place.
378 * winner.el (winner-configuration, winner-make-point-alist)
379 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
380 * files.el (locate-file-completion-table): Avoid list*.
382 2012-06-22 Chong Yidong <cyd@gnu.org>
384 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
385 (dired-create-files): Doc fix (Bug#11329).
386 (dired-do-copy): Doc fix (Bug#11334).
387 (dired-mark-read-string): Doc fix (Bug#11553).
389 * dired.el (dired-recursive-copies, dired-recursive-deletes):
391 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
392 (dired-dwim-target): Doc fix.
394 * wdired.el (wdired-mode): Doc fix.
396 2012-06-22 Glenn Morris <rgm@gnu.org>
398 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
399 (pcmpl-rpm-cache-stamp-file): New constant.
400 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
401 (pcmpl-rpm-packages): Optionally cache list of packages.
403 * pcmpl-rpm.el (pcmpl-rpm): New group.
404 (pcmpl-rpm-query-options): New option.
405 (pcmpl-rpm-packages): No need to inline it.
406 Use pcmpl-rpm-query-options.
408 * calendar/calendar.el (calendar-in-read-only-buffer):
409 Avoid some needless mode changes.
411 2012-06-21 Chong Yidong <cyd@gnu.org>
413 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
414 (desktop-path): Remove . from the default value (Bug#10977).
415 (desktop-read): Use user-emacs-directory if desktop-path is nil.
417 2012-06-20 Chong Yidong <cyd@gnu.org>
419 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
421 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
423 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
426 2012-06-20 Chong Yidong <cyd@gnu.org>
428 * term.el (term-window-width): Handle the case of a missing right
430 (term-check-size): Use window-text-height (Bug#5445).
431 (term-mode): Use define-derived-mode. Minor cleanups.
432 Set font-lock-defaults (Bug#7692).
433 (term-move-columns, term-insert-char, term-emulate-terminal)
434 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
436 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
438 * net/ange-ftp.el (ange-ftp-get-passwd):
439 Bind `enable-recursive-minibuffers'.
440 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
442 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
444 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
446 2012-06-19 Glenn Morris <rgm@gnu.org>
448 * progmodes/python.el (python-mode): Derive from prog-mode.
450 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
452 * emulation/edt.el (edt-default-menu-bar-update-buffers)
453 (edt-user-menu-bar-update-buffers): New functions.
454 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
456 2012-06-19 Chong Yidong <cyd@gnu.org>
458 * subr.el (with-selected-window): Preserve the selected window's
459 terminal's top-frame (Bug#4702).
461 * window.el (save-selected-window): Likewise.
463 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
465 * progmodes/python.el (python-rx-constituents): Move backquote.
466 (python-skeleton-define, python-define-auxiliary-skeleton):
469 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
471 * minibuffer.el (read-file-name-default): Revert the patch from
474 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
476 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
477 (pcase--u1, pcase--q1): Don't use apply-partially.
479 2012-06-18 Glenn Morris <rgm@gnu.org>
481 * progmodes/python.el (python-proc, python-buffer)
482 (python-send-receive, python-send-string): Fix obsolete versions.
484 2012-06-18 Martin Rudalics <rudalics@gmx.at>
486 * window.el (special-display-p): Completely remove stringp
487 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
489 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
491 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
493 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
495 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
496 * net/tramp-sh.el (tramp-maybe-open-connection):
497 Throw if `non-essential' is non-nil.
499 2012-06-17 Martin Rudalics <rudalics@gmx.at>
501 * window.el (special-display-p): Signal an error if BUFFER-NAME
502 is not a string (Bug#11713).
504 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
506 * progmodes/python.el (python-info-beginning-of-backslash):
507 Rename from python-info-beginning-of-backlash, as a spelling fix.
509 2012-06-17 Chong Yidong <cyd@gnu.org>
511 * term.el (term-emulate-terminal): If term-check-size is called,
512 move point to the process mark without resetting point (Bug#4635).
514 2012-06-17 Glenn Morris <rgm@gnu.org>
516 * international/mule-cmds.el (mule-menu-keymap)
517 (set-language-environment, set-locale-environment): Doc tweaks.
519 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
521 * cus-face.el (custom-face-attributes): Add wave-style underline
523 * faces.el (set-face-attribute): Update docstring to describe
524 wave-style underline attribute.
526 2012-06-16 Chong Yidong <cyd@gnu.org>
528 * term/xterm.el (terminal-init-xterm): Discard input before
529 querying background mode (Bug#10959).
531 2012-06-16 Stefan Merten <smerten@oekonux.de>
533 * textmodes/rst.el: Added and corrected some comments.
534 (rst-re-alist-def): Improve symbol syntax.
535 (rst-mode-syntax-table): Correct syntax entries.
536 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
537 (rst-official-version, rst-official-cvs-rev): Update version
540 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
542 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
543 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
545 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
547 * progmodes/python.el: New python.el merge.
548 (python-guess-indent): Obsolete var.
549 (python-indent-guess-indent-offset): New defcustom.
550 (python-indent): Obsolete var.
551 (python-indent-offset): New defcustom.
552 (python-python-command, python-jython-command): Delete var.
553 (python-shell-interpreter): New defcustom.
554 (python-pdbtrack-do-tracking-p): Delete var.
555 (python-pdbtrack-activate): New defcustom.
556 (python-use-skeletons): Obsolete var.
557 (python-skeleton-autoinsert): New defcustom.
558 (inferior-python-filter-regexp, python-continuation-offset)
559 (python-honour-comment-indentation, python-indent-string-contents)
560 (python-jython-packages, python-mode-hook)
561 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
562 (python-shell-prompt-alist)
563 (python-source-modes): Delete defcustoms.
564 (python-check-buffer-name, python-eldoc-setup-code)
565 (python-eldoc-string-code, python-ffap-setup-code)
566 (python-ffap-string-code, python-fill-comment-function)
567 (python-fill-decorator-function, python-fill-paren-function)
568 (python-fill-string-function, python-imenu-include-defun-type)
569 (python-imenu-make-tree, python-imenu-subtree-root-label)
570 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
571 (python-shell-compilation-regexp-alist)
572 (python-shell-completion-module-string-code)
573 (python-shell-completion-pdb-string-code)
574 (python-shell-completion-setup-code)
575 (python-shell-completion-string-code)
576 (python-shell-enable-font-lock, python-shell-exec-path)
577 (python-shell-extra-pythonpaths)
578 (python-shell-internal-buffer-name, python-shell-interpreter-args)
579 (python-shell-process-environment)
580 (python-shell-prompt-block-regexp)
581 (python-shell-prompt-output-regexp)
582 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
583 (python-shell-send-setup-max-wait, python-shell-setup-codes)
584 (python-shell-virtualenv-path): New defcustoms.
585 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
586 (inferior-python-mode-syntax-table, python--prompt-regexp)
587 (python-buffer, python-command python-python-command)
588 (python-default-template, python-imports, python-indent-index)
589 (python-indent-list, python-indent-list-length)
590 (python-mode-running, python-pdbtrack-is-tracking-p)
591 (python-preoutput-continuation, python-preoutput-leftover)
592 (python-preoutput-result, python-preoutput-skip-next-prompt)
593 (python-prev-dir/file, python-recursing)
594 (python-saved-check-command, python-version-checked)
595 (python-which-func-length-limit)
596 (view-return-to-alist): Delete vars.
597 (python-check-custom-command, python-dotty-syntax-table)
598 (python-imenu-index-alist, python-indent-current-level)
599 (python-indent-dedenters, python-indent-levels)
600 (python-nav-beginning-of-defun-regexp)
601 (python-nav-list-defun-positions-cache)
602 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
603 (python-shell-internal-buffer)
604 (python-skeleton-available): New vars.
605 (def-python-skeleton): Delete macro.
606 (python-skeleton-define): New macro.
607 (python-define-auxiliary-skeleton, python-rx): New macros.
608 (python-insert-class): Delete command.
609 (python-skeleton-class): New command.
610 (python-insert-def): Delete command.
611 (python-skeleton-def): New command.
612 (python-insert-for): Delete command.
613 (python-skeleton-for): New command.
614 (python-insert-if): Delete command.
615 (python-skeleton-if): New command.
616 (python-insert-try/except, python-insert-try/finally): Delete commands.
617 (python-skeleton-try): New command.
618 (python-insert-while): Delete command.
619 (python-skeleton-while): New command.
620 (python-backspace): Delete command.
621 (python-indent-dedent-line-backspace): New command.
622 (python-electric-colon): Delete command.
623 (python-indent-electric-colon): New command.
624 (python-guess-indent): Delete command.
625 (python-indent-guess-indent-offset): New command.
626 (python-shift-left): Delete command.
627 (python-indent-shift-left): New command.
628 (python-shift-right): Delete command.
629 (python-indent-shift-right): New command.
630 (python-find-function): Delete command.
631 (python-nav-jump-to-defun): New command.
632 (python-next-statement): Delete command.
633 (python-nav-forward-sentence): New command.
634 (python-previous-statement): Delete command.
635 (python-nav-backward-sentence): New command.
636 (python-fill-paragraph): Delete command.
637 (python-fill-paragraph-function): New command.
638 (python-send-buffer): Delete command.
639 (python-shell-send-buffer): New command.
640 (python-send-defun): Delete command.
641 (python-shell-send-defun): New command.
642 (python-send-region, python-send-region-and-go): Delete commands.
643 (python-shell-send-region)
644 (python-shell-switch-to-shell): New commands.
645 (python-send-string): Delete command.
646 (python-shell-send-string): New command.
647 (python-switch-to-python): Delete command.
648 (python-shell-switch-to-shell): New command.
649 (python-describe-symbol): Delete command.
650 (python-eldoc-at-point): New command.
651 (python--set-prompt-regexp, python-args-to-list)
652 (python-after-info-look, python-check-version)
653 (python-check-comint-prompt, python-find-imports)
654 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
655 (python-unload-function, python-expand-template)
656 (python-maybe-jython, python-preoutput-filter)
657 (python-pdbtrack-get-source-buffer)
658 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
659 (python-pdbtrack-toggle-stack-tracking)
660 (python-pdbtrack-track-stack-file, python-initial-text)
661 (python-first-word, python-comment-line-p, python-send-command)
662 (python-setup-brm, python-sentinel, python-set-proc)
663 (python-skip-out, python-input-filter, python-outdent-p)
664 (python-outline-level, python-backslash-continuation-line-p)
665 (python-end-of-block, python-end-of-statement, python-mark-block)
666 (python-beginning-of-block, python-beginning-of-statement)
667 (python-blank-line-p, python-beginning-of-string)
668 (python-open-block-statement-p): Delete functions.
669 (python-indent-line, python-indent-line-1): Delete functions.
670 (python-indent-line): New function.
671 (python-indentation-levels): Delete function.
672 (python-indent-calculate-levels): New function.
673 (python-proc): Delete function.
674 (python-shell-get-process): New function.
675 (python-send-receive): Delete function.
676 (python-shell-send-string-no-output): New function.
677 (python-module-path): Delete function.
678 (python-ffap-module-path): New function.
679 (python-completion-at-point)
680 (python-symbol-completions): Delete functions.
681 (python-completion-complete-at-point): New function.
682 (python-load-file): Delete function.
683 (python-shell-send-file): New function.
684 (python-calculate-indentation): Delete function.
685 (python-indent-calculate-indentation): New function.
686 (python-skip-comments/blanks): Delete function.
687 (python-util-forward-comment): New function.
688 (python-continuation-line-p): Delete function.
689 (python-info-continuation-line-p): New function.
690 (python-which-func, python-current-defun): Delete function.
691 (python-info-current-defun): New function.
692 (python-beginning-of-defun): Delete function.
693 (python-nav-beginning-of-defun): New function.
694 (python-close-block-statement-p)
695 (python-block-end-p): Delete function.
696 (python-info-closing-block): New function.
697 (python-comint-output-filter-function)
698 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
699 (python-fill-comment, python-fill-decorator, python-fill-paren)
700 (python-fill-string, python-imenu-make-element-tree)
701 (python-imenu-make-tree, python-imenu-tree-assoc)
702 (python-indent-context, python-indent-dedent-line)
703 (python-indent-line-function)
704 (python-indent-post-self-insert-function)
705 (python-indent-toggle-levels)
706 (python-info-assignment-continuation-line-p)
707 (python-info-beginning-of-backlash)
708 (python-info-block-continuation-line-p)
709 (python-info-closing-block-message)
710 (python-info-line-ends-backslash-p)
711 (python-info-looking-at-beginning-of-defun)
712 (python-info-ppss-context, python-info-ppss-context-type)
713 (python-nav-list-defun-positions, python-nav-read-defun)
714 (python-nav-sentence-end, python-nav-sentence-start)
715 (python-pdbtrack-comint-output-filter-function)
716 (python-pdbtrack-set-tracked-buffer)
717 (python-shell-calculate-exec-path)
718 (python-shell-calculate-process-environment)
719 (python-shell-completion--do-completion-at-point)
720 (python-shell-completion--get-completions)
721 (python-shell-completion-complete-at-point)
722 (python-shell-completion-complete-or-indent)
723 (python-shell-get-or-create-process)
724 (python-shell-get-process-name)
725 (python-shell-internal-get-or-create-process)
726 (python-shell-internal-get-process-name)
727 (python-shell-internal-send-string, python-shell-make-comint)
728 (python-shell-parse-command, python-shell-send-setup-code)
729 (python-skeleton-add-menu-items)
730 (python-util-clone-local-variables, python-util-position)
731 (run-python-internal, python-indentation-levels)
732 (python-nav-beginning-of-defun)
733 (python-completion-complete-at-point): New functions.
734 (run-python): Change arguments. New API requirements.
736 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
738 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
741 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
742 (macroexp--expand-all): Use it.
744 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
745 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
746 Use `cl-function' instead.
748 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
750 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
751 Suggested by Stefan Monnier while discussing bug#11657.
753 2012-06-14 Sam Steingold <sds@gnu.org>
755 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
757 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
759 * play/doctor.el (doctor-doc): Remove parameter and use
760 doctor-sent instead of sent.
761 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
763 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
765 * files.el: Require cl-lib.
766 (file-name-non-special): Replace case -> cl-case.
768 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
770 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
771 mapping from #' to function*.
773 2012-06-13 Chong Yidong <cyd@gnu.org>
775 * mouse.el (mouse-drag-track): Do not set the mark if the user
776 releases the mouse without selecting anything (Bug#11588).
778 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
780 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
783 * loadup.el: Count byte-code functions as well.
785 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
786 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
788 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
789 (bug#11649). Add cl-defun and cl-defmacro.
791 2012-06-13 Drew Adams <drew.adams@oracle.com>
793 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
796 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
798 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
799 Otherwise, it blocks in batch mode.
801 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
803 * help-mode.el (bookmark-make-record-default): Declare.
805 2012-06-13 Chong Yidong <cyd@gnu.org>
807 * emacs-lisp/package.el (list-packages): Compute a list of
808 packages that are newly-available since the last list-packages
810 (package-menu--new-package-list): New var.
811 (package-menu--generate, package-menu--print-info)
812 (package-menu--status-predicate, package-menu-mark-install):
813 Handle new status label "new".
815 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
817 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
818 conversion to backquotes.
820 2012-06-12 Chong Yidong <cyd@gnu.org>
822 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
823 Rename from gud-inhibit-global-bindings.
825 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
827 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
828 hook from nxml-glyph-set-hook.
830 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
833 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
835 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
836 Convert to defcustom.
838 2012-06-12 Drew Adams <drew.adams@oracle.com>
840 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
842 (help-mode): Use them.
844 2012-06-11 Glenn Morris <rgm@gnu.org>
846 * progmodes/fortran.el (fortran-font-lock-keywords-3):
847 Use preprocessor face for directives.
848 (fortran-directive-re): Doc fix.
850 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
853 conversion to backquotes (bug#11652).
855 Fix compiler-expansion of CL's cXXr functions (bug#11673).
856 * emacs-lisp/cl-lib.el (cl--defalias): New function.
857 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
858 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
859 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
860 (cl-ninth, cl-tenth): Mark them as inlinable.
861 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
862 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
863 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
864 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
865 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
866 (cl-list*, cl-adjoin): Don't put an autoload manually.
867 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
868 (cl--compiler-macro-list*): Add autoload cookie.
869 (cl--compiler-macro-cXXr): New function.
871 * help-fns.el (help-fns--compiler-macro): New function extracted from
872 describe-function-1; follow aliases and use `compiler-macro' property.
873 (describe-function-1): Use it.
875 2012-06-11 Chong Yidong <cyd@gnu.org>
877 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
878 is uninstalled, if imagemagick is installed.
880 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
882 * emacs-lisp/cl-lib.el: Use lexical-binding.
883 (cl-map-extents, cl-maclisp-member): Remove.
884 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
885 (cl--set-substring, cl--block-wrapper, cl--block-throw)
886 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
887 * emacs-lisp/cl-extra.el: Use lexical-binding.
888 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
889 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
890 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
891 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
892 * emacs-lisp/cl-seq.el: Use lexical-binding.
893 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
894 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
895 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
896 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
897 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
900 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
902 Sync with Tramp 2.2.6-pre.
904 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
905 `print-length' and `print-level' to nil, in order to avoid
906 truncation. Reported by Christopher Schmidt
907 <christopher@ristopher.com>.
909 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
911 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
913 (tramp-compat-copy-directory): Add optional argument
914 COPY-CONTENTS. It is not handled yet.
916 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
917 (tramp-ftp-file-name-p): Simplify.
919 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
920 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
923 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
924 (tramp-methods): Do not use `tramp-password-end-of-line'.
925 (tramp-completion-function-alist-putty): Handle UNIX case.
926 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
927 (tramp-do-file-attributes-with-stat)
928 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
929 gid as real numbers. They could run out of integer range on cygwin.
930 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
931 (tramp-sh-handle-expand-file-name): Handle hops.
932 (tramp-open-connection-setup-interactive-shell):
933 Use `tramp-cleanup'. Move check for busyboxes ...
934 (tramp-find-shell): ... here. Simplify implementation.
935 Set "remote-shell" property also for alternative shells.
936 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
937 If failing, a regular file would be written otherwise.
938 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
939 (tramp-find-inline-encoding): Cache the coding commands in the
940 process cache. Apply test command on the remote side, if defined.
941 (tramp-find-inline-compress): Cache the compress commands in the
943 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
944 when requested. Handle hops.
945 (tramp-current-connection): New defvar.
946 (tramp-maybe-open-connection): Use `tramp-cleanup'.
947 Throw `suppress', if there was a failed connection shortly before.
948 Handle user interrupt. (Bug#10187)
949 (tramp-get-inline-compress, tramp-get-inline-coding):
950 Read connection properties from the process cache.
952 * net/tramp-smb.el (tramp-smb-server-version)
953 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
955 (tramp-smb-prompt): Extend for powershell prompt.
956 (tramp-smb-file-name-handler-alist): Add handlers for
957 `process-file', `shell-command' and `start-file-process'.
958 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
959 (tramp-smb-winexe-shell-command-switch): New defcustoms.
960 (tramp-smb-file-name-p): Simplify.
961 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
962 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
963 (tramp-smb-shell-quote-argument): New defuns.
964 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
965 Implement using "tar". By this, time-stamps are preserved.
966 (tramp-smb-handle-copy-file): Handle also the case of directories.
967 (tramp-smb-do-file-attributes-with-stat)
968 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
969 Use `tramp-get-connection-buffer').
970 (tramp-smb-handle-rename-file): Use "rename", when source and
971 target are on the same share.
972 (tramp-smb-maybe-open-connection): Handle wrong passwords.
973 Use `tramp-smb-server-version'.
974 (tramp-smb-wait-for-output): Remove prompt.
976 * net/tramp.el (top): Require 'cl.
977 (tramp-methods, tramp-rsh-end-of-line):
978 Remove `tramp-password-end-of-line' from docstring.
979 (tramp-save-ad-hoc-proxies): New defcustom.
980 (tramp-completion-function-alist): Adapt docstring.
981 (tramp-default-password-end-of-line): Remove defcustom.
982 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
983 (tramp-user-regexp, tramp-file-name-regexp-unified)
984 (tramp-file-name-regexp-url): Extend regexp by hop separator.
985 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
986 (tramp-remote-file-name-spec-regexp): New defconst.
987 (tramp-file-name-structure): Extend structure for hops.
988 (tramp-get-method-parameter): Move up.
989 (tramp-file-name-p, tramp-dissect-file-name)
990 (with-parsed-tramp-file-name): Handle hops.
991 (tramp-file-name-hop): New defun.
992 (tramp-make-tramp-file-name): New optional arg HOP.
993 (tramp-message-show-progress-reporter-message): New defvar.
994 (tramp-with-progress-reporter): Use it. We cannot use
995 `tramp-message-show-message' here, because this suppresses also
997 (tramp-error-with-buffer): Suppress buffer view, if
998 `tramp-message-show-message' is nil.
999 Use `tramp-get-connection-buffer'.
1000 (tramp-cleanup): New defun.
1001 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1002 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1004 (tramp-completion-handle-file-name-all-completions): Handle hops.
1005 Fix an error when called from ido.
1006 (tramp-completion-dissect-file-name): Use better local variable
1007 name. Add hop to the vector.
1008 (tramp-handle-insert-file-contents): Use progress-reporter for the
1010 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1012 (tramp-check-for-regexp): Simplify search.
1013 (tramp-enter-password): Remove it. Move implementation ...
1014 (tramp-action-password): ... here.
1015 (tramp-mode-string-to-int, tramp-local-host-p)
1016 (tramp-make-tramp-temp-file, tramp-read-passwd)
1017 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1018 Set tramp-autoload cookie.
1020 * net/trampver.el: Update release number.
1022 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1023 Michael Albinus <michael.albinus@gmx.de>
1025 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1026 (tramp-parse-group, tramp-parse-file)
1027 (tramp-parse-shostkeys-sknownhosts): New defuns.
1028 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1029 (tramp-parse-shosts-group, tramp-parse-sconfig)
1030 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1031 (tramp-parse-sknownhosts, tramp-parse-hosts)
1032 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1034 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1035 (tramp-parse-putty-group): Don't narrow.
1036 (tramp-parse-putty): Make a loop.
1037 (tramp-file-name-handler): Catch the `suppress' signal.
1039 2012-06-11 Chong Yidong <cyd@gnu.org>
1041 * image.el (imagemagick-register-types): Put the ImageMagick entry
1042 at the end of image-type-file-name-regexps.
1044 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1046 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1047 (pcase, pcase-let*, pcase-dolist): Use them.
1049 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1051 * emacs-lisp/pcase.el (pcase--let*): New function.
1052 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1053 (pcase--expand): Use macroexp-let².
1055 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1058 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1059 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1060 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1061 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1062 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1064 2012-06-10 Glenn Morris <rgm@gnu.org>
1066 * mail/rmail.el (rmail-yank-current-message): Leave point at
1067 correct position. (Bug#11660)
1069 2012-06-10 Chong Yidong <cyd@gnu.org>
1071 * allout-widgets.el: Fix code header.
1073 2012-06-10 Chong Yidong <cyd@gnu.org>
1075 * cus-edit.el (customize-changed-options-previous-release):
1078 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1080 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1082 2012-06-09 Chong Yidong <cyd@gnu.org>
1084 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1086 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1088 * window.el (special-display-popup-frame): Don't use
1089 window--display-buffer (Bug#11651).
1091 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1093 Fix parallel builds: make sure loaddefs.el is not being written
1094 while Lisp files are compiled.
1095 (compile): Don't depend on 'mh-autoloads'.
1096 (compile-CMD, compile-SH): Depend on 'autoloads'.
1097 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1099 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1101 2012-06-09 Chong Yidong <cyd@gnu.org>
1103 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1104 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1105 Doc fixes (Bug#11225).
1107 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1110 a function if there's a clear indication that it has a compiler-macro.
1111 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1112 (macro-declarations-alist): Add arglist to declaration functions.
1113 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1114 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1115 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1116 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1117 Also add autoload to find the compiler macro.
1118 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1119 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1120 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1121 (cl--compiler-macro-get): New functions, replacing calls to
1122 cl-define-compiler-macro.
1123 (cl-typep) [compiler-macro]: Use macroexp-let².
1125 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1127 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1128 string properly, fixes Bug#11473.
1130 2012-06-08 Chong Yidong <cyd@gnu.org>
1132 * faces.el (set-face-attribute): Doc fix.
1133 (modify-face): Don't use :bold and :italic.
1134 (error, warning, success): Tweak definitions.
1136 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1137 (custom-modified, custom-set, custom-changed, custom-themed)
1138 (custom-saved, custom-button, custom-button-mouse)
1139 (custom-button-pressed, custom-state, custom-comment-tag)
1140 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1141 (custom-group-subtitle): Use new-style face specs.
1142 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1143 (custom-set-face, custom-changed-face, custom-saved-face)
1144 (custom-button-face, custom-button-pressed-face)
1145 (custom-documentation-face, custom-state-face)
1146 (custom-comment-face, custom-comment-tag-face)
1147 (custom-variable-tag-face, custom-variable-button-face)
1148 (custom-face-tag-face, custom-group-tag-face-1)
1149 (custom-group-tag-face): Remove obsolete face alias.
1151 * epa.el (epa-validity-high, epa-validity-medium)
1152 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1153 (epa-field-name, epa-field-body):
1154 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1155 (font-lock-keyword-face, font-lock-builtin-face)
1156 (font-lock-function-name-face, font-lock-variable-name-face)
1157 (font-lock-type-face, font-lock-constant-face):
1158 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1159 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1160 * speedbar.el (speedbar-button-face, speedbar-file-face)
1161 (speedbar-directory-face, speedbar-tag-face)
1162 (speedbar-selected-face, speedbar-highlight-face)
1163 (speedbar-separator-face):
1164 * whitespace.el (whitespace-newline, whitespace-space)
1165 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1166 (whitespace-line, whitespace-space-before-tab)
1167 (whitespace-space-after-tab, whitespace-indentation)
1169 * emulation/cua-base.el (cua-global-mark):
1170 * eshell/em-prompt.el (eshell-prompt):
1171 * net/newst-plainview.el (newsticker-new-item-face)
1172 (newsticker-old-item-face, newsticker-immortal-item-face)
1173 (newsticker-obsolete-item-face, newsticker-date-face)
1174 (newsticker-statistics-face, newsticker-default-face):
1175 * net/newst-reader.el (newsticker-feed-face)
1176 (newsticker-extra-face, newsticker-enclosure-face):
1177 * net/newst-treeview.el (newsticker-treeview-face)
1178 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1179 (newsticker-treeview-immortal-face)
1180 (newsticker-treeview-obsolete-face)
1181 (newsticker-treeview-selection-face):
1182 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1183 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1184 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1185 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1186 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1187 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1188 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1190 * progmodes/vera-mode.el (vera-font-lock-number)
1191 (vera-font-lock-function, vera-font-lock-interface):
1192 * textmodes/table.el (table-cell): Use new-style face specs, and
1193 don't use the old :bold and :italic attributes.
1195 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1196 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1197 (ebrowse-member-class, ebrowse-progress): Likewise.
1198 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1199 (ebrowse-file-name-face, ebrowse-default-face)
1200 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1201 (ebrowse-progress-face): Remove obsolete faces.
1203 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1204 Inherit from error and warning faces respectively.
1206 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1208 (flyspell-incorrect-face, flyspell-duplicate-face):
1209 Remove obsolete aliases.
1211 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1213 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1216 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * startup.el (argv, argi): Make lexically scoped.
1219 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1220 * emacs-lisp/cl-macs.el: Use lexical-binding.
1221 Rename cl-bind-* to cl--bind-*.
1222 * files.el: Don't require `cl' since it doesn't use it.
1223 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1225 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1227 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1228 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1229 instead of calling external sort utility.
1230 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1232 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1234 * descr-text.el (describe-char): Mention how to insert the
1235 character, if the current input method doesn't support it.
1236 See the discussion in this thread for the details:
1237 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1239 2012-06-08 Sam Steingold <sds@gnu.org>
1241 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1242 XF86Back to previous-buffer.
1243 (minibuffer-local-map): Bind them to next-history-element and
1244 previous-history-element respectively.
1245 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1246 help-go-back respectively.
1247 * info.el (Info-mode-map): Bind them to Info-history-forward and
1248 Info-history-back respectively.
1249 These are the keys next to Up on the ThinkPad keyboard.
1251 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1253 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1254 * emacs-lisp/cl-macs.el: Provide itself.
1255 (cl--labels-convert-cache): New var.
1256 (cl--labels-convert): New function.
1257 (cl-flet, cl-labels): New implementation with new semantics, relying on
1259 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1260 (cl-closure-vars, cl--function-convert-cache)
1261 (cl--function-convert): Move from cl-macs.el.
1262 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1263 rename by removing the "cl-" prefix.
1264 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1266 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1269 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1270 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1271 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1272 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1273 (cl-hash-table-count): Add old compatibility aliases.
1275 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1276 Use macroexpand-all-environment instead.
1277 (cl--old-macroexpand): New var.
1278 (cl--sm-macroexpand): New function.
1279 (cl-symbol-macrolet): Use it during macro expansion.
1280 (cl--function-convert-cache): New var.
1281 (cl--function-convert): New function, extracted from
1283 (cl-lexical-let): Use it.
1285 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1286 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1287 (cl-member): Remove old alias.
1289 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1290 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1291 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1292 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1293 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1294 (cl-macroexpand-cmacs): Remove var.
1295 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1296 Use macroexpand-all instead.
1298 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1300 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1301 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1302 (macroexp-copyable-p): New functions and macros.
1303 * emacs-lisp/edebug.el (edebug-unwrap):
1304 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1305 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1306 (pcase--let*): Remove.
1307 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1308 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1309 macroexp-const-p instead.
1310 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1312 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1313 instead of "cl-" for internal definitions. Use macroexp-const-p.
1314 (cl-old-bc-file-form): Remove var.
1315 (cl-const-exprs-p): Remove fun.
1316 (cl-labels, cl-macrolet): Use backquote.
1317 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1318 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1319 (cl-define-setf-expander): Rename from cl-define-setf-method.
1320 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1322 * international/mule-cmds.el: Don't require CL.
1323 (view-hello-file): Don't use `letf'.
1325 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * tmm.el (tmm-prompt): Use string-prefix-p.
1328 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1329 (tmm-add-prompt): Use minibuffer-completion-help.
1330 (tmm-delete-map): Remove.
1332 * subr.el (kbd): Make it its own function.
1334 2012-06-07 Stefan Merten <smerten@oekonux.de>
1336 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1337 Silence compiler warnings. Fix versions.
1338 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1339 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1340 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1341 (rst-package-emacs-version-alist): Correct Emacs version to
1342 represent major merge with upstream.
1343 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1345 2012-06-06 Glenn Morris <rgm@gnu.org>
1347 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1348 Only print environment variables if set.
1350 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1353 (macroexp--cons): Rename from maybe-cons.
1354 (macroexp--accumulate): Rename from macroexp-accumulate.
1355 (macroexp--all-forms): Rename from macroexpand-all-forms.
1356 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1357 (macroexp--expand-all): Rename from macroexpand-all-1.
1359 2012-06-06 Sam Steingold <sds@gnu.org>
1361 * calendar/calendar.el (calendar-in-read-only-buffer):
1362 Call `special-mode' to enable the standard read-only keybindings.
1364 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1367 with "loading" messages (bug#11635).
1369 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1371 * files.el (enable-remote-dir-locals): New option.
1372 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1374 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1375 Ensure, that the temp directory is local.
1377 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1378 `temporary-file-directory'.
1380 * progmodes/python.el (python-send-region): Ensure, that the
1381 temporary file is created also in the remote case.
1383 2012-06-06 Glenn Morris <rgm@gnu.org>
1385 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1386 (vc-rcs-update-changelog): Use it.
1388 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1390 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1391 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1392 (vc-sccs-diff): Replace use of the external vcdiff script.
1394 2012-06-05 Glenn Morris <rgm@gnu.org>
1396 * ledit.el: Move to obsolete/.
1398 2012-06-05 Sam Steingold <sds@gnu.org>
1400 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1403 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * emacs-list/cust-print.el: Move to obsolete.
1407 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1408 compiler-macro expansion.
1410 Add native compiler-macro support.
1411 * emacs-lisp/macroexp.el (macroexpand-all-1):
1412 Support compiler-macros directly. Properly follow aliases and apply
1413 the compiler macros more thoroughly.
1414 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1415 macroexpand now properly follows aliases.
1416 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1417 (cl-compiler-macroexpand): Use new prop.
1418 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1420 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1422 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1424 * window.el (get-lru-window, get-mru-window, get-largest-window):
1425 New argument NOT-SELECTED to avoid picking the selected window.
1426 (window--display-buffer-1, window--display-buffer-2): Replace by
1427 new function window--display-buffer
1428 (display-buffer-same-window, display-buffer-reuse-window)
1429 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1430 Use window--display-buffer.
1431 (display-buffer-use-some-window): Remove temporary dedication
1432 hack by calling get-lru-window and get-largest-window with
1433 NOT-SELECTED argument non-nil. Call window--display-buffer.
1435 2012-06-05 Glenn Morris <rgm@gnu.org>
1437 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1438 Replace external vcdiff script.
1440 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1444 2012-06-04 Chong Yidong <cyd@gnu.org>
1446 * image.el (imagemagick-types-inhibit): Revert last change.
1448 (imagemagick-enabled-types): Remove CIN and EPS*.
1450 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * emacs-lisp/cl-lib.el: Rename from cl.el.
1453 * emacs-lisp/cl.el: New compatibility file.
1454 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1455 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1456 to obey the "cl-" prefix.
1457 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1459 2012-06-03 Glenn Morris <rgm@gnu.org>
1461 * emacs-lisp/authors.el (authors-aliases): Addition.
1463 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1466 2012-06-03 Stefan Merten <smerten@oekonux.de>
1468 * textmodes/rst.el: Add comments.
1469 (rst-transition, rst-adornment): New faces.
1470 (rst-adornment-faces-alist): Make default safe to reevaluate.
1472 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1473 Improve customization tags.
1474 (rst-define-level-faces): Clarify meaning.
1476 2012-06-03 Chong Yidong <cyd@gnu.org>
1478 * progmodes/compile.el (compilation-mode-line-fail)
1479 (compilation-mode-line-run, compilation-mode-line-exit):
1481 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1483 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1485 * progmodes/which-func.el (which-func-update-ediff-windows):
1486 New function. Use it in ediff-select-hook (Bug#11478).
1488 2012-06-03 Chong Yidong <cyd@gnu.org>
1490 * bindings.el: Remove explicit help text from format-mode-line.
1491 It is now supplied by mode-line-default-help-echo.
1492 (mode-line-front-space, mode-line-end-spaces)
1493 (mode-line-misc-info): New variables.
1494 (mode-line-modes, mode-line-position): Move the default value to
1495 the variable definition.
1496 (mode-line-default-help-echo): New defcustom.
1497 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1498 (mode-line-modified-help-echo): New functions.
1499 (mode-line-mule-info, mode-line-modified): Use them.
1500 (mode-line-eol-desc, propertized-buffer-identification):
1501 Consistency fixes for help text.
1502 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1503 set-buffer-file-coding-system (Bug#289).
1504 (mode-line-mule-info-help-echo): Update help text.
1506 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1508 * simple.el (execute-extended-command): Set real-this-command
1511 2012-06-02 Chong Yidong <cyd@gnu.org>
1513 Remove incorrect uses of "modeline" in comments, docstrings, and
1514 function/variable names (Bug#10329).
1516 * cus-edit.el (mode-line):
1517 * dframe.el (dframe-mouse-hscroll):
1518 * emacs-lisp/re-builder.el:
1519 * emacs-lisp/easy-mmode.el (define-minor-mode):
1520 * frame.el (set-frame-name):
1521 * help.el (lookup-minor-mode-from-indicator):
1522 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1523 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1524 (c-toggle-hungry-state):
1525 * progmodes/antlr-mode.el (antlr-language-alist):
1526 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1527 * progmodes/vhdl-mode.el (vhdl-mode):
1528 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1529 * term/ns-win.el (ns-face-at-pos):
1530 * term/sup-mouse.el (sup-mouse-report):
1531 * textmodes/flyspell.el (flyspell-mode-line-string):
1532 * textmodes/ispell.el (ispell-highlight-face):
1533 * textmodes/reftex-global.el:
1534 * vc/vc-arch.el (vc-arch-mode-line-string):
1535 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1536 * vc/vc-git.el (vc-git-mode-line-string):
1537 * vc/vc-hooks.el (vc-display-status)
1538 (vc-default-mode-line-string):
1539 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1541 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1543 * dired.el (dired-sort-set-mode-line): Rename from
1544 dired-sort-set-modeline. All callers changed.
1546 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1547 eshell-status-in-modeline.
1549 * foldout.el (foldout-mode-line-string): Rename from
1550 foldout-modeline-string. All callers changed.
1551 (foldout-update-mode-line): Rename from foldout-update-modeline.
1553 * subr.el (redraw-modeline): Make into obsolete alias.
1555 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1556 timeclock-modeline-display. Make old name an alias.
1557 (timeclock-update-mode-line): Likewise. All callers changed.
1558 (timeclock-mode-line-display): No need to check before using
1560 (timeclock-relative, timeclock-day-over-hook)
1561 (timeclock-use-elapsed, timeclock-mode-string)
1562 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1564 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1565 crisp-mode-modeline-string.
1567 * play/solitaire.el (solitaire-build-mode-line): Rename from
1568 solitaire-build-modeline. All callers changed.
1570 * play/zone.el (zone-hiding-mode-line): Rename from
1571 zone-hiding-modeline. All callers changed.
1572 (zone): Remove unusued `modeline-hidden-level' property.
1574 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1575 xscheme-modeline-initialize. All callers changed.
1577 * strokes.el (strokes-lighter): Rename from
1578 strokes-modeline-string.
1580 * textmodes/sgml-mode.el (html-face-tag-alist)
1581 (html-tag-face-alist): Use mode-line face instead of obsolete
1584 2012-06-02 Stefan Merten <smerten@oekonux.de>
1586 * textmodes/rst.el: Always require `cl'.
1587 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1589 2012-06-02 Chong Yidong <cyd@gnu.org>
1591 * image.el (imagemagick-enabled-types): Rename from
1592 imagemagick-types-enable. Add many more types.
1593 (imagemagick-types-inhibit): Change default to nil.
1594 (imagemagick-filter-types): Caller changed.
1596 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * emacs-lisp/cl-macs.el: Use backquotes.
1599 (cl-transform-function-property): Use eval-and-compile rather than
1601 (defstruct): Use declare-function instead of with-no-warnings.
1603 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1604 (byte-compile-output-docform): Re-add the print-circle bindings.
1605 (byte-compile-fix-header): Use #$ just because it's shorter.
1606 (byte-compile-output-file-form): Remove defun/defmacro.
1608 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1610 * simple.el (choose-completion): Remove now obsolete binding for
1613 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1615 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1616 in order to avoid "Stack overflow in regexp matcher".
1618 2012-05-31 Glenn Morris <rgm@gnu.org>
1620 * image.el: For clarity, call imagemagick-register-types at
1621 top-level, rather than relying on a custom :initialize.
1622 (imagemagick-types-enable): New option. (Bug#11557)
1623 (imagemagick-filter-types): New function. (Bug#7406)
1624 (imagemagick-register-types): Use imagemagick-filter-types.
1625 If disabling support, remove elements altogether rather
1626 than using an impossible regexp.
1627 (imagemagick-types-inhibit): Give it the default init function.
1629 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1631 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1632 Handle arbitrary file name lengths (Bug#11585).
1634 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1636 * desktop.el (desktop-read): Clear previous and next buffers for
1637 all windows and bury *Messages* buffer (bug#11556).
1639 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1641 Add `declare' for `defun'. Align `defmacro's with it.
1642 * emacs-lisp/easy-mmode.el (define-minor-mode)
1643 (define-globalized-minor-mode): Don't autoload the var definitions.
1644 * emacs-lisp/byte-run.el: Use lexical-binding.
1645 (defun-declarations-alist, macro-declarations-alist): New vars.
1646 (defmacro, defun): Use them.
1647 (make-obsolete, define-obsolete-function-alias)
1648 (make-obsolete-variable, define-obsolete-variable-alias):
1650 (macro-declaration-function): Mark obsolete.
1651 * emacs-lisp/autoload.el: Use lexical-binding.
1652 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1654 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1656 * textmodes/ispell.el (ispell-with-no-warnings):
1658 (ispell-kill-ispell, ispell-change-dictionary):
1659 Use `called-interactively-p' for Emacs instead of obsolete
1662 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1665 (macro-declaration-function): Move var from C code.
1666 (macro-declaration-function): Define function with defalias.
1667 * emacs-lisp/macroexp.el (macroexpand-all-1):
1668 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1669 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1670 defun/defmacro any more.
1671 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1672 Provide fallback for unknown arglist.
1673 (byte-compile-arglist-warn): Change calling convention.
1674 (byte-compile-output-file-form): Move print-vars binding.
1675 (byte-compile-output-docform): Simplify accordingly.
1676 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1677 (byte-compile-defmacro-declaration): Remove.
1678 (byte-compile-file-form-defmumble): Generalize to defalias.
1679 (byte-compile-output-as-comment): Return byte-positions.
1680 Simplify callers accordingly.
1681 (byte-compile-lambda): Use `assert'.
1682 (byte-compile-defun, byte-compile-defmacro): Remove.
1683 (byte-compile-file-form-defalias):
1684 Use byte-compile-file-form-defmumble.
1685 (byte-compile-defalias-warn): Remove.
1687 2012-05-29 Stefan Merten <smerten@oekonux.de>
1689 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1690 possible. Fix authors. Improve comments. Improve loading of `cl'.
1692 (rst-mode-abbrev-table): Merge definition.
1693 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1694 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1696 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1698 * calendar/icalendar.el
1699 (icalendar-export-region): Export UID properly.
1701 2012-05-29 Leo <sdl.web@gmail.com>
1702 * calendar/icalendar.el (icalendar-import-format):
1703 Add `icalendar-import-format-uid' (Bug#11525).
1704 (icalendar-import-format-uid): New.
1705 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1708 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1711 different alternative patterns.
1712 (pcase-codegen): Be more careful to preserve identity.
1713 (pcase--u1): Don't forget to mark vars as used.
1715 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1716 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1717 (byte-compile-from-buffer): ...rather than here.
1719 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1720 functions from byte-compile-function-environment.
1722 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1724 * window.el (window-deletable-p): Avoid deleting the root window
1725 of a frame with an active minibuffer.
1727 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1729 * simple.el (choose-completion): Use quit-window (Bug#11567).
1731 2012-05-29 Chong Yidong <cyd@gnu.org>
1733 * whitespace.el (whitespace-cleanup): Fix usage of
1734 whitespace-empty-at-bob-regexp (Bug#11492).
1736 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1738 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1741 2012-05-29 Juri Linkov <juri@jurta.org>
1743 * isearch.el (isearch-mode-map): Bind `M-s _' to
1744 `isearch-toggle-symbol'. Bind `M-s c' to
1745 `isearch-toggle-case-fold'.
1746 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1747 (isearch-forward): Add `M-s _' to the docstring.
1748 (isearch-forward-symbol, isearch-toggle-case-fold)
1749 (isearch-symbol-regexp): New functions. (Bug#11381)
1751 2012-05-29 Juri Linkov <juri@jurta.org>
1753 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1754 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1755 a function, call it to get the regexp.
1756 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1757 property `isearch-message-prefix' instead of the string "word ".
1758 (isearch-search-fun-default): For the case of `isearch-word',
1759 return a lambda that calls re-search-forward/re-search-backward
1760 with a regexp returned by `word-search-regexp' or by the function
1763 2012-05-29 Juri Linkov <juri@jurta.org>
1765 * isearch.el (isearch-search-fun-default): New function.
1766 (isearch-search-fun): Move default part to the new function
1767 `isearch-search-fun-default'.
1768 (isearch-search-fun-function): Set the default value to
1769 `isearch-search-fun-default'. (Bug#11381)
1771 * comint.el (comint-history-isearch-end):
1772 Use `isearch-search-fun-default'.
1773 (comint-history-isearch-search): Use `isearch-search-fun-default'
1774 and remove spacial case for `isearch-word'.
1775 (comint-history-isearch-wrap): Remove spacial case for
1778 * hexl.el (hexl-isearch-search-function):
1779 Use `isearch-search-fun-default'.
1781 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1782 Use `word-search-regexp' for `isearch-word'.
1784 * misearch.el (multi-isearch-search-fun):
1785 Use `isearch-search-fun-default'.
1787 * simple.el (minibuffer-history-isearch-search):
1788 Use `isearch-search-fun-default' and remove spacial case for
1790 (minibuffer-history-isearch-wrap): Remove spacial case for
1793 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1794 Remove spacial case for `isearch-word'.
1795 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1797 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1799 Decrease XEmacs incompatibilities.
1800 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1802 (flyspell-delete-region-overlays): Use alternative definition for
1804 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1805 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1806 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1807 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1808 `define-obsolete-face-alias' under XEmacs, but old method.
1810 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1811 `with-no-warnings' definition or Emacs alias.
1812 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1813 (ispell-word): Do not use `region-p' if XEmacs.
1815 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1817 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1818 Check for `ispell-dictionary-base-alist' instead of full
1819 `ispell-dictionary-alist'.
1820 (ispell-init-process): Show spellchecker when starting new Ispell
1823 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1826 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1828 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1830 * version.el (motif-version-string, gtk-version-string)
1831 (ns-version-string): Declare.
1833 2012-05-27 Juri Linkov <juri@jurta.org>
1835 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1836 after the `eval-defun-1' specialcaseing
1837 like in `edebug-eval-defun' (bug#10181).
1839 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1840 like in `eval-defun-1'.
1842 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1844 * mail/sendmail.el (mail-yank-region):
1845 Recognize rmail-yank-current-message in addition to insert-buffer.
1846 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1847 a *mail* buffer created through rmail-start-mail with sendmail as
1850 2012-05-27 Chong Yidong <cyd@gnu.org>
1852 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1853 Default to 256 (Bug#11267).
1855 * help.el (describe-mode): Doc fix.
1857 2012-05-26 Glenn Morris <rgm@gnu.org>
1859 * w32-fns.el (w32-init-info): Remove.
1860 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1862 * info.el (info-initialize): For self-contained NS builds, put the
1863 included info/ directory at the front. (Bug#2791)
1865 * paths.el (Info-default-directory-list): Make it a defcustom,
1866 mainly so that we can use custom-initialize-delay.
1868 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * subr.el (buffer-has-markers-at): Mark obsolete.
1872 * subr.el (lambda): Use declare.
1874 * emacs-lisp/lisp-mode.el (lambda):
1875 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1877 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1879 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1881 2012-05-26 Glenn Morris <rgm@gnu.org>
1883 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1885 2012-05-25 Glenn Morris <rgm@gnu.org>
1887 * paths.el: Remove no-byte-compile.
1888 * loadup.el: No need to load paths.el uncompiled.
1890 * image.el (imagemagick-types-inhibit): Doc fix.
1892 * version.el: Remove no-byte-compile and associated formatting.
1893 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1894 is ancient code from when there was an "inc-vers.el".
1896 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * progmodes/gdb-mi.el: Minor style changes.
1899 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1900 Turn into minor modes.
1901 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1902 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1903 (gdb-shell): Remove unneeded let-binding.
1904 (gdb-get-many-fields): Eliminate O(n²) behavior.
1906 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1908 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1909 platforms that don't link in fontset.c.
1911 2012-05-25 Juri Linkov <juri@jurta.org>
1913 Use the same diff color scheme as in modern VCSes (bug#10181).
1915 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1916 to avoid confusion with `diff-added' that now uses green colors.
1917 (diff-removed): Use shades of red.
1918 (diff-added): Use shades of green.
1919 (diff-changed): Leave just the yellow color.
1920 (diff-use-changed-face): New variable.
1921 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1922 how to highlight context diff changes.
1923 (diff-refine-change): Use shades of yellow.
1924 (diff-refine-removed): New face that uses shades of red.
1925 (diff-refine-added): New face that uses shades of green.
1926 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1927 `diff-refine-removed' in the call to `smerge-refine-subst'
1928 depending on the value of `diff-use-changed-face'.
1930 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1931 (smerge-other): Use shades of green.
1932 (smerge-base): Use shades of yellow.
1933 (smerge-refined-change): Empty face.
1934 (smerge-refined-removed): New face that uses shades of red.
1935 (smerge-refined-added): New face that uses shades of green.
1936 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1937 args `props-r' and `props-a', and use them. Doc fix.
1938 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1939 on its value use different faces `smerge-refined-change',
1940 `smerge-refined-removed', `smerge-refined-added' in the call to
1941 `smerge-refine-subst'.
1943 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1944 Add face condition `min-colors 88' with shades of red.
1945 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1946 `min-colors 88' with shades of green.
1947 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1948 `min-colors 88' with shades of yellow.
1950 2012-05-24 Glenn Morris <rgm@gnu.org>
1952 * paths.el (prune-directory-list, remote-shell-program): Move to...
1953 * files.el (prune-directory-list, remote-shell-program): ...here.
1954 For the latter, delay initialization, prefer ssh, just search PATH.
1956 * paths.el (term-file-prefix): Move to faces.el (the only user).
1957 * faces.el (term-file-prefix): Move here, make it a defcustom.
1959 * paths.el (news-directory, news-path, news-inews-program):
1960 Move to gnus/nnspool.el.
1962 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1964 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1965 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1966 Make the latter a defcustom, with a delayed initialization.
1968 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1969 These were deleted from Gnus itself late 2010.
1971 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1973 * progmodes/which-func.el (which-func-ff-hook):
1974 Check against user-error, not error.
1976 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1977 cl-specs.el, which no longer exists.
1979 2012-05-22 Glenn Morris <rgm@gnu.org>
1981 * info.el (info-emacs-bug): New command.
1982 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1983 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1985 2012-05-21 Glenn Morris <rgm@gnu.org>
1987 * makefile.w32-in (update-subdirs-SH):
1988 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1990 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1992 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1994 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1995 Simplify Maven regexp, and make sure the file can't start with a space
1998 2012-05-21 Glenn Morris <rgm@gnu.org>
2000 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2001 Scrap superfluous subshells.
2003 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2005 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2006 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2008 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2010 * calc/calc.el (calc-ensure-consistent-units): New variable.
2012 * calc/calc-units.el (math-consistent-units-p)
2013 (math-check-unit-consistency): New functions.
2014 (calc-quick-units, calc-convert-units):
2015 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2017 (calc-extract-units): Fix typo.
2019 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2023 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2024 (flyspell-default-deplacement-commands): Don't spell check after
2025 repeated window/frame switches (e.g. triggered by mouse-movement).
2026 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2027 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2028 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2029 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2031 (flyspell-get-casechars, flyspell-get-not-casechars):
2032 Simplify; Don't bother removing a ] just to add it back.
2033 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2035 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2037 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2039 (math-function-table): Add support for more C functions.
2041 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2043 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2044 (flyspell-debug-signal-word-checked): Protect delay handling for
2045 otherchars against empty otherchars.
2047 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2049 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2050 their respective macro declarations.
2051 * skeleton.el (define-skeleton):
2052 * progmodes/compile.el (define-compilation-mode):
2053 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2054 (define-ibuffer-filter):
2055 * emacs-lisp/generic.el (define-generic-mode):
2056 * emacs-lisp/easy-mmode.el (define-minor-mode)
2057 (define-globalized-minor-mode):
2058 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2059 * emacs-lisp/byte-run.el (defsubst):
2060 * custom.el (deftheme): Add doc-string metadata.
2062 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2066 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2070 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2071 * emacs-lisp/cl-macs.el: Idem.
2072 * emacs-lisp/cl-specs.el: Remove.
2074 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2076 Minor renaming of internal CL functions and variables.
2077 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2078 (cl--position): Rename from cl-position.
2079 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2080 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2081 (cl--random-state): Rename from *random-state*.
2083 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2085 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2086 parens around the arg list (bug#11499).
2088 2012-05-17 Juri Linkov <juri@jurta.org>
2090 * isearch.el (word-search-regexp, word-search-backward)
2091 (word-search-forward, word-search-backward-lax)
2092 (word-search-forward-lax): Move functions from search.c
2093 (bug#10145, bug#11381).
2095 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2097 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2098 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2099 normal word components.
2101 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * minibuffer.el (completion--sifn-requote): Fix last change.
2104 (minibuffer-local-must-match-filename-map):
2105 Move define-obsolete-variable-alias before its var.
2107 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2111 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2113 (completion--string-equal-p): New function.
2114 (completion--twq-all): Use it to get better assertion failure data.
2116 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2117 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2118 (shell--requote-argument): New functions.
2119 (shell-completion-vars): Use them.
2120 (shell--parse-pcomplete-arguments): Rename from
2121 shell-parse-pcomplete-arguments.
2122 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2123 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2124 Obey comint-file-name-quote-list.
2126 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2127 (smie-indent-keyword): Use it.
2129 2012-05-14 Stefan Merten <smerten@oekonux.de>
2131 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2133 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * net/rlogin.el (rlogin-mode-map): Fix last change.
2137 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2139 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2140 the following \r\n using a single `process-send-string', since the
2141 Lotus SMTP server refuses to accept any commands if they are sent
2142 with two `process-send-string's (Bug#11444).
2144 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * shell.el (shell-parse-pcomplete-arguments):
2147 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2149 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2151 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2152 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2153 (image-transform-width, image-transform-fit-width): New functions.
2154 (image-transform-properties): Use them.
2155 (image-transform-check-size): New function.
2156 (image-toggle-display-image): Use it (for testing).
2157 (image-transform-set-rotation): Reduce angle mod 360.
2158 Delete obsolete comment.
2160 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2162 * image-mode.el: Fix scaling (bug#11399).
2163 (image-transform-resize): Doc fix.
2164 (image-transform-properties): Default scale is 1 and height should
2167 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2169 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2170 than hard-coding `car', to fix misbehavior when moving forward.
2172 2012-05-13 Chong Yidong <cyd@gnu.org>
2174 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2175 (tabulated-list-entries, tabulated-list-padding)
2176 (tabulated-list-sort-key): Make permanent-local.
2178 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2179 (electric-buffer-list): Put electric buffer menu
2180 command descriptions in this docstring, instead of the docstring
2181 of electric-buffer-menu-mode. Code cleanups.
2182 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2183 Electric-buffer-menu-mode.
2184 (electric-buffer-update-highlight): Minor code cleanup.
2186 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2188 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2191 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2193 Move define-obsolete-variable-alias before the var's definition.
2194 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2195 * tooltip.el (tooltip-hook):
2196 * textmodes/reftex-toc.el (reftex-toc-map):
2197 * textmodes/reftex-sel.el (reftex-select-label-map)
2198 (reftex-select-bib-map):
2199 * textmodes/reftex-index.el (reftex-index-map)
2200 (reftex-index-phrases-map):
2201 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2202 * progmodes/meta-mode.el (meta-mode-map):
2203 * novice.el (disabled-command-hook):
2204 * loadhist.el (unload-hook-features-list):
2205 * frame.el (blink-cursor):
2206 * files.el (find-file-not-found-hooks, write-file-hooks)
2207 (write-contents-hooks):
2208 * emulation/tpu-edt.el (GOLD-map):
2209 * emacs-lock.el (emacs-lock-from-exiting):
2210 * emacs-lisp/generic.el (generic-font-lock-defaults):
2211 * emacs-lisp/chart.el (chart-map):
2212 * dos-fns.el (register-name-alist):
2213 * dired-x.el (dired-omit-files-p):
2214 * desktop.el (desktop-enable):
2215 * cus-edit.el (custom-mode-hook):
2216 * buff-menu.el (buffer-menu-mode-hook):
2217 * bookmark.el (bookmark-read-annotation-text-func)
2218 (bookmark-exit-hooks):
2219 * allout.el (allout-mode-deactivate-hook)
2220 (allout-exposure-change-hook, allout-structure-added-hook)
2221 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2222 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2223 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2224 comes before the corresponding variable's definition.
2226 2012-05-12 Chong Yidong <cyd@gnu.org>
2228 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2229 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2230 (Buffer-menu-mode-map): Bind it.
2231 (Buffer-menu--pretty-name): Add a mouse-face property.
2233 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2235 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2236 (prolog-upper-case-string, prolog-lower-case-string)
2237 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2238 (prolog-use-smie, prolog-smie-grammar): New vars.
2239 (prolog-smie-forward-token, prolog-smie-backward-token)
2240 (prolog-smie-rules): New funs.
2241 (prolog-comment-indent): Remove.
2242 (prolog-mode-variables): Use default comment indentation instead.
2244 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2245 (prolog-mode): Don't call them any more.
2246 (prolog-electric-colon, prolog-electric-dash)
2247 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2249 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2251 * minibuffer.el (completion--twq-all): Again, allow case differences.
2253 * term.el: Move keymap initialization code to be more idiomatic.
2254 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2255 (term-terminal-menu): Move initialization into declaration.
2256 (term-escape-char): Let the user set it in her .emacs.
2258 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2259 Provide SMIE-based indentation (not enabled by default yet).
2260 (sh-mode-map): Don't bind electric keys.
2261 Use electric-pair-mode instead of skeleton-pair.
2262 (sh-assignment-regexp): Fit within 80 columns.
2263 (sh-indent-supported): Specify actual shell name instead of boolean.
2264 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2265 (sh-maybe-here-document): Use it. Make obsolete.
2266 (sh-electric-here-document-mode) New minor mode.
2267 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2268 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2269 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2270 (sh-smie-rc-grammar, sh-use-smie): New vars.
2271 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2272 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2273 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2274 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2275 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2276 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2277 (sh-set-shell): Use smie-setup if requested.
2279 * term.el (term-set-escape-char): Properly set term-escape-char.
2280 See http://stackoverflow.com/questions/10524656.
2282 2012-05-10 Chong Yidong <cyd@gnu.org>
2284 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2285 Use url-generic-parse-url, and handle host names and Windows
2287 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2288 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2289 URL schemes to work on.
2290 (ffap--toggle-read-only): New function.
2291 (ffap-read-only, ffap-read-only-other-window)
2292 (ffap-read-only-other-frame): Use it.
2293 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2294 necessary for ffap-url-unwrap-remote.
2296 2012-05-10 Dave Abrahams <dave@boostpro.com>
2298 * cus-start.el (create-lockfiles): Add it.
2300 2012-05-09 Chong Yidong <cyd@gnu.org>
2302 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2303 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2305 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2309 2012-05-09 Chong Yidong <cyd@gnu.org>
2311 * ansi-color.el (ansi-color-process-output): Check for validity of
2312 comint-last-output-start before using it. This avoids a bad
2313 interaction with gdb-mi's input/output buffer.
2315 2012-05-09 Glenn Morris <rgm@gnu.org>
2317 * files.el (dir-locals-read-from-file):
2318 Mention dir-locals in any error message.
2320 2012-05-09 Chong Yidong <cyd@gnu.org>
2322 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2323 package (Bug#11410).
2325 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2326 variables into description.
2328 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2331 shell-delimiter-argument-list (bug#11348).
2332 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2334 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2336 * textmodes/rst.el: Silence byte-compiler warnings.
2337 (rst-re-alist, rst-reset-section-caches): Move around.
2338 (rst-re): Use `characterp', not `char-valid-p'.
2339 (font-lock-beg, font-lock-end): Declare.
2341 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2342 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2344 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2346 2012-05-08 Glenn Morris <rgm@gnu.org>
2348 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2350 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2352 * vc/log-edit.el: Add GNU coding standards highlighting.
2353 (log-edit-font-lock-gnu-style)
2354 (log-edit-font-lock-gnu-keywords): New vars.
2355 (log-edit-font-lock-keywords): New fun.
2356 (log-edit-mode): Don't fold case in font-lock.
2357 (log-edit-font-lock-keywords): Do not assume case-folding.
2359 * imenu.el: Misc cleanup. Make docstrings out of comments.
2360 Use lexical-binding.
2361 (imenu--index-alist, imenu--last-menubar-index-alist)
2362 (imenu-menubar-modified-tick): Use defvar-local.
2363 (imenu--split-menu): Remove unused var.
2364 (imenu--cleanup-seen): Declare as global.
2365 (imenu--cleanup): Use dolist.
2367 * subr.el (defvar-local): Add debug spec and doc-string position.
2369 2012-05-08 Glenn Morris <rgm@gnu.org>
2371 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2372 * language/english.el, language/georgian.el, language/greek.el:
2373 * language/japanese.el, language/khmer.el, language/korean.el:
2374 * language/lao.el, language/misc-lang.el, language/romanian.el:
2375 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2376 * language/thai.el, language/utf-8-lang.el:
2377 Remove no-byte-compile setting.
2379 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2381 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2383 * progmodes/make-mode.el (makefile-browse):
2384 Remove unnecessary interactive. (Bug#11324)
2386 2012-05-07 Glenn Morris <rgm@gnu.org>
2388 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2390 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2392 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * loadup.el: Preload newcomment.el.
2395 * newcomment.el: Move autoload-only code to toplevel.
2397 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2398 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2399 Handle new :right-align column property.
2400 (tabulated-list-print-col): Idem, plus use `display' text-property to
2401 try and preserve alignment for variable pitch fonts.
2403 2012-05-07 Chong Yidong <cyd@gnu.org>
2405 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2406 (tabulated-list-use-header-line): New var.
2407 (tabulated-list-init-header): Use it.
2408 (tabulated-list-print-fake-header): New function.
2409 (tabulated-list-print): Use it.
2410 (tabulated-list-sort-button-map): Add non-header-line commands.
2411 (tabulated-list-init-header): Add column name property to basic
2413 (tabulated-list-col-sort): Handle non-header-line button case.
2414 (tabulated-list--sort-by-column-name): Fix a corner case.
2416 * buff-menu.el (list-buffers--refresh):
2417 Handle Buffer-menu-use-header-line.
2419 2012-05-06 Chong Yidong <cyd@gnu.org>
2421 * buff-menu.el: Convert to Tabulated List mode.
2422 (Buffer-menu-buffer+size-width): Make obsolete.
2423 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2424 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2425 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2426 documentation into docstring of buffer-menu.
2427 (Buffer-menu-toggle-files-only): Add an informative message.
2428 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2429 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2430 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2431 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2432 (Buffer-menu-execute, Buffer-menu-select)
2433 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2434 (Buffer-menu-bury): Use Tabulated List machinery.
2435 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2436 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2438 (list-buffers--refresh): New function.
2439 (list-buffers-noselect): Use it.
2440 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2441 (Buffer-menu--pretty-file-name): New helper functions.
2443 * loadup.el: Preload tabulated-list.
2445 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2446 tabulated-list-sort-column.
2447 (tabulated-list-init-header): Add the initial aligning space even
2448 if tabulated-list-padding is zero.
2450 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2452 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2453 whose cdr is not a cons cell correctly (bug#11038).
2455 2012-05-06 Chong Yidong <cyd@gnu.org>
2457 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2458 Accept additional plist in column descriptors.
2459 (tabulated-list-init-header): Obey it.
2460 (tabulated-list-get-entry): New function.
2461 (tabulated-list-put-tag): Use it. Use string-width instead of
2463 (tabulated-list--column-number): New function.
2464 (tabulated-list-print): Use it.
2465 (tabulated-list-print-col): New function.
2466 Set `tabulated-list-column-name' property on each column's text.
2467 (tabulated-list-print-entry): Use it.
2468 (tabulated-list-delete-entry, tabulated-list-set-col):
2470 (tabulated-list-sort-column): New command (Bug#11337).
2472 * buff-menu.el (list-buffers): Move C-x C-b binding from
2473 buff-menu.el to bindings.el.
2475 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2476 :advertised-binding feature.
2478 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2480 * progmodes/compile.el (compilation-internal-error-properties):
2481 Calculate start position correctly when end-col is set but
2482 end-line is not (Bug#11382).
2484 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2486 * man.el (Man-unindent): Use text-property-default-nonsticky to
2487 prevent untabify from inheriting face properties (Bug#11408).
2489 2012-05-05 Stefan Merten <smerten@oekonux.de>
2491 * textmodes/rst.el: Major merge with upstream development up to
2492 Docutils SVN r7399 / rst.el V1.2.1.
2494 Clarify maintainership and authors.
2496 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2497 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2498 (rst-official-version, rst-official-cvs-rev, rst-version)
2499 (rst-package-emacs-version-alist): New functions and variables
2500 for version information.
2502 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2503 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2504 (rst-mode-syntax-table, rst-mode): New and corrected functions
2505 and variables representing reStructuredText features.
2507 (rst-re): New function for reStructuredText regexes. Use in
2510 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2511 (rst-mode-map): Rebind keys.
2513 (rst-mode-lazy, rst-font-lock-keywords)
2514 (rst-font-lock-extend-region)
2515 (rst-font-lock-extend-region-internal)
2516 (rst-font-lock-extend-region-extend)
2517 (rst-font-lock-find-unindented-line-limit)
2518 (rst-font-lock-find-unindented-line-match)
2519 (rst-adornment-level, rst-font-lock-adornment-level)
2520 (rst-font-lock-adornment-match)
2521 (rst-font-lock-handle-adornment-pre-match-form)
2522 (rst-font-lock-handle-adornment-matcher): Major revision of
2523 font-locking. Integrate with other code. Use `jit-lock-mode'.
2525 (rst-preferred-adornments, rst-adjust-hook)
2526 (rst-new-adornment-down, rst-preferred-bullets)
2527 (rst-preferred-bullets, rst-indent, rst-indent-width)
2528 (rst-indent-field, rst-indent-literal-normal)
2529 (rst-indent-literal-minimized, rst-indent-comment): Change,
2530 extend and improve customization.
2532 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2533 (rst-normalize-cursor-position, rst-get-decoration)
2534 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2535 (rst-rstrip, rst-toc-insert-find-delete-contents)
2536 (rst-shift-fill-region, rst-compute-bullet-tabs)
2537 (rst-debug-print-tabs, rst-debug-mark-found)
2538 (rst-shift-region-guts, rst-shift-region-right)
2539 (rst-shift-region-left, rst-use-char-classes)
2540 (rst-font-lock-keywords-function)
2541 (rst-font-lock-indentation-point)
2542 (rst-font-lock-find-unindented-line-begin)
2543 (rst-font-lock-find-unindented-line-end)
2544 (rst-font-lock-find-unindented-line)
2545 (rst-font-lock-adornment-point, rst-font-lock-level)
2546 (rst-adornment-level-alist): Remove functions and variables.
2548 (rst-compare-adornments, rst-get-adornment-match)
2549 (rst-suggest-new-adornment, rst-get-adornments-around)
2550 (rst-adornment-complete-p, rst-get-next-adornment)
2551 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2552 (rst-straighten-adornments): Standardize function names to
2553 use "adornment" instead of "decoration". Correct callers.
2554 Similar standardizing in many places.
2556 (rst-update-section, rst-adjust, rst-promote-region)
2557 (rst-enumerate-region, rst-bullet-list-region)
2558 (rst-repeat-last-character): Correct use of `interactive'.
2560 (rst-classify-adornment, rst-find-all-adornments)
2561 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2562 (rst-find-leftmost-column, rst-repeat-last-character):
2565 (rst-find-title-line, rst-reset-section-caches)
2566 (rst-get-adornments-around, rst-adjust-adornment-work)
2567 (rst-arabic-to-roman, rst-roman-to-arabic)
2568 (rst-insert-list-pos, rst-insert-list-new-item)
2569 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2572 (rst-all-sections, rst-section-hierarchy)
2573 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2576 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2577 configuration instead of only buffer. Change where necessary.
2579 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2580 (rst-shift-region, rst-adaptive-fill): New functions for
2581 indentation and filling.
2583 (rst-comment-line-break, rst-comment-indent)
2584 (rst-comment-insert-comment, rst-comment-region)
2585 (rst-uncomment-region): New functions for handling comments.
2587 (rst-compile): Quote shell arguments.
2589 (rst-compile-pdf-preview, rst-compile-slides-preview):
2590 Delete temporary files after use.
2592 2012-05-05 Glenn Morris <rgm@gnu.org>
2594 * calendar/cal-html.el: Optionally include holidays in the output.
2595 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2596 (cal-html-holidays): New option.
2597 (cal-html-css-default): Add holiday entry.
2598 (holiday-in-range): Autoload it.
2599 (cal-html-htmlify-entry): Add optional class argument.
2600 (cal-html-htmlify-list): Add optional holidays argument.
2601 (cal-html-insert-agenda-days): Include holidays in the output.
2602 (cal-html-one-month): Maybe include holidays.
2604 * calendar/holidays.el (holiday-in-range):
2605 Move here from cal-tex-list-holidays.
2606 * calendar/cal-tex.el (cal-tex-list-holidays):
2607 Make it an obsolete alias for holiday-in-range. Update all callers.
2609 2012-05-05 Chong Yidong <cyd@gnu.org>
2611 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2614 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2616 * files.el (file-auto-mode-skip): New var.
2617 (set-auto-mode-1): Use it.
2619 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * repeat.el: Use lexical-binding.
2622 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2623 (repeat-undo-count): Remove.
2625 * progmodes/octave-mod.el (octave-abbrev-start):
2626 * progmodes/f90.el (f90-abbrev-start):
2627 * face-remap.el (text-scale-adjust):
2628 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2630 * emacs-lisp/pcase.el (pcase--let*): New function.
2631 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2633 (pcase--split-pred): Be more clever about ruling out overlap between
2634 a predicate and some constant pattern.
2635 (pcase--q1): Use `null' instead of (eq foo nil).
2637 * subr.el (setq-local, defvar-local): New macros.
2638 (kbd): Redefine as an alias.
2639 (with-selected-window): Leave unrelated frames alone.
2640 (set-temporary-overlay-map): New function.
2642 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * subr.el (user-error): New function.
2645 * window.el (switch-to-buffer):
2646 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2647 (smerge-match-conflict):
2648 * simple.el (previous-matching-history-element)
2649 (next-matching-history-element, goto-history-element, undo-more)
2651 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2652 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2653 (next-file, tags-loop-scan, list-tags, complete-tag):
2654 * progmodes/compile.el (compilation-loop):
2655 * mouse.el (mouse-minibuffer-check):
2656 * man.el (Man-bgproc-sentinel, Man-goto-page):
2657 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2658 (Info-history-forward, Info-follow-reference, Info-menu)
2659 (Info-extract-menu-item, Info-extract-menu-counting)
2660 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2661 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2662 (Info-next-reference, Info-prev-reference, Info-index)
2663 (Info-index-next, Info-follow-nearest-node)
2664 (Info-copy-current-node-name):
2665 * imenu.el (imenu--make-index-alist)
2666 (imenu-default-create-index-function, imenu-add-to-menubar):
2667 * files.el (basic-save-buffer, recover-file):
2668 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2669 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2670 (checkdoc-message-text, checkdoc-defun):
2671 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2672 * cus-edit.el (customize-changed-options, customize-rogue)
2673 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2674 (custom-variable-mark-to-reset-standard)
2675 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2677 * completion.el (check-completion-length):
2678 * comint.el (comint-search-arg)
2679 (comint-previous-matching-input-string-position)
2680 (comint-previous-matching-input)
2681 (comint-replace-by-expanded-history-before-point, comint-send-input)
2682 (comint-copy-old-input, comint-backward-matching-input)
2683 (comint-goto-process-mark, comint-set-process-mark):
2684 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2685 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2687 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2689 * dabbrev.el (dabbrev--ignore-case-p): New function.
2690 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2693 * files.el (automount-dir-prefix): Mark as obsolete.
2695 2012-05-04 Glenn Morris <rgm@gnu.org>
2697 * patcomp.el, play/bruce.el: Move to obsolete/.
2699 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2701 Fix minor Y10k bugs.
2702 * arc-mode.el (archive-unixdate):
2703 * autoinsert.el (auto-insert-alist):
2704 * calc/calc-forms.el (math-this-year):
2705 * emacs-lisp/copyright.el (copyright-current-year)
2706 (copyright-update-year, copyright):
2707 * tar-mode.el (tar-clip-time-string):
2708 * time.el (display-time-update):
2709 Don't assume years have 4 digits.
2711 2012-05-04 Chong Yidong <cyd@gnu.org>
2713 * dos-w32.el (file-name-buffer-file-type-alist)
2714 (direct-print-region-use-command-dot-com):
2715 * ffap.el (ffap-menu-regexp):
2716 * find-file.el (ff-special-constructs):
2717 * follow.el (follow-debug):
2718 * forms.el (forms--debug):
2719 * iswitchb.el (iswitchb-all-frames):
2720 * ido.el (ido-all-frames):
2721 * emacs-lisp/timer.el (timer-max-repeats):
2722 * mail/feedmail.el (feedmail-mail-send-hook)
2723 (feedmail-mail-send-hook-queued):
2724 * mail/footnote.el (footnote-signature-separator):
2725 * mail/mailabbrev.el (mail-alias-separator-string)
2726 (mail-abbrev-mode-regexp):
2727 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2728 * progmodes/idlwave.el (idlwave-libinfo-file)
2729 (idlwave-default-completion-case-is-down)
2730 (idlwave-library-routines): Convert defvars to defcustoms.
2732 * mail/rmail.el (rmail-decode-mime-charset):
2733 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2734 (idlwave-shell-fix-inserted-breaks)
2735 (idlwave-shell-activate-alt-keybindings)
2736 (idlwave-shell-use-breakpoint-glyph):
2737 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2739 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2741 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2743 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2745 * progmodes/verilog-mode.el (font-lock-keywords):
2746 Fix mis-highligting auto. Reported by Craig Barner.
2747 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2748 defines from global name space. Reported by Dan Dever.
2749 (verilog-auto-reset, verilog-auto-reset-widths)
2750 (verilog-auto-tieoff): Support using unbased numbers for
2751 AUTORESET and AUTOTIEOFF.
2752 (verilog-submit-bug-report): Update variable list.
2753 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2754 parenthesis from not matching. Reported by Michael Rytting.
2755 (verilog-auto-template-lint): Fix hash error when linting modules
2756 with no used templates.
2757 (verilog-warn, verilog-warn-error)
2758 (verilog-warn-fatal): When non-interactive report multiple
2759 warnings before exiting. Suggested by Brad Dobbie.
2760 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2761 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2762 to report unused template errors. Reported by Brad Dobbie.
2763 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2764 nets, bug438. Reported by Vns Blore.
2765 (verilog-auto-inout-module, verilog-auto-reg)
2766 (verilog-read-decls, verilog-read-sub-decls-sig)
2767 (verilog-signals-edit-wire-reg, verilog-signals-with):
2768 Fix passing of Verilog data types in ANSI input/output ports
2769 such as "output logic" into the AUTOs. Special case "wire" and
2770 "reg" for backwards compatibility presuming Verilog 2001.
2771 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2772 (verilog-preprocess): Fix replication of preprocess output.
2773 Reported by Brad Dobbie.
2774 (verilog-auto-inst-interfaced-ports):
2775 Create verilog-auto-inst-interfaced-ports, bug429.
2776 Reported by Julian Gorfajn.
2777 (verilog-after-save-font-hook)
2778 (verilog-before-save-font-hook): New variable.
2779 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2780 (verilog-save-font-mods): Wrap disabling fontification, reported
2782 (verilog-do-indent, verilog-pretty-declarations-auto)
2783 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2784 Reported by Pierre-David Pfister.
2785 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2786 of class declarations, bug292. Reported by Kevin Heilman.
2787 (verilog-read-decls): Fix 'parameter type' not appearing in
2788 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2789 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2790 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2791 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2792 Reported by David Kravitz.
2794 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2796 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2797 assignment with tests in ifs and for loops.
2798 (verilog-extended-complete-re, verilog-complete-reg): Change so
2799 that DPI inport functions don't look like fuction declarations.
2800 (verilog-pretty-expr): Don't line up assignment
2801 operations to the test and increment in if and for loops
2802 (verilog-extended-complete-re, verilog-complete-reg): Change so
2803 that DPI inport functions don't look like fuction declarations
2805 2012-05-03 Kenichi Handa <handa@m17n.org>
2807 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2808 decoding, and show a warning message without signaling an error
2811 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * emacs-lisp/bytecomp.el
2814 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2815 since cconv.el might have introduced :fun-body, internal-make-closure,
2816 and friends for bytecomp to handle (bug#11391).
2817 * custom.el (defcustom): Avoid ((λ ..) ..).
2819 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2823 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2825 * notifications.el (dbus-debug):
2826 * term/linux.el (gpm-mouse-enable):
2827 * term/screen.el (xterm-register-default-colors): Declare.
2829 2012-05-02 Chong Yidong <cyd@gnu.org>
2831 * cus-start.el (gc-cons-percentage, exec-suffixes)
2832 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2833 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2834 (make-cursor-line-fully-visible, void-text-area-pointer)
2835 (font-list-limit): Add customization data.
2837 * allout.el (allout-exposure-change-functions)
2838 (allout-structure-added-functions)
2839 (allout-structure-deleted-functions)
2840 (allout-structure-shifted-functions): Rename abnormal hooks from
2841 *-hook, and convert to defcustoms.
2842 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2843 Convert to defcustoms.
2844 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2846 * allout-widgets.el: Hook callers changed.
2848 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2850 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2851 the yanked message in preference to the default value of
2852 buffer-file-coding-system.
2854 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2856 * window.el (display-buffer--action-function-custom-type):
2859 2012-05-02 Alan Mackenzie <acm@muc.de>
2861 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2863 2012-05-01 Glenn Morris <rgm@gnu.org>
2865 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2867 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2869 * cus-edit.el (custom-variable-documentation): Simplify with format.
2871 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2872 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * simple.el (suggest-key-bindings, execute-extended-command):
2875 Move from keyboard.c.
2877 2012-05-01 Chong Yidong <cyd@gnu.org>
2879 * follow.el: Eliminate advice.
2880 (set-process-filter, process-filter, sit-for): Advice deleted.
2881 (follow-mode-off-hook): Obsolete hook removed.
2882 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2884 (follow-auto): Use a :set function.
2885 (follow-mode): Rewritten. Don't advise process filters.
2886 (follow-switch-to-current-buffer-all, follow-scroll-up)
2887 (follow-scroll-down): Assume follow-mode is bound.
2888 (follow-comint-scroll-to-bottom)
2889 (follow-align-compilation-windows): New functions.
2890 (follow--window-sorter): New function.
2891 (follow-all-followers): Use it to explicitly sort windows by their
2892 positions; don't make assumptions about next-window order.
2893 (follow-windows-start-end, follow-delete-other-windows-and-split)
2894 (follow-calc-win-start): Doc fix.
2895 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2896 vertical-motion unnecessarily.
2897 (follow-adjust-window): New function.
2898 (follow-post-command-hook): Use it.
2899 (follow-call-set-process-filter, follow-call-process-filter)
2900 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2901 (follow-stop-intercept-process-output, follow-generic-filter):
2903 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2904 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2905 New functions, replacing advice on scroll-bar-* commands.
2906 (follow-mwheel-scroll): New function (Bug#4112).
2908 * comint.el (comint-adjust-point): New function.
2909 (comint-postoutput-scroll-to-bottom): Use it.
2910 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2912 2012-05-01 Glenn Morris <rgm@gnu.org>
2914 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2915 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2916 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2917 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2918 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2919 Remove no-byte-compile setting.
2921 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2924 all-completions code to not return a number in the last cdr.
2926 2012-04-30 Leo Liu <sdl.web@gmail.com>
2928 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2931 2012-04-29 Chong Yidong <cyd@gnu.org>
2933 * follow.el (follow-calc-win-end): Rewrite to handle partial
2934 screen lines correctly (Bug#8390).
2935 (follow-avoid-tail-recenter): Minor cleanup.
2937 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2939 Avoid the obsolete `assoc' package.
2940 * speedbar.el (speedbar-refresh): Avoid adelete.
2941 (speedbar-file-lists): Simplify and avoid aput.
2942 * man.el (Man--sections, Man--refpages): New vars, replacing
2943 Man-sections-alist and Man-refpages-alist.
2944 (Man-build-section-alist, Man-build-references-alist):
2945 Use them; avoid aput.
2946 (Man--last-section, Man--last-refpage): New vars.
2947 (Man-follow-manual-reference): Use them.
2948 Use the `default' arg of completing-read.
2949 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2951 2012-04-27 Chong Yidong <cyd@gnu.org>
2953 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2955 * startup.el (x-apply-session-resources): New function.
2957 * term/ns-win.el (ns-initialize-window-system):
2958 * term/w32-win.el (w32-initialize-window-system):
2959 * term/x-win.el (x-initialize-window-system): Use it to properly
2960 set menu-bar-mode and other vars from X resources, even if the
2961 initial frame is not a window-system frame (Bug#2299).
2963 * subr.el (read-key): Avoid running filter function when setting
2964 up temporary tool bar entries (Bug#9922).
2966 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2968 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2971 2012-04-27 Chong Yidong <cyd@gnu.org>
2973 * select.el (xselect--encode-string): New function, split from
2974 xselect-convert-to-string.
2975 (xselect-convert-to-string): Use it.
2976 (xselect-convert-to-filename, xselect-convert-to-os)
2977 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2978 returned strings are properly encoded (Bug#11315).
2980 2012-04-27 Chong Yidong <cyd@gnu.org>
2982 * simple.el (delete-active-region): Move to killing custom group.
2984 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2986 * progmodes/which-func.el (which-func-current): Quote %
2987 characters for mode-line processing.
2989 2012-04-27 Chong Yidong <cyd@gnu.org>
2991 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2992 reaching eob (Bug#11286).
2994 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2996 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2997 (gdb): Make it buffer-local and init to zero.
2998 (gdb-control-commands-regexp): New variable.
2999 (gdb-send): Don't wrap in "-interpreter-exec console" if
3000 gdb-control-level is positive. Increment gdb-control-level
3001 whenever the command matches gdb-control-commands-regexp, and
3002 decrement it each time the command is "end". (Bug#11279)
3004 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3006 * window.el (adjust-window-trailing-edge, enlarge-window)
3007 (shrink-window, window-resize):
3008 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3009 windows (Bug#11276).
3011 2012-04-27 Chong Yidong <cyd@gnu.org>
3013 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3014 fix "missing prefix" warning. All callers changed.
3016 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * emacs-lisp/assoc.el: Move to obsolete/.
3020 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3022 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3024 * term/ns-win.el (ns-define-service):
3025 * progmodes/pascal.el (pascal-goto-defun):
3026 * progmodes/js.el (js--read-tab):
3027 * progmodes/etags.el (tags-lazy-completion-table):
3028 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3029 * emacs-lisp/ewoc.el (ewoc--wrap):
3030 * emacs-lisp/assoc.el (aput, adelete, amake):
3031 * doc-view.el (doc-view-convert-current-doc):
3032 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3034 2012-04-26 Chong Yidong <cyd@gnu.org>
3036 * image.el (image-type-from-buffer): Only return supported image
3039 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3040 value, for symmetry with diff-end-of-hunk.
3041 (diff-split-hunk, diff-find-source-location)
3042 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3043 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3044 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3045 compute the relevant hunk or file properly (Bug#6005).
3046 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3048 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * vc/vc.el: Replace lexical-let by lexical-binding.
3058 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3059 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3060 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3062 2012-04-26 Chong Yidong <cyd@gnu.org>
3064 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3065 (diff-mode-shared-map): Bind it to / and [remap undo].
3067 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3068 (ediff-window-setup-function): Use it as the default, to set up
3069 windows based on whether the current frame is graphical (Bug#2138).
3070 (ediff-choose-window-setup-function-automatically): Make obsolete.
3072 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3074 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3076 * ffap.el: Remove old code for obsolete package.
3077 (ffap-complete-as-file-p): Remove.
3079 Use completion-table-with-quoting for comint and pcomplete.
3080 * comint.el (comint--unquote&requote-argument)
3081 (comint--unquote-argument, comint--requote-argument): New functions.
3082 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3083 (comint-quote-filename): Use regexp-opt-charset.
3084 (comint--common-suffix, comint--common-quoted-suffix)
3085 (comint--table-subvert): Remove.
3086 (comint-unquote-function, comint-requote-function): New vars.
3087 (comint--complete-file-name-data): Use them with
3088 completion-table-with-quoting.
3089 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3090 * pcomplete.el (pcomplete-arg-quote-list)
3091 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3092 (pcomplete-unquote-argument-function): Default to non-nil.
3093 (pcomplete-unquote-argument): Simplify.
3094 (pcomplete--common-quoted-suffix): Remove.
3095 (pcomplete-requote-argument-function): New var.
3096 (pcomplete--common-suffix): New function.
3097 (pcomplete-completions-at-point): Use completion-table-with-quoting
3098 and completion-table-subvert.
3100 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3101 (minibuffer--double-dollars): Preserve properties.
3102 (completion--sifn-requote): New function.
3103 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3105 * minibuffer.el: Add support for completion of quoted/escaped data.
3106 (completion-table-with-quoting, completion-table-subvert): New funs.
3107 (completion--twq-try, completion--twq-all): New functions.
3108 (completion--nth-completion): New function.
3109 (completion-try-completion, completion-all-completions): Use it.
3111 2012-04-25 Leo Liu <sdl.web@gmail.com>
3113 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3114 Use compilation-message if available to find real filename.
3116 2012-04-25 Chong Yidong <cyd@gnu.org>
3118 * vc/diff-mode.el (diff-setup-whitespace): New function.
3119 (diff-mode): Use it.
3121 * vc/diff.el (diff-sentinel):
3122 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3123 Whitespace mode variables based on diff style (Bug#8612).
3125 2012-04-25 Leo Liu <sdl.web@gmail.com>
3127 * progmodes/python.el (python-send-region): Add suffix .py to the
3130 * files.el (auto-mode-alist): Use javascript-mode instead.
3132 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3134 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3136 * soap-client.el (soap-resolve-references-for-sequence-type)
3137 (soap-resolve-references-for-array-type): Hack to prevent self
3138 references, see Bug#9.
3139 (soap-parse-envelope): Report the contents of the 'detail' node
3140 when receiving a fault reply.
3141 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3143 * soap-inspect.el (soap-sample-value-for-simple-type)
3144 (soap-inspect-simple-type): New function.
3146 * soap-client.el (soap-simple-type): New struct.
3147 (soap-default-xsd-types, soap-default-soapenc-types)
3148 (soap-decode-basic-type, soap-encode-basic-type):
3149 support unsignedInt and double basic types.
3150 (soap-resolve-references-for-simple-type)
3151 (soap-parse-simple-type, soap-encode-simple-type): New function.
3152 (soap-parse-schema): Parse xsd:simpleType declarations.
3154 * soap-client.el (soap-default-xsd-types)
3155 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3156 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3157 the local name of "soapenc:Array".
3158 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3159 decoding integer, byte and anyURI xsd types.
3161 2012-04-25 Chong Yidong <cyd@gnu.org>
3163 * cus-edit.el (custom-buffer-create-internal): Update header text.
3165 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3167 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3168 settings on 'system-type', not on 'window-system'. On MS-Windows,
3169 set interactive-mode on in GDB.
3171 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3174 (ruby-syntax-propertize-regexp): Remove.
3175 (ruby-syntax-propertize-function): Split regexp into chunks.
3176 Match following code directly.
3178 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3180 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3181 (ruby-syntax-propertize-regexp): New function.
3182 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3183 by a special keyword.
3185 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3186 (ruby-syntax-general-delimiters-goto-beg)
3187 (ruby-syntax-propertize-general-delimiters): New functions.
3188 (ruby-syntax-propertize-function): Use them to handle GDL.
3189 (ruby-font-lock-keywords): Move old handling of GDL...
3190 (ruby-font-lock-syntactic-keywords): .. to here.
3191 (ruby-calculate-indent): Adjust indentation for GDL.
3193 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3195 * notifications.el (top): Remove unneeded declarations.
3196 (notifications-specification-version): Change to "1.2".
3197 (notifications-interface, notifications-notify-method)
3198 (notifications-close-notification-method): Fix docstring.
3199 (notifications-get-capabilities-method): New defconst.
3200 (notifications-notify): Add :action-items, :resident and
3201 :transient hints. Change "image_data" to "image-data" and
3202 "image_path" to "image-path".
3203 (notifications-get-capabilities): New defun.
3205 2012-04-24 Leo Liu <sdl.web@gmail.com>
3207 * progmodes/python.el: Move hideshow setup to the end.
3209 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3211 * window.el (handle-select-window): Clear echo area since this is
3212 no more done by read_char (Bug#11304).
3214 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3217 and `/ M' to filter-derived-mode.
3218 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3219 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3220 (ibuffer-mark-by-mode): Use default rather than initial-input.
3221 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3223 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3225 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3226 (ibuffer-filter-by-derived-mode): New filter.
3227 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3229 2012-04-23 Andreas Politz <politza@fh-trier.de>
3231 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3233 2012-04-23 Chong Yidong <cyd@gnu.org>
3235 * cus-edit.el (customize-apropos, customize-apropos-options):
3236 Disable matching of non-option variables (Bug#11176).
3237 (customize-option, customize-option-other-window)
3238 (customize-changed-options): Doc fix.
3239 (customize-apropos-options, customize-apropos-faces)
3240 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3242 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3243 Fix word list splitting (Bug#11132).
3244 (apropos-symbol, apropos-keybinding, apropos-label)
3245 (apropos-property, apropos-function-button)
3246 (apropos-variable-button, apropos-misc-button): New faces.
3247 (apropos-symbol-face, apropos-keybinding-face)
3248 (apropos-label-face, apropos-property-face, apropos-match-face):
3249 Variables removed (Bug#8396).
3250 (apropos-library-button, apropos-format-plist, apropos-print)
3251 (apropos-print-doc, apropos-describe-plist): Callers changed.
3253 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3255 * net/xesam.el (xesam-mode-map): Use let-bound map in
3256 initialization. (Bug#11292)
3258 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3260 Preserve ispell session localwords when switching back to
3263 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3264 variable to hold buffer session localwords.
3265 (ispell-kill-ispell): add option 'clear to delete session
3267 (ispell-command-loop, ispell-change-dictionary)
3268 (ispell-buffer-local-words): Preserve session localwords when
3271 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3272 Preserve session localwords when needed.
3274 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3276 * ispell.el (ispell-insert-word) Remove unneeded function using
3277 obsolete `translation-table-for-input'.
3278 (ispell-word, ispell-process-line, ispell-complete-word):
3279 Use plain `insert' instead of removed `ispell-insert-word'.
3281 2012-04-22 Chong Yidong <cyd@gnu.org>
3283 * cus-edit.el (custom-variable-menu)
3284 (custom-variable-reset-saved, custom-face-menu)
3285 (custom-face-reset-saved): If there is no saved value, make the
3286 "reset-saved" operation bring back the default (Bug#9509).
3287 (custom-face-state): Properly detect themed faces.
3289 * faces.el (face-spec-set): Stop supporting deprecated form of
3292 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3294 Move functions from C to Lisp. Make non-blocking method calls
3295 the default. Implement further D-Bus standard interfaces.
3297 * net/dbus.el (dbus-message-internal): Declare function.
3298 Remove unneeded function declarations.
3299 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3300 (dbus-message-type-method-return, dbus-message-type-error)
3301 (dbus-message-type-signal): Declare variables. Remove local
3303 (dbus-interface-dbus, dbus-interface-peer)
3304 (dbus-interface-introspectable, dbus-interface-properties)
3305 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3307 (dbus-interface-objectmanager): New defconst.
3308 (dbus-call-method, dbus-call-method-asynchronously)
3309 (dbus-send-signal, dbus-method-return-internal)
3310 (dbus-method-error-internal, dbus-register-service)
3311 (dbus-register-signal, dbus-register-method): New defuns, moved
3313 (dbus-call-method-handler, dbus-setenv)
3314 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3316 (dbus-call-method-non-blocking): Make it an obsolete function.
3317 (dbus-unregister-object, dbus-unregister-service)
3318 (dbus-handle-event, dbus-register-property)
3319 (dbus-property-handler): Obey the new structure of
3320 `bus-registered-objects'.
3321 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3322 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3323 Use `dbus-call-method'.
3325 2012-04-22 Chong Yidong <cyd@gnu.org>
3327 * cus-edit.el (custom-commands, custom-reset-menu)
3328 (Custom-reset-standard): Tweak labels.
3329 (custom-reset-button-menu): Change default to t.
3330 (custom-buffer-create-internal): For the custom-reset-button-menu
3331 case, put the revert button first.
3332 (custom-group-subtitle): New face.
3333 (custom-group-value-create): Align docstring to a specific column.
3335 * wid-edit.el (widget-documentation-link-add): Don't handle
3336 indentation in this function.
3337 (widget-documentation-string-indent-to): New function.
3338 (widget-documentation-string-value-create): Use it.
3340 * autorevert.el (auto-revert):
3341 * epg-config.el (epg):
3342 * ibuffer.el (ibuffer):
3345 * eshell/eshell.el (eshell):
3346 * net/ange-ftp.el (ange-ftp):
3347 * progmodes/ebnf2ps.el (postscript):
3348 * progmodes/flymake.el (flymake):
3349 * progmodes/prolog.el (prolog):
3350 * progmodes/verilog-mode.el (verilog-mode):
3351 * progmodes/which-func.el (which-func):
3352 * term/xterm.el (xterm):
3353 * textmodes/picture.el (picture):
3354 * textmodes/tildify.el (tildify):
3355 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3356 customization buffers.
3358 2012-04-22 Alan Mackenzie <acm@muc.de>
3360 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3361 Adding a ) can hide the resulting (..) from searches. Fix it.
3362 Bound the backward search to the position of the existing (.
3364 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3366 * progmodes/verilog-mode.el (verilog-mode): Check whether
3367 which-func-modes is t before adding verilog-mode.
3368 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3370 2012-04-21 Leo Liu <sdl.web@gmail.com>
3372 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3374 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3376 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3377 filling of the last column of a table (Bug#5635).
3378 (woman-find-next-control-line): New arg, specifying an additional
3379 regexp component for the control line.
3380 (woman2-roff-buffer): Use it.
3381 (woman-break-table): New function.
3382 (woman2-TS): Use it.
3384 2012-04-21 Chong Yidong <cyd@gnu.org>
3386 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3387 (woman-horizontal-escapes, woman-negative-vertical-space)
3388 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3389 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3391 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * minibuffer.el (completion-file-name-table): Complete user names.
3395 2012-04-20 Leo Liu <sdl.web@gmail.com>
3397 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3400 2012-04-20 Chong Yidong <cyd@gnu.org>
3402 * server.el (server-execute): Respect initial-buffer-choice if it
3403 is a string and there are no files to open (Bug#2825).
3404 (server-create-window-system-frame, server-create-tty-frame):
3405 Don't switch buffers here.
3406 (server-process-filter): Only try to open a window system frame if
3407 compiled with graphical support (Bug#8314).
3409 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3411 * battery.el (battery-echo-area-format): Display remaining time
3412 for sysfs backend too (Bug#11269).
3413 (battery-linux-sysfs): Fix conditional for the charge.
3415 2012-04-20 Chong Yidong <cyd@gnu.org>
3417 * progmodes/gdb-mi.el (gdb): Revert previous change.
3418 (gdb-inferior-io--init-proc): New function.
3419 (gdb-init-1): Use it.
3420 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3421 responsible for allocating a new pty and hooking it to gdb when
3422 the old pty gets an EIO due to process exit.
3423 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3424 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3425 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3427 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3429 * window.el (window-min-size, window-sizable, window-min-delta)
3430 (window-max-delta, window--resizable, window-resizable)
3431 (window-total-size, window-full-height-p, window-full-width-p)
3432 (window-in-direction, window--resize-mini-window, window-resize)
3433 (window--resize-child-windows-normal)
3434 (window--resize-child-windows, window--resize-siblings)
3435 (window--resize-this-window, adjust-window-trailing-edge)
3436 (enlarge-window, shrink-window): Doc fixes.
3438 2012-04-20 Chong Yidong <cyd@gnu.org>
3440 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3441 New function to call delete-process on the gdb-inferior buffer's pty.
3442 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3443 pty process (Bug#11273).
3444 (gdb-update): New arg to suppress talking to the gdb process.
3445 (gdb-done-or-error): Use it.
3446 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3447 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3448 sentinel not being called.
3450 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3452 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3454 2012-04-20 Glenn Morris <rgm@gnu.org>
3456 * net/network-stream.el (open-network-stream): Doc fix.
3458 2012-04-20 Chong Yidong <cyd@gnu.org>
3460 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3462 2012-04-20 Alan Mackenzie <acm@muc.de>
3464 Ensure searching for keywords is case sensitive.
3466 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3467 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3468 (c-defun-name, c-mark-function, c-cpp-define-name)
3469 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3470 (c-context-line-break): Bind case-fold-search to nil.
3472 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3473 Bind case-fold-search to nil.
3475 2012-04-20 Chong Yidong <cyd@gnu.org>
3477 * mail/sendmail.el (mail-bury): Call return action with the right
3478 Rmail buffer (Bug#11242).
3480 * server.el (server-process-filter): Handle corner case where both
3481 tty and nowait options are present (Bug#11102).
3483 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3485 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3486 (top level): Put into the executable the ident-style '$Id:' tag on
3489 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * electric.el (electric-indent-post-self-insert-function): Check that
3492 electric-indent-mode is enabled in current buffer.
3494 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3496 * imenu.el (imenu-progress-message): Restore; it is "used" in
3497 erc/erc-imenu.el and net/snmp-mode.el.
3499 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3501 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3502 (mouse-avoidance-nudge-mouse): Remove unused binding.
3504 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3506 * descr-text.el (describe-char):
3507 * progmodes/python.el (python-describe-symbol):
3508 Don't call `toggle-read-only', set `buffer-read-only'.
3510 * imenu.el (imenu-default-goto-function): Mark unused args.
3511 (imenu-progress-message): Remove obsolete macro; all callers changed.
3513 * subr.el (keymap-canonicalize): Remove unused binding.
3514 (read-passwd): Mark unused arg.
3516 * tutorial.el (tutorial--display-changes): Remove unused binding.
3517 (tutorial--save-tutorial-to): Remove unused variable.
3519 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3520 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3521 (package-generate-autoloads, package-menu--generate)
3522 (package-menu--find-upgrades): Remove unused bindings.
3524 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3525 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3526 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3527 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3528 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3529 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3530 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3531 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3532 (cua-delete-char-rectangle): Mark unused args.
3533 (cua-align-rectangle): Remove unused binding.
3535 * mail/rmail.el (compilation--message->loc)
3536 (epa--find-coding-system-for-mime-charset): Declare.
3538 * net/dbus.el (dbus-register-service): Declare.
3539 (dbus-name-owner-changed-handler): Remove unused binding.
3541 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3542 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3543 (nxml-scan-backward-within): Mark unused arg.
3544 (nxml-dynamic-markup-word): Remove unused binding.
3546 * mouse.el (mouse-menu-major-mode-map):
3547 * emacs-lisp/authors.el (authors-scan-change-log)
3548 (authors-add-to-author-list):
3549 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3550 * emacs-lisp/smie.el (smie-auto-fill):
3551 * mail/sendmail.el (mail-bury):
3552 * mail/unrmail.el (unrmail):
3553 * net/tls.el (open-tls-stream):
3554 * textmodes/picture.el (picture-mouse-set-point):
3555 Remove unused bindings.
3557 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3559 * net/tramp.el (tramp-action-password): Let-bind
3560 `enable-recursive-minibuffers' to t.
3562 2012-04-18 Sam Steingold <sds@gnu.org>
3564 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3565 instead of 'string to accommodate values like [f11].
3566 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3567 * progmodes/gdb-mi.el: Likewise.
3569 2012-04-18 Leo Liu <sdl.web@gmail.com>
3571 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3573 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3576 2012-04-18 Chong Yidong <cyd@gnu.org>
3578 * simple.el (line-move): Use forward-line if in batch mode
3581 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3583 * files.el (after-find-file): Do not try to add a final newline if
3584 the buffer is read-only (Bug#11156).
3586 2012-04-17 Richard Stallman <rms@gnu.org>
3588 * mail/rmail.el (rmail-start-mail):
3589 Pass (rmail-mail-return...) for the return-action.
3590 Pass (rmail-yank-current-message...) for the yank-action.
3591 (rmail-yank-current-message): New function.
3592 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3593 (rmail-reply): Likewise.
3594 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3596 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3597 buffer, not the last. Reject temp buffers. Use the rmail-mode
3600 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3602 * server.el (server-ensure-safe-dir): Simplify.
3604 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * emacs-lisp/smie.el: Provide smarter auto-filling.
3607 (smie-auto-fill): New function.
3608 (smie-setup): Use it.
3610 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3612 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3614 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3615 (comment-indent): Use it.
3617 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3619 * ses.el: The overall change is to add cell renaming, that is
3620 setting fancy names for cell symbols other than name matching
3621 "\\`[A-Z]+[0-9]+\\'" regexp .
3622 (ses-localvars): Add ses--renamed-cell-symb-list.
3623 (ses-create-cell-variable): New defun.
3624 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3625 (ses-relocate-formula): Relocate formulas only for cells the
3626 symbols of which are not renamed, i.e. symbols whose names do not
3627 match regexp "\\`[A-Z]+[0-9]+\\'".
3628 (ses-relocate-all): Relocate values only for cells the symbols of
3629 which are not renamed.
3630 (ses-load): Create cells variables as the (ses-cell ...) are read,
3631 in order to check row col consistency with cell symbol name only
3632 for cells that are not renamed.
3633 (ses-replace-name-in-formula): New defun.
3634 (ses-rename-cell): New defun.
3636 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3638 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3639 New option (bug#11118).
3640 (perl-calculate-indent): Respect it.
3642 2012-04-17 Glenn Morris <rgm@gnu.org>
3644 * dired-aux.el (dired-mark-read-string): Doc fix.
3646 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3648 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3649 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3651 2012-04-17 Glenn Morris <rgm@gnu.org>
3653 * mouse.el (mouse-drag-track):
3654 * speedbar.el (speedbar-frame-mode):
3655 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3657 2012-04-16 Leo Liu <sdl.web@gmail.com>
3659 * progmodes/python.el: Trivial cleanup.
3661 2012-04-16 Glenn Morris <rgm@gnu.org>
3663 * vc/vc.el (vc-string-prefix-p):
3664 * vc/pcvs-util.el (cvs-string-prefix-p):
3665 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3666 * mpc.el (mpc-string-prefix-p):
3667 Make all of these into obsolete aliases for string-prefix-p.
3669 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3671 * textmodes/two-column.el: Move custom options to the start.
3672 (frame-width): Remove compat definition.
3673 (2C-associate-buffer, 2C-dissociate):
3674 Use with-current-buffer rather than save-excursion.
3675 (2C-dissociate): Force a mode-line update.
3676 (2C-autoscroll): Use ignore-errors.
3678 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3681 * emacs-lisp/cl-extra.el (*random-state*):
3682 Remove unnecessary declaration.
3684 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3686 * play/cookie1.el (cookie-snarf):
3687 Give an explicit error if input file cannot be read.
3689 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3691 * progmodes/perl-mode.el (c-macro-expand):
3692 Remove unnecessary autoload (it is in loaddefs.el).
3694 * textmodes/picture.el (picture-desired-column)
3695 (picture-update-desired-column): Convert comments to doc-strings.
3696 (picture-substitute): Remove function.
3697 (picture-mode-map): Initialize in the defvar.
3699 * woman.el: Remove eval-after-load for tar-mode.
3700 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3701 (woman-tar-extract-file): Autoload it.
3703 * frame.el (automatic-hscrolling): Make this alias obsolete.
3705 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3707 * ispell.el (ispell-set-spellchecker-params): Post-process
3708 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3709 (ispell-dictionary-base-alist): Revert to original XEmacs
3710 friendly version for default. [:alpha:] will be added in
3711 `ispell-set-spellchecker-params' if needed
3713 2012-04-16 Chong Yidong <cyd@gnu.org>
3715 * image.el (imagemagick--extension-regexp): New variable.
3716 (imagemagick-register-types): Use it.
3717 (imagemagick-types-inhibit): Add :set function. Allow new value
3718 of t to inhibit all types.
3720 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3721 so we can preload it.
3723 * loadup.el (fboundp): Preload regexp-opt, needed by
3724 imagemagick-register-types.
3726 2012-04-15 Chong Yidong <cyd@gnu.org>
3728 * frame.el (scrolling): Remove nearly unused customization group.
3730 * scroll-all.el (scroll-all-mode): Move to windows group.
3732 2012-04-15 Chong Yidong <cyd@gnu.org>
3734 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3736 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3738 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3739 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3741 2012-04-15 Glenn Morris <rgm@gnu.org>
3743 * simple.el (process-file-side-effects): Doc fix.
3745 2012-04-15 Glenn Morris <rgm@gnu.org>
3747 * international/mule-cmds.el (set-language-environment): Doc fix.
3749 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3751 * server.el (server-auth-key, server-generate-key): Doc fixes.
3752 (server-get-auth-key): Doc fix. Use `string-match-p'.
3753 (server-start): Reflow docstring.
3755 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3757 * server.el (server-generate-key): `called-interactively-p'
3758 requires a parameter.
3760 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3762 * server.el (server-auth-key): New variable.
3763 (server-generate-key, server-get-auth-key): New function.
3764 (server-start): Use the new variable and functions to allow
3765 setting a permanent server key (bug#9423).
3767 2012-04-14 Leo Liu <sdl.web@gmail.com>
3769 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3771 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3774 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3775 Emacs uses American spelling.
3777 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3779 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3780 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3781 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3782 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3784 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3786 * progmodes/which-func.el (which-func-modes): Change default.
3788 2012-04-14 Kim F. Storm <storm@cua.dk>
3790 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3791 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3793 2012-04-14 Chong Yidong <cyd@gnu.org>
3795 * custom.el (custom-theme-set-variables): Doc fix.
3797 2012-04-14 Glenn Morris <rgm@gnu.org>
3799 * international/mule.el (set-auto-coding-for-load): Doc fix.
3801 2012-04-14 Alan Mackenzie <acm@muc.de>
3803 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3804 imenu work again for Objective C Mode. Correct the *-index values,
3805 these having been disturbed by a previous change in 2011-08.
3807 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3808 Correct two search limits.
3810 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3814 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3816 * international/characters.el: Fix sorting.
3818 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3820 * international/characters.el: Add more missing Latin case pairs.
3822 2012-04-14 Glenn Morris <rgm@gnu.org>
3824 * files.el (dir-locals-set-class-variables): Doc fix.
3826 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3828 * international/characters.el: Add set-case-syntax-pair call for
3829 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3830 counterpart. (Bug#11209)
3832 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3834 2012-04-14 Glenn Morris <rgm@gnu.org>
3836 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3838 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3840 * textmodes/ispell.el (ispell-dictionary-base-alist):
3841 Add data for Hebrew.
3843 2012-04-14 Chong Yidong <cyd@gnu.org>
3845 * net/rcirc.el (rcirc-cmd-quit):
3846 Revert 2012-03-18 change (Bug#11192).
3848 2012-04-14 Glenn Morris <rgm@gnu.org>
3850 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3852 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3854 * minibuffer.el (completion-in-region-mode-map):
3855 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3857 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3859 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3861 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3863 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3864 to allow `C-M-f' and `C-M-b' to move to the nearest path
3865 separator (bug#9511).
3867 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3869 * avoid.el: Require cl when compiling. And also move the
3870 `provide' to the end.
3872 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3874 * avoid.el (mouse-avoidance-banish-position): New variable.
3875 (mouse-avoidance-banish-destination): Use it (bug#10165).
3877 2012-04-13 Leo Liu <sdl.web@gmail.com>
3879 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3881 2012-04-13 Ken Brown <kbrown@cornell.edu>
3883 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3884 this is no longer needed now that cygstart understands file:// URLs.
3885 (browse-url-filename-alist): For the same reason, don't modify
3886 file:// URLs on Cygwin.
3888 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3891 the region on shift if the binding is already shifted (bug#11221).
3893 2012-04-12 Glenn Morris <rgm@gnu.org>
3895 * mail/mailpost.el: Move to obsolete/.
3897 2012-04-12 Drew Adams <drew.adams@oracle.com>
3899 * imenu.el (imenu--generic-function): Ignore invisible definitions
3902 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3904 * hexl.el (hexl-bits): New variable.
3905 (hexl-options): Mention the variable in the doc string.
3906 (hexl-rulerise, hexl-line-displen): New functions.
3907 (hexl-mode): Mention the new variable.
3908 (hexl-mode, hexl-current-address, hexl-current-address):
3910 (hexl-ascii-start-column): New function.
3911 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3912 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3914 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3916 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3917 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3918 the encoding, as expected by hunspell.
3920 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * battery.el (battery--linux-sysfs-regexp): New const.
3923 (battery-status-function): Use it. Remove yeeloong special case.
3924 (battery-yeeloong-sysfs): Remove.
3925 (battery-echo-area-format): Remove yeeloong special case.
3927 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3929 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3930 Reported by Noah Friedman.
3932 * subr.el (read-passwd): Use read-string.
3934 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3936 * vcursor.el (vcursor-move): Increase the priority of the overlay
3939 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3941 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3942 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3944 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3946 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3947 define-minor-mode (bug#10760).
3949 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3951 * progmodes/grep.el (rgrep): Tweak the find command line so
3952 that directories matching `grep-find-ignored-files' won't be
3955 2012-04-11 Chong Yidong <cyd@gnu.org>
3957 * startup.el (command-line): Remove support for long-obsolete
3958 variable font-lock-face-attributes.
3960 2012-04-11 Glenn Morris <rgm@gnu.org>
3962 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3964 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3966 * window.el (window--state-get-1): Obey window-point-insertion-type.
3968 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3970 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3971 to previous function when point is on the first character of a
3972 function. Take care of that in `narrow-to-defun' (bug#6157).
3974 2012-04-11 Glenn Morris <rgm@gnu.org>
3976 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3977 not just file-errors.
3979 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3980 (vc-bzr-sha1): Use internal sha1.
3982 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3986 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3988 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3989 that start in the middle of the line (bug#10496).
3991 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3993 * battery.el (battery-linux-proc-acpi): Only one battery is
3994 discharged at a time, but that seems to confuse battery.el when
3995 computing `rate-type' for the battery not being discharged
3998 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4002 * international/quail.el: Use dolist and simplify.
4003 (quail-define-package, quail-update-keyboard-layout)
4004 (quail-define-rules): Use dolist.
4005 (quail-insert-kbd-layout, quail-get-translation): CSE.
4007 * tmm.el: Use dolist, remove left over hook.
4008 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4010 (calendar-load-hook): Don't mess with it.
4012 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4013 Use derived-mode-p. Run the diff asynchronously.
4015 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4017 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4019 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4021 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4022 (list-dynamic-libraries--loaded): New function.
4023 (list-dynamic-libraries--refresh): Use it.
4025 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4027 * progmodes/python.el (python-fill-paragraph):
4028 Make python-fill-region in a multiline string work when font-lock is
4029 disabled (bug#7018).
4031 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4033 * language/european.el (cp775): Add oem/legacy (en)coding on
4034 DOS/MS Windows for the Baltic languages. There are still plenty
4035 of texts written in this encoding/codepage (bug#6519).
4037 2012-04-10 Glenn Morris <rgm@gnu.org>
4039 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4040 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4042 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4044 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4045 next-line "n" and previous-line "p" in order to make recentf more
4046 consistent with ibuffer, dired or org-mode (bug#9387).
4048 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4050 * image.el (put-image): Return the overlay created instead of the
4051 optional input string (bug#7834). Note that this may break code
4052 that is (for some reason or other) depending on `put-image'
4053 returning the string.
4055 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4057 * simple.el (zap-to-char): Allow zapping using input methods
4060 * textmodes/fill.el (fill-region): Leave point and mark where they
4061 were before filling (bug#5399).
4063 2012-04-09 Glenn Morris <rgm@gnu.org>
4065 * version.el (emacs-bzr-get-version):
4066 Handle lightweight checkouts of local branches.
4068 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4070 * international/characters.el: Recover lost case pairs. (Bug#11209)
4072 2012-04-09 Chong Yidong <cyd@gnu.org>
4074 * custom.el (custom-variable-p): Return nil for non-symbol
4075 arguments instead of signaling an error.
4076 (user-variable-p): Obsolete alias for custom-variable-p.
4078 * apropos.el (apropos-variable):
4079 * files-x.el (read-file-local-variable):
4080 * simple.el (set-variable):
4081 * woman.el (woman-mini-help):
4082 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4084 2012-04-09 Glenn Morris <rgm@gnu.org>
4086 * startup.el (normal-top-level): Don't look for leim-list.el
4087 in places where it will not be found. (Bug#910)
4089 * international/mule-cmds.el (set-default-coding-systems):
4090 * files.el (normal-mode):
4091 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4092 This function was removed with ucs-tables.el in 2008.
4094 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4096 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4097 ispell-encoding8-command to "-i", without a trailing space.
4098 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4099 separate command-line arguments, to specify the encoding, since
4100 that's how hunspell expects it.
4102 2012-04-08 Glenn Morris <rgm@gnu.org>
4104 * loadup.el: Load bindings before cus-start.
4105 This reduces somewhat the number of "rogue" settings in emacs -Q.
4107 2012-04-07 Glenn Morris <rgm@gnu.org>
4109 * version.el (emacs-bzr-get-version): New function.
4110 (emacs-bzr-version): New variable.
4111 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4112 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4114 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4116 * international/uni-bidi.el, international/uni-category.el:
4117 * international/uni-combining.el, international/uni-decimal.el:
4118 * international/uni-decomposition.el, international/uni-digit.el:
4119 * international/uni-lowercase.el, international/uni-mirrored.el:
4120 * international/uni-name.el, international/uni-numeric.el:
4121 * international/uni-titlecase.el, international/uni-uppercase.el:
4122 Update for Unicode 6.1.
4124 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4126 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4128 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4130 * window.el (shrink-window): Mention the `window-min-height'
4131 variable in the doc string.
4133 2012-04-05 Bastien Guerry <bzg@altern.org>
4135 * color.el (color-lighten-name): Fix typo.
4137 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * server.el (server--on-display-p): New function.
4140 (server--on-display-p): Use it.
4142 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4144 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4147 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * comint.el (comint--common-quoted-suffix): Check string boundary
4150 before comparing (bug#11158).
4151 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4153 2012-04-04 Chong Yidong <cyd@gnu.org>
4155 * minibuffer.el (completion-extra-properties): Doc fix.
4157 * subr.el (delayed-warnings-hook): Doc fix.
4159 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4161 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4162 selection (Bug#11159).
4163 (epa-insert-keys): Inform that the default public key will be
4164 exported if no key is selected.
4166 2012-04-04 Richard Stallman <rms@gnu.org>
4168 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4170 2012-04-03 Chong Yidong <cyd@gnu.org>
4172 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4173 mail-insert-file, not its obsolete alias mail-attach-file.
4175 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4177 * notifications.el (notifications-notify): Fix docstring.
4179 2012-04-02 Glenn Morris <rgm@gnu.org>
4181 * emacs-lisp/authors.el (authors-aliases): Another addition.
4183 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4185 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4186 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4187 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4189 2012-04-01 Chong Yidong <cyd@gnu.org>
4191 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4192 Handle root directory properly.
4193 (copy-directory): Caller changed.
4195 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4196 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4198 2012-03-31 Glenn Morris <rgm@gnu.org>
4200 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4202 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4204 * calendar/calendar.el (calendar-window-list)
4205 (calendar-hide-window): Restore. (Bug#11140)
4206 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4208 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4210 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4212 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4213 Check if file is a symlink (Bug#10489).
4215 * files.el (copy-directory): Likewise.
4217 2012-03-30 Chong Yidong <cyd@gnu.org>
4219 * image.el (imagemagick-types-inhibit)
4220 (imagemagick-register-types): Doc fix.
4222 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4224 * ispell.el (ispell-get-extended-character-mode):
4225 Disable extended-char-mode for hunspell. hunspell does not support it
4226 and treats ~word as ordinary words in pipe mode.
4228 2012-03-30 Glenn Morris <rgm@gnu.org>
4230 * tutorial.el (help-with-tutorial): Ensure local variables don't
4231 happen to make the buffer read-only. (Bug#11127)
4233 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4236 (perl-calculate-indent): Return `noindent' in strings.
4238 2012-03-28 Sam Steingold <sds@gnu.org>
4240 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4241 instead of the broken adhockery which does not prevent calendar
4242 buffers from being displayed at random after exit.
4243 (calendar-window-list, calendar-hide-window): Remove the broken
4246 2012-03-28 Glenn Morris <rgm@gnu.org>
4248 * replace.el (query-replace-map): Doc fix.
4250 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4252 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4253 contents. (Bug#11109)
4255 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4259 (avl-tree--check, avl-tree--check-node): New funs.
4261 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4263 * window.el (switch-to-visible-buffer): New option.
4264 (switch-to-prev-buffer, switch-to-next-buffer):
4265 Observe switch-to-visible-buffer. Make sure that checking for a window
4266 showing a buffer already is done on the same frame.
4268 2012-03-27 Glenn Morris <rgm@gnu.org>
4270 * startup.el (mail-host-address): Doc fix.
4272 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4277 2012-03-26 Ami Fischman <ami@fischman.org>
4279 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4281 2012-03-26 Glenn Morris <rgm@gnu.org>
4283 * files.el (save-buffers-kill-emacs): Doc fix.
4285 * startup.el (normal-top-level, command-line, command-line-1):
4286 Give them doc strings.
4288 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4290 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4291 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4293 2012-03-25 Chong Yidong <cyd@gnu.org>
4295 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4296 theme if it was previously enabled before (Bug#11031).
4298 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4299 spec with custom-face-get-current-spec if its :shown-value is not
4300 determined yet (Bug#9337).
4301 (customize-create-theme, custom-theme-revert): Doc fixes.
4303 * button.el (button-at): Minor addition to docstring.
4305 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4307 * vc/vc.el (vc-merge): Fix a prompt.
4309 2012-03-24 Chong Yidong <cyd@gnu.org>
4311 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4314 * button.el (button-at): Minor addition to docstring.
4316 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * newcomment.el (comment-choose-indent): No space after BOL.
4320 2012-03-22 Sam Steingold <sds@gnu.org>
4322 * window.el (switch-to-prev-buffer): Revert last patch because the
4323 bug turned out to be an advertised feature (Elisp manual 28.14).
4325 2012-03-22 Glenn Morris <rgm@gnu.org>
4327 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4328 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4330 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4332 * net/network-stream.el (network-stream-open-starttls): Make error
4333 message under Windows be less misleading.
4335 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4337 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4338 understands (bug#9942).
4340 2012-03-22 Chong Yidong <cyd@gnu.org>
4342 * simple.el (end-of-visible-line): Handle return value of
4343 next-single-property-change properly (Bug#9371).
4345 2012-03-22 Kenichi Handa <handa@m17n.org>
4347 * international/quail.el (quail-insert-kbd-layout): Fix previous
4348 change. To avoid unwanted bidi reordering, use
4349 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4351 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4353 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4354 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4355 (ruby-beginning-of-indent): Be more careful with the difference
4356 between word-boundary and symbol boundary.
4357 (ruby-mode-syntax-table): Make : a symbol constituent.
4359 2012-03-21 Andreas Politz <politza@fh-trier.de>
4361 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4363 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * progmodes/etags.el (tags-completion-at-point-function):
4368 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4370 2012-03-21 Sam Steingold <sds@gnu.org>
4372 * progmodes/etags.el (tags-completion-at-point-function):
4373 Avoid the error when point is inside the pattern.
4375 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4377 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4380 2012-03-21 Drew Adams <drew.adams@oracle.com>
4382 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4384 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4386 * ido.el (ido-set-current-directory, ido-read-internal)
4387 (ido-choose-completion-string, ido-completion-help): Handle nil
4388 value of ido-completion-buffer (Bug#11008).
4390 2012-03-21 Sam Steingold <sds@gnu.org>
4392 * window.el (switch-to-prev-buffer): Do not switch to a visible
4393 window previous buffer, just like with the frame previous buffers.
4395 2012-03-21 Chong Yidong <cyd@gnu.org>
4397 * faces.el (make-face, make-empty-face, copy-face):
4398 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4401 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4403 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4404 (widget-complete): Remove broken use of it.
4406 2012-03-20 Chong Yidong <cyd@gnu.org>
4408 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4409 Use string-width and truncate-string-width to handle arbitrary
4412 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4414 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4415 to draw rectangles, not squares. (Regression introduced by revno
4416 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4418 2012-03-18 Chong Yidong <cyd@gnu.org>
4420 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4421 it is not yet defined (for temacs).
4423 2012-03-18 Leo Liu <sdl.web@gmail.com>
4425 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4427 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4429 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4430 (ispell-choices-win-default-height, ispell-silently-savep)
4431 (ispell-dictionary-alist, ispell-encoding8-command)
4432 (ispell-check-version, ispell-aspell-find-dictionary)
4433 (ispell-valid-dictionary-list, ispell-words-keyword)
4434 (ispell-get-word, ispell-internal-change-dictionary)
4435 (ispell-region, ispell-skip-region-list)
4436 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4437 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4438 (ispell-message-text-end, ispell-message)
4439 (ispell-buffer-local-parsing): Doc fix.
4441 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4443 * htmlfontify.el: Add support for code block fontification for ODT
4445 (hfy-optimisations): Define new option
4447 (hfy-fontify-buffer): Honor above setting.
4448 (hfy-begin-span, hfy-end-span): New routines factored out form
4449 `hfy-fontify-buffer'.
4450 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4451 that permit insertion of custom tags.
4452 (hfy-fontify-buffer): Use above handlers.
4453 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4454 (hfy-face-to-css): Re-defined to be a variable.
4455 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4456 over multiple runs. This is made possible by having the caller let
4457 bind a special variable `hfy-user-sheet-assoc'.
4458 (htmlfontify-string): New defun.
4459 (hfy-compile-face-map): Make sure that the last char in the
4460 buffer is correctly fontified.
4461 (hfy-face-resolve-face): Whitespace only change.
4463 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4465 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4468 2012-03-16 Leo Liu <sdl.web@gmail.com>
4470 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4472 2012-03-16 Alan Mackenzie <acm@muc.de>
4474 Further optimise the handling of large macros.
4476 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4477 limit to a call of `c-literal-limits'.
4478 (c-determine-+ve-limit): New function.
4479 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4480 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4481 In CASE 5B, restrict a search limit to 500.
4482 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4484 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4485 Restrict macro bounds to +-500 from after-change's BEG END.
4487 2012-03-16 Leo Liu <sdl.web@gmail.com>
4489 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4491 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4493 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4494 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4496 2012-03-16 Glenn Morris <rgm@gnu.org>
4498 * view.el (view-buffer, view-buffer-other-window)
4499 (view-buffer-other-frame): Doc fixes re special mode-class.
4501 * subr.el (eval-after-load): If named feature is provided not from
4502 a file, run after-load forms. (Bug#10946)
4504 * calendar/calendar.el (calendar-insert-at-column):
4505 Handle non-unit-width characters a bit better. (Bug#10978)
4507 2012-03-15 Chong Yidong <cyd@gnu.org>
4509 * emacs-lisp/ring.el (ring-extend): New function.
4510 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4512 * comint.el (comint-read-input-ring)
4513 (comint-add-to-input-history): Grow comint-input-ring lazily.
4515 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4518 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4520 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4521 (imenu-add-to-menubar): Don't add a redundant index.
4522 (imenu-update-menubar): Handle a dynamically composed keymap.
4524 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4526 * mail/sendmail.el (mail-encode-header):
4527 Bind rfc2047-encode-encoded-words to nil.
4529 2012-03-13 Glenn Morris <rgm@gnu.org>
4531 * calendar/calendar.el (calendar-string-spread):
4532 Handle non-unit-width characters a bit better. (Bug#10978)
4534 2012-03-13 Leo Liu <sdl.web@gmail.com>
4536 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4537 directory and file as argument (Bug#10822).
4539 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4541 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4542 For dynamically generated code, follow $PC.
4543 (gdb-disassembly-handler-custom): Handle no function name case.
4545 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4547 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4548 * emulation/ws-mode.el (ws-query-replace):
4549 * sort.el (sort-regexp-fields):
4550 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4552 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4554 * dabbrev.el: Fix cycle completion order (bug#10963).
4555 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4556 (dabbrev-completion): Don't use an obarray; provide
4557 a cycle-sort-function.
4559 2012-03-12 Leo Liu <sdl.web@gmail.com>
4561 * simple.el (kill-new): Use equal-including-properties for comparison.
4562 (kill-do-not-save-duplicates): Doc fix.
4564 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4566 * dabbrev.el: Fix cycle completion (bug#10963).
4567 Use lexical binding and wrap to 80 columns.
4568 (dabbrev-completion): Delay computing the list of completions.
4570 2012-03-12 Kenichi Handa <handa@m17n.org>
4572 * international/quail.el (quail-insert-kbd-layout): Surround each
4573 row by LRO and PDF instead of inserting many LRMs. Pad the left
4574 and right of each non-spacing marks. Insert invisible space
4575 between lower and upper characters to prevent composition.
4577 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * minibuffer.el (minibuffer-complete): Don't get confused when the
4580 function is run twice via different commands (bug#10958).
4581 (complete-with-action): Fix docstring.
4583 2012-03-12 Chong Yidong <cyd@gnu.org>
4585 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4586 (nxml-completion-at-point-function): New function.
4587 (nxml-mode): Use it.
4588 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4590 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4591 Load generated autoloads file before byte compiling (Bug#10970).
4592 (package--make-autoloads-and-compile): New helper fun.
4594 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4596 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4598 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4600 * autorevert.el (auto-revert-handler): Ensure, that
4601 file-readable-p is applied only for local files or in
4602 auto-revert-tail-mode.
4604 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4606 * server.el (server-eval-at): Handle non-tcp connections.
4607 Decode result string.
4609 * server.el (server-msg-size): New constant.
4610 (server-reply-print): New function.
4611 (server-eval-and-print): Use it.
4612 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4615 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4617 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4620 2012-03-11 Chong Yidong <cyd@gnu.org>
4622 * simple.el (goto-line): Doc fix (Bug#9938).
4624 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4626 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4627 when finished (Bug#10963).
4629 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4631 * window.el (split-window-below): Fix bug in case where
4632 split-window-keep-point is nil (Bug#10971).
4634 2012-03-11 Juri Linkov <juri@jurta.org>
4636 * replace.el (replace-highlight): Set isearch-word to nil
4637 unconditionally. (Bug#10887)
4639 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4641 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4642 mairix-replace-illegal-chars; all callers changed. Don't remove
4643 ^, ~, and = characters: they are meaningful in mairix search specs.
4644 (mairix-widget-create-query): Add usage information about mairix
4645 search forms: negating words, searching for substrings, etc.
4647 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4649 * international/fontset.el (font-encoding-alist): Add an entry for
4652 2012-03-10 Richard Stallman <rms@gnu.org>
4654 * mail/sendmail.el (mail-encode-header):
4655 Set rfc2047-encode-encoded-words.
4657 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4659 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4660 view buffer means not swapped.
4661 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4662 (rmail-write-region-annotate): Error if real text has disappeared.
4664 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4666 2012-03-10 Chong Yidong <cyd@gnu.org>
4668 * emulation/cua-rect.el (cua--init-rectangles):
4669 * emulation/cua-base.el (cua--init-keymaps):
4670 Add delete-forward-char to remappings (Bug#9666).
4672 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4674 * speedbar.el (speedbar-unhighlight-one-tag-line):
4675 Avoid unhighlighting due to frame switching (Bug#10275).
4677 2012-03-10 Chong Yidong <cyd@gnu.org>
4679 * minibuffer.el (completion-in-region, completion-help-at-point):
4680 Give the completion field overlay a high priority (Bug#6830).
4682 * dired.el (dired-goto-file): Recognize absolute file name
4683 listings (Bug#7126).
4684 (dired-goto-file-1): New helper function.
4685 (dired-toggle-read-only): Inhibit warnings.
4687 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4689 * net/dbus.el (dbus-property-handler): Return empty array if
4690 there are no properties.
4692 2012-03-09 Leo Liu <sdl.web@gmail.com>
4694 * savehist.el (savehist-printable): Stricter check for string
4697 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4699 * mail/smtpmail.el (smtpmail-send-it):
4700 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4703 2012-03-09 Glenn Morris <rgm@gnu.org>
4705 * files.el (dir-locals-find-file):
4706 Don't check result is regular, readable.
4707 (dir-locals-read-from-file): Demote errors.
4709 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4711 * international/quail.el (quail-insert-kbd-layout):
4712 Insert invisible LRM characters before each character in a keyboard
4713 layout cell, to prevent their reordering by bidi display engine.
4714 For details, see the discussion in
4715 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4717 2012-03-08 Alan Mackenzie <acm@muc.de>
4719 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4720 the starting position; make it extend the marked region when
4721 invoked repeatedly - all under appropriate circumstances.
4722 Fixes bugs #5525, #10906.
4724 2012-03-08 Glenn Morris <rgm@gnu.org>
4726 * files.el (locate-dominating-file, dir-locals-find-file):
4727 Undo 2012-03-06 change.
4729 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4731 * international/quail.el (quail-help):
4732 Force bidi-paragraph-direction be left-to-right. See discussion in
4733 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4736 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4738 Avoid superfluous registering of signals. (Bug#10807)
4740 * notifications.el (notifications-on-action-object)
4741 (notifications-on-close-object): New defvars.
4742 (notifications-on-action-signal, notifications-on-closed-signal):
4743 Unregister the signal if not needed any longer.
4744 (notifications-notify): Register `notifications-action-signal' or
4745 `notifications-closed-signal', if :on-action or :on-close has been
4748 2012-03-07 Chong Yidong <cyd@gnu.org>
4750 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4753 2012-03-06 Glenn Morris <rgm@gnu.org>
4755 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4756 (x-disown-selection-internal, x-get-selection-internal):
4757 Doc fix (add arglist signatures). (Bug#10783)
4759 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4761 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4762 Handle breakpoints with no "type".
4764 2012-03-06 Glenn Morris <rgm@gnu.org>
4766 * files.el (locate-dominating-file): Add optional predicate argument.
4767 (dir-locals-find-file): Make use of above change.
4769 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4771 * info.el (Info-insert-dir): Also try "dir.gz".
4773 2012-03-06 Glenn Morris <rgm@gnu.org>
4775 * files.el (dir-locals-find-file):
4776 Ignore non-readable or non-regular files. (Bug#10928)
4778 * files.el (locate-dominating-file): Doc fix.
4780 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4782 * calendar/calendar.el (calendar-set-mode-line):
4783 `getenv' returns a string. (Bug#10951)
4785 2012-03-05 Leo Liu <sdl.web@gmail.com>
4787 * simple.el (backward-delete-char-untabify): Constrain point to
4790 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4792 2012-03-05 Chong Yidong <cyd@gnu.org>
4794 * simple.el (count-words): If called from Lisp, return the word
4795 count, for symmetry with `count-lines'. Arglist changed.
4796 (count-words--message): Args changed. Consolidate counting code
4797 from count-words and count-words-region.
4798 (count-words-region): Caller changed.
4799 (count-lines-region): Make it an obsolete alias.
4801 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4803 * saveplace.el (save-place-to-alist)
4804 (save-place-ignore-files-regexp): Allow value nil to disable this
4807 2012-03-04 Chong Yidong <cyd@gnu.org>
4809 * faces.el (face-spec-reset-face): For the default face, reset the
4810 attributes to default values (Bug#10748).
4812 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4814 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4815 previous patch: Check `message-send-mail-function', and not the
4816 default function (bug#10897).
4818 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4820 * notifications.el (notifications-on-action-signal)
4821 (notifications-on-closed-signal): Check for unique service name of
4822 incoming event. Fix error in removing entry.
4823 (top): Register for signals with wildcard service name.
4824 (notifications-notify): Use daemon unique service name for map entries.
4826 2012-03-04 Chong Yidong <cyd@gnu.org>
4828 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4830 2012-03-04 Glenn Morris <rgm@gnu.org>
4832 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4833 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4834 (expand-abbrev, define-abbrev-table): Doc fixes.
4836 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4838 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4839 `message-default-send-mail-function' and not `send-mail-function'
4840 when doing the prompting for `sendmail-query-once' before sending
4841 in Message buffers (bug#10897).
4843 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4844 This is inconsistent with all the other stream functions, which leave
4845 the setting up to the higher levels (if so wanted) (bug#10931).
4847 2012-03-02 Alan Mackenzie <acm@muc.de>
4849 Depessimize the handling of very large macros.
4851 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4852 (c-macro-cache-syntactic): New variables to implement a one
4853 element macro cache.
4854 (c-invalidate-macro-cache): New function.
4855 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4856 Adapt to use the new cache.
4857 (c-state-safe-place): Use better the cache of safe positions.
4858 (c-state-semi-nonlit-pos-cache)
4859 (c-state-semi-nonlit-pos-cache-limit):
4860 New variables for...
4861 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4862 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4863 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4864 Use c-state-semi-safe-place.
4866 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4867 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4869 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4871 * jka-compr.el (jka-compr-call-process):
4872 Apply `file-accessible-directory-p' only when the default directory is
4875 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4877 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4878 access of FILE2, if FILE1 does not exist.
4880 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4881 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4883 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4884 Add "PAGER=" to `process-environment'.
4886 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4888 * progmodes/sql.el: Bug fix
4889 (sql-get-login-ext): Save login values in globals.
4890 (sql-get-login): Use new version of `sql-get-login-ext'.
4891 (sql-interactive-mode): Set global `sql-connection' to nil.
4892 (sql-connect): Set global values for connection.
4893 (sql-product-interactive): Save global values as buffer local.
4895 2012-02-29 Leo Liu <sdl.web@gmail.com>
4897 * abbrev.el (define-abbrevs): Reset sys to nil.
4899 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4901 * files.el (file-equal-p): Rename from `files-equal-p'.
4902 Return nil when one or both files don't exist.
4903 (file-subdir-of-p): Now only top directory must exists,
4904 return nil if it doesn't.
4905 (copy-directory): No need to test with `file-subdir-of-p' after
4907 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4910 2012-02-28 Glenn Morris <rgm@gnu.org>
4912 * shell.el (shell-mode):
4913 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4914 * play/landmark.el (landmark-font-lock-face-O):
4915 * play/handwrite.el (handwrite):
4916 * play/gomoku.el (gomoku-O):
4917 * net/browse-url.el (browse-url-browser-display):
4918 * international/mule.el (define-charset):
4919 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4920 * filesets.el (filesets-find-file-delay):
4921 * eshell/em-xtra.el (eshell-xtra):
4922 * eshell/em-unix.el (eshell-grep):
4923 * emulation/viper.el (viper-mode):
4924 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4925 * emacs-lisp/easymenu.el (easy-menu-define):
4926 * calendar/timeclock.el (timeclock-use-display-time):
4928 * bookmark.el (bookmark-save-flag):
4929 Doc fix (standardize possessive apostrophe usage).
4931 2012-02-27 Chong Yidong <cyd@gnu.org>
4933 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4934 Fix key-binding lookup for ESC key (Bug#9146).
4936 * font-lock.el (font-lock-specified-p): Rename from
4937 font-lock-spec-present. Callers changed.
4939 2012-02-27 Daniel Hackney <dan@haxney.org>
4941 * emacs-lisp/package.el (package-compute-transaction):
4942 Handle holding a package version to t in package-load-list.
4944 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4946 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4947 (tramp-get-inode, tramp-get-device): Use cached values.
4949 2012-02-26 Alan Mackenzie <acm@muc.de>
4951 Check there is a font-lock specification before doing initial
4954 * font-core.el (font-lock-mode): Move the conditional from
4955 :after-hook to font-lock-initial-fontify.
4956 (font-lock-default-function): Move the check for a specification
4957 to font-lock-spec-present.
4959 * font-lock.el (font-lock-initial-fontify): Call ...
4960 (font-lock-spec-present): New function.
4962 2012-02-26 Jim Blandy <jimb@red-bean.com>
4964 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4965 (gdb-send): Apply it to the operand of the '-interpreter-exec
4966 console' command, so that we can pass arguments with (say) quotes
4967 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4969 2012-02-26 Chong Yidong <cyd@gnu.org>
4971 * help-fns.el (describe-function-1): Clarify description of
4972 remapping (Bug#10844).
4974 * files.el (files-equal-p): Doc fix.
4975 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4976 and quit the loop once a mismatch is found.
4978 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4980 * bs.el (bs--show-with-configuration): Don't throw an error
4981 if the window cannot be split; otherwise, subsequent calls to
4982 bs-show fail, restoring a stale window config. (Bug#10882)
4984 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4986 * term/ns-win.el (global-map): Bind ns-drag-file to
4987 ns-find-file (Bug#5855, Bug#10050).
4989 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4991 * calendar/parse-time.el (parse-time-string): Allow extractor to
4994 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4996 * net/tramp.el (tramp-file-name-for-operation):
4997 Add `files-equal-p' and `file-subdir-of-p'.
4999 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5000 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5001 Add COPY-CONTENTS argument.
5003 2012-02-25 Chong Yidong <cyd@gnu.org>
5005 Add custom groups for VC backends, for consistency with vc-bzr.
5007 * vc/vc-arch.el (vc-arch):
5008 * vc/vc-cvs.el (vc-cvs):
5009 * vc/vc-git.el (vc-git):
5010 * vc/vc-hg.el (vc-hg):
5011 * vc/vc-mtn.el (vc-mtn):
5012 * vc/vc-rcs.el (vc-rcs):
5013 * vc/vc-sccs.el (vc-sccs):
5014 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5015 All relevant defcustoms reassigned.
5017 2012-02-25 Chong Yidong <cyd@gnu.org>
5019 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5021 * term/x-win.el (x-initialize-window-system): Reduce default for
5022 x-selection-timeout to 5 seconds (Bug#8869).
5024 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5026 * files.el (files-equal-p, file-subdir-of-p): New functions.
5027 (copy-directory): Error when trying to copy a directory on itself.
5028 Add missing copy-contents arg to tramp handler.
5029 * dired-aux.el (dired-copy-file-recursive): Same.
5030 (dired-create-files): Modify destination when source is equal to
5031 dest when copying files.
5032 Return also when dest is a subdir of source. (Bug#10489)
5034 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5036 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5039 2012-02-23 Alan Mackenzie <acm@muc.de>
5041 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5042 parameter "after-hook:" to allow the expansion to run code after
5043 the execution of the mode hooks.
5045 * font-lock.el (font-lock-initial-fontify): New function extracted
5046 from font-lock-mode-internal.
5048 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5051 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5054 (completion--cache-all-sorted-completions): New function.
5055 (completion-all-sorted-completions): Use it.
5056 (completion--do-completion, minibuffer-force-complete):
5057 Use it to re-instate the flush hook.
5059 * icomplete.el (icomplete-completions): Replace last fix with a better
5062 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5064 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5065 when it might call us back infinitely (bug#10797).
5067 2012-02-23 Glenn Morris <rgm@gnu.org>
5069 * minibuffer.el (completion-category-overrides): Doc fix.
5071 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5074 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5076 2012-02-23 Glenn Morris <rgm@gnu.org>
5078 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5079 (authors-obsolete-files-regexps, authors-ignored-files)
5080 (authors-ambiguous-files, authors-renamed-files-alist):
5083 2012-02-23 Juri Linkov <juri@jurta.org>
5085 * isearch.el (isearch-occur): Sync interactive spec with occur's
5086 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5088 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5090 2012-02-22 Juri Linkov <juri@jurta.org>
5092 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5093 (ucs-insert): Doc fix. Check for hex digits in the string.
5094 Don't display `nil' in the error message. (Bug#10857)
5096 2012-02-22 Alan Mackenzie <acm@muc.de>
5098 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5100 2012-02-22 Glenn Morris <rgm@gnu.org>
5102 * ffap.el (ffap-c-path):
5103 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5105 2012-02-22 Chong Yidong <cyd@gnu.org>
5107 * custom.el (load-theme): Doc fix.
5109 2012-02-22 Glenn Morris <rgm@gnu.org>
5111 * dired-x.el (dired-guess-shell-alist-default):
5112 Remove escape sequences from nroff output. (Bug#172)
5114 2012-02-21 Glenn Morris <rgm@gnu.org>
5116 * vc/emerge.el (emerge-defvar-local):
5117 Set `permanent-local' property rather than unused `preserved'.
5119 * textmodes/picture.el (picture-delete-char): New alias.
5120 (picture-mode-map): Use it. (Bug#10860)
5121 (picture-mode): Doc fix.
5123 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5125 * newcomment.el (uncomment-region-default): Remove unused binding.
5127 2012-02-21 Glenn Morris <rgm@gnu.org>
5129 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5130 (picture-self-insert, picture-tab-chars): Doc fix.
5131 (picture-mode-map): Fix C-a, C-e.
5133 2012-02-20 Glenn Morris <rgm@gnu.org>
5135 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5137 2012-02-20 Leo Liu <sdl.web@gmail.com>
5139 * icomplete.el (icomplete-completions): Check FROM arg before
5140 passing to substring (Bug#10850).
5142 2012-02-19 Chong Yidong <cyd@gnu.org>
5144 * comint.el: Require ansi-color.
5145 (comint-output-filter-functions): Add ansi-color-process-output.
5147 * ansi-color.el: Don't set comint-output-filter-functions; it is
5148 now in the initial value defined in comint.el.
5149 (ansi-color-apply-face-function): New variable.
5150 (ansi-color-apply-on-region): Use it.
5151 (ansi-color-apply-overlay-face): New function.
5153 * shell.el (shell): No need to require ansi-color.
5154 (shell-mode): Use ansi-color-apply-face-function to highlight
5155 color escapes using font-lock-face property (Bug#10835).
5157 2012-02-19 Chong Yidong <cyd@gnu.org>
5159 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5160 mode-line formats (Bug#10839).
5162 2012-02-18 Glenn Morris <rgm@gnu.org>
5164 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5166 * mail/undigest.el (unforward-rmail-message): Doc fix.
5168 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5170 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5172 * international/characters.el (script-list): Sync with the latest
5173 Unicode Character Database.
5175 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5177 * international/titdic-cnv.el: Remove duplicate coding tag.
5178 * language/cham.el: Likewise.
5179 * language/tai-viet.el: Likewise.
5181 2012-02-18 Glenn Morris <rgm@gnu.org>
5183 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5184 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5185 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5186 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5187 * calendar/holidays.el (holiday-bahai-holidays)
5188 (calendar-holidays, list-holidays):
5189 Use utf-8 Bahá'à in doc-strings, menus, etc.
5191 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5193 * saveplace.el (save-place-ignore-files-regexp): New variable
5194 allowing for excluding files from saving their location of point.
5195 The default value matches the temporary commit message editing
5196 files from Git, SVN, Bazaar, and Mercurial.
5197 (save-place-to-alist): Use it.
5199 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5200 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * newcomment.el (uncomment-region-default): Don't leave extra space
5203 when an arg is provided (bug#8150).
5205 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5207 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5209 2012-02-17 Glenn Morris <rgm@gnu.org>
5211 * net/socks.el: Require network-stream. (Bug#10599)
5213 2012-02-17 Kenichi Handa <handa@m17n.org>
5215 * international/charprop.el:
5216 * international/uni-name.el:
5217 * international/uni-old-name.el:
5218 * international/uni-comment.el: Regenerate.
5220 2012-02-16 Glenn Morris <rgm@gnu.org>
5222 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5223 Interactively in calendar buffer, give an error if not on a date.
5225 2012-02-15 Glenn Morris <rgm@gnu.org>
5227 * shell.el (shell-delimiter-argument-list):
5228 Revert 2011-02-17 change. (Bug#8027)
5230 2012-02-15 Chong Yidong <cyd@gnu.org>
5232 * minibuffer.el (completion-at-point-functions): Doc fix.
5234 * custom.el (defcustom): Doc fix; note use of defvar.
5236 2012-02-15 Glenn Morris <rgm@gnu.org>
5238 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5241 2012-02-14 Glenn Morris <rgm@gnu.org>
5243 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5245 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5247 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5248 way the ports list is computed.
5249 (smtpmail-query-smtp-server): Prompt the user for a port number if
5250 we can't connect to any of the standard ports (bug#10810).
5252 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5254 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5256 2012-02-13 Glenn Morris <rgm@gnu.org>
5258 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5260 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5262 * net/gnutls.el (gnutls-trustfiles): New variable.
5263 (gnutls-negotiate): Use it.
5265 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5267 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5268 does its stuff if Gnus is running.
5270 2012-02-13 Alan Mackenzie <acm@muc.de>
5272 Fix a loop in c-set-fl-decl-start.
5274 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5275 c-backward-syntactic-ws actually moves backwards.
5277 2012-02-13 Leo Liu <sdl.web@gmail.com>
5279 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5280 beginning so that all \C-o chars are removed.
5282 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5284 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5286 2012-02-12 Alan Mackenzie <acm@muc.de>
5288 Fix infinite loop with long macros.
5289 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5291 2012-02-12 Chong Yidong <cyd@gnu.org>
5293 * window.el (display-buffer): Doc fix (Bug#10785).
5295 2012-02-12 Glenn Morris <rgm@gnu.org>
5297 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5298 (x-disown-selection-internal, x-get-selection-internal):
5299 Sync docs with the xselect.c versions.
5301 * allout-widgets.el: Add missing license notice.
5303 2012-02-11 Glenn Morris <rgm@gnu.org>
5305 * select.el (x-get-selection-internal, x-own-selection-internal)
5306 (x-disown-selection-internal):
5307 * x-dnd.el (x-get-selection-internal): Update declarations.
5309 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5311 * window.el (window-sides-slots):
5312 * tool-bar.el (tool-bar-position):
5313 * term/xterm.el (xterm-extra-capabilities):
5314 * ses.el (ses-self-reference-early-detection):
5315 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5316 (verilog-auto-wire-type)
5317 (verilog-auto-delete-trailing-whitespace)
5318 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5319 (verilog-auto-tieoff-declaration):
5320 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5321 (sql-oracle-statement-starters, sql-oracle-scan-on):
5322 * progmodes/prolog.el (prolog-align-comments-flag)
5323 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5324 (prolog-left-indent-regexp, prolog-paren-indent-p)
5325 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5326 (prolog-types, prolog-mode-specificators)
5327 (prolog-determinism-specificators, prolog-directives)
5328 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5329 (prolog-electric-dot-flag)
5330 (prolog-electric-dot-full-predicate-template)
5331 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5332 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5333 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5334 (prolog-program-switches, prolog-prompt-regexp)
5335 (prolog-debug-on-string, prolog-debug-off-string)
5336 (prolog-trace-on-string, prolog-trace-off-string)
5337 (prolog-zip-on-string, prolog-zip-off-string)
5338 (prolog-use-standard-consult-compile-method-flag)
5339 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5340 (prolog-imenu-max-lines, prolog-info-predicate-index)
5341 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5342 (prolog-char-quote-workaround):
5343 * progmodes/cc-vars.el (c-defun-tactic):
5344 * net/tramp.el (tramp-encoding-command-interactive)
5345 (tramp-local-end-of-line):
5346 * net/soap-client.el (soap-client):
5347 * net/netrc.el (netrc-file):
5348 * net/gnutls.el (gnutls):
5349 * minibuffer.el (completion-category-overrides)
5350 (completion-cycle-threshold)
5351 (completion-pcm-complete-word-inserts-delimiters):
5352 * man.el (Man-name-local-regexp):
5353 * mail/feedmail.el (feedmail-display-full-frame):
5354 * international/characters.el (glyphless-char-display-control):
5355 * eshell/em-ls.el (eshell-ls-date-format):
5356 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5357 (lisp-lambda-list-keyword-parameter-indentation)
5358 (lisp-lambda-list-keyword-parameter-alignment):
5359 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5360 * dired-x.el (dired-omit-verbose):
5361 * cus-theme.el (custom-theme-allow-multiple-selections):
5362 * calc/calc.el (calc-highlight-selections-with-faces)
5363 (calc-lu-field-reference, calc-lu-power-reference)
5364 (calc-note-threshold):
5365 * battery.el (battery-mode-line-limit):
5366 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5367 (archive-7z-update):
5368 * allout.el (allout-prefixed-keybindings)
5369 (allout-unprefixed-keybindings)
5370 (allout-inhibit-auto-fill-on-headline)
5371 (allout-flattened-numbering-abbreviation):
5372 * allout-widgets.el (allout-widgets-auto-activation)
5373 (allout-widgets-icons-dark-subdir)
5374 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5375 (allout-widgets-theme-dark-background)
5376 (allout-widgets-theme-light-background)
5377 (allout-widgets-item-image-properties-emacs)
5378 (allout-widgets-item-image-properties-xemacs)
5379 (allout-widgets-run-unit-tests-on-load)
5380 (allout-widgets-time-decoration-activity)
5381 (allout-widgets-hook-error-post-time)
5382 (allout-widgets-track-decoration):
5383 Add missing :version tags to new defcustoms and defgroups.
5385 * progmodes/sql.el (sql-ansi-statement-starters)
5386 (sql-oracle-statement-starters): Add custom type.
5388 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5389 (prolog-system-version): Give it a type.
5391 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5393 * term/pc-win.el (x-select-text, x-selection-owner-p)
5394 (x-own-selection-internal, x-disown-selection-internal)
5395 (x-get-selection-internal): Sync doc strings and argument lists
5396 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5398 2012-02-11 Leo Liu <sdl.web@gmail.com>
5400 * progmodes/python.el (python-end-of-statement): Fix infinite
5403 2012-02-10 Glenn Morris <rgm@gnu.org>
5405 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5406 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5408 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5410 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5411 about SMTP before checking the From header.
5413 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5414 into own function for reuse by emacsbug.el.
5416 2012-02-10 Leo Liu <sdl.web@gmail.com>
5418 * subr.el (condition-case-unless-debug): Rename from
5419 condition-case-no-debug. All callers changed.
5420 (with-demoted-errors): Fix caller.
5422 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5423 * nxml/rng-valid.el (rng-do-some-validation):
5424 * emacs-lisp/package.el (package-refresh-contents)
5425 (package-menu-execute):
5426 * desktop.el (desktop-create-buffer):
5427 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5429 2012-02-10 Glenn Morris <rgm@gnu.org>
5431 * textmodes/bibtex.el:
5432 Add missing :version tags for new/changed defcustoms.
5434 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5436 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5438 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5439 (smtpmail-via-smtp): Use it, or fall back on the From address.
5440 (smtpmail-send-it): Ditto.
5442 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5445 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5446 (byte-compile-tmp-var): New const.
5447 (byte-compile-defvar): Use it to minimize .elc size.
5448 Just use `defvar' rather than simulate it (bug#10761).
5450 2012-02-09 Glenn Morris <rgm@gnu.org>
5452 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5454 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5457 * progmodes/compile.el (compilation-error-screen-columns)
5458 (compilation-first-column, compilation-filter-start): Doc fixes.
5460 * vc/log-view.el (log-view-toggle-entry-display):
5461 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5463 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5464 (report-emacs-bug-can-use-xdg-email):
5465 (report-emacs-bug-insert-to-mailer): Doc fixes.
5466 (report-emacs-bug): Message fix.
5468 * net/browse-url.el (browse-url-can-use-xdg-open)
5469 (browse-url-xdg-open): Doc fixes.
5471 * electric.el (electric-indent-mode, electric-pair-mode)
5472 (electric-layout-rules, electric-layout-mode): Doc fixes.
5473 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5475 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5477 * server.el (server-unselect-display): Don't inadvertently kill
5478 the current buffer. (Bug#10729)
5480 2012-02-08 Glenn Morris <rgm@gnu.org>
5482 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5483 (sql-list-table): Doc fixes.
5485 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5486 Comment out (does nothing).
5488 * completion.el (dynamic-completion-mode):
5489 * dirtrack.el (dirtrack-debug-mode):
5490 * electric.el (electric-layout-mode):
5491 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5492 * face-remap.el (text-scale-mode, buffer-face-mode):
5493 * iimage.el (iimage-mode):
5494 * image-mode.el (image-transform-mode):
5495 * minibuffer.el (completion-in-region-mode):
5496 * scroll-lock.el (scroll-lock-mode):
5497 * simple.el (next-error-follow-minor-mode):
5498 * tar-mode.el (tar-subfile-mode):
5499 * tooltip.el (tooltip-mode):
5500 * vcursor.el (vcursor-use-vcursor-map):
5501 * wid-browse.el (widget-minor-mode):
5502 * emulation/tpu-edt.el (tpu-edt-mode):
5503 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5504 * international/iso-ascii.el (iso-ascii-mode):
5505 * language/thai-util.el (thai-word-mode):
5506 * mail/supercite.el (sc-minor-mode):
5507 * net/goto-addr.el (goto-address-mode):
5508 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5509 * progmodes/cwarn.el (cwarn-mode):
5510 * progmodes/flymake.el (flymake-mode):
5511 * progmodes/glasses.el (glasses-mode):
5512 * progmodes/hideshow.el (hs-minor-mode):
5513 * progmodes/pascal.el (pascal-outline-mode):
5514 * textmodes/enriched.el (enriched-mode):
5515 * vc/smerge-mode.el (smerge-mode):
5516 Doc fixes (minor mode argument).
5518 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5520 * ls-lisp.el (ls-lisp-sanitize): New function.
5521 (ls-lisp-insert-directory): Use it to fix or remove any elements
5522 in file-alist with missing attributes. (Bug#4673)
5524 2012-02-07 Alan Mackenzie <acm@muc.de>
5526 Fix spurious recognition of c-in-knr-argdecl.
5528 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5529 putative K&R region.
5531 2012-02-07 Alan Mackenzie <acm@muc.de>
5533 * progmodes/cc-engine.el (c-forward-objc-directive):
5534 Prevent looping in "#pragma mark @implementation".
5536 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5538 * notifications.el (notifications-on-closed-signal): Make `reason'
5539 optional. (Bug#10744)
5541 2012-02-07 Glenn Morris <rgm@gnu.org>
5543 * emacs-lisp/easy-mmode.el (define-minor-mode):
5544 Doc fixes for the macro and the mode it defines.
5546 * image.el (imagemagick-types-inhibit): Doc fix.
5548 * cus-start.el (imagemagick-render-type): Add it.
5550 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5552 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5553 Set the default at load time, too, so that `font-lock-fontify-buffer'
5554 can be called without setting up the entire mode first. This fixes
5555 a bug in `mm-inline-text' with C MIME parts.
5557 2012-02-06 Chong Yidong <cyd@gnu.org>
5559 * simple.el (list-processes--refresh): Delete exited processes
5562 * comint.el (comint-next-prompt): next-single-char-property-change
5563 and prev-single-char-property-change never return nil (Bug#8657).
5565 * custom.el (defcustom): Doc fix (Bug#9711).
5567 2012-02-05 Chong Yidong <cyd@gnu.org>
5569 * cus-edit.el (custom-variable-reset-backup): Quote the value
5570 before storing it in the customized-value property (Bug#6712).
5571 (custom-display): Add a customization type tag.
5572 (custom-buffer-create-internal): Improve tooltip message.
5574 * wid-edit.el (widget-field-value-get): New optional arg to
5575 suppress trailing whitespace truncation.
5576 (character): Use it (Bug#2689).
5578 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5580 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5581 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5583 2012-02-05 Chong Yidong <cyd@gnu.org>
5585 * cus-edit.el (custom-variable-value-create): For mismatched
5586 types, show the current value (Bug#7600).
5588 * custom.el (defcustom): Doc fix.
5590 2012-02-05 Glenn Morris <rgm@gnu.org>
5592 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5594 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5596 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5597 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5598 (pp-last-sexp): Use `looking-at-p'.
5600 2012-02-04 Glenn Morris <rgm@gnu.org>
5602 * files.el (revert-buffer):
5603 Doc fix (mention revert-buffer-in-progress-p).
5605 * emacs-lisp/ert-x.el (ert-simulate-command):
5606 Check deferred-action-list (which is obsolete) is bound.
5608 * subr.el (with-wrapper-hook): Doc fixes.
5610 * simple.el (filter-buffer-substring-functions)
5611 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5613 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5615 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5616 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5618 2012-02-04 Leo Liu <sdl.web@gmail.com>
5620 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5622 2012-02-04 Glenn Morris <rgm@gnu.org>
5624 * image.el (image-extension-data): Add obsolete alias.
5626 * isearch.el (isearch-update): Doc fix.
5628 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5630 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5632 2012-02-03 Glenn Morris <rgm@gnu.org>
5634 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5635 (image-animate-timeout): Doc fix.
5637 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5639 2012-02-02 Glenn Morris <rgm@gnu.org>
5641 * server.el (server-auth-dir): Doc fix.
5642 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5644 * subr.el (run-mode-hooks): Doc fix.
5646 2012-02-02 Juri Linkov <juri@jurta.org>
5648 * image-mode.el (image-toggle-display-image): Remove tautological
5649 `major-mode' from the `derived-mode-p' test.
5651 2012-02-02 Kenichi Handa <handa@m17n.org>
5653 * composite.el (compose-region): Cancel previous change.
5655 2012-02-02 Kenichi Handa <handa@m17n.org>
5657 * composite.el (compose-region, compose-string): Signal error for
5658 a null string component (Bug#6988).
5660 2012-02-01 Chong Yidong <cyd@gnu.org>
5662 * view.el (view-buffer-other-window, view-buffer-other-frame):
5663 Handle special modes like view-buffer (Bug#10650).
5664 (view-buffer): Simplify.
5666 * frame.el (set-frame-font): Tweak meaning of third argument.
5668 * dynamic-setting.el (font-setting-change-default-font):
5669 Use set-frame-font (Bug#9982).
5671 2012-02-01 Glenn Morris <rgm@gnu.org>
5673 * progmodes/compile.el (compilation-internal-error-properties):
5674 Respect compilation-first-column in the "*compilation*" buffer.
5676 * emacs-lisp/easy-mmode.el (define-minor-mode):
5677 Relax :variable's test for a named function.
5679 2012-01-31 Alan Mackenzie <acm@muc.de>
5681 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5684 2012-01-31 Chong Yidong <cyd@gnu.org>
5686 * frame.el (set-frame-font): New arg ALL-FRAMES.
5688 * menu-bar.el (menu-set-font): Use set-frame-font.
5690 * faces.el (face-spec-reset-face): Don't apply unspecified
5691 attribute values to the default face.
5693 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5695 * progmodes/cwarn.el (cwarn): Remove dead link.
5696 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5697 Remove * from defcustom docstrings.
5698 (turn-on-cwarn-mode): Make obsolete.
5699 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5700 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5702 2012-01-31 Glenn Morris <rgm@gnu.org>
5704 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5705 Fix :variable handling of mode a symbol not equal to modefun.
5706 Allow named functions to be used as the cdr of :variable.
5708 2012-01-30 Glenn Morris <rgm@gnu.org>
5710 * emacs-lisp/authors.el (authors-fixed-entries):
5711 Remove reference to deleted file rnewspost.el.
5713 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5715 * window.el (window-with-parameter): Remove unused variable `windows'.
5716 (window--side-check): Remove unused variable `code'.
5717 (window--resize-siblings): Remove unused variable `first'.
5718 (adjust-window-trailing-edge): Remove unused variable `failed'.
5719 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5720 Use `let', not `let*'.
5721 (balance-windows-2): Remove unused variable `found'.
5722 (window--state-put-2): Remove unused variable `splits'.
5723 (window-state-put): Remove unused variable `selected'.
5724 (same-window-p): Use `string-match-p'.
5725 (display-buffer-assq-regexp): Remove unused variable `value'.
5726 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5727 Mark argument ALIST as ignored.
5728 (pop-to-buffer): Remove unused variable `old-window'.
5730 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5732 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5733 and .lzma compressed files.
5735 2012-01-29 Chong Yidong <cyd@gnu.org>
5737 * frame.el (window-system-default-frame-alist): Doc fix.
5739 * dynamic-setting.el (font-setting-change-default-font): Don't
5740 change the default face if SET-FONT argument is non-nil (Bug#9982).
5742 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5744 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5746 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5748 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5749 breakpoints in files outside current directory (Bug#6098).
5751 2012-01-29 Chong Yidong <cyd@gnu.org>
5753 * progmodes/python.el: Require ansi-color at top-level.
5755 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5756 Define and use in Emacs Lisp mode (Bug#9360).
5757 (lisp-mode-abbrev-table): Add doc.
5758 (lisp-mode-variables): Don't set local-abbrev-table.
5759 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5761 2012-01-28 Roland Winkler <winkler@gnu.org>
5763 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5765 2012-01-28 Roland Winkler <winkler@gnu.org>
5767 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5768 (bibtex-set-dialect): Use it. Either set global values of
5769 dialect-dependent variables or bind these variables buffer-locally
5771 (bibtex-mode): Call bibtex-set-dialect via
5772 hack-local-variables-hook.
5773 (bibtex-dialect): Update docstring.
5774 Add safe-local-variable predicate.
5775 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5777 (bibtex-mode-map): Define menu for each dialect.
5778 (bibtex-entry): Fix docstring.
5780 2012-01-28 Chong Yidong <cyd@gnu.org>
5782 * eshell/esh-arg.el (eshell-quote-argument): New function.
5784 * eshell/esh-ext.el (eshell-invoke-batch-file):
5785 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5786 first arg to eshell-parse-command (Bug#10523).
5788 2012-01-28 Drew Adams <drew.adams@oracle.com>
5790 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5791 `default-directory' is non-nil.
5793 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5795 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5796 line that displays system-configuration-options. (Bug#9924)
5798 2012-01-28 Drew Adams <drew.adams@oracle.com>
5800 * descr-text.el (describe-char): Show information about POS, in
5801 addition to information about the character at POS. Improve and
5802 update the doc string. Change "code point" to "code point in
5803 charset", to avoid confusion with the character's Unicode code
5804 point shown above that. (Bug#10129)
5806 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5808 * descr-text.el (describe-char): Show the raw character, not only
5809 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5810 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5813 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5815 * emacs-lisp/package.el (package-install):
5816 Run package-refresh-contents if there is no archive yet (Bug#9798).
5818 2012-01-28 Chong Yidong <cyd@gnu.org>
5820 * emacs-lisp/package.el (package-maybe-load-descriptor):
5821 New function, split from package-maybe-load-descriptor.
5822 (package-maybe-load-descriptor): Use it.
5823 (package-download-transaction): Fully load required packages
5824 inside the loop, so that `require' calls work (Bug#10593).
5825 (package-install): No need to call package-initialize now.
5827 2012-01-28 Chong Yidong <cyd@gnu.org>
5829 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5831 * tooltip.el (tooltip-mode): Doc fix.
5832 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5834 * frame.el (set-cursor-color): Doc fix (Bug#352).
5836 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5837 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5839 * cus-edit.el (custom-buffer-create-internal): Fix search button
5841 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5843 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5845 * dired.el (dired-mark-files-regexp):
5846 Include any subdirectory components. (Bug#10445)
5848 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5850 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5851 Handle [host]:port syntax. (Bug#10533)
5853 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5855 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5857 2012-01-26 Glenn Morris <rgm@gnu.org>
5859 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5860 * term.el (term-raw-escape-map): Use Control-X-prefix.
5861 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5863 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5865 * window.el (window-state-get, window--state-get-1): Don't deal
5866 with fixed-sizeness of windows. Simplify code.
5868 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5870 * window.el (window--state-get-1, window--state-put-2):
5871 Don't save and restore the mark.
5873 2012-01-25 Chong Yidong <cyd@gnu.org>
5875 * custom.el (custom-variable-p): Doc fix.
5877 2012-01-25 Glenn Morris <rgm@gnu.org>
5879 * dired.el (dired-goto-file): Handle some of the more common
5880 characters that `ls -b' escapes. (Bug#10596)
5882 * progmodes/compile.el (compilation-next-error-function):
5883 Respect compilation-first-column in the "*compilation*" buffer.
5884 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5886 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5888 2012-01-24 Glenn Morris <rgm@gnu.org>
5890 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5892 2012-01-24 Julien Danjou <julien@danjou.info>
5894 * color.el (color-rgb-to-hsl): Fix value computing.
5895 (color-hue-to-rgb): New function.
5896 (color-hsl-to-rgb): New function.
5897 (color-clamp, color-saturate-hsl, color-saturate-name)
5898 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5899 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5901 2012-01-24 Glenn Morris <rgm@gnu.org>
5903 * vc/vc-rcs.el (vc-rcs-create-tag):
5904 * vc/vc-sccs.el (vc-sccs-create-tag):
5905 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5907 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5909 * eshell/esh-util.el (eshell-read-hosts-file):
5910 Skip comment lines. (Bug#10549)
5912 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5914 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5916 * subr.el (display-delayed-warnings): Doc fix.
5917 (collapse-delayed-warnings): New function to collapse identical
5919 (delayed-warnings-hook): Add it.
5921 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5923 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5925 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5926 (tramp-default-user-alist): Don't add "pscp".
5927 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5928 property "login-as", if set. (Bug#10530)
5930 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5932 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5933 "plink1" and "psftp". (Bug#10530)
5935 2012-01-21 Kenichi Handa <handa@m17n.org>
5937 * international/mule-cmds.el (prefer-coding-system): Show a
5938 warning message if the default value of file-name-coding-system
5941 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5943 * windmove.el (windmove-reference-loc):
5944 Fix windmove-reference-loc miscalculation.
5946 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5948 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5951 2012-01-21 Glenn Morris <rgm@gnu.org>
5953 * international/mule.el (auto-coding-alist): Add .tbz.
5955 * files.el (local-enable-local-variables): Doc fix.
5956 (inhibit-local-variables-regexps): Rename from
5957 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5958 Doc fix. Add some extensions from auto-coding-alist.
5959 (inhibit-local-variables-suffixes):
5960 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5961 (inhibit-local-variables-p):
5962 New function, extracted from set-auto-mode-1.
5963 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5964 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5965 (hack-local-variables): Doc fix. Make the mode-only case
5966 respect enable-local-variables and friends.
5967 Respect inhibit-local-variables-regexps for file-locals, but
5968 not for directory-locals.
5969 (set-visited-file-name):
5970 Take account of inhibit-local-variables-regexps.
5971 Whether it applies may change as the file name is changed.
5972 * jka-cmpr-hook.el (jka-compr-install):
5973 * jka-compr.el (jka-compr-uninstall):
5974 Update for inhibit-first-line-modes-suffixes name change.
5976 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5978 * help-macro.el (make-help-screen): Temporarily restore original
5979 binding for minor-mode-map-alist (Bug#10454).
5981 2012-01-19 Julien Danjou <julien@danjou.info>
5983 * color.el (color-name-to-rgb): Use the white color to find the max
5984 color component value and return correctly computed values.
5985 (color-name-to-rgb): Add missing float conversion for max value.
5987 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5989 * window.el (window--state-get-1, window-state-get): Do not use
5990 special state value for window-persistent-parameters.
5991 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5992 (window--state-put-2): Reset all window parameters to nil before
5993 assigning values of persistent parameters.
5995 2012-01-18 Alan Mackenzie <acm@muc.de>
5997 Eliminate sluggishness and hangs in fontification of "semicolon
6000 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6001 Change value 10000 -> 3000.
6002 (c-state-safe-place): Reformulate so it doesn't stack up an
6003 infinite number of wrong entries in c-state-nonlit-pos-cache.
6004 (c-determine-limit-get-base, c-determine-limit): New functions to
6005 determine backward search limits disregarding literals.
6006 (c-find-decl-spots): Amend commenting.
6007 (c-cheap-inside-bracelist-p): New function which detects "={".
6009 * progmodes/cc-fonts.el
6010 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6012 (c-font-lock-declarations): Fix an occurrence of point being
6013 undefined. Check additionally for point being in a bracelist or
6014 near a macro invocation without a semicolon so as to avoid a
6015 fruitless time consuming search for a declarator. Give a more
6016 precise search limit for declarators using the new
6019 2012-01-18 Glenn Morris <rgm@gnu.org>
6021 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6022 (set-auto-mode): Doc fixes.
6024 2012-01-17 Glenn Morris <rgm@gnu.org>
6026 * isearch.el (search-nonincremental-instead): Fix doc typo.
6028 * dired.el (dired-insert-directory): Handle newlines in directory name.
6029 (dired-build-subdir-alist): Unescape newlines in directory name.
6031 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6033 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6034 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6035 (tramp-action-terminal): Use it. (Bug#10530)
6037 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6039 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6041 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6043 * window.el (window-state-ignored-parameters): Remove variable.
6044 (window--state-get-1): Rename argument MARKERS to IGNORE.
6045 Handle persistent window parameters. Make copy of clone-of
6046 parameter only if requested. (Bug#10348)
6047 (window--state-put-2): Install a window parameter only if it has
6048 a non-nil value or an existing parameter shall be overwritten.
6050 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6052 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6054 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6056 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6057 don't pass the (nil) value of `upnode' to string-match.
6059 2012-01-14 Chong Yidong <cyd@gnu.org>
6061 * startup.el (command-line): Fix X resource class for cursorColor.
6062 Fix values recognized by the cursorBlink resource.
6064 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6066 * epg.el (epg--make-temp-file): Avoid permission race condition
6067 when running on old Emacs versions (bug#10403).
6069 2012-01-14 Glenn Morris <rgm@gnu.org>
6071 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6073 2012-01-13 Alan Mackenzie <acm@muc.de>
6075 Fix filling for when filladapt mode is enabled.
6077 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6078 c-mask-paragraph, pass in `fill-paragraph' rather than
6079 `fill-region-as-paragraph'. (This is a reversion of a previous
6081 * progmodes/cc-mode.el (c-basic-common-init):
6082 Make fill-paragraph-handle-comment buffer local and set it to nil.
6084 2012-01-13 Glenn Morris <rgm@gnu.org>
6086 * dired.el (dired-switches-escape-p): New function.
6087 (dired-insert-directory): Use dired-switches-escape-p.
6088 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6090 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6092 2012-01-12 Glenn Morris <rgm@gnu.org>
6094 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6095 changes in adaptive-fill-regexp. (Bug#10276)
6097 2012-01-11 Alan Mackenzie <acm@muc.de>
6099 Fix Emacs bug #10463 - put `widen's around the critical spots.
6101 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6102 widen around each invocation of c-state-pp-to-literal. Remove an
6103 unused let variable.
6105 2012-01-11 Glenn Morris <rgm@gnu.org>
6107 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6110 2012-01-10 Chong Yidong <cyd@gnu.org>
6112 * net/network-stream.el (network-stream-open-starttls):
6113 Avoid emitting a confusing error message when the server gives a bad
6114 response to the capability command.
6116 2012-01-10 Glenn Morris <rgm@gnu.org>
6118 * mail/unrmail.el (unrmail): Tweak previous change.
6120 2012-01-09 Chong Yidong <cyd@gnu.org>
6122 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6124 2012-01-08 Alan Mackenzie <acm@muc.de>
6126 Optimise font locking in long enum definitions.
6128 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6129 arm to a cond form to handle enums.
6130 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6131 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6133 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6135 * files.el (move-file-to-trash): Preserve default file modes on error.
6138 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140 * faces.el (set-face-attribute): Clarify the meaning of the nil
6143 * subr.el (with-selected-frame): Mention that the selected frame
6144 is restored (bug#9980).
6146 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6149 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6150 (password-read): Don't autoload unused function.
6152 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6154 * progmodes/which-func.el (which-func-mode): Turn into a
6155 non-interactive function and mark as obsolete (bug#10428).
6157 2012-01-06 Chong Yidong <cyd@gnu.org>
6159 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6160 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6161 functions, along with 1 and -1.
6163 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6165 * time.el (display-time-load-average)
6166 (display-time-default-load-average): Doc fixes. See the thread
6168 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6171 2012-01-06 Glenn Morris <rgm@gnu.org>
6173 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6174 has no messages. (Bug#10377)
6176 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6177 than Info-edit. (Bug#10385)
6179 * time.el (display-time-load-average, display-time-next-load-average):
6182 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6183 local setting of buffer-read-only to the input buffer. (Bug#10419)
6185 * calendar/calendar.el (calendar-mode):
6186 Locally set scroll-margin to 0. (Bug#10379)
6188 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6190 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6192 2012-01-05 Glenn Morris <rgm@gnu.org>
6194 * eshell/em-unix.el (diff-no-select): Autoload it.
6195 (eshell/diff): Use diff-no-select. (Bug#10420)
6197 2012-01-05 Chong Yidong <cyd@gnu.org>
6199 * shell.el (shell-dynamic-complete-functions): Revert last change.
6200 (shell-command-completion-function): New function.
6201 (shell-completion-vars): Use it to implement
6202 shell-completion-execonly (Bug#10417).
6204 * custom.el (enable-theme): Don't set custom-safe-themes.
6206 * cus-theme.el (custom-theme-merge-theme):
6207 Ignore custom-enabled-themes and custom-safe-themes.
6209 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6211 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6212 first prompt in `sql-interacive-mode'.
6213 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6215 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6216 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6217 context of original buffer. Invoke `sql-login-hook'.
6219 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6221 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6222 letters in cite-prefix.
6224 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6228 2012-01-03 Chong Yidong <cyd@gnu.org>
6230 * shell.el (shell-dynamic-complete-functions):
6231 Put pcomplete-completions-at-point, so as to try
6232 comint-filename-completion first (Bug#10417).
6234 2012-01-02 Richard Stallman <rms@gnu.org>
6236 * battery.el (battery-status-function):
6237 Detect when to use battery-yeeloong-sysfs.
6238 (battery-echo-area-format): Add string for Yeeloong.
6239 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6240 (battery-yeeloong-sysfs): New function.
6242 2012-01-02 Chong Yidong <cyd@gnu.org>
6244 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6245 (dirtrack): Merge code for handling relative filenames in prompt
6246 from shell-dir-cookie-watcher.
6247 (dirtrack-debug-message): New arg to avoid excess format calls.
6249 * shell.el (shell-dir-cookie-re): Variable deleted.
6250 (shell-dir-cookie-watcher): Function deleted.
6251 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6254 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6256 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6257 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6260 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6262 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6264 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6266 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6267 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6269 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6271 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6272 also for alternative shells.
6273 (tramp-open-connection-setup-interactive-shell): Check, whether
6274 the shell is a busybox.
6275 (tramp-send-command): Don't suppress multiple prompts for
6276 busyboxes, it hurts.
6278 2011-12-28 Chong Yidong <cyd@gnu.org>
6280 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6281 (gdb-get-source-file): Move mode line update to
6282 gdb-get-source-file (Bug#10087).
6284 2011-12-25 Chong Yidong <cyd@gnu.org>
6286 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6287 gud-gdb-marker-filter without taking it as an argument.
6288 (gud-gdb-run-command-fetch-lines): Caller changed.
6289 (gud-gdb-completion-function): New variable.
6290 (gud-gdb-completion-at-point): Use it.
6291 (gud-gdb-completions-1): Split from gud-gdb-completions.
6293 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6294 function as separate arguments.
6295 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6296 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6297 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6298 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6299 (gdb-stopped, def-gdb-auto-update-trigger)
6300 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6301 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6303 (gud-gdbmi-completions): New function.
6304 (gdb): Use it for generating the completion table.
6306 2011-12-24 Alan Mackenzie <acm@muc.de>
6308 Introduce a mechanism to widen the region used in context font
6309 locking. Use this to protect declarations from losing their contexts.
6311 * progmodes/cc-langs.el (c-before-font-lock-functions):
6312 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6313 (c-before-context-fontification-functions): New defvar, a list of
6314 functions to be run just before context (etc.) font locking.
6316 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6317 New, functionality extracted from
6318 c-neutralize-syntax-in-and-mark-CPP.
6319 (c-in-after-change-fontification): New variable.
6320 (c-after-change): Set c-in-after-change-fontification.
6321 (c-set-fl-decl-start): Rejig its interface, so it can be called
6322 from both after-change and context fontifying.
6323 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6325 (c-standard-font-lock-fontify-region-function): New variable.
6326 (c-font-lock-fontify-region): New function.
6328 2011-12-24 Juri Linkov <juri@jurta.org>
6330 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6333 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6335 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6336 existence of source file. (Bug#10325)
6338 2011-12-23 Alan Mackenzie <acm@muc.de>
6340 Fix unstable fontification inside templates.
6342 * progmodes/cc-langs.el (c-before-font-lock-functions):
6343 Newly created from the singular version. The (c c++ objc) entry now
6344 additionally has c-set-fl-decl-start. The other languages (apart
6345 from AWK) have that as a single entry.
6347 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6348 The functionality for "local" declarations has been extracted to
6349 c-set-fl-decl-start.
6351 * progmodes/cc-mode.el (c-common-init, c-after-change):
6352 Changes due to pluralisation of c-before-font-lock-functions.
6353 (c-set-fl-decl-start): New function, extracted from
6354 c-font-lock-enclosing-decls and enhanced.
6356 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6358 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6360 2011-12-22 Juri Linkov <juri@jurta.org>
6362 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6364 2011-12-22 Chong Yidong <cyd@gnu.org>
6366 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6368 2011-12-21 Drew Adams <drew.adams@oracle.com>
6370 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6372 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6374 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6376 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6378 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6379 highlighting and support. Fix up comments for capitalization.
6380 (cfengine-mode-debug): New var.
6381 (cfengine3-mode): Change the modeline indicator to "CFE3".
6382 (cfengine3-font-lock-keywords): Improve defun highlighting.
6383 (cfengine2-actions): Rename from `cfengine-actions'.
6384 (cfengine2-font-lock-keywords): Rename from
6385 `cfengine-font-lock-keywords'.
6386 (cfengine2-imenu-expression): Rename from
6387 `cfengine-imenu-expression'.
6388 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6389 (cfengine2-beginning-of-defun): Rename from
6390 `cfengine-beginning-of-defun'.
6391 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6392 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6393 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6394 modeline indicator to "CFE2".
6395 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6396 (cfengine-mode-abbrevs): Mark obsolete.
6398 2011-12-21 Chong Yidong <cyd@gnu.org>
6400 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6403 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6405 * window.el (window-normalize-buffer-to-display): Remove.
6406 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6408 2011-12-19 Chong Yidong <cyd@gnu.org>
6410 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6411 Don't signal an error in a predicate function; return non-nil.
6412 (vc-dir-mark-file): Move the error here.
6413 (vc-dir-mark-unmark): If acting on the region, keep going if one
6414 of the entries cannot be marked/unmarked.
6415 (vc-dir-mark-all-files): If current entry is a directory, mark
6416 only child files, as documented.
6418 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6420 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6421 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6424 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6426 * term/ns-win.el (ns-get-selection-internal)
6427 (ns-store-selection-internal): Declare.
6428 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6429 Declare as obsolete.
6430 (ns-get-pasteboard, ns-paste-secondary):
6431 Use ns-get-selection-internal.
6432 (ns-set-pasteboard, ns-copy-including-secondary):
6433 Use ns-store-selection-internal.
6435 2011-12-17 Chong Yidong <cyd@gnu.org>
6437 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6438 (vc-deduce-fileset): Doc fix.
6440 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6442 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6444 2011-12-13 Sam Steingold <sds@gnu.org>
6446 * man.el (Man-getpage-in-background): When running under a
6447 window-system, ignore $MANWIDTH and $COLUMNS.
6449 2011-12-15 Kenichi Handa <handa@m17n.org>
6451 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6452 (setup-ethiopic-environment-internal): Comment out key-binding for
6453 ethio-toggle-punctuation.
6455 2011-12-13 Alan Mackenzie <acm@muc.de>
6457 Add the switch statement to AWK Mode.
6459 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6460 "default" to the keywords regexp.
6462 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6463 expression as the rest.
6464 (c-nonlabel-token-key): Allow string literals for AWK.
6465 Refactor for the other modes.
6467 Large brace-block initialisation makes CC Mode slow: Fix.
6468 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6469 routines. Limit backward searching in c-font-lock-enclosing.decl.
6471 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6472 pp-state and literal type in addition to the limits.
6473 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6474 (c-state-literal-at): Use the above new defun.
6475 (c-slow-in-literal, c-fast-in-literal): Remove.
6476 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6478 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6479 being in a literal. Add a limit for backward searching.
6481 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6484 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6488 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6490 * window.el (delete-other-windows): Use correct frame in call to
6491 window-with-parameter.
6493 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6495 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6496 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6497 (makefile-gmake-statements, makefile-makepp-statements):
6498 Use it and add new makepp keywords.
6499 (makefile-makepp-font-lock-keywords): Add new patterns.
6500 (makefile-match-function-end): Match new [...] and [[...]].
6502 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6504 * ses.el (ses-call-printer-return, ses-cell-property-get)
6505 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6506 (ses-create-cell-variable, ses-reset-header-string)
6507 (ses-cell-set-formula, ses-repair-cell-reference-all)
6508 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6509 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6510 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6511 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6512 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6513 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6514 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6515 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6516 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6517 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6518 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6519 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6521 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6523 * ses.el: The overall change is to add cell renaming, that is
6524 setting fancy names for cell symbols other than name matching
6525 "\\`[A-Z]+[0-9]+\\'" regexp .
6526 (ses-create-cell-variable): New defun.
6527 (ses-relocate-formula): Relocate formulas only for cells the
6528 symbols of which are not renamed, i.e. symbols whose names do not
6529 match regexp "\\`[A-Z]+[0-9]+\\'".
6530 (ses-relocate-all): Relocate values only for cells the symbols of
6531 which are not renamed.
6532 (ses-load): Create cells variables as the (ses-cell ...) are read,
6533 in order to check row col consistency with cell symbol name only
6534 for cells that are not renamed.
6535 (ses-replace-name-in-formula): New defun.
6536 (ses-rename-cell): New defun.
6538 2011-12-11 Chong Yidong <cyd@gnu.org>
6540 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6541 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6543 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6545 * window.el (other-window): Fix docstring.
6547 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6549 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6550 `from' or `to' address before taking its substring.
6551 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6552 encoded name is chopped in the middle of the encoded string, and
6553 thus displayed encoded.
6555 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6557 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6559 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6561 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6562 to use texinfo-update-node and commands that call it if the
6563 Texinfo file uses @node lines without next/prev/up pointers.
6564 Correct outdated description about texinfo-master-menu.
6565 (texinfo-all-menus-update, texinfo-master-menu)
6566 (texinfo-update-node, texinfo-every-node-update)
6567 (texinfo-multiple-files-update): Doc fix. Warn against updating
6568 all the @node lines.
6569 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6570 argument is numeric. Explain better in the doc string what the
6571 function really does.
6572 (texinfo-insert-master-menu-list): Improve the error message
6573 displayed if there's no menu in the Top node.
6574 (Bug#2975) See also this thread:
6575 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6577 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6579 * speedbar.el (speedbar-supported-extension-expressions):
6580 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6582 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6584 * printing.el (pr-mode-alist):
6585 * simple.el (filter-buffer-substring-functions)
6586 (completion-list-insert-choice-function):
6587 * window.el (window-with-parameter, window-atom-root)
6588 (window-sides-slots, window-size-fixed, window-min-delta)
6589 (window-max-delta, window--resize-mini-window)
6590 (window--resize-child-windows-normal, window-tree)
6591 (delete-other-windows, quit-window, split-window)
6592 (display-buffer-record-window, special-display-buffer-names)
6593 (special-display-regexps, special-display-popup-frame)
6594 (same-window-p, split-window-sensibly)
6595 (display-buffer-overriding-action, display-buffer-alist)
6596 (display-buffer-base-action, display-buffer, switch-to-buffer)
6597 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6598 (fit-window-to-buffer, recenter-positions)
6599 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6600 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6601 and remove unneeded backslashes in docstrings.
6603 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6607 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6608 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6610 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6611 when reading the makefile (bug#10116).
6613 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6615 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6618 2011-12-06 Glenn Morris <rgm@gnu.org>
6620 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6622 2011-12-06 Chong Yidong <cyd@gnu.org>
6624 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6626 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6628 * textmodes/table.el (table-shorten-cell): Fix typo.
6630 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6632 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6634 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6636 * descr-text.el (describe-char): Fix display of strong
6637 right-to-left characters and directional embeddings and overrides.
6639 * simple.el (what-cursor-position): Fix display of codepoints of
6640 strong right-to-left characters.
6642 2011-12-05 Chong Yidong <cyd@gnu.org>
6644 * faces.el (read-color): Doc fix.
6646 2011-12-05 Glenn Morris <rgm@gnu.org>
6648 * align.el (align--set-marker): Add doc-string.
6649 Don't try to move something that is not a marker. (Bug#10216)
6651 2011-12-04 Glenn Morris <rgm@gnu.org>
6653 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6654 overly zealous deletion of trailing whitespace.
6656 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6658 * server.el (server-delete-client): On Windows, do not try to delete
6660 (server-process-filter): On Windows, treat requests for a tty frame as
6661 if they were for a GUI frame if the running server is in GUI mode.
6663 2011-12-03 Glenn Morris <rgm@gnu.org>
6665 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6667 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * electric.el: Streamline electric-indent's hook.
6670 (electric-indent-chars): Revert to simple list.
6671 (electric-indent-functions): New var.
6672 (electric-indent-post-self-insert-function): Use it.
6674 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6675 there's no inferior buffer (bug#10196).
6676 (prolog-consult-compile): Don't use toggle-read-only.
6678 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6680 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6681 interrupt. (Bug#10187)
6683 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6688 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6691 2011-12-02 Juri Linkov <juri@jurta.org>
6693 * info.el (Info-search): Display "end of manual" when Isearch
6694 reaches the end of single-file Info manual. (Bug#9918)
6696 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6698 * isearch.el (isearch-message-prefix): Run the input method part
6699 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6701 2011-12-02 Juri Linkov <juri@jurta.org>
6703 * isearch.el (isearch-occur): Use `word-search-regexp' for
6705 (isearch-search-and-update): Add condition for `isearch-word' and
6706 call `word-search-regexp'. (Bug#10145)
6708 2011-12-01 Glenn Morris <rgm@gnu.org>
6710 * eshell/em-hist.el (eshell-hist-initialize):
6711 Handle eshell-history-size nil and HISTSIZE set or unset.
6712 (eshell-history-file-name, eshell-history-size): Fix custom type.
6714 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6718 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6720 * progmodes/verilog-mode.el (verilog-pretty-expr):
6721 Rework verilog-pretty-expr to handle new assignment operators in system
6722 verilog, such as += *= and the like.
6723 (verilog-assignment-operator-re): Regular expression to find the
6724 assigment operator in a verilog assignment.
6725 (verilog-assignment-operation-re): Regular expression to find an
6726 assignment statement for pretty-expr.
6727 (verilog-in-attribute-p): Query returns true if point is in an
6728 attribute context; used to skip these for expression line up from
6730 (verilog-in-parameter-p): Query returns true if point is in an
6731 parameter definition context; used to skip these for expression
6732 line up from pretty-expr.
6733 (verilog-in-parenthesis-p): Query returns true if point is in a
6734 parenthetical expression, specifically ( ) but not [ ] or { };
6735 used by pretty-expr.
6736 (verilog-just-one-space): If there is no space, don't add one.
6737 (verilog-get-lineup-indent-2): Specifically skip just attribute
6738 contexts for expression lineup, rather than skipping all
6739 parenthetical expressions.
6740 (verilog-calculate-indent): Fix comment, and fix indent.
6741 (verilog-do-indent): Indent declarations in lists (suggested by
6743 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6745 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6748 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6750 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6751 parameters with embedded comments. Reported by Ray Stevens.
6752 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6753 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6754 Reported by Tim Holt.
6755 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6756 instantiated by upper module causing wrong expansion until AUTOed a
6757 second time. Reported by K C Buckenmaier.
6758 (verilog-diff-auto): Fix showing .* as a difference when
6759 `verilog-auto-star-save' off. Reported by Dan Dever.
6760 (verilog-auto-reset, verilog-read-always-signals)
6761 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6762 temporary signals in reset list if
6763 verilog-auto-reset-blocking-in-non is nil, and match assignment
6764 style to each signal's assignment type, bug381.
6765 Reported by Thomas Esposito.
6766 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6767 (verilog-uvm-statement-re): Support UVM indentation and
6768 highlighting, with old OVM keywords only.
6769 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6770 Support AUTOTIEOFF creating non-wire data types.
6771 Suggested by Jonathan Greenlaw.
6772 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6773 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6774 (verilog-inject-sense, verilog-read-inst-pins)
6775 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6776 Fix mismatching parenthesis inside commented out code when deleting
6777 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6778 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6779 non-numeric vector width. Reported by Alex Reed.
6780 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6781 detecting signals with parameter widths. Reported by Alex Reed.
6782 (verilog-auto-delete-trailing-whitespace):
6783 With `verilog-auto-delete-trailing-whitespace' remove trailing
6784 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6785 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6786 Fix verilog-scan-cache corruption when running user AUTO expansion
6787 hooks that call indentation routines.
6788 (verilog-simplify-range-expression): Fix typo ignoring lower case
6790 (verilog-delete-auto): Fix delete-autos to also remove user created
6791 automatics, as long as they start with AUTO.
6792 (verilog-batch-diff-auto, verilog-diff-auto)
6793 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6794 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6795 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6796 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6797 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6798 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6799 is disabled and its cache will get corrupt, causing AUTOS not to
6800 expand. Instead use only -quick functions.
6801 (verilog-scan-region): Fix scanning over escaped quotes.
6802 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6803 (verilog-re-search-backward-quick)
6804 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6805 related functions now ignore strings, to fix misparsing of strings
6806 with magic comments embedded in them.
6807 (verilog-read-auto-template):
6808 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6809 Reported by Brad Dobbie.
6810 (verilog-read-auto-template):
6811 Fix 'verilog-auto-inst-template-numbers' with comments.
6812 Reported by Brad Dobbie.
6813 (verilog-auto-inst, verilog-auto-inst-param)
6814 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6815 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6816 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6817 debugging templates without merge conflicts, bug357.
6818 Reported by Brad Dobbie.
6819 (verilog-read-auto-template):
6820 Fix verilog-auto-inst-template-numbers with multiple templates.
6821 Reported by Brad Dobbie.
6822 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6823 abbrevs so user won't be asked to save.
6824 (verilog-read-auto-lisp-present): Fix to start at beginning of
6825 buffer in case called outside of verilog-auto.
6826 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6827 to "X-2". Reported by Matthew Myers.
6828 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6829 all inputs from module templates. Reported by Leith Johnson.
6830 (verilog-module-inside-filename-p): Fix locating programs as with
6832 (verilog-auto-inst-port): Fix vl-width expressions when using
6833 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6834 (verilog-decls-get-regs, verilog-decls-get-signals,
6835 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6836 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6837 verilog-read-decls): Combine reg and wire structures into one var
6838 structure to represent SystemVerilog concepts.
6839 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6840 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6841 (verilog-auto-wire-type, verilog-insert-definition):
6842 Add verilog-auto-wire-type and AUTOLOGIC to support using
6843 SystemVerilog "logic" keyword instead of "wire"/"reg".
6844 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6845 to declares outputs that also have assignments (presumably in an
6846 ifdef or generate if so there's not a driver conflict).
6847 Reported by Matthew Myers.
6848 (verilog-auto-declare-nettype, verilog-insert-definition):
6849 Add verilog-auto-declare-nettype to fix declarations using
6850 `default_nettype none. Reported by Julian Gorfajn.
6851 (verilog-read-always-signals-recurse, verilog-read-decls)
6852 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6853 malformed end statement, bug325. Reported by Joshua Wise and
6855 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6856 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6857 when expanding .* in interfaces, bug320.
6858 Reported by Pierre-David Pfister.
6859 (verilog-read-module-name): Fix import statements between module
6860 name and open parenthesis, bug317.
6861 Reported by Pierre-David Pfister.
6862 (verilog-simplify-range-expression): Fix simplification of
6863 multiplications inside AUTOWIRE connections, bug303.
6864 (verilog-auto-inst-port): Support parameter expansion in
6865 multidimensional arrays.
6866 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6867 after "assert property". Reported by Julian Gorfajn.
6868 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6869 with multiplication, bug303.
6870 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6871 Reported by Jan Frode Lonnum.
6873 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6875 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6876 (hfy-shell-file-name, hfy-shell):
6877 * international/fontset.el (x-decompose-font-name): Fix typos.
6879 2011-11-29 Ken Brown <kbrown@cornell.edu>
6881 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6882 (gdb-version): Remove defvar.
6883 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6884 (gdb-gud-context-command, gdb-non-stop-handler)
6885 (gdb-current-context-command, gdb-stopped): Use it.
6886 (gdb-init-1): Enable pretty printing here.
6887 (gdb-non-stop-handler): Don't enable pretty-printing here.
6888 Check to see if the target supports non-stop mode; if not, turn off
6889 non-stop mode. Use the following.
6890 (gdb-check-target-async): New defun.
6891 (gud-watch, gdb-stopped): Fix whitespace.
6892 (gdb-get-source-file): Don't try to display the source file if
6893 `gdb-main-file' is nil.
6895 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6897 * align.el: Try to generate fewer markers (bug#10047).
6898 (align--set-marker): New macro.
6899 (align-region): Use it.
6901 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6903 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6905 2011-11-29 Chong Yidong <cyd@gnu.org>
6907 * indent.el (indent-for-tab-command, indent-according-to-mode):
6909 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6911 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6913 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6914 aware of remote file names. (Bug#10124)
6916 2011-11-29 Chong Yidong <cyd@gnu.org>
6918 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6920 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6922 * files.el (find-file): Don't use force-same-window (bug#10144).
6923 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6924 use pop-to-buffer if the selected window can't be used.
6925 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6927 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6929 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6932 2011-11-28 Chong Yidong <cyd@gnu.org>
6934 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6936 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6938 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6939 gdb-get-source-file-list on gdb-create-source-file-list.
6941 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6943 * whitespace.el (whitespace-newline): Use a different foreground
6944 color for 16-color light-background displays.
6946 2011-11-24 Chong Yidong <cyd@gnu.org>
6948 * window.el (display-buffer--special-action): Doc fix.
6950 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6952 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6953 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6954 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6955 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6956 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6957 (avl-tree-stack-first):
6958 * emacs-lisp/cconv.el (cconv--analyse-use):
6959 * net/gnutls.el (gnutls-negotiate): Fix typos.
6961 2011-11-24 Glenn Morris <rgm@gnu.org>
6963 * lpr.el (lpr-windows-system, lpr-lp-system):
6964 * mail/binhex.el (binhex-begin-line):
6965 * progmodes/grep.el (grep-history, grep-find-history):
6966 * textmodes/flyspell.el:
6967 * vc/pcvs-defs.el (cvs-global-menu):
6968 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6969 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6970 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6972 * net/tls.el: Fix case of "GnuTLS".
6974 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6976 * version.el (emacs-build-system): Give it a doc-string.
6978 2011-11-24 Juri Linkov <juri@jurta.org>
6980 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6982 2011-11-24 Glenn Morris <rgm@gnu.org>
6984 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6985 if called on a non-mime message just toggle the headers. (Bug#8006)
6987 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6989 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6990 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6991 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6992 (allout-rebullet-heading, allout-open-sibtopic)
6993 (allout-toggle-current-subtree-encryption)
6994 (allout-toggle-subtree-encryption, allout-encrypt-string)
6995 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6996 (allout-distinctive-bullets-string, allout-auto-activation):
6997 * window.el (window-normalize-buffer-to-display):
6998 * progmodes/verilog-mode.el (verilog-batch-indent):
6999 * textmodes/bibtex.el (bibtex-field-braces-opt)
7000 (bibtex-field-strings-opt):
7001 * vc/cvs-status.el (cvs-tree-merge):
7004 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7006 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7007 `non-essential' to t, in order to avoid remote connections.
7009 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7011 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7012 On MS-DOS and MS-Windows, compare with loaddefs.el
7015 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7017 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7019 2011-11-23 Glenn Morris <rgm@gnu.org>
7021 * paths.el (rmail-file-name): Reformat the doc-string so that it
7024 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7025 (rmail-auto-file): Ignore case in the "special" field names,
7026 as mail-fetch-field does for all others.
7028 * mail/rmail.el (rmail-forward):
7029 * mail/rmailkwd.el (rmail-set-label):
7030 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7031 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7033 * mail/rmail.el (rmail-current-message): Doc fix.
7035 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7037 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7041 2011-11-22 Glenn Morris <rgm@gnu.org>
7043 * mail/rmailmm.el (test-rmail-mime-handler)
7044 (test-rmail-mime-bulk-handler)
7045 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7047 2011-11-21 Juri Linkov <juri@jurta.org>
7049 * calc/calc.el (calc-read-key-sequence):
7050 Let-bind `input-method-function' to nil. (Bug#10018)
7052 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7054 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7055 Tell the caller that the next line needs recomputation, even
7056 though it doesn't start a sexp (bug#10094).
7058 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7062 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7065 Use force-same-window.
7067 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7069 * descr-text.el (describe-char-unicode-data):
7070 * json.el (json-string-escape):
7071 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7072 (Footnote-unicode, Footnote-style-p):
7073 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7075 2011-11-20 Chong Yidong <cyd@gnu.org>
7077 * window.el (replace-buffer-in-windows): Restore interactive spec.
7079 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7081 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7083 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7084 (byte-compile-global-not-obsolete-vars): New var.
7085 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7087 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7089 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7091 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7092 * progmodes/pascal.el (electric-pascal-equal):
7093 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7094 * xml.el (xml-substitute-special): Fix typos.
7096 2011-11-20 Glenn Morris <rgm@gnu.org>
7098 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7099 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7101 (rmail-decode-mime-charset): Mark as obsolete.
7103 * mail/rmailsum.el (rmail-message-regexp-p-1):
7104 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7105 Before using mime functions, check they are set. (Bug#10077)
7107 2011-11-19 Juri Linkov <juri@jurta.org>
7109 * info.el (Info-finder-find-node): Use `package--builtins' instead
7110 of `package-alist'. Use node names formed by the pattern "Keyword "
7111 and the keyword name.
7113 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7115 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7117 2011-11-19 Juri Linkov <juri@jurta.org>
7119 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7120 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7121 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7122 `old-history', `old-history-forward'. Add let-binding
7123 `window-selected'. Remove calls to `kill-buffer',
7124 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7125 before calling `Info-find-node', so `Info-find-node-2' will reread
7126 the Info file. Restore window positions only when `window-selected'
7129 2011-11-19 Juri Linkov <juri@jurta.org>
7131 * isearch.el (isearch-lazy-highlight-new-loop):
7132 Remove condition `(not isearch-error)'. (Bug#9918)
7134 * misearch.el (multi-isearch-search-fun): Add condition
7135 `(not bound)' to ignore lazy-highlighting search.
7136 Add the search-failed message "end of multi" when the end of
7137 multi-sequence is reached. Uncapitalize the search-failed
7138 message "Repeat for next buffer".
7140 * info.el (Info-search): Add the search-failed message
7141 "end of the manual" when the end of the manual is reached
7144 2011-11-19 Juri Linkov <juri@jurta.org>
7146 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7147 Use non-destructive `remove' instead of `delete' because
7148 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7149 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7151 2011-11-19 Juri Linkov <juri@jurta.org>
7153 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7154 to nil instead of binding `search-ring' and `regexp-search-ring'.
7157 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7159 * simple.el (line-move): Force movement by logical lines for any
7160 hscrolled window, not only when auto-hscroll-mode is on.
7161 (line-move-visual): Update doc string to that effect. (Bug#10076)
7163 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7165 * language/european.el (macintosh): Define as alias for mac-roman.
7167 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7169 * mail/rmailmm.el (rmail-mime-display-header)
7170 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7171 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7172 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7173 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7174 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7176 (rmail-mime-entity-segment): To get past the tagline, move forward
7177 2 more lines, to account for the 2 empty lines that precede and
7178 follow the line with the buttons.
7179 (rmail-mime-update-tagline): Move one more line, to get past the
7180 empty line that follows the buttons in the tagline. (Bug#9520)
7182 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7184 * window.el (window-max-delta-1, window-min-delta-1)
7185 (window-min-size-1, window-state-get-1, window-state-put-1)
7186 (window-state-put-2): Use "window--" prefix.
7188 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7191 (smie-warning-count): New var.
7192 (smie-set-prec2tab): Use it.
7193 (smie-bnf->prec2): Improve warnings. Add docstring.
7194 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7195 (smie-bnf--set-class): New function.
7196 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7199 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7200 (compilation-error-properties, compilation-move-to-column):
7201 Handle compilation-first-column while in the target buffer.
7203 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7204 Don't hardcode point-min==1.
7206 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7207 (eshell-rewrite-for-command): Remove workaround.
7208 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7209 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7210 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7212 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7214 2011-11-17 Glenn Morris <rgm@gnu.org>
7216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7217 Ignore buffer-local generated-autoload-file if it is the same
7218 as the global value. (Bug#10049)
7220 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7222 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7223 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7224 (reftex-toc-previous-heading, reftex-toc-max-level)
7225 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7226 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7227 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7228 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7229 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7230 (reftex-toc-rename-label, reftex-toc-visit-location)
7231 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7232 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7233 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7234 leaving "*toc*" only for references to the buffer.
7236 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7238 * window.el (window-resize, delete-window, split-window):
7239 Replace window-splits by window-combination-resize.
7240 * cus-start.el (window-splits): Replace by window-combination-resize.
7242 2011-11-17 Glenn Morris <rgm@gnu.org>
7244 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7245 Make bash entry derive from sh entry, not shell entry.
7247 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7249 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7252 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7254 * menu-bar.el (menu-bar-file-menu):
7255 * printing.el (pr-ps-utility):
7256 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7257 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7258 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7259 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7260 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7261 (icalendar--convert-cyclic-to-ical)
7262 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7263 (icalendar--convert-ical-to-diary)
7264 (icalendar--convert-recurring-to-diary)
7265 (icalendar--convert-non-recurring-all-day-to-diary)
7266 (icalendar-import-format-sample):
7267 * progmodes/idlw-shell.el (idlwave-shell-mode):
7268 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7269 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7270 (vhdl-ps-print-init): Fix typos.
7272 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7274 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7275 FSF and collapse date sequence, obscure author/maintainer email address
7276 better, remove extra version line, track relocation of author's webpage.
7278 * progmodes/python.el (python-pdbtrack-input-prompt)
7279 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7280 regular python pdb prompts. Adjustments shamelessly taken exactly as
7281 suggested in EmacsWiki page (tiny change):
7282 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7284 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7286 * expand.el (expand-pos, expand-index, expand-point):
7287 Remove redundant info from docstring.
7288 (expand-add-abbrevs): Doc fix.
7289 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7290 (expand-sample-perl-mode-expand-list): Fix typos.
7292 * net/dbus.el (dbus-event-member-name):
7293 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7294 * term/pc-win.el (msdos-create-frame-with-faces):
7295 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7297 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7299 * window.el (split-window, window-state-get-1)
7300 (window-state-put-1, window-state-put-2): Rename occurrences of
7301 window-nest to window-combination-limit.
7302 * cus-start.el (window-nest): Rename to window-combination-limit.
7304 2011-11-16 Chong Yidong <cyd@gnu.org>
7306 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7309 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7312 `completing-read' will remove *Completions* and will preserve
7313 current-buffer for us.
7314 (tmm-add-prompt): Users of *Completions* will always (re)set its
7316 (tmm-old-comp-map): Remove.
7318 2011-11-16 Glenn Morris <rgm@gnu.org>
7320 * mail/rmailedit.el: Require rmailmm when compiling.
7321 (rmail-old-mime-state): New declaration.
7322 (rmail-edit-current-message): If editing a mime message,
7323 edit the "raw" message from the mbox buffer.
7324 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7326 2011-11-15 Glenn Morris <rgm@gnu.org>
7328 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7329 which wasn't being used. Add optional arg to force given state.
7330 (rmail-mime): Add optional arg to force given state.
7332 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7334 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7335 * frame.el (display-mm-dimensions-alist):
7336 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7337 (outline-move-subtree-down):
7338 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7339 (newsticker--treeview-do-get-node):
7340 * net/quickurl.el (quickurl-list-buffer-name):
7341 * progmodes/dcl-mode.el (dcl-mode):
7342 * progmodes/gdb-mi.el (gdb-mapcar*):
7343 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7345 2011-11-15 Glenn Morris <rgm@gnu.org>
7347 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7348 in a boolean sense, so just make it a boolean, and fix the doc.
7349 (rmail-show-mime-function, rmail-mime-feature)
7350 (rmail-require-mime-maybe): Doc fixes.
7351 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7353 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7355 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7357 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7358 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7359 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7360 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7362 2011-11-15 Glenn Morris <rgm@gnu.org>
7364 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7365 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7366 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7367 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7368 (rmail-mime, rmail-show-mime): Doc fixes.
7370 * term/ns-win.el (mode-line-frame-identification):
7371 Leave it alone. (Bug#10051)
7373 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7375 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7376 Handle empty buffers. (Bug#9978)
7378 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7380 * international/mule.el (define-charset):
7381 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7382 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7383 * progmodes/verilog-mode.el (verilog-backward-token):
7384 * textmodes/ispell.el (lookup-words):
7385 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7387 2011-11-14 Glenn Morris <rgm@gnu.org>
7389 * progmodes/executable.el
7390 (executable-make-buffer-file-executable-if-script-p):
7391 Handle file-modes returning nil.
7393 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7394 message - not necessary, and causes problems. (Bug#9831)
7396 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7398 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7400 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7401 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7402 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7404 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7406 * window.el (window-resize, delete-window): Use window-splits
7407 variable instead of function.
7408 (window-state-get-1, window-state-put-2, window-state-put):
7409 Don't deal with windows' splits status.
7411 2011-11-12 Glenn Morris <rgm@gnu.org>
7413 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7414 (apropos-documentation): Doc fixes.
7416 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7418 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7419 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7421 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7423 * electric.el (electric-indent-post-self-insert-function): Make it
7424 possible for a char to only indent in some circumstances.
7425 (electric-indent-mode): Simplify.
7427 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7429 * window.el (windows-with-parameter): Remove unused function.
7430 (windows-at-side): Rename to window-at-side-list.
7431 (window-check, window-atom-check, window-atom-check-1)
7432 (window-side-check, window-size-ignore, window-size-fixed-1)
7433 (window-in-direction-2): Prefix with "window--".
7434 (window-tree-1): Rename to window--subtree, fix doc-string.
7436 2011-11-11 Glenn Morris <rgm@gnu.org>
7438 * subr.el (eval-after-load): If FILE is already loaded,
7439 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7441 2011-11-10 Glenn Morris <rgm@gnu.org>
7443 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7444 Call svn via vc-svn-command rather than vc-do-command.
7445 (vc-svn-command): Add --non-interactive. (Bug#9993)
7446 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7448 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7449 Add toggle-read-only. (Bug#7292)
7450 * files.el (toggle-read-only): Mention that it should only
7451 be used interactively. (Bug#10006)
7453 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7456 Adjust regexp for OCaml warnings.
7458 * electric.el (electric-pair-post-self-insert-function): Let user
7459 turn it off buffer-locally (bug#9932).
7461 * progmodes/python.el (python-beginning-of-statement):
7464 * progmodes/compile.el: Better handle TABs (bug#9749).
7465 (compilation-internal-error-properties)
7466 (compilation-next-error-function): Obey the target buffer's
7467 compilation-error-screen-columns.
7469 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7471 * progmodes/meta-mode.el: Remove obsolete comments.
7472 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7473 Fix typos in docstrings.
7475 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7477 * window.el (window-size-fixed-p): Rewrite doc-string.
7478 (window-resizable-p): Rename to window--resizable-p. Update callers.
7479 (window--resizable): New function. Make all callers of
7480 window-resizable call window--resizable instead.
7481 (window-resizable): Rewrite in terms of window--resizable.
7483 2011-11-08 Glenn Morris <rgm@gnu.org>
7485 * progmodes/delphi.el (delphi-mode-syntax-table):
7486 Let define-derived-mode define a proper syntax table. (Bug#9994)
7488 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7490 * window.el: Stay away from defsubst.
7491 (window-list-no-nils): Remove.
7492 (window-state-get-1, window-state-get): Use backquote instead.
7494 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7496 * emacs-lisp/find-func.el (find-function-read):
7497 Fix incorrect use of default argument in `completing-read'.
7499 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7501 * window.el (display-buffer-function, special-display-function):
7502 Mention display-buffer-record-window but do not mention
7503 help-setup parameter in doc-strings.
7504 (window-min-delta): Fix doc-string typo.
7506 2011-11-08 Chong Yidong <cyd@gnu.org>
7508 * window.el (window-total-height, window-total-width): Doc fix.
7509 (window-body-size): Move from C.
7510 (window-body-height, window-body-width): Move to C.
7512 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7514 * window.el: Make special-display like display-buffer-alist (bug#9532).
7515 (display-buffer--special-action): New function, morphed
7516 from display-buffer--special.
7517 (display-buffer): Use it to handle special-display-buffers at higher
7518 priority (just after display-buffer-alist).
7519 (display-buffer-fallback-action, display-buffer--other-frame-action)
7520 (pop-to-buffer-same-window): Remove display-buffer--special.
7522 2011-11-07 Glenn Morris <rgm@gnu.org>
7524 * calendar/cal-menu.el (cal-menu-set-date-title):
7525 Do nothing if not in a calendar. (Bug#9976)
7527 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7529 * files.el (find-file): Always use selected-window.
7531 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7533 * window.el (window-combinations): Make WINDOW argument
7534 mandatory. Rewrite doc-string.
7535 (walk-window-subtree, window-atom-check, window-min-delta)
7536 (window-max-delta, window--resize-this-window)
7537 (window--resize-root-window-vertically, window-tree)
7538 (balance-windows, window-state-put): Rewrite doc-strings as to
7539 not mention the term "subwindow".
7540 (window--resize-subwindows-skip-p): Rename to
7541 window--resize-child-windows-skip-p.
7542 (window--resize-subwindows-normal): Rename to
7543 window--resize-child-windows-normal.
7544 (window--resize-subwindows): Rename to
7545 window--resize-child-windows.
7546 (window-or-subwindow-p): Rename to window--in-subtree-p.
7548 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7550 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7551 Ensure that mbox format messages end in two newlines (Bug#9974).
7553 2011-11-06 Chong Yidong <cyd@gnu.org>
7555 * window.el (window-combination-p): Function deleted; its
7556 side-effect is not used in any existing code.
7557 (window-combinations, window-combined-p): Call window-*-child
7560 2011-11-05 Chong Yidong <cyd@gnu.org>
7562 * window.el (window-valid-p): Rename from window-any-p.
7563 (window-size-ignore, window-state-get): Callers changed.
7564 (window-normalize-window): Rename from window-normalize-any-window.
7565 New arg LIVE-ONLY, replacing window-normalize-live-window.
7566 (window-normalize-live-window): Delete.
7567 (window-combination-p, window-combined-p, window-combinations)
7568 (walk-window-subtree, window-atom-root, window-min-size)
7569 (window-sizable, window-sizable-p, window-size-fixed-p)
7570 (window-min-delta, window-max-delta, window-resizable)
7571 (window-resizable-p, window-full-height-p, window-full-width-p)
7572 (window-current-scroll-bars, window-point-1, set-window-point-1)
7573 (window-at-side-p, window-in-direction, window-resize)
7574 (adjust-window-trailing-edge, maximize-window, minimize-window)
7575 (window-deletable-p, delete-window, delete-other-windows)
7576 (record-window-buffer, unrecord-window-buffer)
7577 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7578 (quit-window, split-window, window-state-put)
7579 (set-window-text-height, fit-window-to-buffer)
7580 (shrink-window-if-larger-than-buffer): Callers changed.
7582 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7584 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7585 rfc2047-decode-string.
7586 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7589 * window.el (window-body-height, window-body-width): Mention in
7590 the doc string that the return values are in frame's canonical
7593 2011-11-03 Alan Mackenzie <acm@muc.de>
7595 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7596 change in cc-engine.el.
7598 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7602 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7604 * window.el (quit-window): Call unrecord-window-buffer after
7605 showing another buffer in the window. (Bug#9937)
7606 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7608 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7610 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7611 Accept status with more than 9 shelves. (Bug#9935)
7612 Reported by Colin D Bennett <colin@gibibit.com>.
7614 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7616 * help.el (with-help-window): Don't reference
7617 temp-buffer-show-specifiers in doc-string.
7619 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7621 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7624 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7626 * whitespace.el: New version 13.2.2.
7627 (whitespace-newline-mode): Disable properly. Reported by Sarah
7630 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7632 * net/newst-treeview.el: Remove "Time-stamp".
7633 (newsticker--group-manage-orphan-feeds): Do not call
7634 newsticker--treeview-tree-update.
7635 (newsticker-treeview-update, newsticker-treeview):
7636 Call newsticker--treeview-tree-update if necessary.
7638 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7640 * window.el (window-iso-combination-p, window-iso-combined-p)
7641 (window-iso-combinations): Remove "iso-" infix.
7642 Suggested by Chong Yidong.
7643 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7644 (window-max-delta-1, window-resize, window--resize-siblings)
7645 (window--resize-this-window, adjust-window-trailing-edge)
7646 (split-window, balance-windows-1)
7647 (shrink-window-if-larger-than-buffer):
7648 * calendar/calendar.el (calendar-generate-window):
7649 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7651 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7654 in place (bug#9907).
7655 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7656 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7657 (eshell-structure-basic-command, eshell-rewrite-while-command)
7658 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7659 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7660 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7661 (eshell-do-pipelines-synchronously, eshell-eval-command):
7662 Use backquotes and prefer setq to set.
7663 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7664 (eshell-macrop): Use functionp.
7665 (eshell-do-eval): Handle multiple expressions in `while' body.
7667 2011-10-30 Chong Yidong <cyd@gnu.org>
7669 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7670 instead of set-mark (Bug#9810).
7672 2011-10-30 Chong Yidong <cyd@gnu.org>
7674 * window.el (split-window-below, split-window-right): Rename from
7675 split-window-above-each-other and split-window-side-by-side
7676 respectively. All callers changed.
7677 (split-window-sensibly, split-window-sensibly): Use them.
7678 (split-window-keep-point): Doc fix.
7680 * isearch.el: Add isearch-scroll property to split-window-below
7681 and split-window-right.
7683 * follow.el (follow-mode):
7684 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7685 * progmodes/ada-xref.el (ada-gdb-application):
7686 * emulation/vip.el (vip-buffer-in-two-windows):
7687 * image-dired.el (image-dired-dired-with-window-configuration):
7688 * dired-x.el (dired-do-find-marked-files):
7689 * dired.el (dired-pop-to-buffer):
7690 * bs.el (bs--show-with-configuration):
7691 * vc/emerge.el (emerge-setup-windows):
7692 * textmodes/two-column.el (2C-two-columns):
7693 * textmodes/reftex-toc.el (reftex-toc):
7694 * progmodes/gdb-mi.el (gdb-setup-windows):
7695 * progmodes/fortran.el (fortran-window-create):
7696 * net/newst-treeview.el (newsticker--treeview-window-init):
7697 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7698 * emulation/tpu-edt.el (tpu-gold-map):
7699 * emulation/crisp.el (crisp-mode-map):
7700 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7702 2011-10-29 Chong Yidong <cyd@gnu.org>
7704 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7706 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7708 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7709 forged Ispell output (Bug#7904).
7711 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7713 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7715 * doc-view.el: Avoid ugly errors about not finding nil.
7716 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7717 (doc-view-dvipdf-program, doc-view-unoconv-program)
7718 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7719 Avoid nil or absolute file name as default value.
7720 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7722 2011-10-28 Alan Mackenzie <acm@muc.de>
7724 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7726 2011-10-28 Alan Mackenzie <acm@muc.de>
7728 Amend the handling of c-beginning/end-of-defun in nested declaration
7731 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7732 cc-langs.el. Change it to a defcustom.
7734 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7737 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7738 Prevent "class foo : bar" being spuriously recognized as a label.
7740 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7741 Add parameter `inclusive' (to include enclosing braces in the region).
7742 (c-widen-to-enclosing-decl-scope): New function.
7743 (c-while-widening-to-decl-block): New macro.
7744 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7745 outward for defun boundaries, and correspondingly change symbol
7746 `respect-enclosure' to `go-outward'.
7747 (c-declaration-limits): Change algorithm to report only the "innermost"
7750 2011-10-28 Deniz Dogan <deniz@dogan.se>
7752 * net/rcirc.el (rcirc-mode): Use hard newlines.
7754 2011-10-28 Alan Mackenzie <acm@muc.de>
7756 Amend to indent and fontify macros "which include their own semicolon"
7757 correctly, using the "virtual semicolon" mechanism.
7759 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7761 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7762 Recode to scan one line at a time rather than having \n and \r
7763 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7764 (c-forward-label): Amend for virtual semicolons.
7765 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7767 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7768 of the new C macros.
7770 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7771 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7772 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7773 (c-opt-cpp-macro-define): Make into a full language variable.
7774 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7775 AWK Mode (including \n, \r) removed, no longer needed.
7777 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7778 Invoke c-make-macro-with-semi-re.
7780 * progmodes/cc-vars.el (c-macro-with-semi-re):
7781 (c-macro-names-with-semicolon): New variables.
7782 (c-make-macro-with-semi-re): New function.
7784 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * vc/log-edit.el: Fill empty field rather than adding new one.
7787 (log-edit-add-field): New function.
7788 (log-edit-insert-changelog): Use it.
7790 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7792 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7794 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7797 (gdb--check-interpreter): New function.
7800 2011-10-27 Glenn Morris <rgm@gnu.org>
7802 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7803 (least-positive-float, least-negative-float)
7804 (least-positive-normalized-float, least-negative-normalized-float)
7805 (float-epsilon, float-negative-epsilon):
7806 Remove unnecessary declarations.
7808 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7809 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7810 (least-positive-float, least-negative-float)
7811 (least-positive-normalized-float, least-negative-normalized-float)
7812 (float-epsilon, float-negative-epsilon): Add doc-strings,
7813 based on those in cl.texi.
7815 * files.el (set-visited-file-name): If the major-mode changed,
7816 reload the local variables. (Bug#9796)
7818 2011-10-27 Chong Yidong <cyd@gnu.org>
7820 * subr.el (change-major-mode-after-body-hook): New hook.
7821 (run-mode-hooks): Run it.
7823 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7824 Use change-major-mode-before-body-hook.
7826 * simple.el (fundamental-mode):
7827 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7828 change introducing fundamental-mode-hook.
7830 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7832 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7834 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7836 * ido.el (ido-file-name-all-completions-1): Do not require
7837 tramp.el explicitly. (Bug#7583)
7839 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * progmodes/octave-mod.el:
7842 * progmodes/octave-inf.el: Update maintainer.
7844 2011-10-26 Chong Yidong <cyd@gnu.org>
7846 * subr.el (with-wrapper-hook): Rewrite doc.
7848 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7850 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7851 filenames "/method:foo:". (Bug#9793)
7853 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7855 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7858 2011-10-24 Glenn Morris <rgm@gnu.org>
7860 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7862 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7864 * notifications.el: Add the requirement of a running D-Bus session
7865 bus to the Commentary.
7867 2011-10-24 Juri Linkov <juri@jurta.org>
7869 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7870 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7873 2011-10-24 Juri Linkov <juri@jurta.org>
7875 * info.el (Info-following-node-name-re): Add newline to the list
7876 of allowed characters for leading space. (Bug#9824)
7878 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * progmodes/octave-inf.el (inferior-octave-mode-map):
7881 Fix C-c C-h binding.
7882 * progmodes/octave-mod.el (octave-help): Remove.
7884 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7886 Sync with Tramp 2.2.3.
7888 * net/tramp-cache.el (top): Pacify byte-compiler using
7889 `init-file-user' and `site-run-file'.
7891 * net/trampver.el: Update release number.
7893 2011-10-23 Chong Yidong <cyd@gnu.org>
7895 * files.el (toggle-read-only): Remove obsolete comment about
7898 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7899 for toggle-read-only. Note that this hasn't called vc-next-action
7900 since 2008-05-02, though it wasn't documented at the time.
7902 * vc/ediff-init.el (ediff-toggle-read-only-function):
7903 Use toggle-read-only.
7905 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7907 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7910 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7911 correct faulty logical expression.
7912 (c-parse-state-state, c-record-parse-state-state):
7913 (c-replay-parse-state-state): New defvar/defuns.
7914 (c-debug-parse-state): Use new functions.
7916 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7918 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7919 last fix. Use window-in-direction correctly.
7921 2011-10-21 Chong Yidong <cyd@gnu.org>
7923 * progmodes/idlwave.el (idlwave-mode):
7924 * progmodes/vera-mode.el (vera-mode): No need to set
7925 require-final-newline; that's done in prog-mode.
7926 Suggested by Stefan Monnier.
7928 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7930 * mouse.el (mouse-drag-window-above)
7931 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7932 (mouse-drag-mode-line-1, mouse-drag-header-line)
7933 (mouse-drag-vertical-line-rightward-window): Remove.
7934 (mouse-drag-line): New function.
7935 (mouse-drag-mode-line, mouse-drag-header-line)
7936 (mouse-drag-vertical-line): Call mouse-drag-line.
7937 * window.el (window-at-side-p, windows-at-side): New functions.
7939 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7941 * tar-mode.el (tar-grind-file-mode):
7942 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7944 2011-10-21 Chong Yidong <cyd@gnu.org>
7946 * progmodes/idlwave.el (idlwave-mode):
7947 * progmodes/vera-mode.el (vera-mode):
7948 Use mode-require-final-newline.
7950 2011-10-20 Glenn Morris <rgm@gnu.org>
7952 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7954 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7956 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7958 2011-10-20 Chong Yidong <cyd@gnu.org>
7960 * emulation/cua-base.el (cua-mode):
7961 * mail/footnote.el (footnote-mode):
7962 * mail/mailabbrev.el (mail-abbrevs-mode):
7963 * net/xesam.el (xesam-minor-mode):
7964 * progmodes/bug-reference.el (bug-reference-mode):
7965 * progmodes/cap-words.el (capitalized-words-mode):
7966 * progmodes/compile.el (compilation-minor-mode)
7967 (compilation-shell-minor-mode):
7968 * progmodes/gud.el (gud-tooltip-mode):
7969 * progmodes/hideif.el (hide-ifdef-mode):
7970 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7971 * progmodes/subword.el (subword-mode):
7972 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7973 * progmodes/which-func.el (which-function-mode):
7974 * term/tvi970.el (tvi970-set-keypad-mode):
7975 * term/vt100.el (vt100-wide-mode):
7976 * textmodes/flyspell.el (flyspell-mode):
7977 * textmodes/ispell.el (ispell-minor-mode):
7978 * textmodes/nroff-mode.el (nroff-electric-mode):
7979 * textmodes/paragraphs.el (use-hard-newlines):
7980 * textmodes/refill.el (refill-mode):
7981 * textmodes/reftex.el (reftex-mode):
7982 * textmodes/rst.el (rst-minor-mode):
7983 * textmodes/sgml-mode.el (html-autoview-mode)
7984 (sgml-electric-tag-pair-mode):
7985 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7986 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7987 * emulation/crisp.el (crisp-mode):
7988 * emacs-lisp/eldoc.el (eldoc-mode):
7989 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7990 minor mode behavior.
7992 2011-10-19 Juri Linkov <juri@jurta.org>
7994 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7995 the list of hard-coded chars with escape-glyph face.
7997 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7999 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8001 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8003 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8006 2011-10-19 Glenn Morris <rgm@gnu.org>
8008 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8009 Ignore ignored files. (Bug#9726)
8011 2011-10-19 Chong Yidong <cyd@gnu.org>
8013 Doc fix for minor modes, stating that an omitted argument enables
8014 the mode unconditionally when called from Lisp.
8016 * abbrev.el (abbrev-mode):
8017 * allout.el (allout-mode):
8018 * autoinsert.el (auto-insert-mode):
8019 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8020 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8021 (global-auto-revert-mode):
8022 * battery.el (display-battery-mode):
8023 * composite.el (global-auto-composition-mode)
8024 (auto-composition-mode):
8025 * delsel.el (delete-selection-mode):
8026 * desktop.el (desktop-save-mode):
8027 * dired-x.el (dired-omit-mode):
8028 * dirtrack.el (dirtrack-mode):
8029 * doc-view.el (doc-view-minor-mode):
8030 * double.el (double-mode):
8031 * electric.el (electric-indent-mode, electric-pair-mode):
8032 * emacs-lock.el (emacs-lock-mode):
8033 * epa-hook.el (auto-encryption-mode):
8034 * follow.el (follow-mode):
8035 * font-core.el (font-lock-mode):
8036 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8037 * help.el (temp-buffer-resize-mode):
8038 * hilit-chg.el (highlight-changes-mode)
8039 (highlight-changes-visible-mode):
8040 * hi-lock.el (hi-lock-mode):
8041 * hl-line.el (hl-line-mode, global-hl-line-mode):
8042 * icomplete.el (icomplete-mode):
8043 * ido.el (ido-everywhere):
8044 * image-file.el (auto-image-file-mode):
8045 * image-mode.el (image-minor-mode):
8046 * iswitchb.el (iswitchb-mode):
8047 * jka-cmpr-hook.el (auto-compression-mode):
8048 * linum.el (linum-mode):
8049 * longlines.el (longlines-mode):
8050 * master.el (master-mode):
8051 * mb-depth.el (minibuffer-depth-indicate-mode):
8052 * menu-bar.el (menu-bar-mode):
8053 * minibuf-eldef.el (minibuffer-electric-default-mode):
8054 * mouse-sel.el (mouse-sel-mode):
8055 * msb.el (msb-mode):
8056 * mwheel.el (mouse-wheel-mode):
8057 * outline.el (outline-minor-mode):
8058 * paren.el (show-paren-mode):
8059 * recentf.el (recentf-mode):
8060 * reveal.el (reveal-mode, global-reveal-mode):
8061 * rfn-eshadow.el (file-name-shadow-mode):
8062 * ruler-mode.el (ruler-mode):
8063 * savehist.el (savehist-mode):
8064 * scroll-all.el (scroll-all-mode):
8065 * scroll-bar.el (scroll-bar-mode):
8066 * server.el (server-mode):
8067 * shell.el (shell-dirtrack-mode):
8068 * simple.el (auto-fill-mode, transient-mark-mode)
8069 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8070 (line-number-mode, column-number-mode, size-indication-mode)
8071 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8072 * strokes.el (strokes-mode):
8073 * time.el (display-time-mode):
8074 * t-mouse.el (gpm-mouse-mode):
8075 * tool-bar.el (tool-bar-mode):
8076 * tooltip.el (tooltip-mode):
8077 * type-break.el (type-break-mode-line-message-mode)
8078 (type-break-query-mode):
8079 * view.el (view-mode):
8080 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8081 (global-whitespace-mode, global-whitespace-newline-mode):
8082 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8085 Fix autogenerated docstring.
8087 2011-10-19 Juri Linkov <juri@jurta.org>
8089 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8090 by checking environment variables "DESKTOP_SESSION" and
8091 "XDG_CURRENT_DESKTOP". (Bug#9779)
8093 2011-10-19 Juri Linkov <juri@jurta.org>
8095 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8096 (browse-url-chromium-program, browse-url-chromium-arguments):
8098 (browse-url-default-browser): Check for `browse-url-chromium' and
8099 call `browse-url-chromium-program'.
8100 (browse-url-chromium): New command. (Bug#9779)
8102 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8104 * facemenu.el (list-colors-duplicates): On Windows, detect more
8105 duplicates by assuming that only colors matching "^System" are
8106 special "system colors". (Bug#9722)
8108 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8110 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8111 to distinguish the author from the committer.
8113 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8115 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8117 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8119 * international/mule.el (sgml-html-meta-auto-coding-function):
8120 Add support for detecting encoding in HTML5 specified only as
8121 <meta charset="UTF-8">. Implementation just makes http-equiv and
8122 content-type parts from HTML4 encoding string optional. (Bug#9716)
8124 2011-10-18 Glenn Morris <rgm@gnu.org>
8126 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8128 2011-10-18 Chong Yidong <cyd@gnu.org>
8130 * faces.el (cursor): Doc fix.
8132 2011-10-17 Chong Yidong <cyd@gnu.org>
8134 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8136 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8138 * dirtrack.el (dirtrack): Support shell buffers with path
8139 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8141 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8143 * json.el: Bump version to 1.3 and note change in History.
8144 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8146 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8148 * comint.el (comint-insert-input, comint-send-input)
8149 (comint-get-old-input-default, comint-backward-matching-input)
8150 (comint-next-prompt): Use nil instead of `input' for field property of
8151 past user input (bug#114).
8153 * minibuffer.el (completion--replace): Inherit surrounding properties
8155 (minibuffer-complete-and-exit): Use it.
8157 * comint.el (comint--table-subvert): Quote the all-completions output
8160 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8162 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8164 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8165 window on right of selected. (Bug#9350) Reword other window
8166 entries and separate them from frame entries.
8168 2011-10-15 Glenn Morris <rgm@gnu.org>
8170 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8173 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8175 * net/network-stream.el (network-stream-open-starttls):
8176 Improve detection of failure due to lack of TLS support.
8178 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8179 putting the input text in front and in bold.
8181 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8185 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8188 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8189 unread-command-events rather than pushing yet-another event.
8191 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8193 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8194 the explanation of the possible choices. Make the options passed
8195 to completing-read shorter.
8197 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8199 * textmodes/flyspell.el (flyspell-large-region): Make sure
8200 extended character mode is used if defined (Bug#1339).
8202 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8204 * simple.el (what-cursor-position): Fix the display of the
8205 character info for LRE, LRO, RLE, and RLO characters by appending
8208 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8211 even in case of error; add debug spec; simplify data flow.
8212 (with-timeout-handler): Remove.
8214 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8216 Fix Bug#6019, Bug#9315.
8218 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8219 complete `buffer-file-name', the local file name part could look
8220 remotely (for example on VMS).
8222 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8223 `tramp-run-real-handler'.
8224 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8225 already quoted by '"'.
8227 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8228 Let `file-name-handler-alist' be nil, the local file name part
8229 could look remotely (for example on VMS).
8231 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8233 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8235 (flyspell-post-command-hook): ...to here.
8237 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8239 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8241 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8242 using completion. Protect against "slow" callers.
8243 Remove the "message hack".
8245 2011-10-11 Juri Linkov <juri@jurta.org>
8247 * isearch.el (isearch-lazy-highlight-word): New variable.
8248 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8251 2011-10-11 Glenn Morris <rgm@gnu.org>
8253 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8254 like f90-previous-statement does.
8256 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8258 * eshell/eshell.el (eshell-command): History should be saved
8259 only in interactive use, to avoid error.
8261 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8263 * minibuffer.el (completion-file-name-table): Fix last change,
8264 i.e. ignore normal errors but not the other ones.
8266 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8268 * window.el (special-display-buffer-names)
8269 (special-display-regexps): Remove some remnants of earlier
8270 changes from doc-strings.
8271 (quit-windows-on): New function.
8273 * vc/vc.el (vc-revert, vc-rollback):
8274 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8275 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8276 (Bug#6183) (Bug#7074) (Bug#7447)
8278 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8280 * window.el (frame-auto-hide-function): Add version tag.
8283 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8285 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8288 2011-10-09 Leo Liu <sdl.web@gmail.com>
8290 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8293 2011-10-08 Glenn Morris <rgm@gnu.org>
8295 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8296 before the first code statement zero indent. (Bug#9690)
8298 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8300 * simple.el (count-words-region): Always count in the region.
8301 Report the number of lines and characters too.
8302 (count-words): New command, which counts in the buffer if the
8303 region is inactive, as count-words-region used to.
8304 (count-words--message): New function. Handle plurals.
8305 (count-lines-region): Make it an alias for count-words-region.
8307 * bindings.el (esc-map): Replace count-lines-region with
8310 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8312 * window.el (window--delete): Delete dedicated frame
8313 unconditionally when argument KILL is non-nil. (Bug#9699)
8314 (switch-to-buffer): Fix doc-string typo.
8316 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8318 * eshell/eshell.el (eshell-command): Avoid using hooks.
8320 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8322 * bindings.el ([M-left],[M-right]): Bind to left-word and
8323 right-word respectively.
8325 2011-10-07 Glenn Morris <rgm@gnu.org>
8327 * cus-start.el (debug-on-quit): Fix custom type.
8329 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8331 * subr.el (define-key-after): Clarify that the function is not
8332 useful for non-menu keymaps.
8334 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8336 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8338 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8339 in current minibuffer (Fix bug with recursive minibuffers).
8341 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8343 * progmodes/gdb-mi.el (gdb): Doc fix.
8345 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8347 * window.el (frame-auto-hide-function): New option replacing
8348 frame-auto-delete. Suggested by Stefan Monnier.
8349 (window--delete): Call frame-auto-hide-function instead of
8350 investigating frame-auto-delete.
8351 (window-point-1, set-window-point-1): New functions.
8352 (window-in-direction, record-window-buffer, window-state-get-1)
8353 (display-buffer-record-window): Use window-point-1 instead of
8355 (set-window-buffer-start-and-point): Use set-window-point-1.
8357 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8361 2011-10-05 Glenn Morris <rgm@gnu.org>
8363 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8364 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8366 2011-10-05 Leo Liu <sdl.web@gmail.com>
8368 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8369 works with buffer object.
8371 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8373 * mpc.el (mpc-tool-bar-map): Add labels.
8375 2011-10-04 Glenn Morris <rgm@gnu.org>
8377 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8379 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8381 * window.el (window--delete): New function.
8382 (frame-auto-delete): Resuscitate option.
8383 (bury-buffer, replace-buffer-in-windows)
8384 (quit-window): Rewrite using window--delete.
8385 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8386 Pass display-buffer-mark-dedicated to window--display-buffer-2
8389 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8391 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8392 returns a list (bug#9554). Add remote file name completion.
8393 * comint.el (comint--table-subvert): Curry and get quote&unquote
8394 functions as arguments.
8395 (comint--complete-file-name-data): Adjust call accordingly.
8396 * pcomplete.el (pcomplete--table-subvert): Remove.
8397 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8399 * minibuffer.el (completion-table-case-fold): Use currying.
8400 (completion--styles-type, completion--cycling-threshold-type):
8402 (completion-styles, completion-category-overrides)
8403 (completion-cycle-threshold): Use them.
8404 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8405 completion-table-case-fold.
8407 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8409 * minibuffer.el (completion-category-overrides): Fix type of styles
8410 and add more user friendly tags (bug#9660).
8412 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8415 (mule-input-method-string): New widget.
8416 (default-input-method, language-info-custom-alist): Use it.
8418 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * pcomplete.el: Require comint.
8421 (pcomplete--common-suffix): Remove.
8422 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8423 (pcomplete--table-subvert): Sync with comint--table-subvert.
8424 (pcomplete--entries): Use comint-completion-file-name-table.
8425 * comint.el (comint-unquote-filename): Simplify.
8426 (comint-completion-file-name-table): New function (bug#9616).
8427 (comint--complete-file-name-data): Use it.
8429 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8430 (pcmpl-gnu-tar-buffer): Remove.
8431 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8432 around. Make sure pcomplete-suffix-list is only changed temporarily.
8433 Don't look inside the tar's file if it's too large.
8435 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8437 * cus-edit.el (custom-mode-map):
8438 * epa.el (epa-key-list-mode-map):
8439 * man.el (Man-mode-map):
8440 * startup.el (splash-screen-keymap):
8441 * simple.el (special-mode-map): Use scroll-up-command and
8442 scroll-down-command.
8444 * progmodes/idlw-help.el (idlwave-help-mode-map):
8445 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8446 * net/newst-plainview.el (newsticker-mode-map):
8447 * emulation/ws-mode.el (wordstar-mode-map):
8448 * emulation/vi.el (vi-com-map):
8449 * calc/calc-graph.el (calc-graph-show-dumb):
8450 * term/sun.el (terminal-init-sun):
8451 * term/ns-win.el (global-map):
8452 * progmodes/grep.el (grep-mode-map):
8453 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8454 * mail/rmail.el (rmail-mode-map):
8455 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8457 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8458 custom-safe-themes as special.
8460 2011-10-01 Julien Danjou <julien@danjou.info>
8462 * notifications.el (notifications-notify): Fix docstring.
8464 2011-10-01 Per Starbäck <per@starback.se>
8466 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8468 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8470 * startup.el (command-line-1): Fix last fix by inserting
8471 initial-scratch-message into *scratch* before displaying it.
8472 (Bug#9605) and (Bug#9636)
8474 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8476 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8477 window is hscrolled, move by logical lines. (Bug#9607)
8478 (line-move-visual): Update the doc string to the above effect.
8480 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8482 * window.el (display-buffer-record-window): When WINDOW is the
8483 selected window use `point' instead of `window-point'. (Bug#9626)
8485 * startup.el (command-line-1): Use insert-before-markers when
8486 inserting initial-scratch-message. (Bug#9605)
8488 * help.el (help-window): Remove variable.
8490 2011-09-29 Glenn Morris <rgm@gnu.org>
8492 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8494 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8496 * descr-text.el (describe-char-categories): Accept category
8497 descriptions more than one line long.
8499 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * simple.el (delete-trailing-whitespace): Fix last change.
8503 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8504 Don't confuse "y => 3" as the beginning of a `y' operation.
8506 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8507 object has more than 4 slots (bug#9613).
8509 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8511 * subr.el (with-output-to-temp-buffer):
8512 * net/quickurl.el (quickurl, quickurl-browse-url):
8513 Fix typos in docstrings.
8515 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8517 * minibuffer.el (completion-styles)
8518 (completion-category-overrides): Cross reference each other in doc
8521 2011-09-27 Glenn Morris <rgm@gnu.org>
8523 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8524 to split-string. (Bug#9606)
8526 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8531 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8533 * emacs-lisp/package.el (list-packages): Fix echo area message.
8535 2011-09-27 Leo Liu <sdl.web@gmail.com>
8537 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8539 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8541 * net/dbus.el (dbus-unregister-object): Don't release services for
8542 registered signals. (Bug#9581)
8544 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8546 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8547 function that picks between cfengine 2 and 3 support
8548 automatically. Update docs accordingly.
8550 2011-09-22 Kenichi Handa <handa@m17n.org>
8552 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8554 (indian-itrans-v5-table-for-tamil): New variable.
8555 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8557 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8559 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8560 that's true if the current command involved collapsing of text.
8561 It's reset to false at the beginning of the next command.
8562 (allout-post-command-business): Move the cursor to the beginning
8563 of entry if the cursor is hidden and collapsing activity just
8566 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8568 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8569 tracking (Bug#9541).
8571 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8573 * net/newst-reader.el (newsticker-html-renderer)
8574 (newsticker-show-news): Automatically load html rendering package
8575 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8576 because w3m-fill-column is let-bound" and the error "Symbol's value
8577 as variable is void: w3m-fill-column".
8579 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8581 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8582 Release services only if they are defined. (Bug#9581)
8584 2011-09-23 Richard Stallman <rms@gnu.org>
8586 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8587 distinguish start of paragraph from start of its text.
8589 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8591 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8592 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8593 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8595 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8597 * international/mule-diag.el (mule-diag): Insert a newline after
8598 each fontset description.
8600 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * simple.el (delete-trailing-whitespace):
8603 Document last change; simplify.
8605 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8607 * simple.el (delete-trailing-whitespace): Also delete
8608 extra newlines at the end of the buffer.
8610 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8611 (picture-newline): Use forward-line so as to ignore fields.
8613 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8615 * subr.el (with-wrapper-hook): Fix edebug spec.
8617 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8619 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8622 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8624 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8625 Fix nasty bug using wrong cached values.
8627 2011-09-23 Alan Mackenzie <acm@muc.de>
8629 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8631 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8633 * window.el (pop-to-buffer): Ensure right window is selected if we
8634 chose another frame.
8636 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8638 * simple.el (what-cursor-position): Use get-char-property-change
8639 and next-single-char-property-change, to be able to show display
8640 properties that come from overlays as well as text properties.
8642 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8644 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8646 * cmuscheme.el (run-scheme, switch-to-scheme):
8647 * cus-edit.el (customize-group, custom-buffer-create)
8651 * mail/sendmail.el (mail):
8652 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8654 2011-09-22 Richard Stallman <rms@gnu.org>
8656 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8657 move back only to line beg, don't move back over blank lines.
8659 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8661 * files.el (copy-directory): Set directory attributes only in case
8662 they could be retrieved from the source directory. (Bug#9565)
8664 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8666 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8667 (hs-find-block-beginning, hs-hide-level-recursive):
8668 Ignore strings as well as comments. (Bug#9502)
8670 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8672 * progmodes/sql.el (sql-comint-postgres):
8673 Convert port number to a string. (Bug#9566)
8675 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8677 * window.el (quit-window): Undedicate window when switching to
8678 previous buffer. Reported by Thierry Volpiatto
8679 <thierry.volpiatto@gmail.com>.
8680 (special-display-popup-frame): When popping up a new frame reset
8681 its previous buffers to nil. Simplify code.
8683 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8685 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8686 and process filter, as done also in `shell-command'.
8688 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8690 * window.el (set-window-buffer-start-and-point):
8691 Call set-window-start with NOFORCE argument t.
8692 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8693 (quit-window): Reword doc-string. Handle new format of
8694 quit-restore parameter. Don't delete window if it has a
8695 previous buffer we can show instead of the present one.
8696 (display-buffer-record-window): Rewrite using a new format for
8697 the quit-restore window parameter
8698 (special-display-popup-frame, display-buffer-same-window)
8699 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8700 (display-buffer-pop-up-window, display-buffer-use-some-window):
8701 Adapt symbol passed to display-buffer-record-window.
8702 * help.el (help-window-setup): Handle new format of quit-restore
8705 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8707 * faces.el (face-list): Fix docstring (bug#9564).
8709 * window.el (display-buffer--action-function-custom-type):
8710 Don't include internal functions in the Custom interface.
8712 2011-09-20 Juri Linkov <juri@jurta.org>
8714 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8715 (Info-forward-node, Info-backward-node, Info-next-preorder)
8716 (Info-last-preorder): Use it. (Bug#9528)
8718 2011-09-20 Juri Linkov <juri@jurta.org>
8720 * info.el (Info-last-preorder): Visit last menu item only when
8721 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8723 2011-09-20 Julien Danjou <julien@danjou.info>
8725 * password-cache.el (password-cache-remove): Remove entries even if the
8726 value is nil, so that password with a nil value (negative caching) is
8727 possible to invalidate.
8729 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8731 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8732 all whitespace around breakpoint. (Bug#9553)
8733 (f90-find-breakpoint): Only break at whitespace inside a comment.
8735 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8737 * minibuffer.el (completion-file-name-table): Keep track of errors.
8738 (completion-table-with-predicate): Handle the case where pred1 is nil.
8739 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8741 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8743 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8744 (debugger-return-value): Signal an error if the debugging context does
8745 not await any return value.
8747 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8748 * image-mode.el (image-toggle-display-text)
8749 (image-toggle-display-image): Stay away from evil `intangible'.
8751 2011-09-19 Leo Liu <sdl.web@gmail.com>
8753 * replace.el (occur-revert-arguments): Make it permanent-local.
8754 (occur-mode): Don't call font-lock-defontify.
8756 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8758 * net/ldap.el (ldap-search-internal): Don't push empty search
8761 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8763 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8765 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8767 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8768 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8770 2011-09-18 Juri Linkov <juri@jurta.org>
8772 * buff-menu.el (Buffer-menu-mode-map):
8773 * dired.el (dired-mode-map):
8774 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8775 (lisp-interaction-mode-map):
8776 * emacs-lisp/package.el (package-menu-mode-map):
8777 * epa.el (epa-key-list-mode-map):
8778 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8779 (menu-bar-options-menu):
8780 * outline.el (outline-mode-menu-bar-map):
8781 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8782 * vc/vc-dir.el (vc-dir-menu-map):
8783 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8784 Capitalize non-function content words in menu item strings.
8786 * dired.el (dired-mode-map): Add menu item for
8787 `image-dired-dired-toggle-marked-thumbs'.
8789 2011-09-18 Juri Linkov <juri@jurta.org>
8791 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8792 to `isearch-case-fold-search' and restore its original value
8793 after the `isearch-mode' call.
8795 2011-09-18 Juri Linkov <juri@jurta.org>
8797 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8798 because `zgrep' returns 1 for successful matches (bug#9226).
8800 2011-09-18 Juri Linkov <juri@jurta.org>
8802 * info.el (Info-extract-menu-node-name): Check the second match
8803 for empty string (second test-case of bug#9528).
8804 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8805 intermediate nodes to the history (first test-case of bug#9528).
8807 2011-09-18 Juri Linkov <juri@jurta.org>
8809 * info.el (Info-mode-syntax-table): New variable.
8810 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8812 2011-09-18 Juri Linkov <juri@jurta.org>
8814 * info.el (Info-file-supports-index-cookies):
8815 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8816 outputs one more line for long file names (bug#4142).
8818 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8820 * newcomment.el (comment-normalize-vars): If prompting for
8821 comment-start, set comment-start-skip too (Bug#8424).
8823 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8825 * icomplete.el: Fix previous fix of Bug#5849.
8826 (icomplete-mode): Don't set completion-show-inline-help.
8827 (icomplete-minibuffer-setup): Set completion-show-inline-help
8828 locally during icompletion.
8830 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8832 * woman.el (woman2-process-escapes): Don't delete unrecognized
8835 * files.el (inhibit-first-line-modes-regexps): Add image files.
8836 (hack-local-variables-prop-line): Return nil for malformed
8837 prop-lines (Bug#9044).
8839 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8841 * net/tramp.el (top): Don't require 'shell.
8842 (tramp-methods): Fix docstring.
8843 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8844 Return complete remote file name. Handle "smb" case.
8845 Use `tramp-tmpdir', if defined for the respective method.
8846 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8848 * net/tramp-compat.el (top): Require 'shell.
8850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8851 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8852 `tramp-current-host'.
8853 (tramp-get-remote-tmpdir): Remove.
8855 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8856 `tramp-tmpdir' entries.
8857 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8858 (tramp-smb-handle-file-attributes): Ignore errors.
8859 (tramp-smb-wait-for-output): Check also for process end.
8861 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8863 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8864 when sending QUIT (bug#9312).
8866 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8868 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8869 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8870 occur-mode-display-occurrence.
8871 (occur-edit-mode): Add usage message.
8872 (occur-cease-edit): New command.
8873 (occur-after-change-function): Use text properties to find the
8874 position of the prefix text.
8875 (occur-engine): Set stickiness of prefix text properties.
8877 2011-09-17 Glenn Morris <rgm@gnu.org>
8879 * progmodes/etags.el (complete-tag):
8880 Fix call to completion-in-region. (Bug#9526)
8882 2011-09-17 Juri Linkov <juri@jurta.org>
8884 * textmodes/ispell.el (ispell-word): Add to the error message
8885 the word, ispell program name and current dictionary (bug#9121).
8886 (ispell-tex-arg-end): Capitalize "error" in the error message.
8888 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8890 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8893 2011-09-17 Juri Linkov <juri@jurta.org>
8895 * window.el (window-safe-min-height, window-safe-min-width):
8896 Fix typos (followup to bug#9522).
8898 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8900 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8902 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8904 * simple.el (line-move): If goal-column is set, move by logical
8905 lines, not by display lines. (Bug#971)
8906 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8907 to reflect the above change.
8909 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * image.el (imagemagick-register-types): Use regexp-opt.
8913 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8915 * window.el (display-buffer-base-action): Rename from
8916 display-buffer-default-action. Make default value empty.
8917 (display-buffer-overriding-action): Convert to defvar.
8918 (display-buffer-fallback-action): New var.
8920 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8922 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8924 (package--add-to-archive-contents): If there is a duplicate entry
8925 with an older version, remove it.
8926 (package-menu-mark-delete, package-menu-mark-install)
8927 (package-menu-mark-unmark): Make unused args optional.
8928 (package-menu-mark-obsolete-for-deletion):
8929 Use package-menu-get-status instead of a regexp search.
8930 (package-menu-get-status): Use tabulated-list-entry.
8931 (package-menu-mark-upgrades): New command.
8932 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8933 (package-menu-execute): Do installation before deletion.
8934 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8935 instead of checking major-mode.
8936 (package-menu--find-upgrades): New function.
8938 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8940 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8941 passwords in the log buffer.
8942 (smtpmail-process-filter): Update the process marker so that the
8943 "broken by peer" status message is inserted in the right place.
8945 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8947 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8948 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8949 bibtex-completion-at-point-function.
8950 (bibtex-completion-at-point-function): Use them.
8952 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8954 * mpc.el (mpc-constraints-tag-lookup): New function.
8955 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8956 also to browser "album|playlist".
8958 2011-09-14 Juri Linkov <juri@jurta.org>
8960 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8961 (isearch-edit-string): Use length of `isearch-string' when
8962 `isearch-fail-pos' returns nil.
8963 (isearch-message): Remove duplicate code and call
8964 `isearch-fail-pos' with arg `t'.
8966 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8968 * replace.el (occur-mode-goto-occurrence): Don't force using other
8971 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8973 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8975 * window.el (display-buffer-window): Remove.
8976 (display-buffer-record-window): Use help-setup window parameter
8977 instead of variable display-buffer-window.
8978 (display-buffer-function, special-display-buffer-names)
8979 (special-display-function): Mention help-setup parameter instead
8980 of display-buffer-window in doc-string.
8981 * help.el (help-window-setup): New argument help-window.
8982 Use help-window-setup parameter instead of display-buffer-window.
8983 Reword some messages.
8984 (with-help-window): Pass window used for displaying the buffer
8985 to help-window-setup. Don't set display-buffer-window.
8987 2011-09-13 Glenn Morris <rgm@gnu.org>
8989 * emacs-lisp/debug.el (debugger-make-xrefs):
8990 Preserve point. (Bug#9462)
8992 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8994 * window.el (window-deletable-p): Use next-frame.
8996 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8998 * window.el (window-auto-delete): Remove.
8999 (window-deletable-p): Remove argument FORCE. Don't deal with
9000 dedication and previous buffers.
9001 (switch-to-prev-buffer): Don't delete window.
9002 (delete-windows-on): Delete a window's frame if and only if the
9003 window is dedicated.
9004 (replace-buffer-in-windows): Delete buffer's window or frame if
9005 and only if window is dedicated.
9006 (quit-window): Handle quit-restore as before last change.
9007 (bury-buffer): Delete window only if window-deletable-p returns t.
9009 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9011 * window.el (window-deletable-p): Never delete the last frame on a
9014 2011-09-13 Glenn Morris <rgm@gnu.org>
9016 * help.el (describe-key-briefly): Copy previous standard-output change.
9018 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9020 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9022 2011-09-13 Glenn Morris <rgm@gnu.org>
9024 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9025 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9027 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9029 * dired-aux.el (dired-mark-read-string): Don't return default
9030 value on empty input (Bug#9361).
9031 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9032 Omit initial minibuffer contents.
9033 (dired-do-chmod): Signal an error on empty input.
9034 (dired-mark-read-string): Don't return default on empty input.
9036 * files.el (file-modes-symbolic-to-number): Doc fix.
9038 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * international/mule-cmds.el (ucs-completions): Remove.
9041 (read-char-by-name): Use complete-with-action instead; add metadata.
9043 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9045 * window.el (display-buffer--action-function-custom-type)
9046 (display-buffer--action-custom-type): New vars.
9047 (display-buffer-alist, display-buffer-default-action)
9048 (display-buffer-overriding-action): Add defcustom types.
9050 * frame.el (delete-other-frames): Doc fix (Bug#276).
9052 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9054 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9056 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9058 Change modes that used same-window-* vars to use switch-to-buffer.
9060 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9061 Use switch-to-buffer.
9063 * cus-edit.el (customize-group, custom-buffer-create)
9064 (customize-browse, custom-buffer-create-other-window):
9065 Use switch-to-buffer or switch-to-buffer-other-window.
9067 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9068 (Info-prev, Info-up, Info-speedbar-goto-node)
9069 (info-display-manual): Use switch-to-buffer.
9070 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9072 * mail/sendmail.el (mail): Use switch-to-buffer.
9073 (mail-recover): Use switch-to-buffer-other-window.
9075 * cmuscheme.el (run-scheme, switch-to-scheme):
9078 * net/rlogin.el (rlogin):
9079 * net/telnet.el (telnet, rsh):
9080 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9082 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9084 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9086 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9089 so don't mention it (bug#9301).
9090 (dired-sort-toggle-or-edit): Clarify string further.
9092 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9093 match `x', `w32' and `ns', like the manual says (bug#9029).
9095 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9096 (process-kill-buffer-query-function): Mention the buffer name in
9099 * image-mode.el (image-next-line): The line parameter is mandatory
9102 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9103 which can be useful (bug#9301).
9105 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9107 * subr.el (match-string): Mention that the current buffer should
9108 be the same as the search was done in (bug#9282).
9110 * facemenu.el: Disable the remove-* commands if the mark isn't
9113 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9115 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9117 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9119 * replace.el (occur-mode-goto-occurrence)
9120 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9123 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9126 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9127 special-display and same-window variables.
9128 (mail-other-window): Use switch-to-buffer-other-window.
9129 (mail-other-frame): USe switch-to-buffer-other-frame.
9131 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9132 Use display-buffer-other-frame.
9133 (gdb-display-gdb-buffer): Use pop-to-buffer.
9135 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9137 * progmodes/python.el: Don't set same-window-buffer-names.
9139 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9141 * window.el (display-buffer-alist): Add *Python*.
9143 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9145 * window.el (display-buffer-alist): Add entry for buffers
9146 previously handled same-window-*.
9147 (display-buffer-alist, display-buffer-default-action)
9148 (display-buffer-overriding-action): Mark as risky.
9149 (display-buffer-alist): Document action function changes.
9150 (display-buffer--same-window-action)
9151 (display-buffer--other-frame-action): New variables.
9152 (switch-to-buffer, display-buffer-other-frame): Use them.
9153 (display-buffer): Rename reuse-frame entry to reusable-frames.
9154 (display-buffer-reuse-selected-window): Function deleted.
9155 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9156 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9157 (display-buffer-special): New function.
9158 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9159 display-buffer-reuse-or-pop-window. Split off special-display
9160 part into display-buffer-special.
9161 (display-buffer-use-some-window): Don't perform any special
9162 pop-up-frames handling.
9163 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9164 (display-buffer--maybe-same-window): Rename from
9165 display-buffer-maybe-same-window.
9167 * info.el: Don't set same-window-regexps.
9168 (info-setup): New function.
9169 (info-other-window, info): Call it.
9171 * cus-edit.el: Don't set same-window-regexps.
9172 (customize-group): New argument.
9173 (customize-group-other-window): Use it.
9174 (customize-face, customize-face-other-window): Likewise.
9175 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9179 * progmodes/gud.el: Don't set same-window-regexps.
9185 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9187 2011-09-10 Juri Linkov <juri@jurta.org>
9189 * isearch.el (isearch-edit-string): Remove obsolete mention of
9190 `C-w' (`isearch-yank-word-or-char') from docstring.
9191 (isearch-query-replace): Fix typo in docstring (bug#9466).
9193 2011-09-10 Juri Linkov <juri@jurta.org>
9195 * paren.el (show-paren-function): Don't show escaped parens.
9196 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9198 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9200 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9201 (mm-default-file-encoding): Remove autoload forms, they are
9202 replaced with autoload cookies in mml.el and mm-encode.el.
9203 (mail-add-attachment): New command.
9204 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9205 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9207 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9209 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9211 * simple.el (count-words-region): Use buffer if there's no region
9214 2011-09-09 Juri Linkov <juri@jurta.org>
9216 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9217 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9218 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9220 2011-09-09 Alan Mackenzie <acm@muc.de>
9222 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9223 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9225 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9227 Fix for Savannah bug#9392.
9228 * simple.el (mail-encode-mml): New defvar.
9230 * mail/rmail.el (mail-encode-mml): Add a defvar.
9231 (rmail-enable-mime-composing): Default to t.
9232 (rmail-forward): Use MIME method of forwarding only if both
9233 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9234 Set mail-encode-mml non-nil if the MIME method was used.
9236 * mail/sendmail.el (mml-to-mime): Add autoload form.
9237 (mail-encode-mml): Add a defvar.
9238 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9240 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9241 message through mml-to-mime, and reset mail-encode-mml to nil.
9243 2011-09-09 Glenn Morris <rgm@gnu.org>
9245 * woman.el (woman-if-body): When processing an .el block,
9246 do not delete the next .el block as well. (Bug#9447)
9247 (woman-special-characters): Add oq, cq, and hy characters.
9249 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9251 * window.el (window-deletable-p): Make sure window is live before
9252 invoking window-prev-buffers.
9254 2011-09-08 Leo Liu <sdl.web@gmail.com>
9256 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9258 2011-09-08 Juri Linkov <juri@jurta.org>
9260 * progmodes/compile.el (compilation-environment): Make it
9261 a defcustom (bug#8340).
9263 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9265 * window.el (frame-auto-delete): Rename to window-auto-delete.
9266 Make it control auto-deletion of windows and/or frames.
9267 (window-deletable-p): New argument FORCE. Rewrite conditions
9268 for deleting window/frame. (Bug#9419)
9269 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9270 Rewrite handling of case when window/frame can be deleted.
9271 (delete-windows-on): Call window-deletable-p with new FORCE
9272 argument t. (Bug#9456)
9274 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9276 * help-mode.el (help-mode): Restore autoload.
9278 2011-09-07 Juri Linkov <juri@jurta.org>
9280 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9281 `compilation-environment'. Set buffer-local
9282 `compilation-environment' to `thisenv' later after (funcall mode).
9285 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9286 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9287 instead of replacing its value. (Bug#8340)
9289 2011-09-07 Juri Linkov <juri@jurta.org>
9291 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9292 based on text properties put by `grep-filter' instead of matching
9294 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9295 to the value of `grep-error-screen-columns' (bug#9438).
9297 2011-09-07 Juri Linkov <juri@jurta.org>
9299 * simple.el (next-error-highlight, next-error-highlight-no-select):
9302 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9304 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9305 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9307 2011-09-07 Leo Liu <sdl.web@gmail.com>
9309 * net/rcirc.el (rcirc-mode): Conditionally initialize
9312 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9314 * emacs-lisp/find-func.el (find-function-C-source): Only set
9315 find-function-C-source-directory after checking that we found a source
9316 file there (bug#9440).
9318 2011-09-06 Alan Mackenzie <acm@muc.de>
9320 * isearch.el (isearch-other-meta-char): Wherever a key list is
9321 unread, "unread" the prefix arg, too. This fixes bug #8901.
9323 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9325 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9327 2011-09-05 Juri Linkov <juri@jurta.org>
9329 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9331 2011-09-05 Juri Linkov <juri@jurta.org>
9333 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9334 keeping point where processing of grep matches begins, and
9335 continue to delete remaining escape sequences from the same point.
9336 (grep-filter): Make leading zero optional in "0?1;31m" because
9337 git-grep emits "\033[1;31m" escape sequences unlike expected
9338 "\033[01;31m" as GNU Grep does (bug#9408).
9339 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9341 2011-09-05 Juri Linkov <juri@jurta.org>
9343 * subr.el (y-or-n-p): Capitalize "yes".
9345 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9347 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9348 `tramp-cache-unload-hook' where appropriate.
9349 (tramp-methods): Rename `tramp-remote-sh' to
9350 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9351 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9353 * net/tramp-sh.el (top): Don't require 'shell.
9354 (tramp-methods): Add `tramp-remote-shell' and
9355 `tramp-remote-shell-args' entries.
9356 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9357 (tramp-sh-handle-shell-command): Remove.
9358 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9359 Use `tramp-remote-shell'.
9361 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9363 * mail/sendmail.el (sendmail-query-once-function): Delete.
9364 (sendmail-query-once): Save directly to send-mail-function.
9365 Update message-send-mail-function too.
9367 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9369 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9371 * progmodes/python.el (python-mode-map): Use correct function to
9372 start python interpreter from menu-bar (as reported by Geert
9374 (inferior-python-mode-map): Fix typo.
9375 (python-shell-map): Remove.
9377 2011-09-03 Deniz Dogan <deniz@dogan.se>
9379 * net/rcirc.el (rcirc-print): Simplify code for
9380 rcirc-scroll-show-maximum-output. There is no need to walk
9381 through all windows to find the right one.
9383 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9385 * help.el (help-return-method): Doc fix.
9387 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9389 * window.el (window-deletable-p): Don't return a non-nil value
9390 when there's a buffer that was shown in the window before.
9392 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9393 Set window's previous buffers to nil.
9395 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9397 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9398 newline before and after the tag line, so it doesn't interfere
9399 with determining the paragraph direction of bidirectional text.
9401 2011-09-03 Leo Liu <sdl.web@gmail.com>
9403 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9405 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9407 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9408 (pop-to-buffer): Change interactive spec. Pass second argument
9409 directly to display-buffer.
9410 (display-buffer): Fix interactive spec. Use functionp to
9411 distinguish between a function and a list of functions.
9413 * abbrev.el (edit-abbrevs):
9414 * arc-mode.el (archive-extract):
9415 * autoinsert.el (auto-insert):
9416 * bookmark.el (bookmark-bmenu-list):
9417 * files.el (find-file):
9418 * view.el (view-buffer):
9419 * progmodes/compile.el (compilation-goto-locus):
9420 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9422 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9424 * window.el (display-buffer-alist): Doc fix.
9425 (display-buffer): Add docstring. Don't treat
9426 display-buffer-default specially.
9427 (display-buffer-reuse-selected-window)
9428 (display-buffer-same-window, display-buffer-maybe-same-window)
9429 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9430 (display-buffer-pop-up-window)
9431 (display-buffer-reuse-or-pop-window)
9432 (display-buffer-use-some-window): New functions.
9433 (display-buffer-default-action): Use them.
9434 (display-buffer-default): Delete.
9435 (pop-to-buffer-1): Fix choice of actions.
9437 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * minibuffer.el (completion--insert-strings): Don't get confused by
9440 completion entries that end with an LF char.
9442 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9444 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9446 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9448 * window.el (display-buffer): Restore interactive spec.
9449 (display-buffer-same-window, display-buffer-other-window):
9451 (pop-to-buffer-1): New function. Use the above.
9452 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9453 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9455 * view.el (view-buffer-other-window, view-buffer-other-frame):
9456 Just use pop-to-buffer.
9458 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9460 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9462 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9464 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9466 2011-08-31 Richard Stallman <rms@gnu.org>
9468 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9469 of the separation of rmail-view-buffer from rmail-buffer.
9470 If you say no to "replace original", the decrypt is in the
9471 view buffer. If you say yes, the decrypt goes into the
9474 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9476 * window.el (display-buffer-window): Rewrite doc-string.
9477 (display-buffer-record-window): New function.
9478 (display-buffer-macro-specifiers)
9479 (display-buffer-even-window-sizes, display-buffer-set-height)
9480 (display-buffer-set-width, display-buffer-in-window)
9481 (display-buffer-reuse-window, display-buffer-split-specifiers)
9482 (display-buffer-side-specifiers, display-buffer-split-window-1)
9483 (display-buffer-split-window, display-buffer-split-atom-window)
9484 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9485 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9486 (display-buffer-other-window-means-other-frame)
9487 (display-buffer-normalize-special)
9488 (display-buffer-normalize-default)
9489 (display-buffer-normalize-argument)
9490 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9491 (display-buffer-normalize-specifiers, display-buffer-frame)
9492 (display-buffer-same-window, display-buffer-same-frame)
9493 (display-buffer-other-window)
9494 (display-buffer-same-frame-other-window)
9495 (display-buffer-other-frame, pop-to-buffer-same-window)
9496 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9497 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9498 (switch-to-buffer-same-frame)
9499 (switch-to-buffer-other-window-same-frame)
9500 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9501 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9502 (display-buffer-alist-set): Remove.
9503 (display-buffer-function, special-display-buffer-names)
9504 (special-display-regexps, special-display-function):
9505 In doc-string refer to display-buffer-window and quit-restore
9507 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9508 (special-display-frame-alist, special-display-popup-frame)
9509 (same-window-buffer-names, same-window-regexps, same-window-p)
9510 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9511 (split-window-preferred-function, split-height-threshold)
9512 (split-width-threshold, window-splittable-p)
9513 (split-window-sensibly, window--try-to-split-window)
9514 (window--frame-usable-p, even-window-heights)
9515 (window--even-window-heights, window--display-buffer-1)
9516 (window--display-buffer-2, display-buffer-other-frame):
9517 Restore old Emacs 23 code, order and doc-strings where applicable.
9518 (display-buffer-default, display-buffer-assq-regexp): New functions.
9519 (display-buffer-alist): Rewrite doc-string.
9520 (display-buffer-default-action)
9521 (display-buffer-overriding-action): New variables.
9522 (display-buffer, switch-to-buffer): Rewrite.
9523 (pop-to-buffer): Restore Emacs 23 behavior but use
9524 window-normalize-buffer-to-display.
9525 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9526 Restore Emacs 23 behavior but use
9527 window-normalize-buffer-to-switch-to.
9528 (pop-to-buffer-same-window): Rewrite.
9529 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9530 Rewrite using Emacs 23 options.
9532 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9534 * net/tramp.el (tramp-root-regexp): Remove.
9535 (tramp-completion-file-name-regexp-unified)
9536 (tramp-completion-file-name-regexp-separate)
9537 (tramp-completion-file-name-regexp-url): Don't use leading volume
9538 letter on win32 systems. (Bug#5303, Bug#9311)
9539 (tramp-drop-volume-letter): Simplify definition.
9540 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9542 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9547 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9549 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9551 2011-08-29 Juri Linkov <juri@jurta.org>
9553 * isearch.el (isearch-done): Don't display message "Mark saved"
9554 when arg `edit' is non-nil to prevent its flicker in the echo area.
9556 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9558 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9559 obsolete packages for deletion.
9561 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9563 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9564 (help-mode): Derive help-mode from special-mode. Don't invoke
9565 view-mode from help-mode.
9566 (help-xref-override-view-map): Remove.
9567 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9568 view-mode is not used anymore.
9570 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9572 * server.el (server-port): Doc fix.
9574 * cus-theme.el (custom-theme-choose-mode): Inherit from
9575 special-mode (Bug#9124).
9576 (custom-theme-choose-mode-map): Add special-mode to parent.
9578 2011-08-28 Alan Mackenzie <acm@muc.de>
9580 * progmodes/cc-fonts.el
9581 (c-make-font-lock-BO-decl-search-function): New function.
9582 (c-basic-matchers-after - "Fontify the clauses after various
9583 keywords"): Extract the three keyword lists for the 3 erroneous
9584 constructs from the list of four, and use the new function above
9585 in place of an old one.
9587 2011-08-28 Deniz Dogan <deniz@dogan.se>
9589 * net/rcirc.el (rcirc-insert-prev-input)
9590 (rcirc-insert-next-input): Remove unused argument.
9592 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9594 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9596 2011-08-27 Alan Mackenzie <acm@muc.de>
9598 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9599 handle function pointer parameters properly.
9601 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9603 * window.el (display-buffer-reuse-window): Fix case where
9604 selected window was reused with non-nil OTHER-WINDOW argument.
9607 2011-08-27 Deniz Dogan <deniz@dogan.se>
9609 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9610 oftc's NickServ messages.
9612 2011-08-27 Glenn Morris <rgm@gnu.org>
9614 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9616 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9618 * emacs-lisp/package.el (package-install): Call package-initialize
9619 if called interactively.
9621 2011-08-26 Leo Liu <sdl.web@gmail.com>
9623 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9625 2011-08-25 Juri Linkov <juri@jurta.org>
9627 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9628 `search-whitespace-regexp' (bug#9364).
9630 2011-08-25 Juri Linkov <juri@jurta.org>
9632 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9633 `regexp-search-ring' to their global values to protect from
9634 updating by `read-from-minibuffer' (bug#9185).
9636 2011-08-25 Juri Linkov <juri@jurta.org>
9638 * textmodes/ispell.el (ispell-command-loop): Add newline
9639 at the end of the "Use option `i'..." line.
9641 2011-08-25 Juri Linkov <juri@jurta.org>
9643 * battery.el (display-battery-mode): If `battery-status-function'
9644 or `battery-mode-line-format' is nil, display the message and set
9645 `display-battery-mode' to nil (bug#9363).
9647 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9649 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9650 bidi-string-mark-left-to-right; they are unnecessary now.
9652 2011-08-25 Deniz Dogan <deniz@dogan.se>
9654 * net/quickurl.el: Documentation typo fixes.
9656 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9658 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9660 2011-08-25 Glenn Morris <rgm@gnu.org>
9662 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9664 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9665 (smtpmail-via-smtp): Handle nil response from smtp.
9667 2011-08-24 Juri Linkov <juri@jurta.org>
9669 * proced.el (proced-marked): Inherit from `error' instead of
9670 `font-lock-warning-face'.
9672 * ibuffer.el (ibuffer-marked-face): Change default face from
9673 `font-lock-warning-face' to `warning'.
9674 (ibuffer-deletion-face): Change default face from
9675 `font-lock-type-face' to `error'.
9677 * battery.el (battery-update): Use the face `error' instead of
9678 `font-lock-warning-face' (bug#6117).
9680 2011-08-24 Juri Linkov <juri@jurta.org>
9682 * faces.el (success): Change face color from "Green3" to
9683 "ForestGreen" on light background (bug#9353).
9685 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9687 * window.el (quit-window): Rename from quit-restore-window.
9688 Use same arglist as old quit-window.
9689 (frame-auto-delete): Doc fix.
9691 * view.el (view-mode-exit): Use quit-window.
9693 2011-08-24 Juri Linkov <juri@jurta.org>
9695 * isearch.el (isearch-ring-adjust1): Start visiting previous
9696 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9697 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9698 for empty search string (when the last search string is reused
9699 automatically) to adjust the isearch ring to the last element and
9700 prepare the correct index for further M-p commands (bug#9185).
9702 2011-08-24 Kenichi Handa <handa@m17n.org>
9704 * international/ucs-normalize.el: If decomposition property of
9705 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9707 (nfd, nfkd): Likewise.
9709 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9712 from process filters aren't reliably transmitted to the surrounding
9713 accept-process-output.
9714 (mpc-proc-check): New function.
9715 (mpc-proc-sync): Use it (bug#8293)
9717 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9719 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9720 Add compatibility functions (bug#9313).
9722 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9724 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9726 * international/uni-bidi.el: Regenerate.
9728 2011-08-23 Kenichi Handa <handa@m17n.org>
9730 * international/charprop.el:
9731 * international/uni-bidi.el:
9732 * international/uni-category.el:
9733 * international/uni-combining.el:
9734 * international/uni-comment.el:
9735 * international/uni-decimal.el:
9736 * international/uni-decomposition.el:
9737 * international/uni-digit.el:
9738 * international/uni-lowercase.el:
9739 * international/uni-mirrored.el:
9740 * international/uni-name.el:
9741 * international/uni-numeric.el:
9742 * international/uni-old-name.el:
9743 * international/uni-titlecase.el:
9744 * international/uni-uppercase.el: Regenerate.
9746 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9748 * help.el (help-window-setup): Fix message displayed when other
9749 window is reused. (Bug#9341)
9751 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9754 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9756 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9758 * shell.el (shell-parse-pcomplete-arguments): New function.
9759 (shell-completion-vars): Use it instead (bug#9160).
9761 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9763 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9764 strings and comments (bug#9333).
9766 * emacs-lisp/debug.el (debug-arglist): New function.
9767 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9768 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9770 2011-08-22 Juri Linkov <juri@jurta.org>
9772 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9773 Revert regexp that highlights output switches to its old
9774 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9776 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9777 to check for empty output (bug#9226).
9779 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9781 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9782 symbol-constituent as the default, as that stops font-lock from
9783 working properly (Bug#8843).
9785 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9787 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9788 `coding-system-for-*' around the process open call to avoid
9789 auth-source side effects.
9790 (smtpmail-try-auth-methods): Expand the secret password.
9791 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9794 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9796 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9798 * emacs-lisp/find-func.el (find-function-noselect): New arg
9801 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9802 signal an error for built-in functions (Bug#6664).
9804 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9806 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9807 (smtpmail-try-auth-methods): Use it.
9809 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9811 * font-lock.el (font-lock-fontify-region)
9812 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9813 (font-lock-default-unfontify-buffer)
9814 (font-lock-default-fontify-region)
9815 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9817 * progmodes/compile.el (compilation-error-properties):
9818 Fix confusion between file struct and message struct (Bug#9319).
9819 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9822 * net/browse-url.el (browse-url-firefox): Don't call
9823 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9825 2011-08-20 Glenn Morris <rgm@gnu.org>
9827 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9829 * tutorial.el (tutorial--default-keys): Update some default bindings.
9831 * files.el (hack-local-variables): Fully ignore case for "mode:".
9833 2011-08-20 Alan Mackenzie <acm@muc.de>
9835 Resolve invalid use of a regexp in regexp-opt.
9837 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9838 detection for a java annotation.
9840 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9841 detection for a java annotation.
9843 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9845 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9847 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9849 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9852 2011-08-20 Alan Mackenzie <acm@muc.de>
9854 Fontify CPP expressions correctly when starting in the middle of
9855 such a construct. Mainly for when jit-lock etc. starts a chunk
9858 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9860 (c-make-font-lock-search-form): New function, extracted from
9861 c-make-font-lock-search-function.
9862 (c-make-font-lock-search-function): Use the above function.
9863 (c-make-font-lock-context-search-function): New function.
9864 (c-cpp-matchers): Enhance the preprocessor expression case with
9866 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9867 which takes an expression.
9869 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9871 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9873 * window.el (display-buffer-reuse-window)
9874 (display-buffer-pop-up-window): Don't reuse or split a side
9877 2011-08-19 Glenn Morris <rgm@gnu.org>
9879 * files.el (hack-local-variables-prop-line, hack-local-variables):
9880 Downcase "Mode:". (Bug#9331)
9882 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9884 * international/characters.el: Add L and R categories.
9886 * subr.el (bidi-string-mark-left-to-right): Rename from
9887 string-mark-left-to-right. Use category search.
9889 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9891 2011-08-18 Juri Linkov <juri@jurta.org>
9893 * faces.el (error, warning, success): New faces with definitions
9894 copied from old default values of `font-lock-warning-face',
9895 `compilation-warning', `compilation-info' (bug#6117).
9897 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9899 * progmodes/compile.el (compilation-error): Inherit from `error'.
9900 (compilation-warning): Inherit from `warning'.
9901 (compilation-info): Inherit from `success'.
9903 * dired.el (dired-marked): Inherit from `warning'.
9904 (dired-flagged): Inherit from `error'.
9906 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9908 * mail/smtpmail.el (auth-source): Require to avoid problems with
9909 binding variables (bug#9298). Also clean up some unused
9912 * net/network-stream.el (network-stream-open-starttls):
9913 Support using starttls.el without using gnutls-cli.
9915 2011-08-17 Juri Linkov <juri@jurta.org>
9917 * progmodes/grep.el (rgrep): Handle the case when
9918 `grep-find-command' is a cons cell (bug#9278).
9920 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9922 * window.el (display-buffer-pop-up-frame): Run frame creation
9923 function with BUFFER current (as special-display-popup-frame
9924 does). Reported by Drew Adams.
9926 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9928 * epa-mail.el: Simplify GnuPG group expansion using
9930 (epa-mail-group-alist, epa-mail-group-modtime)
9931 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9932 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9933 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9936 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9938 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9940 2011-08-16 Alan Mackenzie <acm@muc.de>
9942 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9943 Correct, to avoid the inside of macros.
9945 2011-08-16 Richard Stallman <rms@gnu.org>
9947 * epa-mail.el: Handle GnuPG group definitions.
9948 (epa-mail-group-alist, epa-mail-group-modtime)
9949 (epa-mail-gnupg-conf-file): New variables.
9950 (epa-mail-parse-groups, epa-mail-sync-groups)
9951 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9952 (epa-mail-expand-recipients): New functions.
9953 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9955 * mail/rmail.el (rmail-epa-decrypt): New command.
9957 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9958 Don't bind buffer-read-only, just inhibit-read-only.
9959 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9960 (epa-decrypt-armor-in-region): Make error message clearer.
9962 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9964 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9965 and "a2b" to "ab" for `prefix'.
9967 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9969 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9971 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9972 Fourquet (Bug#8804).
9974 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9976 * startup.el (argi): Declare as global variable (bug#9275).
9978 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9980 * subr.el (string-mark-left-to-right): Search the entire string
9981 for RTL script, not just the terminating character. Doc fix.
9983 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9987 (js--regexp-literal, js-syntax-propertize-function): Remove.
9988 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9989 (js-mode-map): Don't rebind electric keys.
9990 (js-insert-and-indent): Remove.
9991 (js-mode): Setup electric-layout and electric-indent instead.
9993 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9995 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9997 * epa.el (epa-progress-callback-function): Fix the logic of
9998 displaying progress.
9999 * epa-file.el (epa-file-insert-file-contents): Make progress
10000 display more user-friendly.
10001 (epa-file-write-region): Ditto.
10003 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10005 * subr.el (string-mark-left-to-right): New function.
10007 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10008 Use string-mark-left-to-right.
10009 (list-buffers-noselect): Caller changed.
10011 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10012 Use string-mark-left-to-right.
10013 (tabulated-list-print): Recenter after moving point.
10015 2011-08-10 Juri Linkov <juri@jurta.org>
10017 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10018 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10019 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10021 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10023 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10026 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10028 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10029 character. (Bug#6594)
10031 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10033 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10034 (image-dired--with-db-file): New macro.
10035 (image-dired-write-tags, image-dired-remove-tag)
10036 (image-dired-create-gallery-lists, image-dired-write-comments)
10037 (image-dired-get-comment, image-dired-mark-tagged-files)
10038 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10039 (image-dired-gallery-generate): Use insert-file-contents.
10041 * time.el (display-time-world-list, display-time-world-display):
10042 * time-stamp.el (time-stamp-string):
10043 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10044 set-time-zone-rule (Bug#7337).
10046 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10048 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10049 (epg-error-to-string, epg-errors-to-string): New function.
10050 (epg-wait-for-completion): Reverse errors list.
10051 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10052 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10053 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10054 (epg-sign-keys, epg-generate-key-from-file)
10055 (epg-generate-key-from-string): Format errors by using
10056 epg-errors-to-string (bug#9255).
10057 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10059 2011-08-07 Juri Linkov <juri@jurta.org>
10061 * faces.el (list-faces-display): Remove extra angle bracket
10062 from `help-mode-map'.
10064 * info.el (Info-history-toc-nodes): Doc fix.
10066 * longlines.el (longlines-mode): Doc fix.
10068 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10071 of statements and in a few more cases (bug#9183).
10073 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10075 (cl-transform-lambda): Use them (bug#9239).
10077 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10079 * window.el (display-buffer-same-window)
10080 (display-buffer-same-frame, display-buffer-other-window)
10081 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10082 (pop-to-buffer-other-window)
10083 (pop-to-buffer-same-frame-other-window)
10084 (pop-to-buffer-other-frame): Make them defuns.
10085 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10087 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * subr.el (make-composed-keymap): Move from C. Change calling
10090 convention, and improve docstring to bring attention to a subtle point.
10091 * minibuffer.el (completing-read-default): Adjust accordingly.
10093 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10095 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10096 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10098 * net/trampver.el: Update release number.
10100 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10102 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10105 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10107 * mail/sendmail.el (sendmail-query-once): Restore the current
10108 buffer after querying (bug#9074).
10110 * dired.el (dired-flagged): Use different faces for marked and
10111 flagged files (bug#6117).
10113 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10116 * ido.el (ido-mode): Switch off the message if called
10119 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10120 before 587, since it appears that that's more likely to work for
10123 * cus-edit.el (custom-file): When running under emacs -q, always
10124 refuse to save the customizations, even if the .emacs file doesn't
10127 * info.el: Remove the `Info-beginning-of-buffer' function
10130 * net/network-stream.el (network-stream-open-starttls):
10131 Use `starttls-available-p' to see whether starttls.el can be used.
10133 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10135 * window.el (display-buffer-in-window): Don't set dedicated status
10136 of window here (Bug#9215).
10137 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10138 (display-buffer-pop-up-side-window)
10139 (display-buffer-in-side-window): Set dedicated status of window here.
10141 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10144 before binding generated-autoload-file.
10146 2011-08-01 Deniz Dogan <deniz@dogan.se>
10148 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10150 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10152 Sync with Tramp 2.2.2.
10154 * net/trampver.el: Update release number.
10156 2011-07-30 Juri Linkov <juri@jurta.org>
10158 * dired-aux.el (dired-touch-initial): Remove function.
10159 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10160 current time, and `default' to the last modification time of the
10161 current marked file (bug#6887).
10163 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10165 * simple.el (goto-line): Use string-to-number to provide a
10166 numeric argument to read-number (bug#9163).
10168 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10170 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10171 connection process, it could be nil.
10173 2011-07-27 Leo Liu <sdl.web@gmail.com>
10175 Simplify url handling in rcirc-mode.
10177 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10178 (rcirc-browse-url-at-mouse): Remove.
10179 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10181 2011-07-26 Alan Mackenzie <acm@muc.de>
10183 Fontify bitfield declarations properly.
10185 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10186 (c-symbol-chars): Now exported as a lang variable.
10187 (c-not-primitive-type-keywords): New lang variable.
10189 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10190 QT keyword "more" to prevent "more slots: ...." being spuriously
10191 parsed as a bitfield declaration.
10193 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10194 Refactor and enhance to handle bitfield declarations.
10195 (c-punctuation-in): New function.
10196 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10197 declarations properly.
10199 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10201 * calendar/icalendar.el (icalendar--all-events): Take care of
10202 multiple vcalendars in a single file.
10203 (icalendar--convert-float-to-ical): Checkdoc fixes.
10205 2011-07-25 Deniz Dogan <deniz@dogan.se>
10207 * image.el (insert-image): Clarifying docstring.
10209 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10211 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10212 `tramp-send-command-and-check' if there is no error.
10213 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10215 2011-07-22 Alan Mackenzie <acm@muc.de>
10217 Prevent cc-langs.elc being loaded at run time.
10219 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10222 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10223 "(require 'cc-langs)". Quote a form so it will evaluate at
10224 (cc-mode's) compilation time.
10226 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10228 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10229 loading. (Bug#9114)
10231 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10233 * window.el (display-buffer-pop-up-window)
10234 (display-buffer-pop-up-side-window)
10235 (display-buffer-in-side-window): Call display-buffer-set-height
10236 and display-buffer-set-width after setting the new window's
10237 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10239 2011-07-20 Sam Steingold <sds@gnu.org>
10241 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10242 (etags-tags-included-tables): Call `convert-standard-filename' on
10243 the file names contained in TAGS so that windows Emacs can handle
10244 TAGS files created by cygwin ctags.
10246 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10248 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10249 which apparently didn't work.
10251 2011-07-19 Roland Winkler <winkler@gnu.org>
10253 * proced.el (proced-send-signal): For *Marked Processes* buffer
10254 put point at beginning of buffer.
10256 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10258 * proced.el (proced-format): Make header lines align with the text
10261 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10263 * view.el (view-buffer): Allow running in `special' modes if we're
10264 visiting a file (bug#8615).
10266 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10268 * window.el (display-buffer-alist-of-strings-p)
10269 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10271 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10274 2011-07-18 Alan Mackenzie <acm@muc.de>
10276 Fontify declarators properly when, e.g., a jit-lock chunk begins
10277 inside a declaration.
10279 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10281 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10283 (c-complex-decl-matchers): Insert reference to
10284 c-font-lock-enclosing-decls.
10286 * progmodes/cc-engine.el (c-backward-single-comment):
10287 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10288 to nil around calls to (forward-comment -1).
10290 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10292 * image.el (put-image): Doc typo fix.
10294 * progmodes/etags.el (tags-search): Doc typo fix.
10296 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10297 password if we get errors 550 to 554.
10299 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10301 * net/gnutls.el (gnutls-log-level): Remove.
10303 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10304 indentation character (bug#6380).
10306 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10308 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10309 to clarify what the problem is (bug#4291).
10311 * simple.el (current-kill): Clarify what
10312 `interprogram-paste-function' does (bug#7500).
10313 (auto-fill-mode): Document `auto-fill-function' in relation to
10314 `auto-fill-mode' (bug#2470).
10316 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10318 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10319 method if slot is read-only (bug#9035).
10321 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10323 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10324 * window.el (pop-to-buffer): Select window used even if it was
10325 selected before, see discussion of (Bug#8615), (Bug#6954).
10326 Pass argument NORECORD on to select-frame-set-input-focus.
10328 2011-07-15 Glenn Morris <rgm@gnu.org>
10330 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10333 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10335 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10336 (gnutls-negotiate): Use it.
10338 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10340 * net/gnutls.el (gnutls-negotiate):
10341 Upcase `gnutls-algorithm-priority'.
10343 2011-07-15 Glenn Morris <rgm@gnu.org>
10345 * jka-compr.el (jka-compr-verbose): Move from here...
10346 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10347 Add missing :version tag.
10348 * info.el: No need to require jka-compr when compiling.
10350 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10352 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10353 (gnutls-negotiate): Use it.
10355 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10357 * info.el (Info-beginning-of-buffer): New command.
10358 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10359 announcing `b' as the key (bug#8325).
10360 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10362 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10364 * international/mule-cmds.el
10365 (describe-specified-language-support): Make the error message
10366 clearer (bug#8905).
10368 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10370 * isearch.el (isearch-barrier): Add a doc string, since it's
10371 mentioned in a function doc string (bug#8678).
10373 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10375 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10376 buffer argument (Bug#9083) and self-identifying label argument.
10378 2011-07-15 Glenn Morris <rgm@gnu.org>
10380 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10382 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10384 * man.el (Man-fontify-manpage): Fix message when formatting the
10385 man page (bug#7929).
10387 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10389 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10390 argument LRM; if non-nil, append an invisible LRM character to the
10392 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10393 last argument non-nil, when formatting buffer names.
10394 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10395 paragraph direction.
10397 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10399 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10400 the man page name (bug#7929).
10402 * image.el (put-image): Mention the `put-image' overlay property
10405 * scroll-bar.el (set-scroll-bar-mode): Mention that
10406 `scroll-bar-mode' lists the values (bug#7772).
10408 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10409 command (bug#7729).
10411 * rect.el (apply-on-rectangle): Return the point after the last
10413 (string-rectangle): Go to the point after the last operation
10416 * printing.el (pr-toggle-region): Clarify the documentation
10417 slightly (bug#7493).
10419 * time.el (display-time-update):
10420 Allow `display-time-mail-function' to return nil (bug#7158).
10421 Fix suggested by Detlev Zundel.
10423 * vc/diff.el (diff): Clarify the order the file names are read
10426 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10427 the doc string (bug#7015).
10429 * font-lock.el (font-lock-maximum-decoration): Mention what
10430 numeric levels mean (bug#6935).
10432 * startup.el (initial-buffer-choice): Don't mention the `none'
10433 selection, which is against policy.
10435 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10437 * window.el (display-buffer-normalize-special):
10438 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10440 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10442 * subr.el (version<, version<=, version=): Mention "-CVS" and
10443 "-12345" alpha version numbers.
10445 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10447 * bindings.el: Add advertised binding for set-mark-command
10450 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10452 * bindings.el (mode-line-other-buffer):
10453 * bookmark.el (bookmark-bmenu-2-window):
10454 * bs.el (bs-cycle-next, bs-cycle-previous):
10455 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10458 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10461 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10463 * follow.el (follow-debug-message, follow-redisplay):
10464 * jka-cmpr-hook.el (with-auto-compression-mode):
10465 Fix typos in docstrings.
10467 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10469 * subr.el (with-silent-modifications): Clarify somewhat what the
10470 macro inhibits (bug#6525).
10472 * simple.el (eval-expression): Note what it does if called
10473 interactively (bug#6495).
10475 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10477 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10478 Use pop-to-buffer buffer-or-name if it is nil.
10480 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10481 Remove switch-to-buffer.
10483 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10485 * files.el (make-directory): Clarify that an error will be raised
10486 if there's an error (bug#6397).
10488 * startup.el (initial-buffer-choice): Add `none' as a choice
10491 * subr.el (add-hook): Clarify section about buffer-local hooks
10494 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10496 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10498 * tabify.el (untabify): Preserve the current column so that point
10499 doesn't move (bug#6032).
10501 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10503 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10504 Rewrite to avoid awkward possessive "s" (bug#5986).
10506 2011-07-13 Glenn Morris <rgm@gnu.org>
10508 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10509 (dired-insert-directory): Give a message the first time
10510 if ls is found not to support --dired.
10512 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10514 * simple.el (toggle-truncate-lines): Clarify what is toggled
10515 (bug#5580). Text by Drew Adams.
10517 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10519 * simple.el (blink-matching-open): Make the error message from the
10520 last change less verbose.
10522 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10524 * font-lock.el (font-lock-comment-face): Use the high contrast
10525 "yellow" color for font-lock-comment-face on low color terminals
10526 using a dark background color (bug#4221).
10528 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530 * dired.el (dired-insert-set-properties): Make the doc string
10531 reflect what it does now (bug#5325).
10533 * simple.el (blink-matching-open): Say that we were unable to find
10534 the match within the limit, if we're limited (bug#5122).
10536 * international/mule-cmds.el (prefer-coding-system): Add an
10537 example (bug#4869).
10539 * progmodes/etags.el (tags-search): Document `file-list-form'
10542 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10544 * net/browse-url.el (browse-url-default-browser)
10545 (browse-url-browser-function): Make the default browser choice a
10546 bit more logical (bug#4300). Also clean up the doc string.
10548 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10550 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10551 binary endings (bug#4440).
10553 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10555 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10556 which can be pretty annoying (bug#8971).
10558 * jka-compr.el (jka-compr-verbose): New variable, and use
10559 throughout (bug#8971).
10561 * info.el (Info-find-file): Fall back on the installation
10562 directory if we can't find the info node anywhere else.
10564 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10566 * vc/vc.el (vc-revert-file):
10567 Don't set file time-stamp in the past. (Bug#5181)
10569 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571 * files.el (after-find-file): Give a better error message when
10572 trying to find a symlink that points to a file that doesn't exist
10575 * progmodes/cc-vars.el: Remove (probably) misleading comment
10578 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10580 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10582 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10584 * mouse-sel.el: Hack restoring functionality, while keeping
10585 compatibility with 2010-07-03 changes to mouse selection.
10586 (mouse-sel-primary-overlay): New var.
10587 (mouse-sel-selection-alist): Use it.
10588 (mouse-sel-mode): Doc fix; remove points that are default features
10591 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10593 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10594 Fix previous fix (bug#2490).
10596 2011-07-12 Roland Winkler <winkler@gnu.org>
10598 * textmodes/bibtex.el (bibtex-initialize):
10599 Use pop-to-buffer-same-window.
10600 (bibtex-search-entries): Fix interactive call.
10602 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10605 Fontise bytecomp Error lines more correctly (bug#2490).
10606 Fix suggested by Johan Bockgård.
10608 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10610 * dired-x.el (dired-guess-default): Use `delete-dups'.
10612 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10614 * dired.el (dired-mark-prompt):
10615 * dired-aux.el (dired-read-shell-command): Doc fix.
10617 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10619 * mail/sendmail.el (sendmail-query-once):
10620 Use `customize-save-variable' unconditionally, now that it works under
10623 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10625 * cus-edit.el (custom-file): Take an optional no-error variable.
10626 (customize-save-variable): Set the variable, and give a warning if
10627 running under "emacs -q".
10629 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10631 * loadhist.el (unload-feature-special-hooks):
10632 Add `auto-coding-functions', `fill-nobreak-predicate' and
10633 `find-directory-functions' (bug#5327).
10635 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10637 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10639 * cus-edit.el (custom-guess-name-alist): -alist variables should
10640 use the `alist' type (bug#3120). Suggested by Drew Adams.
10642 * printing.el: Add documentation to all the `pr-toggle-' commands.
10644 2011-07-11 Leo Liu <sdl.web@gmail.com>
10646 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10647 backends where it makes sense (bug#2623).
10649 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651 * dired-x.el (dired-guess-default): Remove duplicate shell command
10652 entries (bug#2028).
10653 (dired-guess-default): Fix grammar in doc string (bug#2028).
10654 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10656 * subr.el (remove-duplicates): New conveniency function.
10658 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10660 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10663 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10665 * window.el (display-buffer-normalize-default): Don't invert
10666 meaning of even-window-heights. Reported by Eli Zaretskii
10669 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10671 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10673 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10675 * window.el (display-buffer): Fix arguments to
10676 display-buffer-reuse-window in last change.
10678 * faces.el (link): Use a less saturated blue on light backgrounds.
10680 * startup.el (fancy-startup-text, fancy-about-text)
10681 (fancy-startup-tail): Use font-lock faces, for background safety.
10683 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10685 * emulation/viper-cmd.el (viper-change-state-to-vi):
10686 Limit triggering of abbrev expansion (Bug#9038).
10688 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10690 * window.el (display-buffer-default-specifiers): Remove.
10691 (display-buffer-macro-specifiers): Remove default specifiers.
10692 (display-buffer-alist): Default to nil.
10693 (display-buffer-reuse-window): New optional argument other-window.
10694 (display-buffer-pop-up-window): Allow splitting internal
10695 windows. Check whether a live window was created.
10696 (display-buffer-other-window-means-other-frame)
10697 (display-buffer-normalize-arguments): Rename to
10698 display-buffer-normalize-argument and rewrite. Set the
10699 other-window specifier.
10700 (display-buffer-normalize-special): New function.
10701 (display-buffer-normalize-options): Rename to
10702 display-buffer-normalize-default and rewrite.
10703 (display-buffer-normalize-options-inhibit): Remove.
10704 (display-buffer-normalize-specifiers): Rewrite.
10705 (display-buffer): Process other-window specifier and call
10706 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10708 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10709 (display-buffer-alist-set): Don't handle 'unset default values.
10710 (display-buffer-in-window, display-buffer-alist-set):
10711 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10712 <tassilo@member.fsf.org>.
10714 2011-07-09 Leo Liu <sdl.web@gmail.com>
10716 * register.el (insert-register): Restore accidental change on
10717 2011-06-26. (Bug#9028)
10719 2011-07-09 Glenn Morris <rgm@gnu.org>
10721 * subr.el (remq): Handle the empty list. (Bug#9024)
10723 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10725 * mail/sendmail.el (send-mail-function): No longer delay custom
10727 * custom.el (custom-initialize-delay): Doc fix.
10729 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10731 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10733 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10735 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10736 human-friendly prompt.
10738 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10741 provided by a particular plugin.
10743 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10746 save customizations (with "emacs -Q"), just set the variable
10747 instead of erroring out.
10749 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10751 2011-07-08 Juri Linkov <juri@jurta.org>
10753 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10754 (archive-zip-update-case): Use 7z if found by `executable-find'.
10755 The order of searching the available programs is the same as in
10756 `archive-zip-extract' (bug#8968).
10758 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10760 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10761 (menu-bar-options-menu): Tweak descriptions.
10763 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10765 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10766 menu items into verb phrases (bug#1421). Also refill to fit under
10769 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10771 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10772 (Info-read-node-name): Doc fix (Bug#1084).
10774 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10775 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10776 (end-of-sexp, beginning-of-sexp)
10777 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10778 (forward-symbol, forward-same-syntax, word-at-point)
10779 (sentence-at-point): Doc fix (Bug#1144).
10781 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10783 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10784 should cover it (bug#1281).
10786 * cus-edit.el (custom-show): Mark as obsolete.
10788 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10789 negotiation fails, then possibly try again with a non-encrypted
10790 connection (bug#9017).
10792 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10795 2011-07-07 Richard Stallman <rms@gnu.org>
10797 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10798 property, and handle its changed format.
10799 Look for the correct line number.
10800 Use file's line contents (but not past first =) to find
10801 correct line in message.
10803 2011-07-07 Kenichi Handa <handa@m17n.org>
10805 * international/characters.el (build-unicode-category-table):
10807 (unicode-category-table): Set it by unicode-property-table-internal.
10809 * international/mule-cmds.el (char-code-property-alist): Move to
10811 (get-char-code-property): Call unicode-property-table-internal to
10812 load a file. Call get-unicode-property-internal where necessary.
10813 (put-char-code-property): Call unicode-property-table-internal to
10814 load a file. Call put-unicode-property-internal where necessary.
10815 put-unicode-property-internal where necessary.
10816 (char-code-property-description):
10817 Call unicode-property-table-internal to load a file.
10819 * international/charprop.el:
10820 * international/uni-bidi.el:
10821 * international/uni-category.el:
10822 * international/uni-combining.el:
10823 * international/uni-comment.el:
10824 * international/uni-decimal.el:
10825 * international/uni-decomposition.el:
10826 * international/uni-digit.el:
10827 * international/uni-lowercase.el:
10828 * international/uni-mirrored.el:
10829 * international/uni-name.el:
10830 * international/uni-numeric.el:
10831 * international/uni-old-name.el:
10832 * international/uni-titlecase.el:
10833 * international/uni-uppercase.el: Regenerate.
10835 * loadup.el: Load international/charprop.el before
10836 international/characters.
10838 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10840 * window.el (next-buffer, previous-buffer): Signal an error if
10841 called from a minibuffer window.
10843 * bindings.el: Revert 2011-07-04 change.
10845 2011-07-06 Richard Stallman <rms@gnu.org>
10847 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10848 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10849 Treat markers like ints.
10850 (rmail-mime-entity): Doc fix.
10852 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10854 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10855 defcustom again for backwards compatibility.
10857 * simple.el (shell-command-on-region): Fill.
10859 * dired-aux.el (dired-kill-line): Add a doc string.
10861 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10862 to "\\sw\\|\\s_" (bug#358).
10864 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10865 (dired-unmark-backward): Ditto.
10866 (dired-flag-backup-files): Ditto.
10868 * dired-x.el (dired-mark-sexp): Ditto.
10870 2011-07-06 Richard Stallman <rms@gnu.org>
10872 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10873 (rmail-mime-entity): New arg TRUNCATED.
10874 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10876 (rmail-mime-save): Warn if entity is truncated.
10877 (rmail-mime-toggle-hidden): Likewise, for showing.
10878 (rmail-mime-process-multipart): Record when an entity is truncated.
10880 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10881 if ENTITY is a string.
10883 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10886 of faces when `M-C-x'-ing their definitions (bug#8378).
10887 Also clean up the code slightly.
10889 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10890 because that makes the colors go away.
10892 * mail/sendmail.el (send-mail-function): Change the default to
10893 `sendmail-query-once'.
10894 (sendmail-query-once): Add an autoload cookie.
10896 * net/network-stream.el (network-stream-open-starttls): Try using
10897 a plain connection even if the server offered STARTTLS, and we
10898 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10899 capability. This should make smtpmail.el work in slightly more
10902 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10904 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10906 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10908 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10910 * progmodes/sql.el: Version 3.0
10911 (sql-product-alist): Add product :completion-object,
10912 :completion-column, and :statement attributes.
10913 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10914 (sql-mode-syntax-table): Mark all punctuation.
10915 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10917 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10918 (sql-mode-oracle-font-lock-keywords): Improve.
10919 (sql-oracle-show-reserved-words): New function for development.
10920 (sql-product-font-lock): Simplify for source code buffers.
10921 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10923 (sql-highlight-product): Set product specific syntax table.
10924 (sql-mode-map): Add statement movement functions.
10925 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10927 (sql-statement-regexp, sql-beginning-of-statement)
10928 (sql-end-of-statement, sql-signum): New functions.
10929 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10930 (sql-show-sqli-buffer): Bug fix.
10931 (sql-interactive-mode): Store connection data as buffer local.
10932 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10933 with sql-interactive-mode.
10934 (sql-save-connection): Save buffer local settings.
10935 (sql-connection-menu-filter): Change menu entry name.
10936 (sql-product-interactive): Bug fix.
10937 (sql-preoutput-hold): New variable.
10938 (sql-interactive-remove-continuation-prompt): Bug fixes.
10939 (sql-debug-redirect): New variable.
10940 (sql-str-literal): New function.
10941 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10943 (sql-oracle-save-settings, sql-oracle-restore-settings)
10944 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10945 (sql-completion-object, sql-completion-column)
10946 (sql-completion-sqlbuf): New variables.
10947 (sql-build-completions-1, sql-build-completions)
10948 (sql-try-completion): New functions.
10949 (sql-read-table-name): Use them.
10950 (sql-contains-names): New buffer local variable.
10951 (sql-list-all, sql-list-table): Use it.
10952 (sql-oracle-completion-types): New variable.
10953 (sql-oracle-completion-object, sql-sqlite-completion-object)
10954 (sql-postgres-completion-object): New functions.
10956 2011-07-06 Glenn Morris <rgm@gnu.org>
10958 * window.el (pop-to-buffer): Doc fix.
10960 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10962 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10964 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10966 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10968 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10970 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10972 * button.el (button): Inherit from link face. Suggested by Dan
10975 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10977 * progmodes/gdb-mi.el: Fit in 80 columns.
10978 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10981 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10982 if imenu is simply not configured (bug#8941).
10984 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10986 * allout.el (allout-post-undo-hook): New allout outline-change
10987 event hook to signal undo activity.
10988 (allout-post-command-business): Run allout-post-undo-hook if an
10989 undo just occurred.
10990 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10991 * allout-widgets.el (allout-widgets-after-undo-function):
10992 Ensure the integrity of the current item's decoration after it has been
10993 in the vicinity of an undo.
10994 (allout-widgets-mode): Include allout-widgets-after-undo-function
10995 on the new allout-post-undo-hook.
10997 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10999 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11000 Let define-derived-mode define it.
11001 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11002 cycles of abbrev-table inheritance (bug#8998).
11004 2011-07-05 Roland Winkler <winkler@gnu.org>
11006 * textmodes/bibtex.el: Add support for biblatex.
11007 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11008 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11009 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11010 (bibtex-entry-alist, bibtex-field-alist): New variables.
11011 (bibtex-entry-field-alist): Obsolete alias for
11012 bibtex-BibTeX-entry-alist.
11013 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11014 (bibtex-set-dialect): New command.
11015 (bibtex-entry-type, bibtex-entry-head)
11016 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11017 Bind via bibtex-set-dialect.
11018 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11019 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11020 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11021 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11022 Define via bibtex-set-dialect.
11023 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11024 Obey bibtex-no-opt-remove-re.
11025 (bibtex-vec-push, bibtex-vec-incr): New functions.
11026 (bibtex-format-entry, bibtex-field-list)
11027 (bibtex-print-help-message, bibtex-validate)
11028 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11030 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * progmodes/compile.el (compilation-goto-locus):
11033 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11034 * bs.el (bs-cycle-next, bs-cycle-previous):
11035 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11036 * bindings.el (mode-line-other-buffer):
11037 * autoinsert.el (auto-insert):
11038 * arc-mode.el (archive-extract):
11039 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11041 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11043 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11044 Fix check of `emacs-lock-unlockable-modes'.
11045 Coerce true values of `emacs-lock--try-unlocking' to t.
11047 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11049 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11050 * emacs-lock.el: New file.
11052 2011-07-05 Julien Danjou <julien@danjou.info>
11054 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11055 than `boundp' to check if face is set.
11057 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11059 * register.el (registerv-make):
11060 * window.el (window-min-height): Fix typos in docstrings.
11062 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11064 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11067 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11069 * server.el (server-execute): Catch quit and call
11070 `server-return-error' to pass the error back to emacsclient and
11071 close the connection (bug#8942).
11073 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11075 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11076 insecure exception for current topic. Also note that auto-saves
11077 are handled differently.
11079 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11080 State variables for tracking auto-save inhibition situation.
11082 (allout-write-contents-hook-handler): Rename from
11083 'allout-write-file-hook-handler', and describe how it depends on
11084 write-contents-functions sensitivity to non-nil value to prevent
11087 (allout-auto-save-hook-handler): Remove. auto-save does not check
11088 this in individual buffers, only in the starting buffer, so this
11089 is not the right way for us to inhibit auto-save in a buffer
11090 according to its condition.
11092 (allout-mode): Use new allout-write-contents-hook-handler, and
11093 only with write-contents-functions. Remove auto-save provisions -
11094 they're implemented elsewhere.
11096 (allout-before-change-handler): If undo is in progress, note that
11097 for attention of allout-post-command-business.
11099 (allout-post-command-business): If the command we're following was
11100 an undo, check for change in the status of encrypted items and
11101 adjust auto-save inhibitions accordingly.
11103 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11104 according to whether there are or aren't any plain-text topics
11105 pending encryption.
11107 (allout-inhibit-auto-save-info-for-decryption):
11108 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11109 if there are plain-text topics pending encryption.
11111 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11112 buffer-saved-size and some allout state to not inhibit auto-saves
11113 if there are no longer any plain-text topics pending encryption.
11115 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11116 No longer provide for exemption of the current topic.
11118 2011-07-04 Juri Linkov <juri@jurta.org>
11120 Add 7z operations to delete and save changed members (bug#8968).
11121 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11123 (archive-7z-write-file-member): New function.
11124 (archive-7z-summarize): Fix the number of dashes in the
11127 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11132 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11134 * bindings.el: Ignore next-buffer and previous-buffer in
11135 minibuffer-local-map.
11137 * font-lock.el (font-lock-builtin-face): Change light background
11138 color to dark slate blue (Bug#6693).
11140 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11142 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11144 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11146 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11148 Add switch-to-buffer.
11150 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11152 * isearch.el (isearch-search-fun-function): Clarify further the
11153 meaning of the function returned.
11155 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11157 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11159 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11160 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11162 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11163 `tramp-default-remote-path' does not exist.
11164 (tramp-send-command-and-read): New optional argument NOERROR.
11165 (tramp-open-connection-setup-interactive-shell)
11166 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11167 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11168 (tramp-process-sentinel): Flush also process' connection property.
11169 (tramp-sh-handle-start-file-process): Do not set process
11170 sentinel. It is done now ...
11171 (tramp-maybe-open-connection): ... here. (Bug#8929)
11173 2011-07-04 MON KEY <monkey@sandpframing.com>
11175 * play/animate.el (animate-string): Doc fixes and allow changing
11176 the buffer name (bug#5417).
11178 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180 * play/animate.el (animation-buffer-name): Rename from *animate*.
11182 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11184 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11185 This is simpler and helps future-proof the code.
11186 (timer-until): Use time-subtract and float-time.
11187 (timer--time-less-p): Use time-less-p.
11189 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11191 * type-break.el (timep): Use the value of `float-time' to avoid a
11192 byte-compiler warning.
11194 * server.el (server-eval-and-print): Return any result, even nil.
11196 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11198 * type-break.el: Accept time formats that the builtins accept.
11199 (timep, type-break-time-difference): Accept any format that
11200 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11201 This is simpler and helps future-proof the code.
11202 (type-break-time-difference): Round rather than ignoring
11203 subseconds components.
11205 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11207 * info.el (Info-apropos-matches): Make non-interactive, since it
11208 doesn't seem to do anything useful as a command (bug#8829).
11210 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11212 * frame.el (frame-background-mode, frame-set-background-mode):
11213 Move from faces.el.
11214 (frame-default-terminal-background): New function.
11216 * custom.el (custom-push-theme): Don't record faces in `changed'
11217 theme; this doesn't work correctly for per-frame face settings.
11218 (disable-theme): Use face-set-after-frame-default to reset faces.
11219 (custom--frame-color-default): New function.
11221 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11223 * dired.el (dired-flagging-regexp): Remove unused variable
11226 2011-03-29 Kevin Ryde <user42@zip.com.au>
11228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11229 `perl-Test2' extend to match possible "fail #N" rep count
11232 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11235 `smtpmail-via-smtp' now returns the error instead of nil.
11237 * isearch.el (isearch-search-fun-function): Clarify the doc string
11240 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11242 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11243 unnecessary spaces (bug#8987).
11245 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247 * net/network-stream.el (open-network-stream): Use the
11248 :end-of-capability command thoughout.
11250 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11252 * net/network-stream.el (open-network-stream): Add the
11253 :end-of-capability command parameter, used by pop3.el.
11255 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11257 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11259 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11260 for list)" (bug#6475).
11262 * files.el (file-expand-wildcards): Ignore non-readable
11263 sub-directories while trying to find matches instead of signaling
11264 an error (bug#6297).
11266 * man.el (Man-reference-regexp): Allow matching possible
11267 word-wrapped references (bug#6289).
11269 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11270 for consistency with the other vc buffers (bug#6197).
11271 (vc-checkin): Ditto.
11273 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11275 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11277 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279 * custom.el (defcustom): Clarify that :set is only used in the
11280 Customize user interface (bug#6089).
11282 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11283 associated with a file, refuse to run instead of erroring out
11286 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11287 the doc string, since it appears that using `fill-column' always
11288 controls the width (bug#7845).
11290 * simple.el (shell-command-on-region): Say where the error output
11291 went if `shell-command-default-error-buffer' is set (bug#6857).
11293 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11295 * allout.el (allout-yank-processing): Adjust cursor position for
11296 backwards-deleted space.
11298 (allout-rebullet-heading): Register changes with
11299 allout-exposure-changed-hook, so the modified topic is properly
11302 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304 * minibuffer.el (completion-in-region): Document PREDICATE
11307 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11308 of keyword/argument pairs (bug#6904).
11310 * replace.el (multi-occur):
11311 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11313 2011-07-02 Drew Adams <drew.adams@oracle.com>
11315 * dired.el (dired-mark-if): Make the message about whether it's
11316 marking or unmarking clearer (bug#8523).
11318 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11320 * disp-table.el (display-table-print-array): New function.
11321 (describe-display-table): Use it to print the vectors more pretty
11324 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11326 * window.el (window-state-get-1): Don't assign clone numbers.
11327 Add clone-of item to list of window parameters.
11328 (window-state-put-2): Don't process clone numbers.
11329 (display-buffer-alist): Fix doc-string.
11331 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * subr.el (remq): Don't allocate if it's not needed.
11334 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11335 (keymap--merge-bindings): New functions.
11336 (keymap-canonicalize): Use them to refine the canonicalization.
11337 * minibuffer.el (minibuffer-local-completion-map)
11338 (minibuffer-local-must-match-map): Move initialization from C.
11339 (minibuffer-local-filename-completion-map): Move initialization from C;
11340 don't inherit from anything here.
11341 (minibuffer-local-filename-must-match-map): Make obsolete.
11342 (completing-read-default): Use make-composed-keymap to combine
11343 minibuffer-local-filename-completion-map with either
11344 minibuffer-local-must-match-map or
11345 minibuffer-local-filename-completion-map.
11347 2011-07-01 Glenn Morris <rgm@gnu.org>
11349 * type-break.el (type-break-time-sum): Use dolist.
11351 * textmodes/flyspell.el (flyspell-word-search-backward):
11352 Replace CL function.
11354 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11356 * mouse.el (mouse--strip-first-event): New function.
11357 (function-key-map): Use it to map fringe clicks to normal clicks
11360 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11361 (vc-bzr-revision-completion-table): Add support for annotate and date.
11363 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11364 inherit from parent.
11366 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11368 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11369 (dired-show-file-type): Doc fixup (bug#8818).
11371 * dired.el (dired-mode): Fix up the doc string as suggested by
11372 Drew Adams (bug#8817).
11374 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11375 cookie, since the manual says that it should be possible to add
11376 this function to `find-file-hook' (bug#8709).
11378 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11380 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11381 here. Noted Ted Zlatanov as the maintainer.
11382 (cfengine-common-settings, cfengine-common-syntax): New functions
11383 to set up common things between `cfengine-mode' and
11385 (cfengine3-mode): New mode.
11386 (cfengine3-defuns cfengine3-defuns-regex
11387 (cfengine3-class-selector-regex cfengine3-category-regex)
11388 (cfengine3-vartypes cfengine3-font-lock-keywords)
11389 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11390 (cfengine3-indent-line): Add from cfengine3.el.
11392 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11394 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11396 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11398 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11400 * window.el (same-window-buffer-names, same-window-regexps)
11401 (same-window-p, special-display-frame-alist)
11402 (special-display-popup-frame, special-display-function)
11403 (special-display-buffer-names, special-display-regexps)
11404 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11405 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11406 (split-window-preferred-function, split-height-threshold)
11407 (split-width-threshold, even-window-heights)
11408 (display-buffer-mark-dedicated, window-splittable-p)
11409 (split-window-sensibly, window-safely-shrinkable-p):
11411 (display-buffer): Don't spread args with function specifier
11412 because special-display-popup-frame won't like it.
11414 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11416 Time-stamp simplifications and fixes.
11417 These improve accuracy slightly, and future-proof the code
11418 against some potential changes to current-time format.
11420 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11421 by using time-since and float-time.
11423 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11424 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11425 + NNN microseconds".
11427 * type-break.el (type-break-time-sum): Rewrite using time-add.
11429 * play/hanoi.el (hanoi-current-time-float): Remove.
11430 All uses replaced by float-time.
11432 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11433 This yields a more-accurate answer.
11434 (rng-time-to-float): Remove; no longer needed.
11436 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11438 * calendar/timeclock.el (timeclock-seconds-to-time):
11439 Defalias to seconds-to-time, since they're the same thing.
11441 * emacs-lisp/elp.el (elp-elapsed-time):
11442 * emacs-lisp/benchmark.el (benchmark-elapse):
11443 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11445 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * window.el (bury-buffer): Don't iconify the only frame.
11448 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11449 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11451 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11453 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11454 Add mouse-yank-primary.
11456 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11458 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11460 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11463 (find-library-name): Use it to find relative load names when provided
11464 absolute file name (bug#8803).
11466 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468 * textmodes/flyspell.el (flyspell-word): Consider words that
11469 differ only in case as potential doublons (bug#5687).
11471 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11472 Remove two rather uninteresting debugging-like messages to make
11473 debbugs.el more silent.
11475 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11476 a password-like phrase.
11478 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11480 * progmodes/cc-guess.el: New file.
11482 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11484 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11485 derived from `c-basic-common-init'.
11487 * progmodes/cc-mode.el (top-level): Require cc-guess.
11488 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11490 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11492 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11494 2011-06-30 Alan Mackenzie <acm@muc.de>
11496 * progmodes/cc-engine.el (c-guess-continued-construct):
11497 Correct the handling of template-args-cont, particularly for when font
11498 lock is disabled. Name this case as "CASE G".
11500 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11502 * allout.el (allout-yank-processing): Fix injection of extra space
11503 between bullet and non-whitespace character in first topic when
11504 pasting, ensuring that the actual spacing in the pasted topic
11505 following the bullet char is preserved. This extra space was
11506 causing pasted encrypted topics to get a decrypted status even
11507 when the content was actually still encrypted. Now the decryption
11508 status from before the paste is preserved.
11510 (allout-flag-region): Set all allout overlays so they evaporate
11511 when reduced to zero length (evanescent), to prevent overlay
11514 2011-06-30 Glenn Morris <rgm@gnu.org>
11516 * w32-fns.el (w32-charset-info-alist): Declare.
11518 * find-dired.el (find-grep-options): Simplify.
11520 * term/ns-win.el (ns-set-resource): Declare.
11522 * ses.el (row, col): Declare dynamic variables honestly.
11524 * textmodes/reftex-parse.el (index-tags): Declare.
11526 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11528 * cus-edit.el (customize-push-and-save): New function.
11530 * files.el (hack-local-variables-confirm): Use it.
11532 * custom.el (load-theme): New arg NO-CONFIRM.
11533 Use customize-push-and-save (Bug#8720).
11534 (custom-enabled-themes): Doc fix.
11536 * cus-theme.el (customize-create-theme)
11537 (custom-theme-merge-theme): Callers to load-theme changed.
11539 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11542 short URLs have at least one dot in them (bug #7614).
11544 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11545 nil, because using a pty is apparently too slow (bug #895).
11547 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549 * mail/sendmail.el (sendmail-query-once): New function.
11550 (sendmail-query-once-function): New variable.
11552 2011-06-29 Glenn Morris <rgm@gnu.org>
11554 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11556 * ses.el (top-level): Require cl when compiling.
11557 (ses-set-localvars): Fix error statement.
11558 Call it at compile time to silence a storm of warnings.
11560 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11562 * window.el (normalize-live-buffer): Rename to
11563 window-normalize-buffer.
11564 (normalize-live-frame): Rename to window-normalize-frame.
11565 (normalize-any-window): Rename to window-normalize-any-window.
11566 (normalize-live-window): Rename to window-normalize-live-window.
11567 (make-window-atom): Rename to window-make-atom.
11568 (window-resize-reset): Rename to window--resize-reset.
11569 (window-resize-reset-1): Rename to window--resize-reset-1.
11570 (resize-mini-window): Rename to window--resize-mini-window.
11571 (resize-subwindows-skip-p): Rename to
11572 window--resize-subwindows-skip-p.
11573 (resize-subwindows-normal): Rename to
11574 window--resize-subwindows-normal.
11575 (resize-subwindows): Rename to window--resize-subwindows.
11576 (resize-other-windows): Rename to window--resize-siblings.
11577 (resize-this-window): Rename to window--resize-this-window.
11578 (resize-root-window): Rename to window--resize-root-window.
11579 (resize-root-window-vertically): Rename to
11580 window--resize-root-window-vertically.
11581 (normalize-buffer-to-display): Rename to
11582 window-normalize-buffer-to-display.
11583 (normalize-buffer-to-switch-to): Rename to
11584 window-normalize-buffer-to-switch-to.
11585 Correspondingly update all callers of the functions listed
11587 (display-buffer-alist, display-buffer-normalize-arguments)
11588 (display-buffer-normalize-options, display-buffer)
11589 (display-buffer-alist-set): Use "function" instead of
11592 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11594 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11595 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11596 debbugs.gnu.org. Mention acknowledgment email.
11598 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11600 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11601 buffer multibyteness, since it shouldn't matter.
11603 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11605 * window.el (display-buffer-in-side-window): Handle dedicated
11606 windows as in display-buffer-reuse-window.
11607 (display-buffer-normalize-alist): Use value of override
11609 (display-buffer-normalize-specifiers): Use value of
11610 other-window-means-other-frame specifier.
11611 (display-buffer-alist): Rewrite some texts in widgets.
11612 (display-buffer): Spread arguments when calling function
11613 specified by fun-with-args.
11615 2011-06-28 Deniz Dogan <deniz@dogan.se>
11617 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11620 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11621 selectors (Bug#5732).
11622 (css-proprietary-nmstart-re): Use `regexp-opt'.
11624 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11626 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11627 (eshell-ls-date-format): New defcustom.
11628 (eshell-ls-file): Use it.
11630 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11632 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11634 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11636 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11637 (ange-ftp-make-tmp-name): New arg.
11638 (ange-ftp-file-local-copy): Use it.
11640 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11642 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11643 no-conversion (Bug#8870).
11645 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11647 * window.el (window-right, window-left, window-child)
11648 (window-child-count, window-last-child)
11649 (window-iso-combination-p, walk-window-tree-1)
11650 (window-atom-check-1, window-tree-1, delete-window)
11651 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11652 new naming conventions - window-vchild, window-hchild,
11653 window-next and window-prev are now called window-top-child,
11654 window-left-child, window-next-sibling and window-prev-sibling
11656 (resize-window-reset): Rename to window-resize-reset.
11657 (resize-window-reset-1): Rename to window-resize-reset-1.
11658 (resize-window): Rename to window-resize.
11659 (window-min-height, window-min-width)
11660 (resize-mini-window, resize-this-window, resize-root-window)
11661 (resize-root-window-vertically, adjust-window-trailing-edge)
11662 (enlarge-window, shrink-window, maximize-window)
11663 (minimize-window, delete-window, quit-restore-window)
11664 (split-window, balance-windows, balance-windows-area-adjust)
11665 (balance-windows-area, window-state-put-2)
11666 (display-buffer-even-window-sizes, display-buffer-set-height)
11667 (display-buffer-set-width, set-window-text-height)
11668 (fit-window-to-buffer): Rename all "resize-window" prefixed
11669 calls to use the "window-resize" prefix convention.
11670 (display-buffer-alist): Fix symbol for label specifier.
11671 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11672 corresponding specifier.
11673 Reported by Juanma Barranquero <lekktu@gmail.com>.
11675 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11677 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11679 (ses-call-printer): Does not pass an empty string to formatter when the
11680 cell is empty to keep from barking printer Calc math-format-value.
11682 2011-06-27 Richard Stallman <rms@gnu.org>
11684 * battery.el (battery-mode-line-limit): New variable.
11685 (battery-update): Handle it.
11687 * mail/rmailmm.el (rmail-mime-process-multipart):
11688 Handle truncated messages.
11690 2011-06-27 Glenn Morris <rgm@gnu.org>
11692 * progmodes/flymake.el (flymake-err-line-patterns):
11693 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11695 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11697 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11698 (ses--clean-!, ses--clean-_): New functions.
11699 (ses-range): Add configurability of readout order, and conversion
11702 * ses.el (ses-repair-cell-reference-all): New function.
11703 (ses-cell-symbol): Set macro as safe, so that it can be used in
11706 * ses.el: Update cycle detection algorithm.
11707 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11708 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11709 (ses-set-localvars): New function.
11710 (ses-make-cell): Add property-list as a cell element.
11711 (ses-cell-property-get-fun, ses-cell-property-get)
11712 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11713 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11715 (ses-cell-property-set, ses-cell-property-pop)
11716 (ses-cell-property-get-handle): New macro.
11717 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11718 New aliases, used for code readability.
11719 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11721 (ses-self-reference-early-detection): New defcustom.
11722 (ses-formula-references): Robustify against self-referring cells.
11723 (ses-mode): Use ses-set-localvars.
11724 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11725 before lauching the update processing.
11726 (ses-initialize-Dijkstra-attempt): New function.
11727 (ses-recalculate-cell): Update for cycle detection based on
11728 Dijkstra algorithm.
11730 * ses.el: Fix commenting and indenting convention.
11732 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * bs.el (bs-cycle-next): Complete last change.
11736 2011-06-27 Drew Adams <drew.adams@oracle.com>
11738 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11740 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11742 * net/network-stream.el (network-stream-open-starttls):
11743 Don't re-get capabilities unless we've reestablished connection.
11744 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11746 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11747 to binary to possibly avoid line encoding issues on Windows (among
11750 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11752 * net/network-stream.el (open-network-stream): Return an :error
11753 saying what the problem was, if possible.
11755 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11758 * net/network-stream.el (network-stream-open-starttls): If we
11759 wanted to use STARTTLS, and the server offered it, but we weren't
11760 able to because we had no STARTTLS support, then close the connection.
11761 (open-network-stream): Return an :error element, if present.
11763 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11765 * hl-line.el (hl-line-sticky-flag): Doc fix.
11766 (global-hl-line-sticky-flag): New option (Bug#8323).
11767 (global-hl-line-highlight): Obey it.
11769 * vc/vc.el (vc-revert-show-diff): Default to t.
11771 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11773 * allout-widgets.el (allout-widgets-post-command-business):
11774 Stop decorating intermediate isearch matches. They're not being
11775 undecorated when an isearch is continued past, and isearch
11776 automatically collapses them. This leads to "widget leaks", where
11777 decorated items accumulate in collapsed areas. Lines with lots of
11778 hidden widgets can slow down cursor travel, substantially.
11779 Too much complicated machinery would be needed to ensure undecoration,
11780 so we're doing without this nicety.
11782 (allout-widgets-tally-string): Don't try to do a hash-table-count
11783 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11784 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11785 *Messages* when allout-widgets-maintain-tally is t.
11787 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11789 * window.el (display-buffer-normalize-argument): Rename to
11790 display-buffer-normalize-arguments. Handle special meaning of
11791 LABEL argument. Respect special-display-function when popping up
11792 a new frame. Fix code searching for a window showing the buffer
11794 (display-buffer-normalize-specifiers):
11795 Call display-buffer-normalize-arguments.
11796 (display-buffer-in-window): Don't undedicate the window if its
11797 buffer remains the same.
11798 Reported by Drew Adams <drew.adams@oracle.com>.
11799 (display-buffer-alist): Add choice for same-window macro
11801 (display-buffer): Mention special meaning of LABEL argument in
11802 doc-string. Fix quoting. Don't pop up a new frame even as
11805 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11807 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11808 avoid deleting the current window in some cases (bug#8911).
11810 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11812 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11815 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11817 * net/network-stream.el (network-stream-open-starttls):
11818 Use built-in TLS support if `gnutls-available-p' is true.
11819 (network-stream-open-tls): Ditto.
11821 2011-06-26 Leo Liu <sdl.web@gmail.com>
11823 * register.el (registerv): New struct.
11824 (registerv-make): New function.
11825 (jump-to-register, describe-register-1, insert-register):
11826 Support the jump-func, print-func and insert-func slot of a registerv
11829 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11831 * vc/vc.el (vc-revert-show-diff): New defcustom.
11832 (vc-diff-internal): New arg specifying diff buffer.
11833 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11834 reuse an existing *vc-diff* buffer (Bug#8927).
11836 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11838 2011-06-26 Glenn Morris <rgm@gnu.org>
11840 * progmodes/f90.el (f90-critical-indent): New option.
11841 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11842 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11843 (f90-mode): Doc fix.
11844 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11845 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11846 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11847 (f90-match-end): Handle block, critical.
11849 2011-06-25 Glenn Morris <rgm@gnu.org>
11851 * calendar/diary-lib.el (diary-included-files): Doc fix.
11852 (diary-include-files): New function, extracted from
11853 diary-include-other-diary-files and diary-mark-included-diary-files.
11854 (diary-include-other-diary-files, diary-mark-included-diary-files):
11855 Just call diary-include-files.
11856 (diary-mark-entries): Reset diary-included-files on first call.
11858 * calendar/diary-lib.el (diary-mark-entries)
11859 (diary-mark-included-diary-files):
11860 Visit included diary-files in temp buffers.
11862 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11863 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11864 (f90-start-block-re, f90-imenu-generic-expression)
11865 (f90-looking-at-program-block-start, f90-no-block-limit):
11866 Add support for submodules.
11868 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11869 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11871 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11873 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11874 buffer-file-type before setting its value, to avoid disastrous
11875 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11877 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11879 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11881 * ses.el (ses-unload-function):
11882 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11884 * proced.el (proced-unload-function):
11885 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11887 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11889 * server.el (server-create-window-system-frame): Add parameters arg.
11890 (server-process-filter): Doc fix. Handle frame-parameters.
11892 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11894 Fix bug#8730, bug#8781.
11896 * loadhist.el (unload--set-major-mode): New function.
11897 (unload-feature): Use it.
11899 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11900 (python-unload-function): New function.
11902 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11906 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11908 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11909 the candidates list.
11911 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11913 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11915 2011-06-23 Richard Stallman <rms@gnu.org>
11917 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11918 (rmail-variables): Set next-error-move-function.
11919 (rmail-what-message): Take argument POS.
11920 (rmail-next-error-move): New function.
11922 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11924 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11925 messages for adjacent non-terminals.
11927 2011-06-23 Richard Stallman <rms@gnu.org>
11929 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11930 (rmail-show-message-1): Preserve buffer modified flag.
11931 (rmail-start-mail): Don't specify use of rmail-mail-return;
11932 that's done by mail-bury now.
11933 (rmail-mail-return): Handle arg NEWBUF.
11935 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11937 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11940 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11942 * window.el (get-lru-window, get-mru-window)
11943 (get-largest-window): Never return a minibuffer window.
11944 (display-buffer-pop-up-window): Fix a bug that could lead to
11945 reusing the minibuffer window.
11946 (display-buffer): Pass original specifier argument to
11947 display-buffer-function instead of the normalized one.
11948 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11950 2011-06-22 Leo Liu <sdl.web@gmail.com>
11952 * minibuffer.el (completing-read-function)
11953 (completing-read-default): Move from minibuf.c
11955 2011-06-22 Richard Stallman <rms@gnu.org>
11957 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11958 to Rmail even if not started by a special Rmail command.
11960 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11961 Copy the buffer currently showing just one message.
11963 2011-06-22 Roland Winkler <winkler@gnu.org>
11965 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11966 (bibtex-clean-entry): First delete the old key so that a
11967 customized algorithm for generating the new key does not get
11968 confused by the old key.
11969 (bibtex-url): Obey regexp of first step.
11970 (bibtex-search-entries): Do not use add-to-list with local
11973 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11975 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11976 stored a user name, then query for the password first, instead of
11977 waiting for SMTP to give an error message and the trying again.
11979 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11981 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11982 BUFFER in call-process.
11984 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11986 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11988 (smtpmail-try-auth-methods): Require user name and password from
11991 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11993 * window.el (display-buffer-default-specifiers)
11994 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11995 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11996 (split-window): Normalize SIDE argument (Bug#8916).
11998 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11999 (special-display-frame-alist, special-display-popup-frame):
12000 Remove duplicate declarations. These are now in window.el.
12002 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12004 * mail/smtpmail.el (smtpmail-via-smtp):
12005 Set :use-starttls-if-possible so that we always use STARTTLS if the
12006 server supports it. SMTP servers that support STARTTLS commonly
12009 * net/network-stream.el (network-stream-open-starttls): Support
12010 upgrading to STARTTLS always, even if we don't have built-in support.
12011 (open-network-stream): Add the :always-query-capabilities keyword.
12013 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12014 upgrades with `open-network-stream', and rely solely on
12015 auth-source for all credentials. Big changes throughout the file,
12017 (smtpmail-auth-credentials): Remove.
12018 (smtpmail-starttls-credentials): Remove.
12019 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12022 * net/network-stream.el (network-stream-open-starttls):
12023 Provide support for client certificates both for external and built-in
12025 (auth-source): Require.
12026 (open-network-stream): Document the :client-certificate keyword.
12027 (network-stream-certificate): Change cert-cert to cert and
12030 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12032 * net/tramp-cache.el (top): Don't load the persistency file when
12033 "emacs -Q" has been called.
12035 2011-06-21 Tim Harper <timcharper@gmail.com>
12037 * term/ns-win.el (ns-initialize-window-system):
12038 Set application-specific `ApplePressAndHoldEnabled' system
12039 resource to NO as it is not yet supported by the NS port.
12041 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12043 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12044 (list-dynamic-libraries): ...not here.
12046 2011-06-21 Leo Liu <sdl.web@gmail.com>
12048 * subr.el (sha1): Implement sha1 using secure-hash.
12050 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12052 * window.el (display-buffer-alist): In default value do not
12053 enforce searching a window on any but the selected frame.
12054 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12055 (display-buffer-select-window): Remove function.
12056 (display-buffer-in-window): When a window on another frame gets
12057 reused, do not select it any more but just raise its frame if
12058 necessary (Bug#8851) and (Bug#8856).
12059 (display-buffer-normalize-options): Handle pop-up-frames related
12060 options more faithfully.
12061 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12062 window if it is on another frame.
12063 (display-buffer-alist, display-buffer-default-specifiers):
12064 Don't make new frame unsplittable by default.
12065 (display-buffer-normalize-argument): Fix doc-string typo and use
12066 'same-frame-other-window instead of 'other-window when associating
12067 with display-buffer-macro-specifiers.
12069 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12071 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12073 (5x5-mode-map, 5x5-mode-menu): Bind them.
12074 (5x5-draw-grid): Tweak the solver's rendering.
12076 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12078 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12079 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12081 2011-06-21 Drew Adams <drew.adams@oracle.com>
12083 * menu-bar.el: Use function variable instead of switch-to-buffer.
12084 (menu-bar-select-buffer-function): New variable.
12085 (menu-bar-update-buffers): Use it (bug#8876).
12087 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12092 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12094 * x-dnd.el (x-dnd-version-from-flags)
12095 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12096 and long as number (Bug#8899).
12097 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12099 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12102 (completion-try-completion, completion-all-completions): Compute the
12103 metadata argument if it's missing; make it optional (bug#8795).
12105 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12106 (widget-complete): Use new :completion-function property.
12107 (widget-completions-at-point): New function.
12108 (default): Use :completion-function instead of :complete.
12109 (widget-default-completions): Rename from widget-default-complete;
12111 (widget-string-complete, widget-file-complete, widget-color-complete):
12113 (file, symbol, function, variable, coding-system, color):
12114 * international/mule-cmds.el (default-input-method, charset)
12115 (language-info-custom-alist):
12116 * cus-edit.el (face): Use new property :completions.
12118 * progmodes/pascal.el (pascal-completions-at-point): New function.
12119 (pascal-mode): Use it.
12120 (pascal-mode-map): Use completion-at-point.
12121 (pascal-toggle-completions): Make obsolete.
12122 (pascal-complete-word, pascal-show-completions):
12123 * progmodes/octave-mod.el (octave-complete-symbol):
12124 Redefine as obsolete alias.
12125 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12126 Signal absence of completion info for old Octave,
12127 (inferior-octave-complete): Redefine as obsolete alias.
12128 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12129 (meta-completions-at-point): Rename from meta-complete-symbol and
12130 adapt it for use on completion-at-point-functions.
12131 (meta-common-mode): Use it.
12132 (meta-looking-at-backward, meta-match-buffer): Remove.
12133 (meta-complete-symbol): Redefine as obsolete alias.
12134 (meta-common-mode-map): Use completion-at-point.
12135 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12136 (makefile-mode-map): Use completion-at-point.
12137 (makefile-completions-at-point): Rename from makefile-complete and
12138 adapt it for use on completion-at-point-functions.
12139 (makefile-mode): Use it.
12140 (makefile-complete): Redefine as obsolete alias.
12142 2011-06-20 Deniz Dogan <deniz@dogan.se>
12144 * net/rcirc.el: Delete trailing whitespaces once and for all.
12146 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12148 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12150 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12152 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12154 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12156 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12158 * window.el (display-buffer-other-window-means-other-frame):
12159 Call display-buffer-normalize-alist.
12160 (display-buffer-normalize-specifiers-1): Rename to
12161 display-buffer-normalize-argument. New argument other-frame.
12163 (display-buffer-normalize-specifiers-2): Rename to
12164 display-buffer-normalize-options.
12165 (display-buffer-normalize-alist-1): New function.
12166 (display-buffer-normalize-specifiers-3): Rename to
12167 display-buffer-normalize-alist.
12168 Call display-buffer-normalize-alist-1.
12169 (display-buffer-normalize-options-inhibit): New variable.
12170 (display-buffer-normalize-specifiers): Rewrite calling
12171 display-buffer-normalize-alist,
12172 display-buffer-normalize-argument, and
12173 display-buffer-normalize-options. Don't call the latter if
12174 display-buffer-normalize-options-inhibit is non-nil.
12175 (frame-auto-delete): New option.
12176 (window-deletable-p): Use frame-auto-delete.
12177 (window-list-no-nils, window-state-ignored-parameters)
12178 (window-state-get-1, window-state-get, window-state-put-list)
12179 (window-state-put-1, window-state-put-2, window-state-put):
12181 (display-buffer-normalize-options): Move special-display-p group
12182 after pop-up-frame group (Bug#8851) and (Bug#8856).
12184 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12186 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12188 (rx-submatch-n): New function.
12191 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12194 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12196 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12198 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12199 anytime existing face settings are present (Bug#8889).
12201 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12202 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12203 Remove unused argument.
12205 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12207 * window.el (display-buffer-default-specifiers):
12208 Remove pop-up-frame. Add pop-up-window-min-height,
12209 pop-up-window-min-width, and another reuse-window specifier
12210 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12211 (display-buffer-normalize-specifiers-2):
12212 Handle split-height-threshold and split-width-threshold also when
12213 pop-up-windows is unset. Add a reuse-window specifier for the
12214 case popping up a new window fails.
12215 (special-display-popup-frame): Remove double quoting.
12216 (display-buffer-normalize-specifiers-1): Fix thinko.
12218 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12220 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12221 according to comint-completion-addsuffix.
12223 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12224 (pcomplete-suffix-list): Mark as obsolete.
12225 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12226 pcomplete-seen in the closure.
12227 (pcomplete-comint-setup): Setup completion-at-point as well.
12228 (pcomplete--entries): New function.
12229 (pcomplete--env-regexp): New var.
12230 (pcomplete-entries): Rewrite to work with partial-completion and
12231 without relying on pcomplete-suffix-list.
12232 (pcomplete-pare-list): Remove, unused.
12234 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12236 * window.el (display-buffer-alist): Set pop-up-window-min-height
12237 and pop-up-window-min-width in default value. Reported by
12238 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12239 other-window-means-other-frame.
12240 (display-buffer-macro-specifiers): Comment out entry for
12241 other-window specifier.
12242 (display-buffer-other-window-means-other-frame): New function.
12243 (display-buffer-normalize-specifiers-1): New arguments
12244 buffer-name and label. Treat other-window case specially.
12245 (display-buffer-normalize-specifiers-2): Treat other-window case
12247 (display-buffer-normalize-specifiers-3): New function.
12248 (display-buffer-normalize-specifiers):
12249 Call display-buffer-normalize-specifiers-3.
12251 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12253 * window.el (same-window-p): Fix two typos introduced when
12254 adding with-no-warnings.
12255 (display-buffer-normalize-specifiers-1): Don't check
12256 pop-up-frames for 'unset initialization.
12257 (display-buffer-normalize-specifiers-2): Major rewrite using
12258 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12259 (pop-up-frames, display-buffer-reuse-frames)
12260 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12261 Suggested by David Engster <deng@randomsample.de>.
12262 (even-window-heights): Initialize to 'unset.
12263 (display-buffer-alist-set): Handle new 'unset initializations.
12264 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12267 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12269 * window.el (display-buffer-normalize-specifiers-1):
12270 Respect current value of pop-up-frames for most reasonable values of
12271 second argument of display-buffer (Bug#8865).
12272 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12273 (switch-to-buffer-other-window-same-frame)
12274 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12276 (display-buffer): Don't check noninteractive when calling
12277 display-buffer-pop-up-frame.
12278 (display-buffer-pop-up-frame): Never pop up a frame in
12279 noninteractive mode (Bug#8857).
12280 (enlarge-window, shrink-window): Don't report an error when the
12281 window can't be resized as requested (Bug#8862).
12283 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12285 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12287 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12289 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12291 2011-06-15 Alan Mackenzie <acm@muc.de>
12293 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12294 for declarators, disable knr checking to speed up for normal files.
12295 2: Refactor, replacing a sequence of nested if forms by a cond form.
12297 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12299 * net/network-stream.el (open-network-stream): Add the keyword
12300 :always-query-capabilities for the case where you want to force a
12301 `plain' network connection, but the protocol still requires the
12302 capabilitiy command (i.e., SMTP and EHLO).
12304 * subr.el (process-live-p): Rename from `process-alive-p' for
12305 consistency with other `-live-p' functions.
12307 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12309 * window.el (same-window-buffer-names, same-window-regexps)
12310 (special-display-frame-alist, special-display-popup-frame)
12311 (special-display-function, special-display-buffer-names)
12312 (special-display-regexps, pop-up-frame-alist)
12313 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12314 (pop-up-windows, split-window-preferred-function)
12315 (split-height-threshold, split-width-threshold, even-window-heights)
12316 (display-buffer-mark-dedicated): Don't encourage the use of
12317 display-buffer-alist from Elisp code.
12319 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12321 * progmodes/python.el (python-mode): Derive from prog-mode.
12322 * progmodes/ps-mode.el (ps-mode):
12323 * progmodes/mixal-mode.el (mixal-mode):
12324 * progmodes/cfengine.el (cfengine-mode):
12325 * progmodes/ld-script.el (ld-script-mode): Likewise.
12327 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12329 * window.el (display-buffer-alist): Trim default value to avoid
12330 popping up a new frame (Bug#8857) or reusing an arbitrary window
12332 (display-buffer): Do not fall back on popping up a new frame in
12333 batch mode (Bug#8857).
12335 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12337 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12338 (custom-theme-summary): New function.
12339 (customize-themes): Use it.
12341 2011-06-13 Glenn Morris <rgm@gnu.org>
12343 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12345 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12347 * help.el (help-window): Remove variable.
12348 (help-window-point-marker, temp-buffer-max-height)
12349 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12350 (help-print-return-message): Don't set help-window.
12351 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12352 (help-window-setup-finish): Remove.
12353 (help-window-display-message, help-window-setup)
12354 (with-help-window): Major rewrite based on new
12355 display-buffer-window variable.
12357 * help-mode.el (help-mode-finish): Remove help-window related
12360 * view.el (view-exits-all-viewing-windows): Remove reference to
12361 view-return-to-alist in doc-string.
12362 (view-return-to-alist): Make obsolete.
12363 (view-buffer): Call pop-to-buffer-same-window and remove
12365 (view-buffer-other-window): Call pop-to-buffer-other-window and
12366 simplify code. Ignore second argument.
12367 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12368 simplify code. Ignore second argument.
12369 (view-return-to-alist-update): Make obsolete.
12370 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12371 Rewrite using quit-restore window parameters.
12372 (view-mode-exit): Rename second argument to EXIT-ONLY.
12373 Rewrite using quit-restore-window.
12374 (View-exit, View-exit-and-edit, View-leave, View-quit)
12375 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12376 appropriate arguments.
12377 (view-end-message): Use quit-restore window parameter.
12379 * window.el (display-buffer-function): Rewrite doc-string.
12380 (display-buffer-window, display-buffer-alist): New variables.
12381 (display-buffer-split-specifiers)
12382 (display-buffer-side-specifiers)
12383 (display-buffer-macro-specifiers): New constants.
12384 (display-buffer-even-window-sizes, display-buffer-set-height)
12385 (display-buffer-set-width, display-buffer-select-window)
12386 (display-buffer-in-window, display-buffer-reuse-window)
12387 (display-buffer-split-window-1, display-buffer-split-window)
12388 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12389 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12390 (display-buffer-in-side-window, normalize-buffer-to-display)
12391 (display-buffer-normalize-specifiers-1)
12392 (display-buffer-normalize-specifiers-2)
12393 (display-buffer-normalize-specifiers, display-buffer-frame):
12395 (display-buffer): Major rewrite.
12396 (display-buffer-other-window, display-buffer-other-frame)
12397 (pop-to-buffer, switch-to-buffer-other-window)
12398 (switch-to-buffer-other-frame): Rewrite.
12399 (display-buffer-same-window, display-buffer-same-frame)
12400 (display-buffer-same-frame-other-window)
12401 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12402 (pop-to-buffer-other-window)
12403 (pop-to-buffer-same-frame-other-window)
12404 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12405 (switch-to-buffer-other-window-same-frame): New functions.
12406 (same-window-p, special-display-p): Rewrite disabling warnings.
12408 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12409 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12411 (same-window-buffer-names, same-window-regexps)
12412 (special-display-frame-alist, special-display-popup-frame)
12413 (special-display-function, special-display-buffer-names)
12414 (special-display-regexps, pop-up-frame-alist)
12415 (pop-up-frame-function, split-window-preferred-function)
12416 (split-height-threshold, split-width-threshold)
12417 (even-window-heights): Make obsolete.
12419 2011-06-12 Glenn Morris <rgm@gnu.org>
12421 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12422 Misc simplifications.
12424 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12426 * window.el (window-safely-shrinkable-p): Restore function which
12427 was inadvertently removed in change from 2011-06-11. Declare as
12430 * calendar/calendar.el (calendar-generate-window):
12431 Use window-iso-combined-p instead of combination of one-window-p and
12432 window-safely-shrinkable-p.
12434 2011-06-12 Glenn Morris <rgm@gnu.org>
12436 * progmodes/fortran.el (fortran-mode-syntax-table):
12437 * progmodes/f90.el (f90-mode-syntax-table):
12438 Set % to punctuation. (Bug#8820)
12439 (f90-find-tag-default): Remove, no longer needed.
12441 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12443 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12445 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12447 * image.el (image-animated-p): Return animation delay in seconds.
12448 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12449 (image-animate-timeout): Remove DELAY argument. Don't assume
12450 every subimage has the same delay; get it from image-animated-p.
12451 (image-animate): Caller changed.
12453 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12455 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12456 to ignored backtrace functions.
12458 2011-06-11 Glenn Morris <rgm@gnu.org>
12460 * calendar/appt.el (appt-disp-window-function): Doc fix.
12461 (appt-check): Handle overlapping appointments. (Bug#8337)
12463 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12465 * window.el (window-tree-1, window-tree): New functions, moving
12466 the latter to window.el.
12467 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12468 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12469 (bw-refresh-edges): Remove.
12470 (balance-windows-1, balance-windows-2): New functions.
12471 (balance-windows): Rewrite in terms of window tree functions,
12472 balance-windows-1 and balance-windows-2.
12473 (bw-adjust-window): Remove.
12474 (balance-windows-area-adjust): New function with functionality of
12475 bw-adjust-window but using resize-window.
12476 (set-window-text-height): Rewrite doc-string.
12477 Use normalize-live-window and resize-window.
12478 (enlarge-window-horizontally, shrink-window-horizontally):
12479 Rename argument to DELTA.
12480 (window-buffer-height): New function.
12481 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12482 Rewrite using new window resize routines.
12483 (kill-buffer-and-window, mouse-autoselect-window-select):
12484 Use ignore-errors instead of condition-case.
12485 (quit-window): Call delete-frame instead of delete-windows-on
12486 for the only buffer on frame.
12488 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12490 * loadup.el (top-level): Load window before files for the sake
12491 of replace-buffer-in-windows.
12493 * files.el (read-buffer-to-switch)
12494 (switch-to-buffer-other-window)
12495 (switch-to-buffer-other-frame, display-buffer-other-frame):
12498 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12499 (previous-buffer): Move to window.el.
12501 * bindings.el (unbury-buffer): Move to window.el.
12503 * window.el (delete-other-windows-vertically): Move after
12504 definition of delete-other-windows.
12505 (other-window, delete-windows-on, replace-buffer-in-windows):
12506 Move here from window.c.
12507 (record-window-buffer, unrecord-window-buffer)
12508 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12509 (switch-to-next-buffer): New functions.
12510 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12511 from simple.el. Call switch-to-next-buffer.
12512 (previous-buffer): Move here from simple.el.
12513 Call switch-to-prev-buffer.
12514 (bury-buffer): Move here from buffer.c. Switch to previous
12515 buffer when window cannot be deleted.
12516 (unbury-buffer): Move here from bindings.el.
12517 (ctl-x-map): Move binding for other-window from window.c to
12519 (read-buffer-to-switch, switch-to-buffer-other-window)
12520 (switch-to-buffer-other-frame): Move here from files.el.
12521 (normalize-buffer-to-switch-to): New functions.
12522 (switch-to-buffer): Move here from buffer.c.
12523 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12525 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12527 * window.el (window-min-height, window-min-width): Move here
12528 from window.c. Add defcustoms and rewrite doc-strings.
12529 (resize-mini-window, resize-window): New functions.
12530 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12531 Move here from window.c.
12532 (maximize-window, minimize-window): New functions.
12533 (delete-window, delete-other-windows, split-window): Move here
12535 (window-split-min-size): New function.
12536 (split-window-keep-point): Mention split-window-above-each-other
12537 instead of split-window-vertically.
12538 (split-window-above-each-other, split-window-vertically):
12539 Rename split-window-vertically to split-window-above-each-other
12540 and provide defalias for old definition.
12541 (split-window-side-by-side, split-window-horizontally):
12542 Rename split-window-horizontally to split-window-side-by-side
12543 and provide defalias for the old definition.
12544 (ctl-x-map): Move bindings for delete-window,
12545 delete-other-windows and enlarge-window here from window.c.
12546 Replace bindings for split-window-vertically and
12547 split-window-horizontally by bindings for
12548 split-window-above-each-other and split-window-side-by-side.
12550 * cus-start.el (all): Remove entries for window-min-height and
12551 window-min-width. Add entries for window-splits and
12554 2011-06-09 Glenn Morris <rgm@gnu.org>
12556 * calendar/appt.el (appt-mode-line): New function.
12557 (appt-check, appt-disp-window): Use it.
12559 * files.el (hack-one-local-variable-eval-safep):
12560 Allow minor-modes with explicit +/-1 arguments.
12562 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12564 * term/xterm.el (xterm): Add defgroup.
12565 (xterm-extra-capabilities): Add defcustom to supply known xterm
12566 capabilities, skip querying them, or query them (default).
12567 (terminal-init-xterm): Use it.
12568 (terminal-init-xterm-modify-other-keys): New function to set up
12569 modifyOtherKeys support to simplify `terminal-init-xterm'.
12571 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12573 * window.el (resize-window-reset, resize-window-reset-1)
12574 (resize-subwindows-skip-p, resize-subwindows-normal)
12575 (resize-subwindows, resize-other-windows, resize-this-window)
12576 (resize-root-window, resize-root-window-vertically)
12577 (window-deletable-p, window-or-subwindow-p)
12578 (frame-root-window-p): New functions.
12580 2011-06-09 Glenn Morris <rgm@gnu.org>
12582 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12583 (ange-ftp-get-files): Use it.
12585 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12587 * mail/sendmail.el (mail-recover-1, mail-recover):
12588 * files.el (recover-file, recover-session):
12589 Handle dired-listing-switches not being just a single short option.
12591 2011-06-09 Glenn Morris <rgm@gnu.org>
12593 * calendar/appt.el (appt-display-message, appt-disp-window):
12594 Handle lists of appointments.
12596 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12598 * window.el (one-window-p): Move down in code.
12599 Rewrite doc-string.
12600 (window-current-scroll-bars): Rewrite doc-string.
12601 Normalize live window argument.
12602 (walk-windows, get-window-with-predicate, count-windows):
12603 Rewrite doc-string. Use window-list-1.
12604 (window-in-direction-2, window-in-direction, get-mru-window):
12607 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12609 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12610 Doc fix (Bug#8713).
12612 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12614 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12616 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12618 * loadhist.el (unload-feature-special-hooks):
12619 Add `comint-output-filter-functions'.
12621 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12623 * calendar/appt.el (appt-check): Move some initializations into the let.
12625 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12627 * window.el (window-height): Defalias to window-total-height.
12628 (window-width): Defalias to window-body-width.
12630 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12632 * image-mode.el (image-toggle-animation): New command.
12633 (image-mode-map): Bind it to RET.
12634 (image-mode): Update message.
12635 (image-toggle-display-image): Avoid a spurious cache flush.
12636 (image-transform-rotation): Doc fix.
12637 (image-transform-properties): Return quickly in the normal case.
12638 (image-animate-loop): Rename from image-animate-max-time.
12640 * image.el (image-animate-max-time): Move to image-mode.el.
12641 (create-animated-image): Remove unnecessary function.
12642 (image-animate): Rename from image-animate-start. New arg.
12643 (image-animate-stop): Remove; just use image-animate-timer.
12644 (image-animate-timer): Use car-safe.
12645 (image-animate-timeout): Rename argument.
12647 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12649 * window.el (get-lru-window, get-largest-window): Move here from
12650 window.c. Rename first argument to ALL-FRAMES.
12651 Rephrase doc-strings.
12652 (get-buffer-window-list): Rewrite using window-list-1.
12653 Rephrase doc-string.
12654 (window-safe-min-height, window-safe-min-width): New constants.
12655 (window-size-ignore, window-min-size, window-min-size-1)
12656 (window-sizable, window-sizable-p, window-size-fixed-1)
12657 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12658 (window-max-delta-1, window-max-delta, window-resizable)
12659 (window-resizable-p, window-total-height, window-total-width)
12660 (window-body-width): New functions.
12661 (window-full-height-p, window-full-width-p): Rewrite using
12663 (window-body-height): Rewrite using window-body-size.
12665 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12667 * window.el (window-right, window-left, window-child)
12668 (window-child-count, window-last-child, window-any-p)
12669 (normalize-live-buffer, normalize-live-frame)
12670 (normalize-any-window, normalize-live-window)
12671 (window-iso-combination-p, window-iso-combined-p)
12672 (window-iso-combinations)
12673 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12674 (windows-with-parameter, window-with-parameter)
12675 (window-atom-root, make-window-atom, window-atom-check-1)
12676 (window-atom-check, window-side-check, window-check):
12678 (ignore-window-parameters, window-sides, window-sides-vertical)
12679 (window-sides-slots): New variables.
12680 (window-size-fixed): Move down in code. Minor doc-string fix.
12682 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12684 * comint.el (comint-dynamic-complete-as-filename)
12685 (comint-dynamic-complete-filename): Correctly call
12686 completion-in-region.
12688 2011-06-05 Deniz Dogan <deniz@dogan.se>
12690 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12693 2011-06-05 Deniz Dogan <deniz@dogan.se>
12695 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12696 (rcirc): Use it to prompt for encryption.
12698 2011-06-05 Roland Winkler <winkler@gnu.org>
12700 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12701 (bibtex-search-entries): New command bound to C-c C-a.
12702 (bibtex-display-entries): New function.
12704 2011-06-05 Roland Winkler <winkler@gnu.org>
12706 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12707 (bibtex-insert-kill): After yanking insert newline if necessary.
12708 (bibtex-initialize): Call bibtex-string-files-init only once.
12709 (bibtex-mode): Do not call easy-menu-add.
12710 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12711 (bibtex-yank): Set arg properly if nil.
12713 2011-06-05 Roland Winkler <winkler@gnu.org>
12715 * textmodes/bibtex.el (bibtex-search-entry-globally):
12717 (bibtex-search-entry): Use it.
12719 2011-06-05 Roland Winkler <winkler@gnu.org>
12721 * textmodes/bibtex.el (bibtex-entry-format): New option
12723 (bibtex-format-entry, bibtex-reformat): Honor this option.
12724 (bibtex-parse-entry): Return fields in proper order.
12726 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12728 * doc-view.el (doc-view-remove-if): Move computation of result out
12729 of `dolist' to silence misleading lexical-binding warning.
12731 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12733 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12734 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12736 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12738 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12741 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12743 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12744 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12745 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12746 (tramp-parse-putty):
12747 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12748 (tramp-completion-function-alist-ssh)
12749 (tramp-completion-function-alist-telnet)
12750 (tramp-completion-function-alist-su)
12751 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12754 * net/tramp-ftp.el:
12756 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12757 load "tramp.el" `tramp-set-completion-function'.
12759 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * shell.el: Require and use pcomplete.
12762 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12763 (shell-completion-vars): Set pcomplete-default-completion-function.
12765 2011-06-04 Deniz Dogan <deniz@dogan.se>
12767 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12770 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12774 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12776 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12777 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12778 * vc/log-view.el (log-view-beginning-of-defun):
12779 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12780 (smerge-refine-forward, smerge-refine-chopup-region):
12781 Silence warning for unused `dotimes' counter variables.
12783 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12785 * net/tramp.el (tramp-with-progress-reporter): Rename from
12786 with-progress-reporter. Use `declare'.
12787 * net/tramp-smb.el:
12789 * net/tramp-gvfs.el: Update all uses.
12791 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12793 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12794 buffer isn't killed before making it current.
12796 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12798 Silence various byte-compiler warnings.
12799 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12800 `access-type' and new obsolescence format.
12801 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12803 (byte-compile-check-variable): New `access-type' argument.
12804 Only warn if the access-type is obsolete.
12805 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12806 (byte-compile-variable-set): Adjust callers.
12807 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12808 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12809 setting it as obsolete.
12810 * simple.el (minibuffer-completing-symbol):
12811 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12812 access as obsolete.
12813 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12815 * international/quail.el (quail-mouse-choose-completion): Remove unused
12816 code referring to obsolete var.
12817 (quail-choose-completion-string): Remove.
12818 * server.el (server-clients-with, server-kill-buffer-query-function)
12819 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12820 * proced.el (proced-send-signal):
12821 * emacs-lisp/lisp.el (lisp-complete-symbol):
12822 Replace completion-annotate-function with completion-extra-properties.
12824 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12826 * simple.el (goto-line): Use read-number.
12827 (overriding-map-is-bound): Remove.
12828 (saved-overriding-map): Change default.
12829 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12830 Take the map as argument.
12831 (universal-argument, negative-argument, digit-argument): Use it.
12832 (restore-overriding-map): Adjust.
12833 (do-auto-fill): Use fill-forward-paragraph.
12834 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12836 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12837 (minibuffer-inactive-mode): New major mode.
12838 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12839 the *Messages* buffer" hack.
12840 (mouse-popup-menubar): Don't burp if the event is a normal key.
12842 Miscellaneous tweaks.
12843 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12844 lexical scoping as in subr.el's dolist and dotimes.
12845 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12846 Silence compiler warning.
12847 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12848 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12849 * international/ccl.el (ccl-compile): Trivial simplification.
12850 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12851 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12852 `printflag' argument.
12853 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12854 Purecopy the whole obsolescence data.
12856 2011-06-01 Leo Liu <sdl.web@gmail.com>
12858 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12859 improve doc-string as suggested by Marco Pessotto
12860 <melmothx@gmail.com>.
12861 (rcirc-print): Fix last change.
12863 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12865 * minibuffer.el (complete-with-action): Return nil for the metadata and
12866 boundaries of non-functional tables.
12867 (completion-table-dynamic): Return nil for the metadata.
12868 (completion-table-with-terminator): Add default case, using
12869 complete-with-action.
12870 (completion--metadata): New function.
12871 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12872 to try and avoid pathological performance problems.
12873 (completion--embedded-envvar-table): Return `category' metadata.
12875 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12877 * subr.el (process-alive-p): New tiny convenience function.
12879 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12881 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12882 content but also its previous major mode.
12884 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12886 * emacs-lisp/debug.el (debug): Restore the previous content of the
12887 *Backtrace* buffer when we exit with C-M-c.
12889 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * minibuffer.el: Add metadata method to completion tables.
12892 (completion-category-overrides): New defcustom.
12893 (completion-metadata, completion--field-metadata)
12894 (completion-metadata-get, completion--styles)
12895 (completion--cycle-threshold): New functions.
12896 (completion-try-completion, completion-all-completions):
12897 Add `metadata' argument to choose completion-styles.
12898 (completion--do-completion): Use metadata to choose cycling.
12899 (completion-all-sorted-completions): Use metadata for sorting.
12900 Remove :completion-cycle-penalty which is not needed any more.
12901 (completion--try-word-completion): Add `metadata' argument.
12902 (minibuffer-completion-help): Check metadata for annotation function
12904 (completion-file-name-table): Return `category' metadata.
12905 (minibuffer-completing-file-name): Make obsolete.
12906 * simple.el (minibuffer-completing-symbol): Make obsolete.
12907 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12908 completion-try-completion.
12910 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12914 2011-05-30 Leo Liu <sdl.web@gmail.com>
12916 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12917 (rcirc-print): Decode all incoming messages (bug#8744).
12918 (rcirc-decode-coding-system): Allow value nil for automatic coding
12921 2011-06-01 Glenn Morris <rgm@gnu.org>
12923 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12925 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12927 * image.el (image-animate-max-time): Allow nil and t values.
12929 (create-animated-image): Doc fix.
12930 (image-animate-start): Remove second arg; just use
12931 image-animate-max-time.
12932 (image-animate-timeout): Doc fix. Args changed.
12934 * image-mode.el (image-toggle-display-image): Ensure that the
12935 image spec passed to the animate timer is the same object as in
12936 the buffer's display property (Bug#6981).
12937 (image-transform-properties): Doc fix.
12939 * image.el (image-animate-max-time): Default to nil.
12941 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12943 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12944 entire buffer list (Bug#8184).
12946 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12948 * image.el (imagemagick-types-inhibit)
12949 (imagemagick-register-types): Doc fix.
12951 2011-05-29 Deniz Dogan <deniz@dogan.se>
12953 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12956 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12958 * select.el: Don't perform clipboard-manager saving in hooks;
12959 leave the hooks empty.
12961 2011-05-28 Leo Liu <sdl.web@gmail.com>
12963 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12964 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12965 (occur-edit-mode): New major mode (Bug#8463).
12966 (occur-after-change-function): New function.
12967 (occur-engine): Give Occur tags a read-only property.
12969 2011-05-28 Kevin Ryde <user42@zip.com.au>
12971 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12973 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12975 * bindings.el (help-echo): Make the initial non-indicator dash
12976 empty on graphical terminals (Bug#7295).
12978 * files.el (auto-mode-alist): Move config rule after the
12979 in-stripping one (Bug#8547).
12981 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12983 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12984 setting (Bug#8740).
12986 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12988 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12989 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12992 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12994 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12996 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12998 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12999 (hs-hide-block-at-point, hs-find-block-beginning)
13000 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13003 2011-05-28 Glenn Morris <rgm@gnu.org>
13005 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13007 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13009 * help-fns.el (describe-function-1): If the function is a derived
13010 major mode, print the parent mode.
13012 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13013 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13015 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13017 * minibuffer.el (completion--capf-wrapper): Check applicability before
13018 returning non-nil for non-exclusive completion data.
13019 * progmodes/etags.el (tags-completion-at-point-function):
13020 * info-look.el (info-lookup-completions-at-point): Mark as
13022 (info-complete): Adjust accordingly.
13024 * info-look.el: Convert to lexical-binding and completion-at-point.
13025 (info-lookup-completions-at-point): New function.
13026 (info-complete): Use it and completion-in-region.
13028 2011-05-28 Drew Adams <drew.adams@oracle.com>
13030 * isearch.el: Let M-e start with point at the first mismatched char.
13031 (isearch-fail-pos): New function.
13032 (isearch-edit-string): Use it.
13034 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13036 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13038 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13040 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13041 traversal functions for avl-trees.
13042 (avl-tree--stack): New struct.
13043 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13044 (avl-tree-enter): Add optional `updatefun' arg.
13045 (avl-tree--do-enter): Add optional `updatefun' arg.
13046 Change return value.
13047 (avl-tree-delete): Add optional `test' and `nilflag' args.
13048 (avl-tree--do-delete): Add `test' and `nilflag' args.
13049 Change return value.
13050 (avl-tree-member): Add optional `nilflag'
13051 (avl-tree-member-p): New function.
13052 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13053 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13054 (avl-tree-stack-empty-p): New functions.
13056 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13057 avl-tree--del-balance1 and make it work both ways.
13058 (avl-tree--del-balance2): Remove.
13059 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13060 make it work both ways.
13061 (avl-tree--enter-balance2): Remove.
13062 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13064 (avl-tree--mapc, avl-tree-map): Add direction argument.
13066 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13068 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13070 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13072 * select.el: Support clipboard managers with built-in function
13073 x-clipboard-manager-save, via delete-frame-functions and
13075 (xselect-convert-to-targets): Add MULTIPLE target to list.
13076 (xselect-convert-to-save-targets): New function.
13078 2011-05-27 Kenichi Handa <handa@m17n.org>
13080 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13081 let-binding rfc2047-encode-encoded-words to nil.
13083 2011-05-27 Glenn Morris <rgm@gnu.org>
13085 * mail/emacsbug.el: Don't require url-util.
13087 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13089 * files.el (set-auto-mode):
13090 Also respect mode: entries at the end of the file. (Bug#8586)
13092 2011-05-26 Glenn Morris <rgm@gnu.org>
13094 * files.el (hack-local-variables-prop-line, hack-local-variables):
13095 Downcase mode names, as seems to be traditional.
13096 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13098 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13099 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13101 2011-05-25 Julien Danjou <julien@danjou.info>
13103 * textmodes/rst.el (rst-define-level-faces): Do not define face
13104 symbol if it is already defined.
13106 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13108 * play/5x5.el (5x5-new-game, 5x5-randomize):
13109 Reset 5x5-solver-output to nil when a new grid is cast.
13110 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13111 these debugging traces, as defmacro breaks the compiled code.
13113 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13115 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13117 2011-05-24 Leo Liu <sdl.web@gmail.com>
13119 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13120 (vc-bzr-sha1): Adapt.
13122 * sha1.el: Remove. Function `sha1' is now builtin.
13124 * bindings.el: Provide sha1 feature.
13126 2011-05-24 Kenichi Handa <handa@m17n.org>
13128 * mail/sendmail.el: Require `rfc2047'.
13129 (mail-insert-from-field): Do not perform RFC2047 encoding.
13130 (mail-encode-header): New function.
13131 (sendmail-send-it): Set buffer-file-coding-system of the work
13132 buffer to the return value of select-message-coding-system.
13133 Call mail-encode-header.
13135 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13137 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13139 * mail/supercite.el (sc-default-cite-frame):
13140 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13142 2011-05-24 Glenn Morris <rgm@gnu.org>
13144 * progmodes/python.el (brm-menu): Declare.
13146 * emulation/viper.el (viper-set-hooks): Declare.
13148 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13149 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13150 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13151 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13152 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13153 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13155 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13157 Add an :exit-function for completion-at-point.
13159 * minibuffer.el (completion--done): New fun.
13160 (completion--do-completion): Use it. New arg `expect-exact'.
13161 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13162 since completion--do-completion does it for us now.
13163 (minibuffer-force-complete): Use completion--done and
13164 completion--replace. Handle sole-completion case with more care.
13165 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13166 (completion-extra-properties): New var.
13167 (completion-annotate-function): Make obsolete.
13168 (minibuffer-completion-help): Adjust accordingly.
13169 Use completion-list-insert-choice-function.
13170 (completion-at-point, completion-help-at-point):
13171 Bind completion-extra-properties.
13172 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13173 * simple.el (completion-list-insert-choice-function): New var.
13174 (completion-setup-function): Preserve it.
13175 (choose-completion): Pay attention to it, shuffle the code a bit.
13176 (choose-completion-string): New arg `insert-function'.
13178 * textmodes/bibtex.el: Convert to lexical binding.
13179 (bibtex-mode-map): Use completion-at-point.
13180 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13181 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13182 (bibtex-complete): Define as obsolete alias.
13183 (bibtex-complete-internal): Remove.
13184 (bibtex-format-entry): Remove unused sub-group in regexp.
13185 * shell.el (shell--command-completion-data)
13186 (shell-environment-variable-completion):
13187 * pcomplete.el (pcomplete-completions-at-point):
13188 * comint.el (comint--complete-file-name-data): Use :exit-function
13189 instead of completion-table-with-terminator so it also works for
13192 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13194 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13196 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13199 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13201 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13203 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13204 customization variable and implement: If non-nil, auto-fill will
13205 be inhibited while on topic's header line.
13207 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13209 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13210 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13211 always have a solution in grid size = 5 cases.
13212 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13213 (5x5-solver-output, 5x5-log-buffer): New vars.
13214 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13215 Make these variables buffer local to achieve 5x5 multi-session-ness.
13216 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13217 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13218 (5x5-solve-suggest): New funs.
13219 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13220 randomize a grid so that we ensure that there is always a solution.
13221 (5x5-make-random-grid): Allow other movement than flipping.
13223 2011-05-23 Kevin Ryde <user42@zip.com.au>
13225 * emacs-lisp/advice.el (ad-read-advised-function):
13226 Use `function-called-at-point' as the default, if it has
13227 advice and passes PREDICATE.
13229 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13231 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13232 byte-compile-lambda if it's actually a lambda.
13234 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13235 Fix function quoting. Use backquote better.
13237 2011-05-22 Yuanle Song <sylecn@gmail.com>
13239 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13240 matching (Bug#8516).
13242 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13244 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13245 different face (Bug#8178).
13247 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13249 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13250 defface (Bug#8144).
13252 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13254 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13255 funcall as well (bug#8712). Warn when performing those conversions.
13256 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13258 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13260 2011-05-22 Glenn Morris <rgm@gnu.org>
13262 * files.el (hack-local-variables-prop-line): Small simplifications.
13263 (hack-local-variables, hack-local-variables-prop-line):
13264 If MODE-ONLY, return the mode, rather than just `t'.
13266 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13268 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13270 2011-05-21 Glenn Morris <rgm@gnu.org>
13272 * files.el (hack-local-variables-prop-line, hack-local-variables):
13273 If only interested in the mode, don't bother doing the other stuff.
13275 * image-mode.el (image-after-revert-hook):
13276 Redraw all frames on which the image is visible. (Bug#8567)
13278 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13280 * wid-edit.el (widget-checklist-match-inline):
13281 Fix 2011-04-19 change. (Bug#8649)
13283 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13286 Also allow singlespace after single-letter capitals followed by a dot.
13288 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13289 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13291 2011-05-20 Nix <nix@esperi.org.uk>
13293 * files.el (basic-save-buffer-2):
13294 Fix handling of break-hardlink-on-save with non-existent files.
13296 2011-05-19 Deniz Dogan <deniz@dogan.se>
13298 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13299 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13301 2011-05-19 Glenn Morris <rgm@gnu.org>
13303 * progmodes/f90.el (f90-type-def-re):
13304 Handle "type, bind(c)". (Bug#8691)
13306 * emacs-lisp/autoload.el (batch-update-autoloads):
13307 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13309 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13311 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13312 property for the correct connection in case of multihops.
13314 2011-05-18 Glenn Morris <rgm@gnu.org>
13316 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13317 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13319 Rationalize calendar handling of day and month abbrev-arrays.
13320 * calendar/calendar.el (calendar-customized-p): New function.
13321 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13322 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13324 (calendar-abbrev-length, calendar-day-abbrev-array)
13325 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13326 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13327 Elements may no longer be nil.
13328 (calendar-day-name, calendar-month-name):
13329 Update for changed nature of abbrev arrays.
13330 * calendar/diary-lib.el (diary-name-pattern):
13331 Update for changed nature of abbrev arrays.
13332 (diary-mark-entries-1): Update calendar-make-alist calls.
13333 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13334 * calendar/cal-html.el (cal-html-day-abbrev-array):
13335 Simply inherit from calendar-day-abbrev-array.
13337 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13339 * progmodes/grep.el (grep-mode): Disable default
13340 compilation-directory-matcher setting (bug#8684).
13342 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13344 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13345 instead of "head" and "tail". There were problems with SunOS 5.9,
13346 and it performs better.
13348 2011-05-17 Glenn Morris <rgm@gnu.org>
13350 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13352 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13353 Replace obsolete function.
13355 * shell.el (pcomplete-parse-arguments-function): Declare.
13357 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13358 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13359 (appt-check): Doc fixes.
13360 (appt-disp-window-function, appt-delete-window-function):
13361 Remove needless special case in custom :type.
13362 (appt-display-count): Default to 0, not nil.
13363 (appt-check): Reset appt-display-count to 0, not nil.
13365 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13367 * progmodes/python.el (python-font-lock-keywords):
13368 Add the Python 3.X keyword "nonlocal" (bug#8639).
13370 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13374 2011-05-16 Kevin Ryde <user42@zip.com.au>
13376 * info-look.el (makefile-automake-mode): New setups, looking in
13377 automake manual, then makefile-mode.
13378 (makefile-mode): Remove automake manual, have it just in
13379 makefile-automake-mode since there's various things different or
13380 not relevant to plain make.
13381 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13382 believe a hypothetical automake-mode would go to makefile-mode,
13383 not the other way around.
13385 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13387 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13388 hunk-end tags (Bug#8672).
13390 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13391 vc-annotate-show-diff-revision-at-line (Bug#8671).
13393 2011-05-14 Glenn Morris <rgm@gnu.org>
13395 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13396 in the middle of an existing one with multiple authors. (Bug#8645)
13397 (change-log-font-lock-keywords): Also handle multiple author lines
13398 with leading tabs. (Bug#8644)
13400 * calendar/appt.el (appt-check): Rename some local variables.
13401 Some simplification/reordering.
13403 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13404 (feedmail-sendmail-f-doesnt-sell-me-out)
13405 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13406 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13407 (feedmail-queue-runner-message-sender): Set :version.
13408 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13409 (bbdb-dwim-net-address, vm-mail): Declare.
13410 (feedmail-binmail-gnulinuxish-template):
13411 Rename from feedmail-binmail-linuxish-template.
13412 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13413 Use insert-buffer-substring.
13415 2011-05-14 Bill Carpenter <bill@carpenter.org>
13417 * mail/feedmail.el (feedmail-patch-level): Increase.
13418 (feedmail-debug): New custom group.
13419 (feedmail-confirm-outgoing-timeout)
13420 (feedmail-sendmail-f-doesnt-sell-me-out)
13421 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13422 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13423 (feedmail-sender-line, feedmail-from-line)
13424 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13425 (feedmail-spray-this-address)
13426 (feedmail-spray-address-fiddle-plex-list)
13427 (feedmail-queue-use-send-time-for-date)
13428 (feedmail-queue-use-send-time-for-message-id)
13429 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13430 (feedmail-buffer-eating-function):
13432 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13433 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13434 (feedmail-message-action-scroll-down): New functions.
13435 (feedmail-queue-directory, feedmail-queue-draft-directory):
13436 Use expand-file-name.
13437 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13438 Remove C-v help entry.
13439 (feedmail-queue-buffer-file-name): New variable.
13440 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13441 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13442 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13443 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13444 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13445 (feedmail-message-action-toggle-spray)
13446 (feedmail-run-the-queue-no-prompts)
13447 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13448 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13449 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13450 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13451 (feedmail-envelope-deducer, feedmail-fiddle-from)
13452 (feedmail-fiddle-sender, feedmail-default-date-generator)
13453 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13454 (feedmail-fiddle-spray-address)
13455 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13456 (feedmail-fiddle-list-of-fiddle-plexes)
13457 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13458 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13459 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13460 Change default. Doc fix.
13461 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13462 (feedmail-binmail-linuxish-template): New constant.
13463 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13464 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13465 (feedmail-send-it): Add debug call.
13466 Use feedmail-queue-buffer-file-name, and
13467 feedmail-send-it-immediately-wrapper.
13468 (feedmail-message-action-send): Add debug call.
13469 Use feedmail-send-it-immediately-wrapper.
13470 (feedmail-queue-express-to-queue): Add debug call.
13471 Run feedmail-queue-express-hook.
13472 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13473 (feedmail-message-action-help-blat):
13474 Rename from feedmail-queue-send-edit-prompt-help-first.
13475 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13476 Check line-endings. Handle errors better.
13477 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13478 Doc fix. Add debug call.
13479 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13480 Use feedmail-queue-send-edit-prompt-inner.
13481 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13482 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13483 from feedmail-queue-send-edit-prompt.
13484 (feedmail-queue-send-edit-prompt-help)
13485 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13486 (feedmail-tidy-up-slug): Add debug call.
13487 Respect feedmail-queue-slug-suspect-regexp.
13488 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13489 (feedmail-dump-message-to-queue): Add debug call.
13490 Expand queue-directory.
13491 (feedmail-dump-message-to-queue): Change message slightly.
13492 Use feedmail-say-chatter.
13493 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13494 (feedmail-send-it-immediately-wrapper): New function.
13495 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13496 Insert empty string rather than newline. Handle full-frame case.
13497 Use catch/throw. Use feedmail-say-chatter.
13498 (feedmail-fiddle-from): Try mail-host-address.
13499 (feedmail-default-message-id-generator): Doc fix.
13500 Bind system-time-locale. Handle missing end.
13501 (feedmail-fiddle-x-mailer): Add debug call.
13502 Handle feedmail-x-mailer-line being nil.
13503 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13504 Add debug call. Use buffer-substring-no-properties.
13505 (feedmail-say-debug, feedmail-say-chatter): New functions.
13506 (feedmail-find-eoh): Give an explicit error.
13508 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13510 * net/newst-treeview.el (newsticker-treeview-face): Change default
13511 family from helvetica to sans.
13512 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13513 etc/images/newsticker.
13515 * net/newst-reader.el (newsticker-feed-face): Change default
13516 family from helvetica to sans.
13518 * net/newst-plainview.el (newsticker-new-item-face)
13519 (newsticker-old-item-face, newsticker-immortal-item-face)
13520 (newsticker-obsolete-item-face, newsticker-date-face)
13521 (newsticker-statistics-face): Change default family from
13523 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13524 etc/images/newsticker.
13526 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13527 (newsticker--process-auto-mark-filter-match): Tell user about
13530 2011-05-13 Didier Verna <didier@xemacs.org>
13532 Common Lisp indentation improvements on defmethod and lambda-lists.
13533 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13535 (lisp-lambda-list-keyword-parameter-indentation)
13536 (lisp-lambda-list-keyword-parameter-alignment)
13537 (lisp-lambda-list-keyword-alignment): New customizable user options.
13538 (lisp-indent-defun-method): Improve docstring.
13539 (extended-loop-p): Fix comment.
13540 (lisp-indent-lambda-list-keywords-regexp): New variable.
13541 (lisp-indent-lambda-list): New function.
13542 (lisp-indent-259): Use it.
13543 (lisp-indent-defmethod): Support for more than one
13544 method qualifier and properly indent methods lambda-lists.
13545 (defgeneric): Provide a missing common-lisp-indent-function property.
13547 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13549 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13550 bounds for the empty string (bug#8667).
13552 2011-05-13 Glenn Morris <rgm@gnu.org>
13554 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13556 * mail/sendmail.el (sendmail-program): Try executable-find first.
13557 (sendmail-send-it): `sendmail-program' cannot be unbound.
13559 * calendar/appt.el (appt-make-list): Simplify.
13560 (appt-time-msg-list): Doc fix.
13561 (appt-check): Change mode-line message at the time of the appointment.
13563 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13565 * progmodes/ld-script.el (ld-script-keywords)
13566 (ld-script-builtins): Update keywords list.
13568 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13570 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13572 * shell.el (shell-completion-vars): New function.
13574 * simple.el (read-shell-command): Use it.
13575 (blink-matching-open): No need for " [...]" in minibuffer-message.
13577 2011-05-12 Glenn Morris <rgm@gnu.org>
13579 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13580 (appt-check): Simplify.
13582 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13584 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13585 literal "/dev/null".
13587 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13592 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13594 * progmodes/which-func.el (which-function):
13595 Use add-log-current-defun instead of add-log-current-defun-function,
13596 which might not be defined (Bug#8260).
13598 2011-05-12 Glenn Morris <rgm@gnu.org>
13600 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13601 Let byte-compile-initial-macro-environment always take precedence.
13603 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13605 * net/rcirc.el: Add support for SSL/TLS connections.
13606 (rcirc-server-alist): New field `encryption'.
13607 (rcirc): Check `encryption' settings.
13608 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13609 Merge make-local-variable into `set'.
13610 (rcirc--connection-open-p): New function.
13611 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13612 the process is not a network process (e.g. running gnutls-cli).
13613 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13614 Make rcirc-(en|de)code-coding-system local here.
13615 (rcirc-mode): Merge make-local-variable into `set'.
13616 (rcirc-parent-buffer): Make permanent buffer-local.
13617 (rcirc-multiline-minor-mode): Don't do it here.
13618 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13619 there's no server buffer.
13621 2011-05-11 Glenn Morris <rgm@gnu.org>
13623 * newcomment.el (comment-kill): Prefix "unused" local.
13625 * term/w32console.el (get-screen-color): Declare.
13627 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13628 Handle symbol elements of byte-compile-initial-macro-environment.
13630 2011-05-10 Leo Liu <sdl.web@gmail.com>
13632 * bookmark.el (bookmark-bmenu-mode-map):
13633 Bind bookmark-bmenu-search to `/'.
13635 * mail/footnote.el: Convert to utf-8 encoding.
13636 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13637 (Footnote-unicode): New function.
13638 (footnote-style-alist): Add unicode style to the list.
13639 (footnote-style): Doc fix.
13641 2011-05-10 Jim Meyering <meyering@redhat.com>
13643 Fix doubled-word typos.
13644 * international/quail.el (quail-insert-kbd-layout): and and -> and
13645 * kermit.el: and and -> and
13646 * net/ldap.el (ldap-search-internal): to to -> to
13647 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13648 * progmodes/js.el (js-mode): and and -> and
13649 * textmodes/artist.el (artist-move-to-xy): at at -> at
13650 (artist-draw-region-trim-line-endings): if if -> if
13651 And Safetyc -> Safety.
13652 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13654 2011-05-10 Glenn Morris <rgm@gnu.org>
13655 Stefan Monnier <monnier@iro.umontreal.ca>
13657 * files.el (hack-one-local-variable-eval-safep):
13658 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13660 2011-05-10 Glenn Morris <rgm@gnu.org>
13662 * calendar/diary-lib.el (diary-list-entries-hook)
13663 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13664 (diary-nongregorian-marking-hook, diary-list-entries)
13665 (diary-include-other-diary-files, diary-mark-entries)
13666 (diary-mark-included-diary-files): Doc fixes.
13668 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13670 * misc.el: Require tabulated-list.el during compilation.
13672 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13674 * progmodes/compile.el (compilation-start):
13675 Run compilation-filter-hook for the async case too.
13676 (compilation-filter-hook): Doc fix.
13678 2011-05-09 Deniz Dogan <deniz@dogan.se>
13680 * wdired.el: Remove outdated installation comment. Fix usage
13683 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13685 * misc.el: Implement new command `list-dynamic-libraries'.
13686 (list-dynamic-libraries--loaded-only-p): New variable.
13687 (list-dynamic-libraries--refresh): New function.
13688 (list-dynamic-libraries): New command.
13690 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13692 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13693 Fix the ant regexp to handle end-line and end-column info from jikes.
13694 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13695 higher priority to avoid clobbering by gnu.
13697 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13699 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13700 if the face has existing theme settings (Bug#8454).
13702 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13704 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13705 Only match variables declared via `my' or `our' (Bug#8261).
13707 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13708 special file names `.' and `..' (Bug#8259).
13710 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13712 * progmodes/grep.el (grep-mode-font-lock-keywords):
13713 Remove buffer-changing entries.
13714 (grep-filter): New function.
13715 (grep-mode): Add it to compilation-filter-hook.
13717 * progmodes/compile.el (compilation-filter-hook)
13718 (compilation-filter-start): New defvars.
13719 (compilation-filter): Call compilation-filter-hook prior to
13720 updating the process mark.
13722 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13724 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13726 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13728 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13729 mailclient-send-it even if window-system is nil. (Bug#8595)
13731 * term/w32console.el (terminal-init-w32console):
13732 Call get-screen-color and use its output to set the frame
13733 background-mode. (Bug#8597)
13735 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13737 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13738 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13740 (defgeneric, eieio--defmethod): Use them.
13741 (eieio-defgeneric): Remove.
13742 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13744 2011-05-07 Glenn Morris <rgm@gnu.org>
13746 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13747 Use let rather than let*.
13748 (timeclock-find-discrep): Remove unused local.
13750 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13752 * calendar/appt.el (appt-time-msg-list): Doc fix.
13754 2011-05-06 Noah Friedman <friedman@splode.com>
13756 * apropos.el (apropos-print-doc): Only use
13757 emacs-lisp-docstring-fill-column when it is bound to an integer,
13758 per that variable's documentation.
13760 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13762 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13763 and warnings are not silently discarded (e.g. use -d instead of -P).
13765 2011-05-06 Glenn Morris <rgm@gnu.org>
13767 * calendar/appt.el (appt-message-warning-time): Doc fix.
13768 (appt-warning-time-regexp): New option.
13769 (appt-make-list): Respect appt-message-warning-time.
13771 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13773 (diary-add-to-list): Strip comments from the displayed string.
13774 (diary-mode): Set comment-start and comment-end.
13776 * vc/diff-mode.el (smerge-refine-subst): Declare.
13777 (diff-refine-hunk): Don't require smerge-mode when compiling.
13779 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13781 * simple.el (list-processes): Return nil as the docstring says.
13783 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13785 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13787 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13788 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13789 determining of binary transfer. (Bug#7383)
13791 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13794 Fix port computation bug. (Bug#8618)
13796 2011-05-05 Glenn Morris <rgm@gnu.org>
13798 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13800 * simple.el (shell-dynamic-complete-functions)
13801 (comint-dynamic-complete-functions): Declare.
13803 * net/network-stream.el (gnutls-negotiate):
13804 * simple.el (tabulated-list-print): Fix declarations.
13806 * progmodes/gud.el (syntax-symbol, syntax-point):
13807 Remove unnecessary and incorrect declarations.
13809 * emacs-lisp/check-declare.el (check-declare-scan):
13810 Handle byte-compile-initial-macro-environment in bytecomp.el
13812 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13814 Fix earlier half-done eieio-defmethod change (bug#8338).
13815 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13816 Streamline and change calling convention.
13817 (defmethod): Adjust accordingly and simplify.
13818 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13819 new eieio--defmethod.
13820 (slot-boundp): Minor CSE simplification.
13822 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13824 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13825 (glasses-make-readable): Use glasses-separate-capital-groups.
13827 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13829 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13830 (warning-series): Doc fix.
13831 (display-warning): Don't try to create the buffer if we just found it.
13833 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13835 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13836 (autoload-find-generated-file): New function.
13837 (generate-file-autoloads): Bind generated-autoload-file to
13839 (update-file-autoloads, update-directory-autoloads):
13840 Use autoload-find-generated-file. If called interactively, prompt for
13841 output file (Bug#7989).
13842 (batch-update-autoloads): Doc fix.
13844 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13846 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13848 2011-05-04 Glenn Morris <rgm@gnu.org>
13850 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13851 function, so it follows changes in calendar-date-style.
13852 (diary-fancy-date-matcher): New function.
13853 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13854 (diary-fancy-font-lock-fontify-region-function):
13855 Use diary-fancy-date-pattern as a function.
13857 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13858 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13860 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13862 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13863 instead of positional arguments. Allow :keylist and :crlfiles
13865 (open-gnutls-stream): Call it.
13867 * net/network-stream.el (network-stream-open-starttls): Adjust to
13868 call `gnutls-negotiate' with :process and :hostname arguments.
13870 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13872 * minibuffer.el (completion--message): New function.
13873 (completion--do-completion, minibuffer-complete)
13874 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13875 (completion--do-completion): Don't ignore completion-auto-help when in
13878 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13879 internal encoding (e.g. tibetan zero is not whitespace).
13880 (global-whitespace-mode): Prefer save-current-buffer.
13881 (whitespace-trailing-regexp): Remove useless save-match-data.
13882 (whitespace-empty-at-bob-regexp): Minor simplification.
13884 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13886 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13888 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
13890 * textmodes/ispell.el (ispell-add-per-file-word-list):
13891 Use `concat' to create string for insertion.
13893 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13896 Avoid open-line which runs post-self-insert-hook.
13897 (bibtex-fill-entry): Remove unused `end' var.
13899 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13901 * textmodes/ispell.el (ispell-add-per-file-word-list):
13902 Protect against `nil' value of `comment-start' (Bug#8579).
13904 2011-05-03 Leo Liu <sdl.web@gmail.com>
13906 * isearch.el (isearch-yank-pop): New command.
13907 (isearch-mode-map): Bind it to `M-y'.
13908 (isearch-forward): Mention it.
13910 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13912 * simple.el (minibuffer-complete-shell-command): Remove.
13913 (minibuffer-local-shell-command-map): Use completion-at-point.
13914 (read-shell-command): Setup completion vars here instead.
13915 (read-expression-map): Bind TAB to symbol completion.
13917 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13918 error directly rather via storing it into `results'.
13920 2011-05-02 Leo Liu <sdl.web@gmail.com>
13922 * vc/diff.el: Fix description.
13924 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926 * server.el (server-eval-at): New function.
13928 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13930 * net/network-stream.el (open-network-stream): Take a :nowait
13931 parameter and pass it on to `make-network-process'.
13932 (network-stream-open-plain): Ditto.
13934 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13936 * faces.el (face-spec-set-match-display): Don't match toolkit
13937 options on terminal frames.
13939 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13941 * progmodes/pascal.el: Use lexical binding.
13942 (pascal-mode-map): Remove author preferences.
13944 * pcomplete.el (pcomplete-std-complete): Don't abuse
13945 completion-at-point.
13947 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13949 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13950 removing code that has been dead since 1991 or so.
13952 * startup.el (command-line): When warning about "_emacs", use a
13953 delayed warning to allow the user to filter it out.
13955 2011-04-28 Deniz Dogan <deniz@dogan.se>
13957 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13958 user has not joined.
13960 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13962 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13963 aren't any completions at point.
13965 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13967 * subr.el (display-delayed-warnings): New function.
13968 (delayed-warnings-hook): New variable.
13970 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * minibuffer.el (completion-at-point, completion-help-at-point):
13973 Don't presume that a given completion-at-point-function will always
13974 use the same calling convention.
13976 * pcomplete.el (pcomplete-completions-at-point):
13977 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13978 pcomplete-seen is non-nil.
13979 (pcomplete-comint-setup): Also recognize the new comint/shell
13980 completion functions.
13981 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13982 pcomplete-seen is non-nil.
13984 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13986 * calendar/icalendar.el (diary-lib): Add require statement.
13987 (icalendar--create-uid): Read out a uid from a text-property on
13988 the first character in the entry. This allows for code to add its
13989 own uid to the entry.
13990 (icalendar--convert-float-to-ical): Add export of
13991 `diary-float'-entries save for those with the optional DAY
13994 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13996 * subr.el (shell-quote-argument): Use alternate escaping strategy
13997 when we spot a variable reference in a string.
13999 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14001 * cus-start.el (all): Define customization for debug-on-event.
14003 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14005 * subr.el (shell-quote-argument): Escape correctly under Windows.
14007 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14009 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14011 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14013 * net/tramp.el (tramp-process-actions): Add POS argument.
14014 Delete region between POS and (pos).
14016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14017 Use `nil' position in `tramp-process-actions' call.
14018 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14021 position in `tramp-process-actions' call.
14023 * net/trampver.el: Update release number.
14025 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14027 * custom.el (defcustom): Obey lexical-binding.
14029 Fix octave-inf completion problems reported by Alexander Klimov.
14030 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14031 Inherit from octave-mode-syntax-table.
14032 (inferior-octave-mode): Set info-lookup-mode.
14033 (inferior-octave-completion-at-point): New function.
14034 (inferior-octave-complete): Use it and completion-in-region.
14035 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14036 comint-filename-completion.
14037 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14038 symbol elements which shouldn't be word elements.
14039 (octave-font-lock-keywords, octave-beginning-of-defun)
14040 (octave-function-header-regexp): Adjust regexps accordingly.
14041 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14043 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14045 * net/gnutls.el (gnutls-errorp): Declare before first use.
14047 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14049 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14050 verify-error, and verify-hostname-error parameters. Check whether
14051 default trustfile exists before going to use it. Add missing
14052 argument to gnutls-message-maybe call. Return value.
14053 Reported by Claudio Bley <claudio.bley@gmail.com>.
14054 (open-gnutls-stream): Add usage example.
14056 * net/network-stream.el (network-stream-open-starttls): Give host
14057 parameter to `gnutls-negotiate'.
14058 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14059 * subr.el (shell-quote-argument): Escape correctly under Windows.
14061 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14063 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14064 Use correct match group (bug#8438).
14066 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14068 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14069 (package-menu--generate): New arg specifying packages to show.
14070 (package-menu-refresh, package-menu-execute, list-packages):
14072 (package-show-package-list): New function, replacing deleted
14073 package--list-packages (renamed because it is non-internal).
14075 * finder.el (finder-list-matches): Use package-show-package-list
14076 instead of deleted package--list-packages.
14078 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14079 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14080 (vc-annotate-mode-map): Bind it to RET.
14082 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14084 * progmodes/etags.el (next-file): Don't use set-buffer to change
14085 buffers (Bug#8478).
14087 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14089 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14091 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14092 (apropos-accumulator): Doc fix.
14093 (apropos-function, apropos-macro, apropos-command)
14094 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14095 (apropos-plist): Add face property.
14096 (apropos-symbols-internal): Fix indentation.
14097 (apropos-print): Simplify help, and recognize apropos-multi-type.
14098 (apropos-print-doc): Use button-type-get to extract the button's
14099 face property. Fill docstring (Bug#8352).
14101 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14103 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14105 * play/mpuz.el (mpuz-silent): Doc fix.
14106 (mpuz-mode-map): Use mapc.
14107 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14108 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14109 Fix typos in docstrings.
14111 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14112 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14114 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14116 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14118 * minibuffer.el (completion--do-completion): Avoid the "Next char
14119 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14121 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14122 mouse-2 into unread-command-events, it is interpreted correctly.
14124 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14125 (image-toggle-display): Doc fix.
14127 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14129 * textmodes/page.el (what-page): Use line-number-at-pos to
14130 calculate line number (Bug#6825).
14132 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14134 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14135 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14136 Pass argument NO-DEFAULT to `find-tag-interactive'.
14138 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14140 Lexical-binding cleanup.
14142 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14143 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14144 * progmodes/ada-prj.el (ada-prj-initialize-values)
14145 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14146 (ada-prj-show-value):
14147 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14148 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14149 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14150 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14151 * progmodes/bug-reference.el (bug-reference-push-button):
14152 * progmodes/fortran.el (fortran-line-length):
14153 * progmodes/glasses.el (glasses-change):
14154 * progmodes/octave-mod.el (octave-fill-paragraph):
14155 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14156 (python-pdbtrack-grub-for-buffer, python-sentinel):
14157 * progmodes/sql.el (sql-save-connection):
14158 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14159 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14160 Mark unused parameters.
14162 * progmodes/compile.el (compilation--flush-directory-cache)
14163 (compilation--flush-parse, compile-internal): Mark unused parameters.
14164 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14165 (compilation-next-error-function): Remove unused variable `timestamp'.
14167 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14168 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14170 * progmodes/dcl-mode.el (dcl-end-of-command):
14171 Remove unused variable `start'.
14172 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14173 (dcl-option-value-basic, dcl-option-value-offset)
14174 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14175 Mark unused parameters.
14176 (dcl-save-local-variable): Remove unused variable `val'.
14179 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14180 Mark unused parameters.
14181 (delphi-ignore-changes): Move before first use.
14182 (delphi-charset-token-at): Remove unused variable `start'.
14183 (delphi-else-start): Remove unused variable `if-count'.
14184 (delphi-comment-block-start, delphi-comment-block-end):
14185 Remove unused variable `kind'.
14186 (delphi-indent-line): Remove unused variable `new-point'.
14188 * progmodes/ebrowse.el (ebrowse-files-list)
14189 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14190 Mark unused parameters. Don't quote `lambda'.
14191 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14192 Don't quote `lambda'.
14193 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14194 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14195 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14196 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14197 Use `ignore-errors'.
14198 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14199 (ebrowse-view/find-file-and-search-pattern)
14200 (ebrowse-view/find-member-declaration/definition):
14201 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14202 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14203 Rename parameter PREFIX-ARG to PREFIX.
14204 (ebrowse-tags-read-name): Remove unused variables `start' and
14206 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14209 * progmodes/etags.el (local-find-tag-hook): Declare.
14210 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14211 Mark unused parameters.
14213 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14214 (executable-interpret): Mark unused parameter.
14216 * progmodes/flymake.el (flymake-process-sentinel)
14217 (flymake-after-change-function)
14218 (flymake-create-temp-with-folder-structure)
14219 (flymake-get-include-dirs-dot): Mark unused parameters.
14220 (flymake-safe-delete-directory): Remove unused variable `err'.
14222 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14223 (speedbar-timer-fn, speedbar-line-text)
14224 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14225 (speedbar-center-buffer-smartly): Declare functions.
14226 (gdb-find-watch-expression): Remove unused variable `array'.
14227 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14228 (gdb-starting): Mark unused parameters.
14229 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14230 (gdb-table-string): Remove unused variable `res'.
14231 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14232 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14233 (gdb-display-buffer): Remove unused variable `cur-size'.
14235 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14236 allow lexical-binding compilation.
14237 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14238 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14239 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14240 Mark unused parameters.
14241 (gud-gdb-marker-filter): Remove unused variable `match'.
14242 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14243 lambda expressions and funcall them, instead of using `fset'.
14245 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14246 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14248 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14249 variable `header-beg'; use `let'.
14251 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14252 `restart', `last-sexp' and `at-do'.
14254 * progmodes/js.el (js--debug): Mark unused parameter.
14255 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14256 (js--splice-into-items): Remove unused variable `item'.
14257 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14259 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14260 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14261 (makefile-complete): Remove unused variable `try'.
14262 (makefile-fill-paragraph, makefile-match-function-end):
14263 Mark unused parameters.
14265 * progmodes/octave-inf.el (inferior-octave-complete):
14266 Remove unused variable `proc'.
14267 (inferior-octave-output-digest): Mark unused parameter.
14269 * progmodes/perl-mode.el (perl-calculate-indent):
14270 Remove unused variable `err'.
14272 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14273 (prolog-indent-line): Mark unused parameters.
14274 (prolog-indent-line): Remove unused variable `beg'.
14276 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14277 (reporter-dont-compact-list): Declare.
14279 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14280 Remove unused variable `char'.
14281 (sh-debug): Mark unused parameter.
14282 (sh-get-indent-info): Remove unused variable `start'.
14283 (sh-calculate-indent): Remove unused variable `var'.
14285 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14286 (simula-electric-keyword): Remove unused variable `null'.
14287 (simula-search-backward, simula-search-forward): Remove unused
14288 variables `begin' and `end'.
14290 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14291 Remove unused variable `pos'.
14292 (vera-electric-tab, vera-comment-uncomment-region):
14293 Mark unused parameters.
14294 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14296 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14298 * emacs-lisp/package.el (package--builtins, package-alist)
14299 (package-load-descriptor, package-built-in-p, package-activate)
14300 (define-package, package-installed-p)
14301 (package-compute-transaction, package-buffer-info)
14302 (package--push): Doc fix. Distinguish more clearly between
14303 version strings and version lists.
14305 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14307 Lexical-binding cleanup.
14309 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14310 (5x5-make-mutate-best):
14311 * play/fortune.el (fortune-in-buffer):
14312 * play/gomoku.el (gomoku-init-display):
14313 * play/solitaire.el (solitaire, solitaire-do-check):
14314 * play/tetris.el (tetris-default-update-speed-function):
14315 Mark unused parameters.
14317 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14318 (bubbles--shift): Remove unused variable `char-org'.
14319 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14320 (bubbles--show-images): Remove unused variable `char'.
14322 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14323 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14324 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14325 (decipher-analyze-buffer): Use ?\s.
14326 (decipher-make-checkpoint): Remove unused variable `mapping'.
14328 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14330 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14331 Remove unused variable `result'; use `let'.
14333 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14334 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14335 (gametree-children-shown-p, gametree-compute-reduced-score):
14336 Use `ignore-errors'.
14338 * play/handwrite.el (ps-lpr-switches): Declare.
14339 (handwrite): Remove unused variables `pmin' and `lastp'.
14341 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14343 * play/landmark.el (landmark-init-display)
14344 (landmark-update-naught-weights): Mark unused parameters.
14345 (landmark-y): Remove unused variable `noise'. Simplify.
14346 (landmark-human-plays): Remove unused variable `score'.
14348 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14349 (mpuz-try-proposal): Remove unused variable `game'.
14351 * play/zone.el (life-patterns): Declare.
14353 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14355 * vc/vc.el (ediff-vc-internal): Declare function.
14357 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14359 * shell.el: Use lexical-binding and std completion UI.
14360 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14361 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14362 comint-preoutput-filter-functions rather than on
14363 comint-output-filter-functions.
14364 (shell-command-completion, shell--command-completion-data)
14365 (shell-filename-completion, shell-environment-variable-completion)
14366 (shell-c-a-p-replace-by-expanded-directory): New functions.
14367 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14368 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14369 (shell-dynamic-complete-environment-variable): Use them.
14370 (shell-dynamic-complete-as-environment-variable)
14371 (shell-dynamic-complete-as-command): Remove.
14372 (shell-match-partial-variable): Match past point.
14373 * comint.el: Clean up use of completion-at-point-functions.
14374 (comint-completion-at-point): New function.
14375 (comint-mode): Use it completion-at-point-functions.
14376 (comint-dynamic-complete): Make it obsolete.
14377 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14378 (comint-c-a-p-replace-by-expanded-history): New function.
14379 (comint-dynamic-complete-functions)
14380 (comint-replace-by-expanded-history): Use it.
14381 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14382 termination strings. Try harder to avoid second try-completion.
14383 (completion-in-region-mode-map): Disable bindings that don't work yet.
14385 * comint.el: Use lexical-binding. Require CL.
14386 (comint-dynamic-complete-functions): Use comint-filename-completion.
14387 (comint-completion-addsuffix): Tweak custom type.
14388 (comint-filename-completion, comint--common-suffix)
14389 (comint--common-quoted-suffix, comint--table-subvert)
14390 (comint--complete-file-name-data): New functions.
14391 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14392 (comint-dynamic-list-filename-completions): Use them.
14393 (comint-dynamic-simple-complete): Make obsolete.
14395 * minibuffer.el (completion-in-region-mode):
14396 Keep completion-in-region-mode--predicate global.
14397 (completion-in-region--postch):
14398 Assume completion-in-region-mode--predicate is not null.
14400 * progmodes/flymake.el (flymake-start-syntax-check-process):
14401 Obey `dir'. Simplify.
14403 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14404 we're in VC after all.
14406 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14408 * vc/vc.el (vc-diff-build-argument-list-internal)
14409 (vc-version-ediff, vc-ediff): New commands.
14410 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14412 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14414 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14417 * obsolete/erc-hecomplete.el: Make obsolete.
14418 * obsolete/: Standardize obsolescence info in the header.
14420 2011-04-20 Glenn Morris <rgm@gnu.org>
14422 * calendar/solar.el (solar-horizontal-coordinates):
14423 Use the longitude argument rather than `calendar-longitude'.
14424 (solar-date-next-longitude): Remove unused locals.
14426 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14428 * whitespace.el: New version 13.2.1.
14430 2011-04-20 felix <EmacsWiki> (tiny change)
14432 * whitespace.el (global-whitespace-mode): Keep highlight when
14433 switching between major modes on a file.
14435 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14437 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14438 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14439 multi-line comments as well.
14441 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14443 Lexical-binding cleanup.
14445 * arc-mode.el (archive-mode-revert):
14446 * cmuscheme.el (scheme-interactively-start-process):
14447 * custom.el (custom-initialize-delay):
14448 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14449 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14450 * emacs-lock.el (emacs-lock-clear-sentinel):
14451 * ezimage.el (defezimage):
14452 * follow.el (follow-avoid-tail-recenter):
14453 * fringe.el (set-fringe-mode-1):
14454 * generic-x.el (bat-generic-mode-compile):
14455 * help-mode.el (help-info-variable, help-do-xref)
14456 (help-mode-revert-buffer):
14457 * help.el (view-emacs-todo):
14458 * iswitchb.el (iswitchb-completion-help):
14459 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14460 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14461 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14462 * locate.el (locate-update):
14463 * longlines.el (longlines-encode-region)
14464 (longlines-after-change-function):
14465 * outline.el (outline-isearch-open-invisible):
14466 * ps-def.el (declare-function, charset-dimension, char-width)
14468 * ps-mule.el (ps-mule-plot-string):
14469 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14470 (recentf-edit-list-select, recentf-edit-list-validate)
14471 (recentf-open-files-action):
14472 * rect.el (delete-whitespace-rectangle-line)
14473 (rectangle-number-line-callback):
14474 * register.el (window-configuration-to-register)
14475 (frame-configuration-to-register):
14476 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14477 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14478 (xselect-convert-to-targets, xselect-convert-to-delete)
14479 (xselect-convert-to-filename, xselect-convert-to-charpos)
14480 (xselect-convert-to-lineno, xselect-convert-to-colno)
14481 (xselect-convert-to-os, xselect-convert-to-host)
14482 (xselect-convert-to-user, xselect-convert-to-class)
14483 (xselect-convert-to-name, xselect-convert-to-integer)
14484 (xselect-convert-to-atom, xselect-convert-to-identity):
14485 * subr.el (declare, ignore, process-kill-without-query)
14486 (text-clone-maintain):
14487 * terminal.el (te-get-char, te-tic-sentinel):
14488 * tool-bar.el (tool-bar-make-keymap):
14489 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14490 * type-break.el (type-break-mode, type-break-noninteractive-query):
14491 * view.el (View-back-to-mark):
14492 * wid-browse.el (widget-browse-action, widget-browse-widget)
14493 (widget-browse-widgets, widget-browse-sexp):
14494 * widget.el (define-widget-keywords):
14495 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14496 Mark unused parameters.
14498 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14499 (align-areas): Remove unused variable `look'.
14500 (align-region): Remove unused variables `real-end' and `pos-list'.
14502 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14504 * bindings.el (mode-line-modified, mode-line-remote):
14505 Mark unused parameters.
14506 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14508 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14509 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14511 * comint.el (comint-history-isearch-pop-state)
14512 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14513 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14514 (comint-substitute-in-file-name): Doc fix.
14516 * completion.el (cmpl-statistics-block): Mark unused parameter.
14517 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14518 (save-completions-to-file, load-completions-from-file):
14519 Remove unused local variable `e'.
14521 * composite.el (compose-chars): Remove unused variable `len'.
14522 (lgstring-insert-glyph): Remove unused variable `g'.
14523 (compose-glyph-string): Remove unused variables `ascent',
14524 `descent', `lbearing' and `rbearing'.
14525 (compose-glyph-string-relative): Remove unused variables
14526 `lbearing', `rbearing' and `wadjust'.
14527 (compose-gstring-for-graphic): Remove unused variables `header',
14528 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14529 (compose-gstring-for-terminal): Remove unused variables `header'
14530 and `nchars'. Use `let', not `let*'.
14532 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14533 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14534 (Custom-buffer-done, custom-buffer-create-internal)
14535 (custom-browse-visibility-action, custom-browse-group-tag-action)
14536 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14537 (widget-magic-mouse-down-action, custom-toggle-parent)
14538 (custom-add-parent-links, custom-toggle-hide-variable)
14539 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14540 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14541 (custom-face-menu-create, custom-variable-menu-create, get)
14542 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14543 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14544 (customize-apropos): Remove unused variable `tests'.
14545 (custom-group-value-create): Remove unused variable `hidden-p'.
14546 (sort-fold-case): Declare.
14548 * cus-theme.el (custom-reset-standard-faces-list)
14549 (custom-reset-standard-variables-list): Declare.
14550 (customize-create-theme, custom-theme-revert, custom-theme-write)
14551 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14552 Mark unused parameters.
14554 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14556 * delim-col.el (delimit-columns-max): Move defvar before first use.
14558 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14559 (describe-char): Don't quote `lambda'. Mark unused parameter.
14561 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14562 (auto-insert): Declare.
14563 (desktop-restore-file-buffer): Rename desktop-* parameters;
14565 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14566 (desktop-buffer): Rename desktop-* parameters.
14568 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14569 (dframe-reposition-frame-xemacs, dframe-help-echo)
14570 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14571 Mark unused parameters.
14573 * dired-aux.el (backup-extract-version-start, overwrite-query)
14574 (overwrite-backup-query, rename-regexp-query)
14575 (rename-non-directory-query): Declare.
14576 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14577 (dired-add-entry): Remove unused variable `orig-file-name'.
14578 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14579 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14580 `dired-copy-preserve-time' directly.
14581 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14582 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14584 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14585 (dired-virtual-revert, dired-make-relative-symlink):
14586 Mark unused parameters.
14587 (manual-program): Declare.
14588 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14589 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14590 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14592 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14594 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14596 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14599 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14601 * electric.el (Electric-command-loop): Rename parameter
14602 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14604 * expand.el (expand-in-literal): Remove unused variable `here'.
14606 * facemenu.el (facemenu-add-new-color):
14607 Remove unused variable `docstring'.
14609 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14610 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14611 (face-attr-construct): Mark unused parameter. Doc fix.
14612 (read-color): Remove unused variable `hex-string'.
14614 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14615 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14616 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14617 (display-buffer-other-frame): Remove unused variable `old-window'.
14618 (kill-buffer-hook): Declare.
14619 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14620 Mark unused parameters.
14621 (after-find-file): Pass 1 to `auto-save-mode', not t.
14623 * files-x.el (auto-insert): Declare.
14624 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14626 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14627 variable `buf'. Mark unused parameter.
14628 (find-lisp-insert-directory): Mark unused parameter.
14630 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14631 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14632 (format-common-tail): Remove, unused.
14633 (format-deannotate-region): Remove unused variable `loc'.
14634 (format-annotate-region): Remove unused variable `p'.
14635 (format-annotate-single-property-change): Remove unused variables
14636 `default' and `tail'.
14638 * forms.el (read-file-filter): Declare.
14639 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14641 * frame.el (frame-creation-function-alist): Mark unused parameter.
14642 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14644 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14645 Remove unused parameters.
14646 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14647 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14649 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14650 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14651 (hfy-prepare-tag-map): Mark unused parameters.
14652 (htmlfontify-buffer): Use `called-interactively-p'.
14654 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14655 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14656 (ibuffer-do-occur): Mark unused parameters.
14657 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14658 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14660 * ibuffer.el: Don't quote `lambda'.
14661 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14662 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14663 Mark unused parameters.
14665 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14666 (ido-completing-read): Mark unused parameters.
14667 (ido-copy-current-word): Mark unused parameters;
14668 remove unused variable `name'.
14669 (ido-sort-merged-list): Remove unused parameter `dirs'.
14671 * ielm.el (ielm-input-sender): Mark unused parameter.
14672 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14673 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14674 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14675 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14676 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14678 * image-dired.el (image-dired-display-thumbs): Remove unused
14679 variables `curr-file' and `count'.
14680 (image-dired-remove-tag): Remove unused variable `start'.
14681 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14682 variable `curr-file'
14683 (image-dired-rotate-original): Remove unused variable `temp-file'.
14684 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14685 Remove unused variable `file'.
14686 (image-dired-gallery-generate): Remove unused variable `curr'.
14687 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14689 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14691 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14693 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14695 * isearch.el (minibuffer-history-symbol): Declare.
14696 (isearch-edit-string): Remove unused variable `err'.
14697 (isearch-message-prefix, isearch-message-suffix):
14698 Mark unused parameters.
14700 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14702 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14704 * makesum.el (double-column): Remove unused variable `cnt'.
14706 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14707 (ido-ignore-item-temp-list): Declare.
14709 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14710 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14711 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14712 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14715 * mouse-sel.el (mouse-extend-internal):
14716 Remove unused variable `orig-window-frame'.
14718 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14719 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14720 Move declarations before first use.
14721 (pcomplete-opt): Mark unused parameters; doc fix.
14723 * proced.el (proced-revert): Mark unused parameter.
14724 (proced-send-signal): Remove unused variable `err'.
14726 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14727 Rename parameter PREFIX-ARG to ARG.
14728 (ps-basic-plot-string, ps-basic-plot-whitespace):
14729 Mark unused parameters.
14731 * replace.el (replace-count): Define.
14732 (occur-revert-function): Mark unused parameters.
14733 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14734 (isearch-case-fold-search, isearch-string): Declare.
14735 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14736 bind `case-fold-search'. Remove unused variables `beg' and `end',
14738 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14739 COUNT and bind `replace-count'.
14740 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14743 * savehist.el (print-readably, print-string-length): Declare.
14745 * shadowfile.el (shadow-expand-cluster-in-file-name):
14746 Remove unused variable `cluster'.
14747 (shadow-copy-file): Remove unused variable `i'.
14748 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14749 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14750 (shadow-define-literal-group, shadow-define-regexp-group)
14751 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14753 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14754 (shell): Use `called-interactively-p'.
14755 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14757 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14758 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14759 (delete-backward-char): Remove unused variable `ocol'.
14760 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14761 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14762 (event-apply-hyper-modifier, event-apply-shift-modifier)
14763 (event-apply-control-modifier, event-apply-meta-modifier):
14764 Mark unused parameters.
14765 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14766 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14768 * speedbar.el (speedbar-ignored-directory-expressions)
14769 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14770 (speedbar-find-file, speedbar-dir-follow)
14771 (speedbar-directory-buttons-follow, speedbar-tag-find)
14772 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14773 (speedbar-buffers-line-directory, speedbar-buffer-click):
14774 Mark unused parameters.
14775 (speedbar-tag-file): Remove unused variable `mode'.
14776 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14778 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14780 * talk.el (talk): Remove unused variable `display'.
14782 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14783 (tar-write-region-annotate): Mark unused parameter.
14785 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14786 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14787 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14788 warning by another.
14790 * time-stamp.el (time-stamp-string-preprocess):
14791 Remove unused variable `require-padding'.
14793 * tree-widget.el (widget-glyph-enable): Declare.
14794 (tree-widget-action): Mark unused parameter.
14796 * w32-fns.el (x-get-selection): Mark unused parameter.
14797 (autoload-make-program, generated-autoload-file): Declare.
14799 * wdired.el (wdired-revert): Mark unused parameters.
14800 (wdired-xcase-word): Remove unused variable `err'.
14802 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14803 (whitespace-help-scroll): Remove unused variable `data-help'.
14805 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14806 (widget-image-insert, widget-after-change, default)
14807 (widget-default-format-handler, widget-default-notify)
14808 (widget-default-prompt-value, widget-info-link-action)
14809 (widget-url-link-action, widget-function-link-action)
14810 (widget-variable-link-action, widget-file-link-action)
14811 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14812 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14813 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14814 (widget-insert-button-action, widget-delete-button-action, visibility)
14815 (widget-documentation-link-action, widget-documentation-string-action)
14816 (widget-const-prompt-value, widget-regexp-match, symbol)
14817 (widget-coding-system-prompt-value)
14818 (widget-key-sequence-value-to-external, sexp)
14819 (widget-sexp-value-to-internal, character, vector, cons)
14820 (widget-choice-prompt-value, widget-boolean-prompt-value)
14821 (widget-color--choose-action): Mark unused parameters.
14822 (widget-item-match-inline, widget-choice-match-inline)
14823 (widget-checklist-match, widget-checklist-match-inline)
14824 (widget-group-match): Rename parameter VALUES to VALS.
14825 (widget-field-value-set): Remove unused variable `size'.
14826 (widget-color-action): Remove unused variables `value' and `start'.
14828 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14829 variable `dir'. Doc fix.
14830 (windmove-find-other-window): Don't pass it.
14832 * window.el (count-windows): Mark unused parameter.
14833 (bw-adjust-window): Remove unused variable `err'.
14835 * woman.el (woman-file-name): Remove unused variable `default'.
14836 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14837 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14838 (global-font-lock-mode): Declare.
14839 (woman-decode-region): Mark unused parameter.
14840 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14842 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14843 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14844 (x-dnd-handle-moz-url): Remove unused variable `title'.
14845 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14847 * xml.el (xml-parse-tag, xml-parse-attlist):
14848 Remove unused variable `pos'.
14850 2011-04-19 Glenn Morris <rgm@gnu.org>
14852 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14853 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14854 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14855 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14856 * calendar/cal-html.el (cal-html-insert-minical):
14857 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14858 (calendar-mark-date-pattern):
14859 Prefix "unused" locals.
14861 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14862 optional argument `style'.
14864 * calendar/appt.el (appt-make-list):
14865 * calendar/cal-china.el (calendar-chinese-date-string):
14866 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14867 (diary-hebrew-yahrzeit):
14868 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14869 * calendar/calendar.el (calendar-generate-window):
14870 * calendar/time-date.el (time-to-days):
14871 Remove unused local variables.
14873 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14875 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14876 glyphless-char-display table.
14877 (tabulated-list-glyphless-char-display): New var.
14879 2011-04-18 Sam Steingold <sds@gnu.org>
14881 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14882 to acknowledgments.
14884 2011-04-17 Glenn Morris <rgm@gnu.org>
14886 * calendar/diary-lib.el (diary-sexp-entry):
14887 * calendar/holidays.el (holiday-sexp):
14888 Set debug-on-error rather than the removed stack-trace-on-error.
14890 2011-04-16 Glenn Morris <rgm@gnu.org>
14892 * progmodes/f90.el: Use lexical-binding.
14893 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14895 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14897 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14898 (mail-mode): Setup mailalias completion here instead.
14899 * mail/mailalias.el: Use lexical-binding.
14900 (pattern, mailalias-done): Declare dynamic.
14901 (mail-completion-at-point-function): New function, from mail-complete.
14902 (mail-complete): Use it.
14903 (mail-completion-expand): New function.
14904 (mail-get-names): Use it.
14905 (mail-directory, mail-directory-process, mail-directory-stream):
14906 Don't use `pattern' for lexically bound arg.
14908 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14910 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14911 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14912 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14914 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14915 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14916 (byte-interactive-p): Define them again, for use when inlining
14919 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14921 * loadup.el: Use `string-to-number', not `string-to-int'.
14923 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14925 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14926 gud-gdb-complete-command.
14927 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14928 (gud-gdb-completion-at-point): New function.
14929 (gud-gdb-completions): Remove.
14931 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14933 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14934 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14935 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14936 whether `executable-find' is bound.
14938 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14940 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14942 * minibuffer.el (completion-in-region-mode-predicate)
14943 (completion-in-region-mode--predicate): New vars.
14944 (completion-in-region, completion-in-region--postch)
14945 (completion-in-region-mode): Use them.
14946 (completion--capf-wrapper): Also return the hook function.
14947 (completion-at-point, completion-help-at-point):
14948 Adjust and provide a predicate.
14950 Preserve arg names for advice of subr and lexical functions (bug#8457).
14951 * help-fns.el (help-function-arglist): Consolidate the subr and
14952 new-byte-code cases. Add argument `preserve-names' to extract names
14953 from the docstring when needed.
14954 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14955 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14956 (ad-arglist): Use help-function-arglist's new arg.
14957 (ad-definition-type): Use cond.
14959 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14961 * autorevert.el (auto-revert-handler):
14962 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14963 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14964 Don't quote lambda.
14966 * image-mode.el (image-transform-set-scale):
14967 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14969 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14971 * net/network-stream.el (network-stream-open-starttls): Only do
14972 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14973 Upgrades via gnutls-cli are too slow to be done opportunistically.
14975 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14977 * dframe.el (dframe-current-frame): Remove spurious quote.
14979 2011-04-12 Glenn Morris <rgm@gnu.org>
14981 * calendar/cal-tex.el (cal-tex-end-document):
14982 Try to automatically use latin1 input if needed.
14984 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14985 Don't try to cons a mark onto an empty element.
14987 2011-04-11 Leo Liu <sdl.web@gmail.com>
14989 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14991 (ido-kill-buffer-at-head): Support killing virtual buffers.
14993 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14995 * minibuffer.el (completion-show-inline-help): New var.
14996 (completion--do-completion, minibuffer-complete)
14997 (minibuffer-force-complete, minibuffer-complete-word):
14998 Inhibit minibuffer messages if completion-show-inline-help is nil.
15000 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15001 to avoid interference from inline help (Bug#5849).
15003 2011-04-10 Leo Liu <sdl.web@gmail.com>
15005 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15008 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15010 * image-mode.el (image-toggle-display-image): Signal an error if
15012 (image-transform-mode, image-transform-resize)
15013 (image-transform-set-rotation): Doc fix.
15014 (image-transform-set-resize): Delete.
15015 (image-transform-set-scale, image-transform-fit-to-height)
15016 (image-transform-fit-to-width): Handle image-toggle-display-image
15017 and image-transform-resize directly.
15019 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15021 * doc-view.el (doc-view-fit-width-to-window)
15022 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15023 New functions for fitting the shown image to the Emacs window size.
15024 (doc-view-mode-map): Add bindings for the new functions.
15026 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15028 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15029 Fix typo in docstring.
15031 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15033 * files.el (file-size-human-readable): Produce one digit after
15034 decimal, like "ls -lh" does.
15036 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15037 the file size representation.
15039 * simple.el (list-processes): If async subprocesses are not
15040 available, error out with a clear error message.
15042 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15044 * help.el (help-form-show): New function, to be called from C.
15045 Put help-form output in a buffer named differently than *Help*.
15047 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15049 * files.el (file-size-human-readable): New function.
15051 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15052 computing the representation inline. Don't require `cl'.
15054 2011-04-08 Glenn Morris <rgm@gnu.org>
15056 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15058 * net/browse-url.el (browse-url-firefox):
15059 Test system-type, not system-configuration.
15061 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15062 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15063 Use log-edit-empty-buffer-p. (Bug#7598)
15065 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15066 (rlogin-mode-map): Initialize in the defvar.
15067 (rlogin): Use ignore-errors.
15069 * replace.el (occur-mode-map): Some fixes for menu items.
15071 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15073 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15075 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15077 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15078 issuing unused warnings.
15080 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15083 * simple.el: Lisp reimplement of list-processes. Based on an
15084 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15085 (process-menu-mode): New major mode.
15086 (list-processes--refresh, list-processes):
15087 (process-menu-visit-buffer): New functions.
15089 * files.el (save-buffers-kill-emacs): Don't assume any return
15090 value of list-processes, which is undocumented anyway.
15092 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15094 * emacs-lisp/tabulated-list.el: New file.
15096 * emacs-lisp/package.el: Use Tabulated List mode.
15097 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15098 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15099 table format using Tabulated List mode variables.
15100 (package--push): New macro, replacing package-list-maybe-add.
15101 (package-menu--generate): Use package--push. Renamed from
15102 package--generate-package-list.
15103 (package-menu-refresh, list-packages): Use it.
15104 (package-menu--print-info): Rename from package-print-package.
15105 Return insertion data instead of inserting it directly.
15106 (package-menu-describe-package, package-menu-execute):
15107 Use tabulated-list-get-id.
15108 (package-menu-mark-delete, package-menu-mark-install)
15109 (package-menu-mark-unmark, package-menu-backup-unmark)
15110 (package-menu-mark-obsolete-for-deletion):
15111 Use tabulated-list-put-tag.
15112 (package--list-packages, package-menu-revert)
15113 (package-menu-get-package, package-menu-get-version)
15114 (package-menu-sort-by-column): Functions deleted.
15115 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15116 (package-menu--status-predicate, package-menu--version-predicate)
15117 (package-menu--name-predicate)
15118 (package-menu--description-predicate): Handle arguments in the
15119 Tabulated List format.
15120 (package-list-packages-no-fetch): Call list-packages.
15122 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15124 * files.el (after-find-file-from-revert-buffer): Remove variable.
15125 (after-find-file): Don't bind it.
15126 (revert-buffer-in-progress-p): New variable.
15127 (revert-buffer): Bind it.
15128 Pass nil for `after-find-file-from-revert-buffer'.
15130 * saveplace.el (save-place-find-file-hook): Use new variable
15131 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15133 2011-04-06 Glenn Morris <rgm@gnu.org>
15135 * Makefile.in (AUTOGEN_VCS): New variable.
15136 (autoloads): Use $AUTOGEN_VCS.
15138 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15139 * calendar/calendar.el (calendar-mode-map):
15140 Check for toolkit scroll bars. (Bug#8305)
15142 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15144 * minibuffer.el (completion-in-region--postch)
15145 (completion-in-region-mode): Remove unnecessary messages.
15147 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15149 * font-lock.el (font-lock-refresh-defaults):
15150 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15151 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15153 * info.el (Info-directory-list, Info-read-node-name-2)
15154 (Info-split-parameter-string): Doc fixes.
15155 (Info-virtual-nodes): Reflow docstring.
15156 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15157 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15158 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15159 Fix typos in docstrings.
15160 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15161 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15162 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15163 (Info-restore-desktop-buffer): Mark unused parameters.
15164 (Info-directory-find-file, Info-directory-find-node)
15165 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15166 (Info-virtual-index-find-node, Info-apropos-find-file)
15167 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15168 Mark unused parameters; fix typos in docstrings.
15169 (Info-virtual-index): Remove unused local variable `nodename'.
15171 2011-04-05 Deniz Dogan <deniz@dogan.se>
15173 * net/rcirc.el: Update my e-mail address.
15174 (rcirc-mode-map): Remove M-o binding.
15176 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15178 * startup.el (command-line): Save the cursor's theme-face
15179 directly, instead of using face-override-spec.
15181 * custom.el (load-theme): Minor optimization in assigning faces.
15183 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15185 * help-fns.el (describe-variable): Complete all variables having
15186 documentation, including keywords.
15187 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15189 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15191 Convert to lexical-binding.
15193 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15194 (bs--get-marked-string, bs--get-modified-string)
15195 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15196 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15197 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15199 * ehelp.el (electric-help-execute-extended)
15200 (electric-help-ctrl-x-prefix):
15201 * hexl.el (hexl-revert-buffer-function):
15202 * linum.el (linum-after-change, linum-after-scroll):
15203 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15205 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15207 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15214 * epg.el: Use lexical binding.
15216 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15218 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15220 * textmodes/flyspell.el (flyspell-word): Recognize default
15221 dictionary case for flyspell-mark-duplications-exceptions.
15222 Use regexp matching for languages.
15223 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15224 default dictionary (Bug#7926).
15226 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15228 * emacs-lisp/package.el (package--with-work-buffer):
15229 Recognize https URLs.
15231 * net/network-stream.el: Move from gnus/proto-stream.el.
15232 Change prefix to network-stream throughout.
15233 (open-protocol-stream): Merge into open-network-stream, leaving
15234 open-protocol-stream as an alias. Handle nil BUFFER args.
15236 * subr.el (open-network-stream): Move to net/network-stream.el.
15238 2011-04-02 Glenn Morris <rgm@gnu.org>
15240 * find-dired.el (find-exec-terminator): New option.
15241 (find-ls-option): Test for -ls support.
15242 (find-ls-subdir-switches): Test for -b in find-ls-option.
15243 (find-dired, find-grep-dired): Doc fixes.
15244 (find-dired): Use find-exec-terminator.
15246 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15247 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15248 (find-name-arg): Remove purecopy.
15250 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15251 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15252 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15253 accordingly. Don't add the null-device if not needed.
15255 * files.el (save-some-buffers): Doc fix.
15257 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15259 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15261 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15263 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15264 Use `dolist' rather than `mapcar'.
15266 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15268 Add lexical binding.
15270 * subr.el (apply-partially): Use new closures rather than CL.
15271 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15272 (dolist, dotimes): Use slightly different expansion for lexical code.
15273 (functionp): Move to C.
15274 (letrec): New macro.
15275 (with-wrapper-hook): Use it and apply-partially instead of CL.
15276 (eval-after-load): Preserve lexical-binding.
15277 (save-window-excursion, with-output-to-temp-buffer): Turn them
15280 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15282 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15284 (help-add-fundoc-usage): Don't add `Not documented'.
15285 (help-function-arglist): Handle closures, subroutines, and new
15286 byte-code-functions.
15287 (help-make-usage): Remove leading underscores.
15288 (describe-function-1): Handle closures.
15289 (describe-variable): Use special-variable-p for completion.
15291 * files.el (lexical-binding): Declare safe.
15293 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15294 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15295 (pcase): Add `let' pattern.
15296 Change memoization so it actually works.
15297 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15298 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15301 * emacs-lisp/macroexp.el: Use lexical binding.
15302 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15303 Don't convert ' to #' without checking that it's indeed quoting
15306 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15307 Use eval-sexp-add-defvars.
15308 (eval-sexp-add-defvars): New fun.
15310 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15312 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15314 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15315 than the internal `byte-compile-lambda'.
15316 (defmethod): Don't hide code under quotes.
15317 (eieio-defmethod): New `code' argument.
15319 * emacs-lisp/eieio-comp.el: Remove.
15321 * emacs-lisp/edebug.el (edebug-eval-defun)
15322 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15323 (edebug-toggle): Avoid `eval'.
15325 * emacs-lisp/disass.el (disassemble-internal): Handle new
15327 (disassemble-1): Handle new byte codes.
15329 * emacs-lisp/cl.el (pushnew): Silence warning.
15331 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15332 (cl-byte-compile-throw): Remove.
15333 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15335 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15338 * emacs-lisp/cconv.el: New file.
15340 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15341 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15342 (byte-compile-initial-macro-environment):
15343 Handle declare-function here.
15344 (byte-compile--lexical-environment): New var.
15345 (byte-stack-ref, byte-stack-set, byte-discardN)
15346 (byte-discardN-preserve-tos): New lap codes.
15347 (byte-interactive-p): Don't use any more.
15348 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15350 (byte-compile-lapcode): Use them and handle new lap codes.
15351 (byte-compile-obsolete): Remove.
15352 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15353 (byte-compile-arglist-warn): Check late def of inlinable funs.
15354 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15355 since they should have been expanded by now.
15356 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15357 (byte-compile-from-buffer): Remove unused second arg.
15358 (byte-compile-preprocess): New function.
15359 (byte-compile-toplevel-file-form): New function to distinguish
15360 file-form calls from outside from file-form calls from hunk-handlers.
15361 (byte-compile-file-form): Simplify.
15362 (byte-compile-file-form-defsubst): Remove.
15363 (byte-compile-file-form-defmumble): Simplify now that
15364 byte-compile-lambda always returns a byte-code-function.
15365 (byte-compile): Preprocess.
15366 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15367 Remove, not used any more.
15368 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15369 (byte-compile-make-args-desc): New funs.
15370 (byte-compile-lambda): Handle lexical functions. Always return
15371 a byte-code-function.
15372 (byte-compile-reserved-constants): New var, to make up room for
15373 closed-over variables.
15374 (byte-compile-constants-vector): Obey it.
15375 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15376 (byte-compile-macroexpand-declare-function): New function.
15377 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15378 byte-code-functions.
15379 (byte-compile-form): Check obsolescence here.
15380 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15381 (byte-compile-variable-ref): Remove.
15382 (byte-compile-dynamic-variable-op): New fun.
15383 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15384 (byte-compile-variable-set): New funs.
15385 (byte-compile-discard): Add 2 args.
15386 (byte-compile-stack-ref, byte-compile-stack-set)
15387 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15388 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15389 macroexpand-all instead.
15390 (byte-compile-quote-form): Remove.
15391 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15392 (byte-compile-bind, byte-compile-unbind): New funs.
15393 (byte-compile-let): Handle let* and lexical binding.
15394 (byte-compile-let*): Remove.
15395 (byte-compile-catch, byte-compile-unwind-protect)
15396 (byte-compile-track-mouse, byte-compile-condition-case):
15397 Handle a new :fun-body form, used for lexical scoping.
15398 (byte-compile-save-window-excursion)
15399 (byte-compile-with-output-to-temp-buffer): Remove.
15400 (byte-compile-defun): Simplify.
15401 (byte-compile-stack-adjustment): New fun.
15402 (byte-compile-out): Use it.
15403 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15405 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15408 * emacs-lisp/byte-opt.el: Use lexical binding.
15409 (byte-inline-lapcode): Remove (to bytecomp).
15410 (byte-compile-inline-expand): Pay attention to inlining to/from
15411 lexically bound code.
15412 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15414 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15415 any more and don't call compiler-macros.
15416 (byte-compile-splice-in-already-compiled-code): Remove.
15417 (byte-code): Don't inline any more.
15418 (disassemble-offset): Receive `bytes' as argument rather than via
15420 (byte-compile-tag-number): Declare before first use.
15421 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15422 `return' even if make-spliceable.
15423 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15424 obsolete interactive-p.
15425 (byte-optimize-lapcode): Optimize new lap-codes.
15426 Don't trip up on new form of `byte-constant' lap code.
15428 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15430 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15432 * custom.el (custom-initialize-default, custom-declare-variable):
15435 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15437 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15438 (COMPILE_FIRST): Add macroexp and cconv.
15439 * makefile.w32-in: Mirror changes in Makefile.in.
15441 * vc/cvs-status.el:
15445 * vc/smerge-mode.el:
15446 * textmodes/bibtex-style.el:
15447 * textmodes/css.el:
15455 * emacs-lisp/smie.el:
15458 * abbrev.el: Use lexical binding.
15460 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15462 * info.el (info-display-manual): New function.
15464 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15466 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15468 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15470 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15471 an entry for that server in rcirc-authinfo. (Bug#8385)
15473 2011-03-31 Glenn Morris <rgm@gnu.org>
15475 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15477 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15479 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15481 * progmodes/python.el (python-default-interpreter)
15482 (python-python-command-args, python-jython-command-args)
15483 (python-which-shell, python-which-args, python-which-bufname)
15484 (python-file-queue, python-comint-output-filter-function)
15485 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15486 variables and functions.
15488 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15490 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15491 (completion-in-region-mode): New minor mode.
15492 (completion-in-region): Use it.
15493 (completion-in-region--data, completion-in-region-mode-map): New vars.
15494 (completion-in-region--postch): New function.
15495 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15497 (completion--capf-wrapper): New function.
15498 (completion-at-point): Use it to track well-behavedness of
15500 (completion-help-at-point): New command.
15502 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15504 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15505 syntax class to search for whitespace on a single line
15506 (Message-ID: <4D938140.4030905@redhat.com>).
15508 2011-03-30 Leo Liu <sdl.web@gmail.com>
15510 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15512 (edit-abbrevs-map): Bind them here.
15513 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15515 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15517 * allout.el (allout-hide-by-annotation, allout-flag-region):
15518 Reduce possibility of overlay leakage by making them volatile.
15520 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15521 hash is not shared between buffers. Mode initialization is
15522 responsible for giving it a useful starting value.
15523 (allout-item-span): Reduce possibility of overlay leakage by
15524 making them volatile.
15525 (allout-widgets-count-buttons-in-region): Add diagnostic function
15526 for tracking down button overlay leaks.
15528 2011-03-29 Leo Liu <sdl.web@gmail.com>
15530 * ido.el (ido-read-internal): Use the default history var
15531 minibuffer-history if no HISTORY is specified.
15533 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15535 * net/imap.el (imap-shell-open, imap-process-connection-type):
15536 Use imap-process-connection-type for 'shell' streams as well as
15537 Kerberos, SSL, other subprocesses.
15539 2011-03-28 Leo Liu <sdl.web@gmail.com>
15541 * abbrev.el (abbrev-table-empty-p): New function.
15542 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15543 nonempty ones. (Bug#5937)
15545 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15547 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15549 2011-03-27 Leo Liu <sdl.web@gmail.com>
15551 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15552 for foreground and background colors.
15553 (ansi-color-make-color-map): Adapt.
15555 2011-03-25 Leo Liu <sdl.web@gmail.com>
15557 * midnight.el (midnight-time-float): Remove. Note it calculates
15558 the microsecond component incorrectly and seconds-to-time does the
15560 Remove redundant (require 'timer).
15562 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15563 (ido-completions): Remove unused arguments. (Bug#8329)
15565 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15567 * minibuffer.el (completion--flush-all-sorted-completions):
15568 Remove itself from hook.
15569 (completion-at-point): Let the functions perform the completion
15570 immediately and return nil or t.
15571 * comint.el (comint-dynamic-complete-functions): Now identical to
15572 completion-at-point-functions.
15573 (comint-dynamic-list-input-ring): Remove unused var `index'.
15574 (comint--match-partial-filename, comint--unquote&expand-filename):
15575 New funs, split from comint-match-partial-filename.
15576 (comint-dynamic-complete): Use completion-at-point.
15577 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15579 2011-03-24 Drew Adams <drew.adams@oracle.com>
15581 * thingatpt.el: Support `defun'.
15583 2011-03-23 Leo Liu <sdl.web@gmail.com>
15585 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15587 * help-mode.el (help-mode-finish): Tweak regexp.
15589 2011-03-23 Glenn Morris <rgm@gnu.org>
15591 * eshell/esh-opt.el (eshell-eval-using-options):
15592 Do not bind unused local variable `eshell-option-stub'.
15594 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15596 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15598 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15599 keymap variable in `with-no-warnings' to avoid a warning when the
15600 keymap has been already `defconst'ed.
15602 2011-03-22 Leo Liu <sdl.web@gmail.com>
15604 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15605 encode all chars in abbrevs; otherwise use emacs-mule or
15606 utf-8-emacs. (Bug#8308)
15608 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15610 * simple.el (backward-delete-char-untabify):
15611 Avoid warning about using `delete-backward-char'.
15613 * image.el (image-type-file-name-regexps): Make it variable.
15614 `imagemagick-register-types' modifies it, and the user may want
15615 to add new extensions for known image types.
15616 (imagemagick-register-types): Throw error if not using ImageMagick.
15618 2011-03-22 Leo Liu <sdl.web@gmail.com>
15620 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15621 located before rcirc-prompt-end-marker.
15622 (rcirc-complete): Error if point is not after rcirc prompt.
15623 Handle the case when table is nil.
15624 (rcirc-user-authenticated): Define to fix compiler warning.
15626 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15628 * custom.el (custom--inhibit-theme-enable): Make it affect only
15629 custom-theme-set-variables and custom-theme-set-faces.
15630 (provide-theme): Ignore custom--inhibit-theme-enable.
15631 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15632 (custom-enabling-themes): Delete variable.
15633 (enable-theme): Accept only loaded themes as arguments.
15634 Ignore the special custom-enabled-themes variable.
15635 (custom-enabled-themes): Forbid themes from setting this.
15636 Eliminate use of custom-enabling-themes.
15637 (custom-push-theme): Quote "changed" custom var entry.
15639 2011-03-21 Leo Liu <sdl.web@gmail.com>
15641 * ido.el (ido-read-internal): Add ido-selected to history instead
15644 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15646 * subr.el (deferred-action-list, deferred-action-function):
15649 2011-03-21 Leo Liu <sdl.web@gmail.com>
15651 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15652 change on 2011-02-13 (bug#8309).
15654 * minibuffer.el (read-file-name-function): Change default value.
15655 (read-file-name--defaults): Rename from read-file-name-defaults.
15656 (read-file-name-default): Rename from read-file-name.
15657 (read-file-name): Call read-file-name-function.
15659 2011-03-21 Glenn Morris <rgm@gnu.org>
15661 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15664 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15666 * cus-theme.el: Add missing provide statement.
15667 (customize-create-theme): Extract theme value correctly.
15668 (custom-theme-visit-theme): Autoload.
15669 (customize-create-theme): Prompt before inserting default faces.
15671 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15673 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15674 units and musical notes.
15676 2011-03-20 Leo Liu <sdl.web@gmail.com>
15678 * ido.el (ido-read-internal): Use completing-read-default.
15679 (ido-completing-read): Fix compatibility with completing-read.
15681 2011-03-20 Christian Ohler <ohler@gnu.org>
15683 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15684 (ert-delete-all-tests): Use `called-interactively-p' rather than
15686 (ert--make-xrefs-region): Respect END.
15688 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15690 * dired-aux.el (dired-create-directory): Signal an error if the
15691 directory already exists (Bug#8246).
15693 * facemenu.el (list-colors-display): Call list-faces-display
15694 inside with-help-window.
15695 (list-colors-print): Use display property to align the final
15696 column, instead of checking window-width.
15698 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15700 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15701 windows-nt systems.
15702 (emerge-protect-metachars): Quote correctly for ms-dos and
15703 windows-nt systems.
15705 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15707 * info.el (info-initialize): Replace all uses of `:' with
15708 path-separator for compatibility with non-Unix systems.
15709 Cache quoting of path-separator. (Bug#8258)
15711 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15713 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15714 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15715 (mouse-avoidance-mode): Fix typos in docstrings.
15717 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15719 * startup.el (package-subdirectory-regexp): Move from package.el.
15720 Omit \\` and \\', and let callers add them.
15722 * emacs-lisp/package.el (package-strip-version)
15723 (package-load-all-descriptors): Add \\` and \\' to
15724 package-subdirectory-regexp before using it.
15725 (package-untar-buffer): New arg DIR; ensure that file untars only
15726 into this expected directory. Remove superfluous delete-region.
15727 (package-unpack): Caller changed.
15728 (package-tar-file-info): Use package-subdirectory-regexp.
15730 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15732 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15733 diff-mode-shared-map (bug#8284).
15734 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15736 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15738 * calendar/time-date.el (format-seconds): Use assoc instead of
15739 assoc-string, since assoc-string doesn't exist in XEmacs.
15741 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15743 * custom.el (custom-known-themes): Reflow docstring.
15744 (custom-theme-load-path): Fix typo in docstring.
15745 (load-theme): Fix typo in error message.
15746 (custom-available-themes, custom-variable-theme-value):
15747 Use `let', not `let*'.
15749 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15751 * calc/README: Mention inclusion of musical notes.
15753 * calc/calc-units.el (calc-lu-quant): Rename from
15754 `calc-logunits-quantity'.
15755 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15756 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15757 (calc-db): Rename from `calc-dblevel'.
15758 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15759 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15760 (calc-np): Rename from `calc-nplevel'.
15761 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15762 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15763 (calc-lu-plus): Rename from `calc-logunits-add'.
15764 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15765 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15766 (calc-lu-minus): Rename from `calc-logunits-sub'.
15767 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15768 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15769 (calc-lu-times): Rename from `calc-logunits-mul'.
15770 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15771 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15772 (calc-lu-divide): Rename from `calc-logunits-div'.
15773 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15774 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15776 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15777 functions being autoloaded.
15779 * calc/calc.el (calc-lu-power-reference): Rename from
15780 `calc-logunits-power-reference'.
15781 (calc-lu-field-reference): Rename from
15782 `calc-logunits-field-reference'.
15784 * calc/calc-help.el (calc-l-prefix-help):
15785 Mention musical note functions.
15787 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15789 * minibuffer.el (completion-all-sorted-completions):
15790 Use :completion-cycle-penalty text property if present.
15792 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15794 * allout.el (allout-yank-processing): Adjust for new rebulleting
15795 regime so bullet being yanked is used without prompting the user
15798 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15800 * startup.el (command-line): Warn the user that _emacs is deprecated.
15802 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15804 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15805 (delphi-verbose, delphi-comment-face, delphi-string-face)
15806 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15807 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15808 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15809 (delphi-new-comment-line, delphi-font-lock-defaults)
15810 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15811 Fix typos in docstrings.
15813 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15815 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15816 Invert the roles of character and string values for INSTEAD, so a
15817 string is used for the more common case of a defaulting prompt.
15819 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * progmodes/ruby-mode.el (ruby-backward-sexp):
15822 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15823 * play/gamegrid.el (gamegrid-make-face):
15824 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15825 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15826 * notifications.el (notifications-notify):
15827 * net/xesam.el (xesam-search-engines):
15828 * net/quickurl.el (quickurl-list-insert):
15829 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15831 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15833 * startup.el (command-line): Update package subdirectory regexp.
15835 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15837 * allout.el (allout-abbreviate-flattened-numbering)
15838 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15840 * subr.el (read-char-choice): Only show the cursor after the prompt,
15841 not after the answer.
15843 2011-03-15 Kevin Ryde <user42@zip.com.au>
15845 * help-fns.el (variable-at-point): Skip leading quotes, if any
15848 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15850 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15853 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15855 * shell.el (shell): When called interactively, offer to change the
15856 shell file name on remote hosts.
15858 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15860 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15861 integration for LDAP parameters. The host, base, user or binddn,
15862 and secret tokens can be specified in a netrc file, for instance.
15863 This is optional because an `auth-source' parameter must be
15864 specified in the search attributes.
15866 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15868 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15870 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15872 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15873 into declaration. Remove redundant and harmful binding.
15875 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15877 * files.el (file-ownership-preserved-p): Pass `integer' as an
15878 explicit 2nd argument to `file-attributes'. If the file's owner
15879 is the Administrators group on Windows, and the current user is
15880 Administrator, consider that a match.
15882 * server.el (server-ensure-safe-dir): Consider server directory
15883 safe on MS-Windows if its owner is the Administrators group while
15884 the current Emacs user is Administrator. Use `=' to compare
15885 numerical UIDs, since they could be integers or floats.
15887 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15889 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15891 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15893 Sync with Tramp 2.2.1.
15895 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15897 * net/trampver.el: Update release number.
15899 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15901 * progmodes/compile.el (compilation--previous-directory): Fix up
15902 various nil/dead-marker mismatches (bug#8014).
15903 (compilation-directory-properties, compilation-error-properties):
15904 Don't call it at a position past the one we're about to change.
15906 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15907 Disable obsolescence warnings in the file that declares it.
15909 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15911 * allout-widgets.el (allout-widgets-tally):
15912 Initialize allout-widgets-tally as a hash table rather than nil to
15913 prevent mode-line redisplay warnings. Also, clarify the module
15914 description and fix a comment typo.
15916 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15918 * help-fns.el (describe-variable): Don't complete keywords.
15919 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15921 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15923 * emacs-lisp/package.el (package-version-join): Impose a standard
15924 string representation for pre/alpha/beta version lists.
15925 (package-unpack-single): Standardize the directory name by passing
15926 it through package-version-join.
15927 (package-strip-rcs-id): Accept any version string that does not
15928 signal an error in version-to-list.
15930 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15932 * simple.el (delete-trailing-whitespace): Return nil for the
15933 benefit of `write-file-functions'.
15935 2011-03-10 Glenn Morris <rgm@gnu.org>
15937 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15939 * vc/vc-git.el (vc-git-program): New option.
15940 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15941 (vc-git--call): Use it.
15943 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15945 * cus-edit.el (Custom-newline): If no button at point, look
15946 for a subgroup button at start-of-line. (Bug#2298)
15948 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15950 2011-03-10 Julien Danjou <julien@danjou.info>
15952 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15953 `cursor-type' is nil.
15955 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15957 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15959 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15961 * allout.el: Change so yank of distinctive-bullet items
15962 preserves the existing header prefix, rebulleting it if necessary,
15963 rather than replacing it. This is necessary for proper operation
15964 of cooperative addons like allout-widgets.
15965 (allout-make-topic-prefix, allout-rebullet-heading):
15966 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15967 value as alternate bullet to be used, instead of prompting the user
15968 for a bullet character.
15970 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15972 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15973 Do not use `tramp-file-name-port', because this returns also
15974 `tramp-default-port'.
15976 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15978 * net/rcirc.el (rcirc-handler-001): Remove useless
15979 with-rcirc-process-buffer.
15980 (rcirc-check-auth-status): Swap arguments to string-match.
15982 2011-03-09 Glenn Morris <rgm@gnu.org>
15984 * shell.el (shell-mode):
15985 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15987 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15988 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15990 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15992 * emacs-lisp/package.el (package-refresh-contents)
15993 (package-menu-execute): Use condition-case-no-debug.
15995 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15997 * simple.el (shell-command-to-string): Use `process-file'.
15999 * emacs-lisp/package.el (package-tar-file-info): Handle also
16002 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16003 Use `equal' for upload base check.
16005 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16007 * textmodes/texinfo.el (texinfo-environments):
16008 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16010 2011-03-08 Glenn Morris <rgm@gnu.org>
16012 * cus-start.el (cursor-in-non-selected-windows):
16013 Fix :set quoting oddness. (Bug#8192)
16015 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16016 in some setf expressions. (Bug#2159)
16018 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16020 * custom.el (custom-available-themes): Return themes in
16021 alphabetical order.
16023 See ChangeLog.15 for earlier changes.
16025 ;; Local Variables:
16029 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16031 This file is part of GNU Emacs.
16033 GNU Emacs is free software: you can redistribute it and/or modify
16034 it under the terms of the GNU General Public License as published by
16035 the Free Software Foundation, either version 3 of the License, or
16036 (at your option) any later version.
16038 GNU Emacs is distributed in the hope that it will be useful,
16039 but WITHOUT ANY WARRANTY; without even the implied warranty of
16040 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16041 GNU General Public License for more details.
16043 You should have received a copy of the GNU General Public License
16044 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.