1 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 Reduce use of (require 'cl).
4 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
13 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
14 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
15 * calculator.el, autorevert.el, apropos.el: Don't require CL.
16 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
17 (byte-compile-unfold-bcf, byte-compile-check-variable):
18 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
19 (byte-compile-nilconstp):
20 * emacs-lisp/autoload.el (make-autoload): Use pcase.
21 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
23 * emacs-lisp/gv.el (cond): Make it a valid place.
24 (if): Simplify slightly.
26 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
27 (pcase--self-quoting-p): New function.
30 2012-07-10 Glenn Morris <rgm@gnu.org>
32 * emacs-lisp/authors.el (authors-fixed-entries):
33 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
35 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
37 Rename configure.in to configure.ac (Bug#11603).
38 * emacs-lisp/authors.el (authors-canonical-file-name):
39 * progmodes/autoconf.el (autoconf-mode):
40 Prefer configure.ac to configure.in.
42 2012-07-08 Chong Yidong <cyd@gnu.org>
44 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
45 Implement the mouse-1-click-follows-link handling properly.
47 * info.el (Info-link-keymap): Use follow-link mechanism for
48 header-line links (Bug#374).
50 * simple.el (deactivate-mark): Do not set the primary selection
51 if another program has acquired it (Bug#11772).
53 2012-07-07 Kevin Ryde <user42@zip.com.au>
55 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
56 (woman-decode-region): Replace escaped-escapes without destroying
57 bold or underline (Bug#11552).
58 (woman2-process-escapes): Handle nofill regions (Bug#11591).
60 2012-07-07 Chong Yidong <cyd@gnu.org>
62 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
63 (interprogram-cut-function, interprogram-paste-function):
64 Mention that we typically mean the clipboard.
66 2012-07-06 Glenn Morris <rgm@gnu.org>
68 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
70 * files.el (toggle-read-only): Restrict message to interactive use.
72 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
74 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
76 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
78 2012-07-06 Glenn Morris <rgm@gnu.org>
80 * Makefile.in (compile-one-process): Rename from "recompile".
82 * Makefile.in (bzr-update): "compile" is the same as "recompile
83 autoloads", but parallelizable, so use that instead.
85 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
87 * window.el (quit-window): Always restore window height when
88 it's saved in quit-restore parameter.
90 2012-07-06 Glenn Morris <rgm@gnu.org>
92 * simple.el (kill-whole-line): Doc tweak.
94 2012-07-06 Eli Zaretskii <eliz@gnu.org>
96 * files.el (file-relative-name): Compare file names
97 case-insensitively if on MS-Windows or MS-DOS, or if
98 read-file-name-completion-ignore-case is non-nil. Don't use
99 case-fold-search for this purpose. (Bug#11827)
101 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
103 * calendar/cal-dst.el (calendar-current-time-zone):
104 Return calendar-current-time-zone-cache if non-nil.
106 2012-07-06 Glenn Morris <rgm@gnu.org>
108 * Makefile.in (cvs-update): Remove old alias.
110 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
112 Sync with Tramp 2.2.6-pre.
114 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
115 compatible declaration.
117 * net/tramp-cmds.el (tramp-append-tramp-buffers):
118 Protect `list-load-path-shadows' call.
120 * net/tramp-compat.el (top): Require packages, which aren't
121 autoloaded anymore for XEmacs. Protect call of
122 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
123 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
124 it hurts at least for SXEmacs.
125 (tramp-compat-temporary-file-directory): In XEmacs, there is no
126 standard-value for `temporary-file-directory'.
128 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
129 Redirect stderr to /dev/null.
130 (tramp-sh-handle-write-region): uid and gid can be floats.
131 Reported by Russell Sim <russell.sim@gmail.com>.
132 (tramp-sh-handle-vc-registered): Hide errors.
133 (tramp-vc-file-name-handler): Use dummy results for `process-file'
134 and `start-file-process'.
135 (tramp-maybe-open-connection): Check also whether `non-essential'
138 2012-07-04 Chong Yidong <cyd@gnu.org>
140 * xml.el (xml--parse-buffer): Use xml-syntax-table.
141 (xml-parse-tag): Likewise, and avoid changing entity tables.
142 (xml-syntax-table): Define from scratch, making sure not to give
143 x2000 and other Unicode spaces whitespace syntax, since those are
145 (xml-parse-fragment): Delete unused function.
146 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
147 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
148 (xml-entity-ref, xml-pe-reference-re)
149 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
150 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
151 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
152 (xml-entity-value-re): Use syntax references in regexps where
153 possible; no need to define inside a let-binding.
154 (xml-parse-dtd): Use xml-pe-reference-re.
155 (xml-entity-or-char-ref-re): New defconst.
156 (xml-parse-string, xml-substitute-special): Use it.
158 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
160 * files.el (locate-dominating-file): Allow `name' to be a predicate.
161 (find-file--read-only): New function.
162 (find-file-read-only, find-file-read-only-other-window)
163 (find-file-read-only-other-frame): Use it.
164 (insert-file-contents-literally): Don't `fset'.
165 (get-free-disk-space): Use locate-dominating-file.
167 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
168 function is already compiled.
170 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
172 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
174 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
175 files on the same host.
177 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
179 * help-fns.el (describe-function-1): Only call
180 help-fns--autoloaded-p when we have a file name. (Bug#11848)
182 2012-07-03 Chong Yidong <cyd@gnu.org>
184 * xml.el: Protect parser against XML bombs.
185 (xml-entity-expansion-limit): New variable.
186 (xml-parse-string, xml-substitute-special): Use it.
187 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
189 2012-07-03 Glenn Morris <rgm@gnu.org>
191 * progmodes/bug-reference.el (bug-reference-bug-regexp):
192 Allow linking to specific messages in debbugs reports (eg 123#5).
194 2012-07-02 Chong Yidong <cyd@gnu.org>
196 * xml.el: Fix entity and character reference expansion, allowing
197 them to expand into markup as per XML spec.
198 (xml-default-ns): New variable.
199 (xml-entity-alist): Use XML spec definitions for lt and amp.
200 (xml-parse-region): Make first two arguments optional.
201 Discard text properties.
202 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
204 (xml-parse-tag): Call xml-parse-tag-1. For backward
205 compatibility, this function should not modify buffer contents.
206 (xml-parse-tag-1): Fix opening-tag regexp.
207 (xml-parse-string): Rewrite, handling entity and character
209 (xml--entity-replacement-text): Signal an error if a parameter
212 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
214 * comint.el (comint-output-filter): Filter out repeated prompts.
216 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
217 and file-name-absolute-p.
218 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
221 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
224 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
225 Rename from byte-compile--refiy-function. All uses changed.
227 2012-07-01 Chong Yidong <cyd@gnu.org>
229 * xml.el (xml--parse-buffer): New function. Move most of
230 xml-parse-region here.
231 (xml-parse-region): Copy region into a temporary buffer, since
232 parameter entity substitution requires changing buffer contents.
233 Use xml--parse-buffer.
234 (xml-parse-file): Use xml--parse-buffer.
235 (xml-parse-dtd): Make parameter entity substitution work right.
236 Use proper regexps for ELEMENT declarations (Bug#7172).
238 2012-06-30 Glenn Morris <rgm@gnu.org>
240 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
242 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
243 Remove outdated and unnecessary dbus declarations.
245 2012-06-30 Eli Zaretskii <eliz@gnu.org>
247 * emacs-lisp/timer.el (timer-until): Subtract results of
248 float-time, instead of taking float-time of the result of
249 time-subtract, since float-time signals an error for negative time
252 2012-06-30 Chong Yidong <cyd@gnu.org>
254 * xml.el (xml-*-re): Convert defvars into defconsts, and
255 eval-and-compile them so eval-and-compile works on derivatives.
256 (xml--entity-replacement-text): Use eval-and-comple.
258 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
260 * vc/vc-git.el (vc-git-registered): Use cache property
262 (vc-git-mode-line-string): Call `vc-working-revision' instead of
263 `vc-git-working-revision' in order to benefit from the cache.
264 (vc-git-root): Use cache property `git-root'.
266 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
268 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
269 removed (likely outside Emacs).
271 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
273 * emacs-lisp/cl-lib.el: Require macroexp.
275 2012-06-30 Chong Yidong <cyd@gnu.org>
277 * xml.el: Implement XML parameter entities.
278 (xml-parameter-entity-alist): New variable.
279 (xml-parse-region, xml-parse-fragment): Preserve previous values
280 of xml-entity-alist and xml-parameter-entity-alist, so that
281 repeated calls on different documents do not change them.
282 (xml-parse-tag): Fix doctype regexp.
283 (xml--entity-replacement-text): New function.
284 (xml-parse-dtd): Use it. Don't handle system entities; doing that
285 properly requires url retrieval which is unimplemented.
286 (xml-escape-string): Doc fix.
288 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
290 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
292 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
294 * fringe.el (fringe-mode): Doc fix.
296 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
298 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
300 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
301 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
303 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
305 * calendar/cal-dst.el (calendar-current-time-zone):
306 Return calendar-current-time-zone-cache if non-nil.
308 2012-06-29 Masatake YAMATO <yamato@redhat.com>
310 * progmodes/which-func.el (which-func-format):
311 Add mouse-face. (Bug#11698)
313 2012-06-29 Leo Liu <sdl.web@gmail.com>
315 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
317 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
319 * minibuffer.el (minibuffer-confirm-exit-commands):
320 Add completion-at-point (bug#11725).
322 2012-06-29 Glenn Morris <rgm@gnu.org>
324 * progmodes/f90.el (f90-font-lock-keywords-2):
325 Add some preprocessor elements. (Bug#10499)
327 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
329 * progmodes/cperl-mode.el (cperl-update-syntaxification):
330 Use syntax-propertize (bug#11739).
332 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
334 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
336 2012-06-28 Julien Danjou <julien@danjou.info>
338 * term.el (term-handle-colors-array): Use a set of new faces to
339 color the terminal. Also uses :inverse-video property.
340 (term-default-fg-color): Set to nil by default, deprecate in favor
342 (term-default-bg-color): Set to nil by default, deprecate in favor
344 (term-current-face): Use `term-face' by default.
345 (term-bold-attribute): Variable deleted.
347 2012-06-28 Glenn Morris <rgm@gnu.org>
349 * simple.el (completion-list-mode-finish):
350 Don't use toggle-read-only. (Since completion-list-mode has
351 a special mode-class, it wasn't doing anything extra anyway.)
353 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
355 Make inlining of other-mode interpreted functions work (bug#11799).
356 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
357 (byte-compile): Use it to fix compilation of lexical-binding closures.
358 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
361 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
363 * help-mode.el (help-make-xrefs): Don't just withstand
364 cyclic-variable-indirection but any error in documentation-property.
366 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
368 * bindings.el (bindings--define-key): New function.
369 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
370 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
371 * bindings.el: Use it to purecopy define-key bindings.
373 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
375 * emacs-lisp/cl.el (flet): Mark obsolete.
376 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
377 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
378 * progmodes/js.el (js-c-fill-paragraph):
379 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
380 (ebrowse-switch-member-buffer-to-derived-class):
381 * play/5x5.el (5x5-solver): Use cl-flet.
383 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
384 (cl--symbol-function): New macro.
385 (cl--letf, cl--letf*): Use it.
387 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
388 Strip "toggle-" if any.
390 2012-06-27 Glenn Morris <rgm@gnu.org>
392 * info.el (Info-default-directory-list): Move here from paths.el.
393 * paths.el: Remove file, which is now empty.
394 * loadup.el: No longer load "paths".
396 * custom.el (custom-initialize-delay): Doc fix.
398 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
399 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
400 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
401 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
402 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
403 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
404 * eshell/eshell.el (eshell-defgroup): Remove alias.
406 2012-06-27 Chong Yidong <cyd@gnu.org>
408 * help.el (help-enable-auto-load): New variable.
410 * help-fns.el (help-fns--autoloaded-p): New function.
411 (describe-function-1): Refer to a function as "autoloaded" if it
412 was autoloaded at any time in the past. Perform autoloading if
413 help-enable-auto-load is non-nil.
415 2012-06-26 Eli Zaretskii <eliz@gnu.org>
417 * makefile.w32-in (compile, compile-always): Depend on
418 update-subdirs, not on subdirs.el. Otherwise, several different
419 sub-targets of 'bootstrap' running in parallel could
420 simultaneously write to subdirs.el, producing a garbled file.
422 2012-06-26 Sam Steingold <sds@gnu.org>
424 * files.el (file-name-base): New convenience function.
425 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
426 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
427 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
428 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
429 * textmodes/ispell.el, textmodes/reftex-ref.el:
430 * textmodes/tex-mode.el: Use it.
431 Did not touch cedet and org because they are maintained elsewhere.
433 2012-06-26 Martin Rudalics <rudalics@gmx.at>
435 * calendar/calendar.el (calendar-exit): Don't try to delete or
436 iconify last frame. See:
437 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
439 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
441 * server.el (server-process-filter): Remember dir in the
442 process's `server-client-directory' properties.
444 2012-06-24 Chong Yidong <cyd@gnu.org>
446 * xml.el (xml-parse-tag): Correctly handle comment embedded in
449 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
451 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
453 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
455 * help-fns.el (describe-variable): Don't croak when doc is not found.
456 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
457 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
458 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
459 * emacs-lisp/smie.el (smie-next-sexp): CSE.
460 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
462 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
464 2012-06-23 Chong Yidong <cyd@gnu.org>
466 * info.el (Info-mouse-follow-link): Accept symbol values of
467 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
468 (Info-fontify-node): Use Info-link-keymap for all navigation
469 buttons, with link-args property to perform the desired action.
470 (Info-link-keymap): Doc fix.
471 (Info-next-link-keymap, Info-prev-link-keymap)
472 (Info-up-link-keymap): Delete now-unused keymaps.
474 2012-06-23 Chong Yidong <cyd@gnu.org>
476 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
478 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
481 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
483 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
485 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
488 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
489 the requote function doesn't work properly (bug#11714).
491 2012-06-23 Glenn Morris <rgm@gnu.org>
493 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
495 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
497 Further GV/CL cleanups.
498 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
500 (gv--defun-declaration): New function.
501 (defun-declarations-alist): Use it.
502 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
503 (gv-place): Autoload.
504 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
505 original definition of dotimes and dolist.
506 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
507 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
508 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
509 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
510 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
511 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
512 to the function's definition.
513 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
517 * env.el: Don't use CL.
519 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
521 Support higher-resolution time stamps (Bug#9000).
523 * calendar/time-date.el (with-decoded-time-value): New arg
524 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
525 (encode-time-value): New optional arg PICO. New type 3.
526 (time-to-seconds) [!float-time]: Support the new picoseconds
527 component if it's used.
528 (seconds-to-time, time-subtract, time-add):
529 Support ps-resolution time stamps as well.
531 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
532 (timerp): Timer vectors now have length 9, not 8.
533 (timer--time): Support new-style (4-part) time stamps.
534 (timer-next-integral-multiple-of-time): Time stamps now have
535 picosecond resolution, so take a bit more care about rounding.
536 (timer-relative-time, timer-inc-time): New optional arg psecs.
537 (timer-set-time-with-usecs): Set psecs to 0.
538 (timer--activate): Check psecs component, too.
540 * proced.el (proced-time-lessp): Support ps-resolution stamps.
542 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
544 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
545 Move the non-essential binding to the post/pre-command-hook where it is
546 more obviously correct.
548 * subr.el (read-passwd): Don't use a history at all.
549 * savehist.el (savehist-save): Remove password saved accidentally
550 because of the above bug.
552 2012-06-22 Bastien Guerry <bzg@gnu.org>
554 * files.el (toggle-read-only): Display a message telling whether
555 the buffer is read-only or not (bug#11726).
557 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
559 * emacs-lisp/gv.el: New file.
560 * subr.el (push, pop): Extend to generalized variables.
561 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
562 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
563 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
564 gv-define-simple-setter, and gv-define-expander.
565 Remove setf-methods defined in gv. Rename cl-setf -> setf.
566 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
567 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
568 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
569 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
571 (cl-defstruct): Don't define setf-method any more.
572 * emacs-lisp/cl.el (flet): Don't autoload.
573 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
574 (define-setf-expander, defsetf, define-modify-macro)
575 (cl-struct-setf-expander): Move from cl-lib.el.
576 * emacs-lisp/syntax.el:
577 * emacs-lisp/ewoc.el:
578 * emacs-lisp/smie.el:
579 * emacs-lisp/cconv.el:
580 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
581 (timer--time): Use gv-define-simple-setter.
582 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
583 to avoid coding-system problems in subr.el. Adjust all users.
584 (macroexp--maxsize, macroexp-small-p): New functions.
585 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
586 * scroll-bar.el (scroll-bar-mode):
587 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
588 (normal-erase-is-backspace-mode): Don't use the `eq' place.
589 * winner.el (winner-configuration, winner-make-point-alist)
590 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
591 * files.el (locate-file-completion-table): Avoid list*.
593 2012-06-22 Chong Yidong <cyd@gnu.org>
595 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
596 (dired-create-files): Doc fix (Bug#11329).
597 (dired-do-copy): Doc fix (Bug#11334).
598 (dired-mark-read-string): Doc fix (Bug#11553).
600 * dired.el (dired-recursive-copies, dired-recursive-deletes):
602 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
603 (dired-dwim-target): Doc fix.
605 * wdired.el (wdired-mode): Doc fix.
607 2012-06-22 Glenn Morris <rgm@gnu.org>
609 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
610 (pcmpl-rpm-cache-stamp-file): New constant.
611 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
612 (pcmpl-rpm-packages): Optionally cache list of packages.
614 * pcmpl-rpm.el (pcmpl-rpm): New group.
615 (pcmpl-rpm-query-options): New option.
616 (pcmpl-rpm-packages): No need to inline it.
617 Use pcmpl-rpm-query-options.
619 * calendar/calendar.el (calendar-in-read-only-buffer):
620 Avoid some needless mode changes.
622 2012-06-21 Chong Yidong <cyd@gnu.org>
624 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
625 (desktop-path): Remove . from the default value (Bug#10977).
626 (desktop-read): Use user-emacs-directory if desktop-path is nil.
628 2012-06-20 Chong Yidong <cyd@gnu.org>
630 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
632 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
634 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
637 2012-06-20 Chong Yidong <cyd@gnu.org>
639 * term.el (term-window-width): Handle the case of a missing right
641 (term-check-size): Use window-text-height (Bug#5445).
642 (term-mode): Use define-derived-mode. Minor cleanups.
643 Set font-lock-defaults (Bug#7692).
644 (term-move-columns, term-insert-char, term-emulate-terminal)
645 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
647 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
649 * net/ange-ftp.el (ange-ftp-get-passwd):
650 Bind `enable-recursive-minibuffers'.
651 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
653 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
655 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
657 2012-06-19 Glenn Morris <rgm@gnu.org>
659 * progmodes/python.el (python-mode): Derive from prog-mode.
661 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
663 * emulation/edt.el (edt-default-menu-bar-update-buffers)
664 (edt-user-menu-bar-update-buffers): New functions.
665 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
667 2012-06-19 Chong Yidong <cyd@gnu.org>
669 * subr.el (with-selected-window): Preserve the selected window's
670 terminal's top-frame (Bug#4702).
672 * window.el (save-selected-window): Likewise.
674 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
676 * progmodes/python.el (python-rx-constituents): Move backquote.
677 (python-skeleton-define, python-define-auxiliary-skeleton):
680 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
682 * minibuffer.el (read-file-name-default): Revert the patch from
685 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
687 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
688 (pcase--u1, pcase--q1): Don't use apply-partially.
690 2012-06-18 Glenn Morris <rgm@gnu.org>
692 * progmodes/python.el (python-proc, python-buffer)
693 (python-send-receive, python-send-string): Fix obsolete versions.
695 2012-06-18 Martin Rudalics <rudalics@gmx.at>
697 * window.el (special-display-p): Completely remove stringp
698 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
700 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
702 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
704 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
706 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
707 * net/tramp-sh.el (tramp-maybe-open-connection):
708 Throw if `non-essential' is non-nil.
710 2012-06-17 Martin Rudalics <rudalics@gmx.at>
712 * window.el (special-display-p): Signal an error if BUFFER-NAME
713 is not a string (Bug#11713).
715 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
717 * progmodes/python.el (python-info-beginning-of-backslash):
718 Rename from python-info-beginning-of-backlash, as a spelling fix.
720 2012-06-17 Chong Yidong <cyd@gnu.org>
722 * term.el (term-emulate-terminal): If term-check-size is called,
723 move point to the process mark without resetting point (Bug#4635).
725 2012-06-17 Glenn Morris <rgm@gnu.org>
727 * international/mule-cmds.el (mule-menu-keymap)
728 (set-language-environment, set-locale-environment): Doc tweaks.
730 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
732 * cus-face.el (custom-face-attributes): Add wave-style underline
734 * faces.el (set-face-attribute): Update docstring to describe
735 wave-style underline attribute.
737 2012-06-16 Chong Yidong <cyd@gnu.org>
739 * term/xterm.el (terminal-init-xterm): Discard input before
740 querying background mode (Bug#10959).
742 2012-06-16 Stefan Merten <smerten@oekonux.de>
744 * textmodes/rst.el: Added and corrected some comments.
745 (rst-re-alist-def): Improve symbol syntax.
746 (rst-mode-syntax-table): Correct syntax entries.
747 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
748 (rst-official-version, rst-official-cvs-rev): Update version
751 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
753 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
754 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
756 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
758 * progmodes/python.el: New python.el merge.
759 (python-guess-indent): Obsolete var.
760 (python-indent-guess-indent-offset): New defcustom.
761 (python-indent): Obsolete var.
762 (python-indent-offset): New defcustom.
763 (python-python-command, python-jython-command): Delete var.
764 (python-shell-interpreter): New defcustom.
765 (python-pdbtrack-do-tracking-p): Delete var.
766 (python-pdbtrack-activate): New defcustom.
767 (python-use-skeletons): Obsolete var.
768 (python-skeleton-autoinsert): New defcustom.
769 (inferior-python-filter-regexp, python-continuation-offset)
770 (python-honour-comment-indentation, python-indent-string-contents)
771 (python-jython-packages, python-mode-hook)
772 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
773 (python-shell-prompt-alist)
774 (python-source-modes): Delete defcustoms.
775 (python-check-buffer-name, python-eldoc-setup-code)
776 (python-eldoc-string-code, python-ffap-setup-code)
777 (python-ffap-string-code, python-fill-comment-function)
778 (python-fill-decorator-function, python-fill-paren-function)
779 (python-fill-string-function, python-imenu-include-defun-type)
780 (python-imenu-make-tree, python-imenu-subtree-root-label)
781 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
782 (python-shell-compilation-regexp-alist)
783 (python-shell-completion-module-string-code)
784 (python-shell-completion-pdb-string-code)
785 (python-shell-completion-setup-code)
786 (python-shell-completion-string-code)
787 (python-shell-enable-font-lock, python-shell-exec-path)
788 (python-shell-extra-pythonpaths)
789 (python-shell-internal-buffer-name, python-shell-interpreter-args)
790 (python-shell-process-environment)
791 (python-shell-prompt-block-regexp)
792 (python-shell-prompt-output-regexp)
793 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
794 (python-shell-send-setup-max-wait, python-shell-setup-codes)
795 (python-shell-virtualenv-path): New defcustoms.
796 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
797 (inferior-python-mode-syntax-table, python--prompt-regexp)
798 (python-buffer, python-command python-python-command)
799 (python-default-template, python-imports, python-indent-index)
800 (python-indent-list, python-indent-list-length)
801 (python-mode-running, python-pdbtrack-is-tracking-p)
802 (python-preoutput-continuation, python-preoutput-leftover)
803 (python-preoutput-result, python-preoutput-skip-next-prompt)
804 (python-prev-dir/file, python-recursing)
805 (python-saved-check-command, python-version-checked)
806 (python-which-func-length-limit)
807 (view-return-to-alist): Delete vars.
808 (python-check-custom-command, python-dotty-syntax-table)
809 (python-imenu-index-alist, python-indent-current-level)
810 (python-indent-dedenters, python-indent-levels)
811 (python-nav-beginning-of-defun-regexp)
812 (python-nav-list-defun-positions-cache)
813 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
814 (python-shell-internal-buffer)
815 (python-skeleton-available): New vars.
816 (def-python-skeleton): Delete macro.
817 (python-skeleton-define): New macro.
818 (python-define-auxiliary-skeleton, python-rx): New macros.
819 (python-insert-class): Delete command.
820 (python-skeleton-class): New command.
821 (python-insert-def): Delete command.
822 (python-skeleton-def): New command.
823 (python-insert-for): Delete command.
824 (python-skeleton-for): New command.
825 (python-insert-if): Delete command.
826 (python-skeleton-if): New command.
827 (python-insert-try/except, python-insert-try/finally): Delete commands.
828 (python-skeleton-try): New command.
829 (python-insert-while): Delete command.
830 (python-skeleton-while): New command.
831 (python-backspace): Delete command.
832 (python-indent-dedent-line-backspace): New command.
833 (python-electric-colon): Delete command.
834 (python-indent-electric-colon): New command.
835 (python-guess-indent): Delete command.
836 (python-indent-guess-indent-offset): New command.
837 (python-shift-left): Delete command.
838 (python-indent-shift-left): New command.
839 (python-shift-right): Delete command.
840 (python-indent-shift-right): New command.
841 (python-find-function): Delete command.
842 (python-nav-jump-to-defun): New command.
843 (python-next-statement): Delete command.
844 (python-nav-forward-sentence): New command.
845 (python-previous-statement): Delete command.
846 (python-nav-backward-sentence): New command.
847 (python-fill-paragraph): Delete command.
848 (python-fill-paragraph-function): New command.
849 (python-send-buffer): Delete command.
850 (python-shell-send-buffer): New command.
851 (python-send-defun): Delete command.
852 (python-shell-send-defun): New command.
853 (python-send-region, python-send-region-and-go): Delete commands.
854 (python-shell-send-region)
855 (python-shell-switch-to-shell): New commands.
856 (python-send-string): Delete command.
857 (python-shell-send-string): New command.
858 (python-switch-to-python): Delete command.
859 (python-shell-switch-to-shell): New command.
860 (python-describe-symbol): Delete command.
861 (python-eldoc-at-point): New command.
862 (python--set-prompt-regexp, python-args-to-list)
863 (python-after-info-look, python-check-version)
864 (python-check-comint-prompt, python-find-imports)
865 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
866 (python-unload-function, python-expand-template)
867 (python-maybe-jython, python-preoutput-filter)
868 (python-pdbtrack-get-source-buffer)
869 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
870 (python-pdbtrack-toggle-stack-tracking)
871 (python-pdbtrack-track-stack-file, python-initial-text)
872 (python-first-word, python-comment-line-p, python-send-command)
873 (python-setup-brm, python-sentinel, python-set-proc)
874 (python-skip-out, python-input-filter, python-outdent-p)
875 (python-outline-level, python-backslash-continuation-line-p)
876 (python-end-of-block, python-end-of-statement, python-mark-block)
877 (python-beginning-of-block, python-beginning-of-statement)
878 (python-blank-line-p, python-beginning-of-string)
879 (python-open-block-statement-p): Delete functions.
880 (python-indent-line, python-indent-line-1): Delete functions.
881 (python-indent-line): New function.
882 (python-indentation-levels): Delete function.
883 (python-indent-calculate-levels): New function.
884 (python-proc): Delete function.
885 (python-shell-get-process): New function.
886 (python-send-receive): Delete function.
887 (python-shell-send-string-no-output): New function.
888 (python-module-path): Delete function.
889 (python-ffap-module-path): New function.
890 (python-completion-at-point)
891 (python-symbol-completions): Delete functions.
892 (python-completion-complete-at-point): New function.
893 (python-load-file): Delete function.
894 (python-shell-send-file): New function.
895 (python-calculate-indentation): Delete function.
896 (python-indent-calculate-indentation): New function.
897 (python-skip-comments/blanks): Delete function.
898 (python-util-forward-comment): New function.
899 (python-continuation-line-p): Delete function.
900 (python-info-continuation-line-p): New function.
901 (python-which-func, python-current-defun): Delete function.
902 (python-info-current-defun): New function.
903 (python-beginning-of-defun): Delete function.
904 (python-nav-beginning-of-defun): New function.
905 (python-close-block-statement-p)
906 (python-block-end-p): Delete function.
907 (python-info-closing-block): New function.
908 (python-comint-output-filter-function)
909 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
910 (python-fill-comment, python-fill-decorator, python-fill-paren)
911 (python-fill-string, python-imenu-make-element-tree)
912 (python-imenu-make-tree, python-imenu-tree-assoc)
913 (python-indent-context, python-indent-dedent-line)
914 (python-indent-line-function)
915 (python-indent-post-self-insert-function)
916 (python-indent-toggle-levels)
917 (python-info-assignment-continuation-line-p)
918 (python-info-beginning-of-backlash)
919 (python-info-block-continuation-line-p)
920 (python-info-closing-block-message)
921 (python-info-line-ends-backslash-p)
922 (python-info-looking-at-beginning-of-defun)
923 (python-info-ppss-context, python-info-ppss-context-type)
924 (python-nav-list-defun-positions, python-nav-read-defun)
925 (python-nav-sentence-end, python-nav-sentence-start)
926 (python-pdbtrack-comint-output-filter-function)
927 (python-pdbtrack-set-tracked-buffer)
928 (python-shell-calculate-exec-path)
929 (python-shell-calculate-process-environment)
930 (python-shell-completion--do-completion-at-point)
931 (python-shell-completion--get-completions)
932 (python-shell-completion-complete-at-point)
933 (python-shell-completion-complete-or-indent)
934 (python-shell-get-or-create-process)
935 (python-shell-get-process-name)
936 (python-shell-internal-get-or-create-process)
937 (python-shell-internal-get-process-name)
938 (python-shell-internal-send-string, python-shell-make-comint)
939 (python-shell-parse-command, python-shell-send-setup-code)
940 (python-skeleton-add-menu-items)
941 (python-util-clone-local-variables, python-util-position)
942 (run-python-internal, python-indentation-levels)
943 (python-nav-beginning-of-defun)
944 (python-completion-complete-at-point): New functions.
945 (run-python): Change arguments. New API requirements.
947 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
949 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
952 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
953 (macroexp--expand-all): Use it.
955 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
956 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
957 Use `cl-function' instead.
959 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
961 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
962 Suggested by Stefan Monnier while discussing bug#11657.
964 2012-06-14 Sam Steingold <sds@gnu.org>
966 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
968 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
970 * play/doctor.el (doctor-doc): Remove parameter and use
971 doctor-sent instead of sent.
972 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
974 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
976 * files.el: Require cl-lib.
977 (file-name-non-special): Replace case -> cl-case.
979 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
981 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
982 mapping from #' to function*.
984 2012-06-13 Chong Yidong <cyd@gnu.org>
986 * mouse.el (mouse-drag-track): Do not set the mark if the user
987 releases the mouse without selecting anything (Bug#11588).
989 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
991 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
994 * loadup.el: Count byte-code functions as well.
996 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
997 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
999 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1000 (bug#11649). Add cl-defun and cl-defmacro.
1002 2012-06-13 Drew Adams <drew.adams@oracle.com>
1004 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1007 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1009 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1010 Otherwise, it blocks in batch mode.
1012 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1014 * help-mode.el (bookmark-make-record-default): Declare.
1016 2012-06-13 Chong Yidong <cyd@gnu.org>
1018 * emacs-lisp/package.el (list-packages): Compute a list of
1019 packages that are newly-available since the last list-packages
1021 (package-menu--new-package-list): New var.
1022 (package-menu--generate, package-menu--print-info)
1023 (package-menu--status-predicate, package-menu-mark-install):
1024 Handle new status label "new".
1026 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1029 conversion to backquotes.
1031 2012-06-12 Chong Yidong <cyd@gnu.org>
1033 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1034 Rename from gud-inhibit-global-bindings.
1036 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1038 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1039 hook from nxml-glyph-set-hook.
1041 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1044 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1046 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1047 Convert to defcustom.
1049 2012-06-12 Drew Adams <drew.adams@oracle.com>
1051 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1053 (help-mode): Use them.
1055 2012-06-11 Glenn Morris <rgm@gnu.org>
1057 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1058 Use preprocessor face for directives.
1059 (fortran-directive-re): Doc fix.
1061 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1064 conversion to backquotes (bug#11652).
1066 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1067 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1068 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1069 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1070 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1071 (cl-ninth, cl-tenth): Mark them as inlinable.
1072 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1073 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1074 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1075 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1076 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1077 (cl-list*, cl-adjoin): Don't put an autoload manually.
1078 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1079 (cl--compiler-macro-list*): Add autoload cookie.
1080 (cl--compiler-macro-cXXr): New function.
1082 * help-fns.el (help-fns--compiler-macro): New function extracted from
1083 describe-function-1; follow aliases and use `compiler-macro' property.
1084 (describe-function-1): Use it.
1086 2012-06-11 Chong Yidong <cyd@gnu.org>
1088 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1089 is uninstalled, if imagemagick is installed.
1091 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * emacs-lisp/cl-lib.el: Use lexical-binding.
1094 (cl-map-extents, cl-maclisp-member): Remove.
1095 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1096 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1097 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1098 * emacs-lisp/cl-extra.el: Use lexical-binding.
1099 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1100 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1101 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1102 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1103 * emacs-lisp/cl-seq.el: Use lexical-binding.
1104 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1105 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1106 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1107 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1108 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1111 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1113 Sync with Tramp 2.2.6-pre.
1115 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1116 `print-length' and `print-level' to nil, in order to avoid
1117 truncation. Reported by Christopher Schmidt
1118 <christopher@ristopher.com>.
1120 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1122 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1124 (tramp-compat-copy-directory): Add optional argument
1125 COPY-CONTENTS. It is not handled yet.
1127 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1128 (tramp-ftp-file-name-p): Simplify.
1130 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1131 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1134 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1135 (tramp-methods): Do not use `tramp-password-end-of-line'.
1136 (tramp-completion-function-alist-putty): Handle UNIX case.
1137 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1138 (tramp-do-file-attributes-with-stat)
1139 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1140 gid as real numbers. They could run out of integer range on cygwin.
1141 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1142 (tramp-sh-handle-expand-file-name): Handle hops.
1143 (tramp-open-connection-setup-interactive-shell):
1144 Use `tramp-cleanup'. Move check for busyboxes ...
1145 (tramp-find-shell): ... here. Simplify implementation.
1146 Set "remote-shell" property also for alternative shells.
1147 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1148 If failing, a regular file would be written otherwise.
1149 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1150 (tramp-find-inline-encoding): Cache the coding commands in the
1151 process cache. Apply test command on the remote side, if defined.
1152 (tramp-find-inline-compress): Cache the compress commands in the
1154 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1155 when requested. Handle hops.
1156 (tramp-current-connection): New defvar.
1157 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1158 Throw `suppress', if there was a failed connection shortly before.
1159 Handle user interrupt. (Bug#10187)
1160 (tramp-get-inline-compress, tramp-get-inline-coding):
1161 Read connection properties from the process cache.
1163 * net/tramp-smb.el (tramp-smb-server-version)
1164 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1166 (tramp-smb-prompt): Extend for powershell prompt.
1167 (tramp-smb-file-name-handler-alist): Add handlers for
1168 `process-file', `shell-command' and `start-file-process'.
1169 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1170 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1171 (tramp-smb-file-name-p): Simplify.
1172 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1173 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1174 (tramp-smb-shell-quote-argument): New defuns.
1175 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1176 Implement using "tar". By this, time-stamps are preserved.
1177 (tramp-smb-handle-copy-file): Handle also the case of directories.
1178 (tramp-smb-do-file-attributes-with-stat)
1179 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1180 Use `tramp-get-connection-buffer').
1181 (tramp-smb-handle-rename-file): Use "rename", when source and
1182 target are on the same share.
1183 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1184 Use `tramp-smb-server-version'.
1185 (tramp-smb-wait-for-output): Remove prompt.
1187 * net/tramp.el (top): Require 'cl.
1188 (tramp-methods, tramp-rsh-end-of-line):
1189 Remove `tramp-password-end-of-line' from docstring.
1190 (tramp-save-ad-hoc-proxies): New defcustom.
1191 (tramp-completion-function-alist): Adapt docstring.
1192 (tramp-default-password-end-of-line): Remove defcustom.
1193 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1194 (tramp-user-regexp, tramp-file-name-regexp-unified)
1195 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1196 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1197 (tramp-remote-file-name-spec-regexp): New defconst.
1198 (tramp-file-name-structure): Extend structure for hops.
1199 (tramp-get-method-parameter): Move up.
1200 (tramp-file-name-p, tramp-dissect-file-name)
1201 (with-parsed-tramp-file-name): Handle hops.
1202 (tramp-file-name-hop): New defun.
1203 (tramp-make-tramp-file-name): New optional arg HOP.
1204 (tramp-message-show-progress-reporter-message): New defvar.
1205 (tramp-with-progress-reporter): Use it. We cannot use
1206 `tramp-message-show-message' here, because this suppresses also
1208 (tramp-error-with-buffer): Suppress buffer view, if
1209 `tramp-message-show-message' is nil.
1210 Use `tramp-get-connection-buffer'.
1211 (tramp-cleanup): New defun.
1212 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1213 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1215 (tramp-completion-handle-file-name-all-completions): Handle hops.
1216 Fix an error when called from ido.
1217 (tramp-completion-dissect-file-name): Use better local variable
1218 name. Add hop to the vector.
1219 (tramp-handle-insert-file-contents): Use progress-reporter for the
1221 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1223 (tramp-check-for-regexp): Simplify search.
1224 (tramp-enter-password): Remove it. Move implementation ...
1225 (tramp-action-password): ... here.
1226 (tramp-mode-string-to-int, tramp-local-host-p)
1227 (tramp-make-tramp-temp-file, tramp-read-passwd)
1228 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1229 Set tramp-autoload cookie.
1231 * net/trampver.el: Update release number.
1233 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1234 Michael Albinus <michael.albinus@gmx.de>
1236 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1237 (tramp-parse-group, tramp-parse-file)
1238 (tramp-parse-shostkeys-sknownhosts): New defuns.
1239 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1240 (tramp-parse-shosts-group, tramp-parse-sconfig)
1241 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1242 (tramp-parse-sknownhosts, tramp-parse-hosts)
1243 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1245 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1246 (tramp-parse-putty-group): Don't narrow.
1247 (tramp-parse-putty): Make a loop.
1248 (tramp-file-name-handler): Catch the `suppress' signal.
1250 2012-06-11 Chong Yidong <cyd@gnu.org>
1252 * image.el (imagemagick-register-types): Put the ImageMagick entry
1253 at the end of image-type-file-name-regexps.
1255 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1257 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1258 (pcase, pcase-let*, pcase-dolist): Use them.
1260 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * emacs-lisp/pcase.el (pcase--let*): New function.
1263 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1264 (pcase--expand): Use macroexp-let².
1266 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1269 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1270 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1271 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1272 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1273 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1275 2012-06-10 Glenn Morris <rgm@gnu.org>
1277 * mail/rmail.el (rmail-yank-current-message): Leave point at
1278 correct position. (Bug#11660)
1280 2012-06-10 Chong Yidong <cyd@gnu.org>
1282 * allout-widgets.el: Fix code header.
1284 2012-06-10 Chong Yidong <cyd@gnu.org>
1286 * cus-edit.el (customize-changed-options-previous-release):
1289 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1291 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1293 2012-06-09 Chong Yidong <cyd@gnu.org>
1295 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1297 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1299 * window.el (special-display-popup-frame): Don't use
1300 window--display-buffer (Bug#11651).
1302 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1304 Fix parallel builds: make sure loaddefs.el is not being written
1305 while Lisp files are compiled.
1306 (compile): Don't depend on 'mh-autoloads'.
1307 (compile-CMD, compile-SH): Depend on 'autoloads'.
1308 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1310 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1312 2012-06-09 Chong Yidong <cyd@gnu.org>
1314 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1315 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1316 Doc fixes (Bug#11225).
1318 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1321 a function if there's a clear indication that it has a compiler-macro.
1322 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1323 (macro-declarations-alist): Add arglist to declaration functions.
1324 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1325 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1326 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1327 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1328 Also add autoload to find the compiler macro.
1329 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1330 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1331 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1332 (cl--compiler-macro-get): New functions, replacing calls to
1333 cl-define-compiler-macro.
1334 (cl-typep) [compiler-macro]: Use macroexp-let².
1336 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1338 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1339 string properly, fixes Bug#11473.
1341 2012-06-08 Chong Yidong <cyd@gnu.org>
1343 * faces.el (set-face-attribute): Doc fix.
1344 (modify-face): Don't use :bold and :italic.
1345 (error, warning, success): Tweak definitions.
1347 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1348 (custom-modified, custom-set, custom-changed, custom-themed)
1349 (custom-saved, custom-button, custom-button-mouse)
1350 (custom-button-pressed, custom-state, custom-comment-tag)
1351 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1352 (custom-group-subtitle): Use new-style face specs.
1353 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1354 (custom-set-face, custom-changed-face, custom-saved-face)
1355 (custom-button-face, custom-button-pressed-face)
1356 (custom-documentation-face, custom-state-face)
1357 (custom-comment-face, custom-comment-tag-face)
1358 (custom-variable-tag-face, custom-variable-button-face)
1359 (custom-face-tag-face, custom-group-tag-face-1)
1360 (custom-group-tag-face): Remove obsolete face alias.
1362 * epa.el (epa-validity-high, epa-validity-medium)
1363 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1364 (epa-field-name, epa-field-body):
1365 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1366 (font-lock-keyword-face, font-lock-builtin-face)
1367 (font-lock-function-name-face, font-lock-variable-name-face)
1368 (font-lock-type-face, font-lock-constant-face):
1369 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1370 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1371 * speedbar.el (speedbar-button-face, speedbar-file-face)
1372 (speedbar-directory-face, speedbar-tag-face)
1373 (speedbar-selected-face, speedbar-highlight-face)
1374 (speedbar-separator-face):
1375 * whitespace.el (whitespace-newline, whitespace-space)
1376 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1377 (whitespace-line, whitespace-space-before-tab)
1378 (whitespace-space-after-tab, whitespace-indentation)
1380 * emulation/cua-base.el (cua-global-mark):
1381 * eshell/em-prompt.el (eshell-prompt):
1382 * net/newst-plainview.el (newsticker-new-item-face)
1383 (newsticker-old-item-face, newsticker-immortal-item-face)
1384 (newsticker-obsolete-item-face, newsticker-date-face)
1385 (newsticker-statistics-face, newsticker-default-face):
1386 * net/newst-reader.el (newsticker-feed-face)
1387 (newsticker-extra-face, newsticker-enclosure-face):
1388 * net/newst-treeview.el (newsticker-treeview-face)
1389 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1390 (newsticker-treeview-immortal-face)
1391 (newsticker-treeview-obsolete-face)
1392 (newsticker-treeview-selection-face):
1393 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1394 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1395 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1396 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1397 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1398 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1399 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1401 * progmodes/vera-mode.el (vera-font-lock-number)
1402 (vera-font-lock-function, vera-font-lock-interface):
1403 * textmodes/table.el (table-cell): Use new-style face specs, and
1404 don't use the old :bold and :italic attributes.
1406 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1407 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1408 (ebrowse-member-class, ebrowse-progress): Likewise.
1409 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1410 (ebrowse-file-name-face, ebrowse-default-face)
1411 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1412 (ebrowse-progress-face): Remove obsolete faces.
1414 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1415 Inherit from error and warning faces respectively.
1417 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1419 (flyspell-incorrect-face, flyspell-duplicate-face):
1420 Remove obsolete aliases.
1422 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1427 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * startup.el (argv, argi): Make lexically scoped.
1430 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1431 * emacs-lisp/cl-macs.el: Use lexical-binding.
1432 Rename cl-bind-* to cl--bind-*.
1433 * files.el: Don't require `cl' since it doesn't use it.
1434 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1436 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1438 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1439 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1440 instead of calling external sort utility.
1441 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1443 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1445 * descr-text.el (describe-char): Mention how to insert the
1446 character, if the current input method doesn't support it.
1447 See the discussion in this thread for the details:
1448 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1450 2012-06-08 Sam Steingold <sds@gnu.org>
1452 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1453 XF86Back to previous-buffer.
1454 (minibuffer-local-map): Bind them to next-history-element and
1455 previous-history-element respectively.
1456 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1457 help-go-back respectively.
1458 * info.el (Info-mode-map): Bind them to Info-history-forward and
1459 Info-history-back respectively.
1460 These are the keys next to Up on the ThinkPad keyboard.
1462 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1464 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1465 * emacs-lisp/cl-macs.el: Provide itself.
1466 (cl--labels-convert-cache): New var.
1467 (cl--labels-convert): New function.
1468 (cl-flet, cl-labels): New implementation with new semantics, relying on
1470 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1471 (cl-closure-vars, cl--function-convert-cache)
1472 (cl--function-convert): Move from cl-macs.el.
1473 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1474 rename by removing the "cl-" prefix.
1475 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1477 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1480 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1481 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1482 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1483 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1484 (cl-hash-table-count): Add old compatibility aliases.
1486 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1487 Use macroexpand-all-environment instead.
1488 (cl--old-macroexpand): New var.
1489 (cl--sm-macroexpand): New function.
1490 (cl-symbol-macrolet): Use it during macro expansion.
1491 (cl--function-convert-cache): New var.
1492 (cl--function-convert): New function, extracted from
1494 (cl-lexical-let): Use it.
1496 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1497 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1498 (cl-member): Remove old alias.
1500 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1501 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1502 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1503 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1504 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1505 (cl-macroexpand-cmacs): Remove var.
1506 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1507 Use macroexpand-all instead.
1509 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1512 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1513 (macroexp-copyable-p): New functions and macros.
1514 * emacs-lisp/edebug.el (edebug-unwrap):
1515 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1516 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1517 (pcase--let*): Remove.
1518 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1519 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1520 macroexp-const-p instead.
1521 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1523 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1524 instead of "cl-" for internal definitions. Use macroexp-const-p.
1525 (cl-old-bc-file-form): Remove var.
1526 (cl-const-exprs-p): Remove fun.
1527 (cl-labels, cl-macrolet): Use backquote.
1528 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1529 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1530 (cl-define-setf-expander): Rename from cl-define-setf-method.
1531 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1533 * international/mule-cmds.el: Don't require CL.
1534 (view-hello-file): Don't use `letf'.
1536 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1538 * tmm.el (tmm-prompt): Use string-prefix-p.
1539 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1540 (tmm-add-prompt): Use minibuffer-completion-help.
1541 (tmm-delete-map): Remove.
1543 * subr.el (kbd): Make it its own function.
1545 2012-06-07 Stefan Merten <smerten@oekonux.de>
1547 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1548 Silence compiler warnings. Fix versions.
1549 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1550 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1551 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1552 (rst-package-emacs-version-alist): Correct Emacs version to
1553 represent major merge with upstream.
1554 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1556 2012-06-06 Glenn Morris <rgm@gnu.org>
1558 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1559 Only print environment variables if set.
1561 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1564 (macroexp--cons): Rename from maybe-cons.
1565 (macroexp--accumulate): Rename from macroexp-accumulate.
1566 (macroexp--all-forms): Rename from macroexpand-all-forms.
1567 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1568 (macroexp--expand-all): Rename from macroexpand-all-1.
1570 2012-06-06 Sam Steingold <sds@gnu.org>
1572 * calendar/calendar.el (calendar-in-read-only-buffer):
1573 Call `special-mode' to enable the standard read-only keybindings.
1575 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1578 with "loading" messages (bug#11635).
1580 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1582 * files.el (enable-remote-dir-locals): New option.
1583 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1585 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1586 Ensure, that the temp directory is local.
1588 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1589 `temporary-file-directory'.
1591 * progmodes/python.el (python-send-region): Ensure, that the
1592 temporary file is created also in the remote case.
1594 2012-06-06 Glenn Morris <rgm@gnu.org>
1596 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1597 (vc-rcs-update-changelog): Use it.
1599 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
1601 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1602 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1603 (vc-sccs-diff): Replace use of the external vcdiff script.
1605 2012-06-05 Glenn Morris <rgm@gnu.org>
1607 * ledit.el: Move to obsolete/.
1609 2012-06-05 Sam Steingold <sds@gnu.org>
1611 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1614 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * emacs-lisp/cust-print.el: Move to obsolete.
1618 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1619 compiler-macro expansion.
1621 Add native compiler-macro support.
1622 * emacs-lisp/macroexp.el (macroexpand-all-1):
1623 Support compiler-macros directly. Properly follow aliases and apply
1624 the compiler macros more thoroughly.
1625 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1626 macroexpand now properly follows aliases.
1627 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1628 (cl-compiler-macroexpand): Use new prop.
1629 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1631 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1633 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1635 * window.el (get-lru-window, get-mru-window, get-largest-window):
1636 New argument NOT-SELECTED to avoid picking the selected window.
1637 (window--display-buffer-1, window--display-buffer-2): Replace by
1638 new function window--display-buffer
1639 (display-buffer-same-window, display-buffer-reuse-window)
1640 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1641 Use window--display-buffer.
1642 (display-buffer-use-some-window): Remove temporary dedication
1643 hack by calling get-lru-window and get-largest-window with
1644 NOT-SELECTED argument non-nil. Call window--display-buffer.
1646 2012-06-05 Glenn Morris <rgm@gnu.org>
1648 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1649 Replace external vcdiff script.
1651 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1655 2012-06-04 Chong Yidong <cyd@gnu.org>
1657 * image.el (imagemagick-types-inhibit): Revert last change.
1659 (imagemagick-enabled-types): Remove CIN and EPS*.
1661 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1663 * emacs-lisp/cl-lib.el: Rename from cl.el.
1664 * emacs-lisp/cl.el: New compatibility file.
1665 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1666 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1667 to obey the "cl-" prefix.
1668 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1670 2012-06-03 Glenn Morris <rgm@gnu.org>
1672 * emacs-lisp/authors.el (authors-aliases): Addition.
1674 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1677 2012-06-03 Stefan Merten <smerten@oekonux.de>
1679 * textmodes/rst.el: Add comments.
1680 (rst-transition, rst-adornment): New faces.
1681 (rst-adornment-faces-alist): Make default safe to reevaluate.
1683 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1684 Improve customization tags.
1685 (rst-define-level-faces): Clarify meaning.
1687 2012-06-03 Chong Yidong <cyd@gnu.org>
1689 * progmodes/compile.el (compilation-mode-line-fail)
1690 (compilation-mode-line-run, compilation-mode-line-exit):
1692 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1694 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1696 * progmodes/which-func.el (which-func-update-ediff-windows):
1697 New function. Use it in ediff-select-hook (Bug#11478).
1699 2012-06-03 Chong Yidong <cyd@gnu.org>
1701 * bindings.el: Remove explicit help text from format-mode-line.
1702 It is now supplied by mode-line-default-help-echo.
1703 (mode-line-front-space, mode-line-end-spaces)
1704 (mode-line-misc-info): New variables.
1705 (mode-line-modes, mode-line-position): Move the default value to
1706 the variable definition.
1707 (mode-line-default-help-echo): New defcustom.
1708 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1709 (mode-line-modified-help-echo): New functions.
1710 (mode-line-mule-info, mode-line-modified): Use them.
1711 (mode-line-eol-desc, propertized-buffer-identification):
1712 Consistency fixes for help text.
1713 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1714 set-buffer-file-coding-system (Bug#289).
1715 (mode-line-mule-info-help-echo): Update help text.
1717 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * simple.el (execute-extended-command): Set real-this-command
1722 2012-06-02 Chong Yidong <cyd@gnu.org>
1724 Remove incorrect uses of "modeline" in comments, docstrings, and
1725 function/variable names (Bug#10329).
1727 * cus-edit.el (mode-line):
1728 * dframe.el (dframe-mouse-hscroll):
1729 * emacs-lisp/re-builder.el:
1730 * emacs-lisp/easy-mmode.el (define-minor-mode):
1731 * frame.el (set-frame-name):
1732 * help.el (lookup-minor-mode-from-indicator):
1733 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1734 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1735 (c-toggle-hungry-state):
1736 * progmodes/antlr-mode.el (antlr-language-alist):
1737 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1738 * progmodes/vhdl-mode.el (vhdl-mode):
1739 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1740 * term/ns-win.el (ns-face-at-pos):
1741 * term/sup-mouse.el (sup-mouse-report):
1742 * textmodes/flyspell.el (flyspell-mode-line-string):
1743 * textmodes/ispell.el (ispell-highlight-face):
1744 * textmodes/reftex-global.el:
1745 * vc/vc-arch.el (vc-arch-mode-line-string):
1746 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1747 * vc/vc-git.el (vc-git-mode-line-string):
1748 * vc/vc-hooks.el (vc-display-status)
1749 (vc-default-mode-line-string):
1750 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1752 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1754 * dired.el (dired-sort-set-mode-line): Rename from
1755 dired-sort-set-modeline. All callers changed.
1757 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1758 eshell-status-in-modeline.
1760 * foldout.el (foldout-mode-line-string): Rename from
1761 foldout-modeline-string. All callers changed.
1762 (foldout-update-mode-line): Rename from foldout-update-modeline.
1764 * subr.el (redraw-modeline): Make into obsolete alias.
1766 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1767 timeclock-modeline-display. Make old name an alias.
1768 (timeclock-update-mode-line): Likewise. All callers changed.
1769 (timeclock-mode-line-display): No need to check before using
1771 (timeclock-relative, timeclock-day-over-hook)
1772 (timeclock-use-elapsed, timeclock-mode-string)
1773 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1775 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1776 crisp-mode-modeline-string.
1778 * play/solitaire.el (solitaire-build-mode-line): Rename from
1779 solitaire-build-modeline. All callers changed.
1781 * play/zone.el (zone-hiding-mode-line): Rename from
1782 zone-hiding-modeline. All callers changed.
1783 (zone): Remove unusued `modeline-hidden-level' property.
1785 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1786 xscheme-modeline-initialize. All callers changed.
1788 * strokes.el (strokes-lighter): Rename from
1789 strokes-modeline-string.
1791 * textmodes/sgml-mode.el (html-face-tag-alist)
1792 (html-tag-face-alist): Use mode-line face instead of obsolete
1795 2012-06-02 Stefan Merten <smerten@oekonux.de>
1797 * textmodes/rst.el: Always require `cl'.
1798 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1800 2012-06-02 Chong Yidong <cyd@gnu.org>
1802 * image.el (imagemagick-enabled-types): Rename from
1803 imagemagick-types-enable. Add many more types.
1804 (imagemagick-types-inhibit): Change default to nil.
1805 (imagemagick-filter-types): Caller changed.
1807 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1809 * emacs-lisp/cl-macs.el: Use backquotes.
1810 (cl-transform-function-property): Use eval-and-compile rather than
1812 (defstruct): Use declare-function instead of with-no-warnings.
1814 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1815 (byte-compile-output-docform): Re-add the print-circle bindings.
1816 (byte-compile-fix-header): Use #$ just because it's shorter.
1817 (byte-compile-output-file-form): Remove defun/defmacro.
1819 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1821 * simple.el (choose-completion): Remove now obsolete binding for
1824 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1826 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1827 in order to avoid "Stack overflow in regexp matcher".
1829 2012-05-31 Glenn Morris <rgm@gnu.org>
1831 * image.el: For clarity, call imagemagick-register-types at
1832 top-level, rather than relying on a custom :initialize.
1833 (imagemagick-types-enable): New option. (Bug#11557)
1834 (imagemagick-filter-types): New function. (Bug#7406)
1835 (imagemagick-register-types): Use imagemagick-filter-types.
1836 If disabling support, remove elements altogether rather
1837 than using an impossible regexp.
1838 (imagemagick-types-inhibit): Give it the default init function.
1840 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1843 Handle arbitrary file name lengths (Bug#11585).
1845 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1847 * desktop.el (desktop-read): Clear previous and next buffers for
1848 all windows and bury *Messages* buffer (bug#11556).
1850 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1852 Add `declare' for `defun'. Align `defmacro's with it.
1853 * emacs-lisp/easy-mmode.el (define-minor-mode)
1854 (define-globalized-minor-mode): Don't autoload the var definitions.
1855 * emacs-lisp/byte-run.el: Use lexical-binding.
1856 (defun-declarations-alist, macro-declarations-alist): New vars.
1857 (defmacro, defun): Use them.
1858 (make-obsolete, define-obsolete-function-alias)
1859 (make-obsolete-variable, define-obsolete-variable-alias):
1861 (macro-declaration-function): Mark obsolete.
1862 * emacs-lisp/autoload.el: Use lexical-binding.
1863 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1865 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1867 * textmodes/ispell.el (ispell-with-no-warnings):
1869 (ispell-kill-ispell, ispell-change-dictionary):
1870 Use `called-interactively-p' for Emacs instead of obsolete
1873 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1876 (macro-declaration-function): Move var from C code.
1877 (macro-declaration-function): Define function with defalias.
1878 * emacs-lisp/macroexp.el (macroexpand-all-1):
1879 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1880 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1881 defun/defmacro any more.
1882 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1883 Provide fallback for unknown arglist.
1884 (byte-compile-arglist-warn): Change calling convention.
1885 (byte-compile-output-file-form): Move print-vars binding.
1886 (byte-compile-output-docform): Simplify accordingly.
1887 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1888 (byte-compile-defmacro-declaration): Remove.
1889 (byte-compile-file-form-defmumble): Generalize to defalias.
1890 (byte-compile-output-as-comment): Return byte-positions.
1891 Simplify callers accordingly.
1892 (byte-compile-lambda): Use `assert'.
1893 (byte-compile-defun, byte-compile-defmacro): Remove.
1894 (byte-compile-file-form-defalias):
1895 Use byte-compile-file-form-defmumble.
1896 (byte-compile-defalias-warn): Remove.
1898 2012-05-29 Stefan Merten <smerten@oekonux.de>
1900 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1901 possible. Fix authors. Improve comments. Improve loading of `cl'.
1903 (rst-mode-abbrev-table): Merge definition.
1904 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1905 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1907 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1909 * calendar/icalendar.el
1910 (icalendar-export-region): Export UID properly.
1912 2012-05-29 Leo Liu <sdl.web@gmail.com>
1913 * calendar/icalendar.el (icalendar-import-format):
1914 Add `icalendar-import-format-uid' (Bug#11525).
1915 (icalendar-import-format-uid): New.
1916 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1919 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1921 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1922 different alternative patterns.
1923 (pcase-codegen): Be more careful to preserve identity.
1924 (pcase--u1): Don't forget to mark vars as used.
1926 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1927 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1928 (byte-compile-from-buffer): ...rather than here.
1930 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1931 functions from byte-compile-function-environment.
1933 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1935 * window.el (window-deletable-p): Avoid deleting the root window
1936 of a frame with an active minibuffer.
1938 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1940 * simple.el (choose-completion): Use quit-window (Bug#11567).
1942 2012-05-29 Chong Yidong <cyd@gnu.org>
1944 * whitespace.el (whitespace-cleanup): Fix usage of
1945 whitespace-empty-at-bob-regexp (Bug#11492).
1947 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1949 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1952 2012-05-29 Juri Linkov <juri@jurta.org>
1954 * isearch.el (isearch-mode-map): Bind `M-s _' to
1955 `isearch-toggle-symbol'. Bind `M-s c' to
1956 `isearch-toggle-case-fold'.
1957 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1958 (isearch-forward): Add `M-s _' to the docstring.
1959 (isearch-forward-symbol, isearch-toggle-case-fold)
1960 (isearch-symbol-regexp): New functions. (Bug#11381)
1962 2012-05-29 Juri Linkov <juri@jurta.org>
1964 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1965 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1966 a function, call it to get the regexp.
1967 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1968 property `isearch-message-prefix' instead of the string "word ".
1969 (isearch-search-fun-default): For the case of `isearch-word',
1970 return a lambda that calls re-search-forward/re-search-backward
1971 with a regexp returned by `word-search-regexp' or by the function
1974 2012-05-29 Juri Linkov <juri@jurta.org>
1976 * isearch.el (isearch-search-fun-default): New function.
1977 (isearch-search-fun): Move default part to the new function
1978 `isearch-search-fun-default'.
1979 (isearch-search-fun-function): Set the default value to
1980 `isearch-search-fun-default'. (Bug#11381)
1982 * comint.el (comint-history-isearch-end):
1983 Use `isearch-search-fun-default'.
1984 (comint-history-isearch-search): Use `isearch-search-fun-default'
1985 and remove spacial case for `isearch-word'.
1986 (comint-history-isearch-wrap): Remove spacial case for
1989 * hexl.el (hexl-isearch-search-function):
1990 Use `isearch-search-fun-default'.
1992 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1993 Use `word-search-regexp' for `isearch-word'.
1995 * misearch.el (multi-isearch-search-fun):
1996 Use `isearch-search-fun-default'.
1998 * simple.el (minibuffer-history-isearch-search):
1999 Use `isearch-search-fun-default' and remove spacial case for
2001 (minibuffer-history-isearch-wrap): Remove spacial case for
2004 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2005 Remove spacial case for `isearch-word'.
2006 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2008 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2010 Decrease XEmacs incompatibilities.
2011 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2013 (flyspell-delete-region-overlays): Use alternative definition for
2015 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2016 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2017 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2018 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2019 `define-obsolete-face-alias' under XEmacs, but old method.
2021 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2022 `with-no-warnings' definition or Emacs alias.
2023 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2024 (ispell-word): Do not use `region-p' if XEmacs.
2026 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2028 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2029 Check for `ispell-dictionary-base-alist' instead of full
2030 `ispell-dictionary-alist'.
2031 (ispell-init-process): Show spellchecker when starting new Ispell
2034 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2037 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2039 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2041 * version.el (motif-version-string, gtk-version-string)
2042 (ns-version-string): Declare.
2044 2012-05-27 Juri Linkov <juri@jurta.org>
2046 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2047 after the `eval-defun-1' specialcaseing
2048 like in `edebug-eval-defun' (bug#10181).
2050 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2051 like in `eval-defun-1'.
2053 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2055 * mail/sendmail.el (mail-yank-region):
2056 Recognize rmail-yank-current-message in addition to insert-buffer.
2057 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2058 a *mail* buffer created through rmail-start-mail with sendmail as
2061 2012-05-27 Chong Yidong <cyd@gnu.org>
2063 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2064 Default to 256 (Bug#11267).
2066 * help.el (describe-mode): Doc fix.
2068 2012-05-26 Glenn Morris <rgm@gnu.org>
2070 * w32-fns.el (w32-init-info): Remove.
2071 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2073 * info.el (info-initialize): For self-contained NS builds, put the
2074 included info/ directory at the front. (Bug#2791)
2076 * paths.el (Info-default-directory-list): Make it a defcustom,
2077 mainly so that we can use custom-initialize-delay.
2079 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2081 * subr.el (buffer-has-markers-at): Mark obsolete.
2083 * subr.el (lambda): Use declare.
2085 * emacs-lisp/lisp-mode.el (lambda):
2086 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2088 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2090 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2092 2012-05-26 Glenn Morris <rgm@gnu.org>
2094 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2096 2012-05-25 Glenn Morris <rgm@gnu.org>
2098 * paths.el: Remove no-byte-compile.
2099 * loadup.el: No need to load paths.el uncompiled.
2101 * image.el (imagemagick-types-inhibit): Doc fix.
2103 * version.el: Remove no-byte-compile and associated formatting.
2104 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2105 is ancient code from when there was an "inc-vers.el".
2107 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * progmodes/gdb-mi.el: Minor style changes.
2110 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2111 Turn into minor modes.
2112 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2113 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2114 (gdb-shell): Remove unneeded let-binding.
2115 (gdb-get-many-fields): Eliminate O(n²) behavior.
2117 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2119 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2120 platforms that don't link in fontset.c.
2122 2012-05-25 Juri Linkov <juri@jurta.org>
2124 Use the same diff color scheme as in modern VCSes (bug#10181).
2126 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2127 to avoid confusion with `diff-added' that now uses green colors.
2128 (diff-removed): Use shades of red.
2129 (diff-added): Use shades of green.
2130 (diff-changed): Leave just the yellow color.
2131 (diff-use-changed-face): New variable.
2132 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2133 how to highlight context diff changes.
2134 (diff-refine-change): Use shades of yellow.
2135 (diff-refine-removed): New face that uses shades of red.
2136 (diff-refine-added): New face that uses shades of green.
2137 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2138 `diff-refine-removed' in the call to `smerge-refine-subst'
2139 depending on the value of `diff-use-changed-face'.
2141 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2142 (smerge-other): Use shades of green.
2143 (smerge-base): Use shades of yellow.
2144 (smerge-refined-change): Empty face.
2145 (smerge-refined-removed): New face that uses shades of red.
2146 (smerge-refined-added): New face that uses shades of green.
2147 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2148 args `props-r' and `props-a', and use them. Doc fix.
2149 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2150 on its value use different faces `smerge-refined-change',
2151 `smerge-refined-removed', `smerge-refined-added' in the call to
2152 `smerge-refine-subst'.
2154 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2155 Add face condition `min-colors 88' with shades of red.
2156 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2157 `min-colors 88' with shades of green.
2158 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2159 `min-colors 88' with shades of yellow.
2161 2012-05-24 Glenn Morris <rgm@gnu.org>
2163 * paths.el (prune-directory-list, remote-shell-program): Move to...
2164 * files.el (prune-directory-list, remote-shell-program): ...here.
2165 For the latter, delay initialization, prefer ssh, just search PATH.
2167 * paths.el (term-file-prefix): Move to faces.el (the only user).
2168 * faces.el (term-file-prefix): Move here, make it a defcustom.
2170 * paths.el (news-directory, news-path, news-inews-program):
2171 Move to gnus/nnspool.el.
2173 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2175 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2176 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2177 Make the latter a defcustom, with a delayed initialization.
2179 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2180 These were deleted from Gnus itself late 2010.
2182 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2184 * progmodes/which-func.el (which-func-ff-hook):
2185 Check against user-error, not error.
2187 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2188 cl-specs.el, which no longer exists.
2190 2012-05-22 Glenn Morris <rgm@gnu.org>
2192 * info.el (info-emacs-bug): New command.
2193 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2194 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2196 2012-05-21 Glenn Morris <rgm@gnu.org>
2198 * makefile.w32-in (update-subdirs-SH):
2199 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2201 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2203 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2205 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2206 Simplify Maven regexp, and make sure the file can't start with a space
2209 2012-05-21 Glenn Morris <rgm@gnu.org>
2211 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2212 Scrap superfluous subshells.
2214 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2216 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2217 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2219 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2221 * calc/calc.el (calc-ensure-consistent-units): New variable.
2223 * calc/calc-units.el (math-consistent-units-p)
2224 (math-check-unit-consistency): New functions.
2225 (calc-quick-units, calc-convert-units):
2226 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2228 (calc-extract-units): Fix typo.
2230 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2232 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2234 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2235 (flyspell-default-deplacement-commands): Don't spell check after
2236 repeated window/frame switches (e.g. triggered by mouse-movement).
2237 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2238 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2239 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2240 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2242 (flyspell-get-casechars, flyspell-get-not-casechars):
2243 Simplify; Don't bother removing a ] just to add it back.
2244 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2246 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2248 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2250 (math-function-table): Add support for more C functions.
2252 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2254 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2255 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2256 Protect delay handling for otherchars against empty otherchars.
2258 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2261 their respective macro declarations.
2262 * skeleton.el (define-skeleton):
2263 * progmodes/compile.el (define-compilation-mode):
2264 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2265 (define-ibuffer-filter):
2266 * emacs-lisp/generic.el (define-generic-mode):
2267 * emacs-lisp/easy-mmode.el (define-minor-mode)
2268 (define-globalized-minor-mode):
2269 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2270 * emacs-lisp/byte-run.el (defsubst):
2271 * custom.el (deftheme): Add doc-string metadata.
2273 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2277 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2281 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2282 * emacs-lisp/cl-macs.el: Idem.
2283 * emacs-lisp/cl-specs.el: Remove.
2285 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2287 Minor renaming of internal CL functions and variables.
2288 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2289 (cl--position): Rename from cl-position.
2290 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2291 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2292 (cl--random-state): Rename from *random-state*.
2294 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2297 parens around the arg list (bug#11499).
2299 2012-05-17 Juri Linkov <juri@jurta.org>
2301 * isearch.el (word-search-regexp, word-search-backward)
2302 (word-search-forward, word-search-backward-lax)
2303 (word-search-forward-lax): Move functions from search.c
2304 (bug#10145, bug#11381).
2306 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2308 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2309 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2310 Delay for otherchars as for normal word components.
2312 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * minibuffer.el (completion--sifn-requote): Fix last change.
2315 (minibuffer-local-must-match-filename-map):
2316 Move define-obsolete-variable-alias before its var.
2318 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2322 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2324 (completion--string-equal-p): New function.
2325 (completion--twq-all): Use it to get better assertion failure data.
2327 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2328 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2329 (shell--requote-argument): New functions.
2330 (shell-completion-vars): Use them.
2331 (shell--parse-pcomplete-arguments): Rename from
2332 shell-parse-pcomplete-arguments.
2333 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2334 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2335 Obey comint-file-name-quote-list.
2337 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2338 (smie-indent-keyword): Use it.
2340 2012-05-14 Stefan Merten <smerten@oekonux.de>
2342 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2344 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * net/rlogin.el (rlogin-mode-map): Fix last change.
2348 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2350 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2351 the following \r\n using a single `process-send-string', since the
2352 Lotus SMTP server refuses to accept any commands if they are sent
2353 with two `process-send-string's (Bug#11444).
2355 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * shell.el (shell-parse-pcomplete-arguments):
2358 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2360 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2362 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2363 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2364 (image-transform-width, image-transform-fit-width): New functions.
2365 (image-transform-properties): Use them.
2366 (image-transform-check-size): New function.
2367 (image-toggle-display-image): Use it (for testing).
2368 (image-transform-set-rotation): Reduce angle mod 360.
2369 Delete obsolete comment.
2371 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2373 * image-mode.el: Fix scaling (bug#11399).
2374 (image-transform-resize): Doc fix.
2375 (image-transform-properties): Default scale is 1 and height should
2378 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2380 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2381 than hard-coding `car', to fix misbehavior when moving forward.
2383 2012-05-13 Chong Yidong <cyd@gnu.org>
2385 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2386 (tabulated-list-entries, tabulated-list-padding)
2387 (tabulated-list-sort-key): Make permanent-local.
2389 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2390 (electric-buffer-list): Put electric buffer menu
2391 command descriptions in this docstring, instead of the docstring
2392 of electric-buffer-menu-mode. Code cleanups.
2393 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2394 Electric-buffer-menu-mode.
2395 (electric-buffer-update-highlight): Minor code cleanup.
2397 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2399 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2402 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2404 Move define-obsolete-variable-alias before the var's definition.
2405 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2406 * tooltip.el (tooltip-hook):
2407 * textmodes/reftex-toc.el (reftex-toc-map):
2408 * textmodes/reftex-sel.el (reftex-select-label-map)
2409 (reftex-select-bib-map):
2410 * textmodes/reftex-index.el (reftex-index-map)
2411 (reftex-index-phrases-map):
2412 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2413 * progmodes/meta-mode.el (meta-mode-map):
2414 * novice.el (disabled-command-hook):
2415 * loadhist.el (unload-hook-features-list):
2416 * frame.el (blink-cursor):
2417 * files.el (find-file-not-found-hooks, write-file-hooks)
2418 (write-contents-hooks):
2419 * emulation/tpu-edt.el (GOLD-map):
2420 * emacs-lock.el (emacs-lock-from-exiting):
2421 * emacs-lisp/generic.el (generic-font-lock-defaults):
2422 * emacs-lisp/chart.el (chart-map):
2423 * dos-fns.el (register-name-alist):
2424 * dired-x.el (dired-omit-files-p):
2425 * desktop.el (desktop-enable):
2426 * cus-edit.el (custom-mode-hook):
2427 * buff-menu.el (buffer-menu-mode-hook):
2428 * bookmark.el (bookmark-read-annotation-text-func)
2429 (bookmark-exit-hooks):
2430 * allout.el (allout-mode-deactivate-hook)
2431 (allout-exposure-change-hook, allout-structure-added-hook)
2432 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2433 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2434 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2435 comes before the corresponding variable's definition.
2437 2012-05-12 Chong Yidong <cyd@gnu.org>
2439 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2440 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2441 (Buffer-menu-mode-map): Bind it.
2442 (Buffer-menu--pretty-name): Add a mouse-face property.
2444 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2447 (prolog-upper-case-string, prolog-lower-case-string)
2448 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2449 (prolog-use-smie, prolog-smie-grammar): New vars.
2450 (prolog-smie-forward-token, prolog-smie-backward-token)
2451 (prolog-smie-rules): New funs.
2452 (prolog-comment-indent): Remove.
2453 (prolog-mode-variables): Use default comment indentation instead.
2455 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2456 (prolog-mode): Don't call them any more.
2457 (prolog-electric-colon, prolog-electric-dash)
2458 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2460 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2462 * minibuffer.el (completion--twq-all): Again, allow case differences.
2464 * term.el: Move keymap initialization code to be more idiomatic.
2465 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2466 (term-terminal-menu): Move initialization into declaration.
2467 (term-escape-char): Let the user set it in her .emacs.
2469 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2470 Provide SMIE-based indentation (not enabled by default yet).
2471 (sh-mode-map): Don't bind electric keys.
2472 Use electric-pair-mode instead of skeleton-pair.
2473 (sh-assignment-regexp): Fit within 80 columns.
2474 (sh-indent-supported): Specify actual shell name instead of boolean.
2475 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2476 (sh-maybe-here-document): Use it. Make obsolete.
2477 (sh-electric-here-document-mode) New minor mode.
2478 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2479 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2480 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2481 (sh-smie-rc-grammar, sh-use-smie): New vars.
2482 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2483 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2484 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2485 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2486 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2487 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2488 (sh-set-shell): Use smie-setup if requested.
2490 * term.el (term-set-escape-char): Properly set term-escape-char.
2491 See http://stackoverflow.com/questions/10524656.
2493 2012-05-10 Chong Yidong <cyd@gnu.org>
2495 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2496 Use url-generic-parse-url, and handle host names and Windows
2498 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2499 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2500 URL schemes to work on.
2501 (ffap--toggle-read-only): New function.
2502 (ffap-read-only, ffap-read-only-other-window)
2503 (ffap-read-only-other-frame): Use it.
2504 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2505 necessary for ffap-url-unwrap-remote.
2507 2012-05-10 Dave Abrahams <dave@boostpro.com>
2509 * cus-start.el (create-lockfiles): Add it.
2511 2012-05-09 Chong Yidong <cyd@gnu.org>
2513 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2514 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2516 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2520 2012-05-09 Chong Yidong <cyd@gnu.org>
2522 * ansi-color.el (ansi-color-process-output): Check for validity of
2523 comint-last-output-start before using it. This avoids a bad
2524 interaction with gdb-mi's input/output buffer.
2526 2012-05-09 Glenn Morris <rgm@gnu.org>
2528 * files.el (dir-locals-read-from-file):
2529 Mention dir-locals in any error message.
2531 2012-05-09 Chong Yidong <cyd@gnu.org>
2533 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2534 package (Bug#11410).
2536 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2537 variables into description.
2539 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2542 shell-delimiter-argument-list (bug#11348).
2543 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2545 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2547 * textmodes/rst.el: Silence byte-compiler warnings.
2548 (rst-re-alist, rst-reset-section-caches): Move around.
2549 (rst-re): Use `characterp', not `char-valid-p'.
2550 (font-lock-beg, font-lock-end): Declare.
2552 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2553 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2555 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2557 2012-05-08 Glenn Morris <rgm@gnu.org>
2559 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2561 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * vc/log-edit.el: Add GNU coding standards highlighting.
2564 (log-edit-font-lock-gnu-style)
2565 (log-edit-font-lock-gnu-keywords): New vars.
2566 (log-edit-font-lock-keywords): New fun.
2567 (log-edit-mode): Don't fold case in font-lock.
2568 (log-edit-font-lock-keywords): Do not assume case-folding.
2570 * imenu.el: Misc cleanup. Make docstrings out of comments.
2571 Use lexical-binding.
2572 (imenu--index-alist, imenu--last-menubar-index-alist)
2573 (imenu-menubar-modified-tick): Use defvar-local.
2574 (imenu--split-menu): Remove unused var.
2575 (imenu--cleanup-seen): Declare as global.
2576 (imenu--cleanup): Use dolist.
2578 * subr.el (defvar-local): Add debug spec and doc-string position.
2580 2012-05-08 Glenn Morris <rgm@gnu.org>
2582 * language/burmese.el, language/cham.el, language/czech.el:
2583 * language/english.el, language/georgian.el, language/greek.el:
2584 * language/japanese.el, language/khmer.el, language/korean.el:
2585 * language/lao.el, language/misc-lang.el, language/romanian.el:
2586 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2587 * language/thai.el, language/utf-8-lang.el:
2588 Remove no-byte-compile setting.
2590 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2592 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2594 * progmodes/make-mode.el (makefile-browse):
2595 Remove unnecessary interactive. (Bug#11324)
2597 2012-05-07 Glenn Morris <rgm@gnu.org>
2599 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2601 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2603 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * loadup.el: Preload newcomment.el.
2606 * newcomment.el: Move autoload-only code to toplevel.
2608 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2609 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2610 Handle new :right-align column property.
2611 (tabulated-list-print-col): Idem, plus use `display' text-property to
2612 try and preserve alignment for variable pitch fonts.
2614 2012-05-07 Chong Yidong <cyd@gnu.org>
2616 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2617 (tabulated-list-use-header-line): New var.
2618 (tabulated-list-init-header): Use it.
2619 (tabulated-list-print-fake-header): New function.
2620 (tabulated-list-print): Use it.
2621 (tabulated-list-sort-button-map): Add non-header-line commands.
2622 (tabulated-list-init-header): Add column name property to basic
2624 (tabulated-list-col-sort): Handle non-header-line button case.
2625 (tabulated-list--sort-by-column-name): Fix a corner case.
2627 * buff-menu.el (list-buffers--refresh):
2628 Handle Buffer-menu-use-header-line.
2630 2012-05-06 Chong Yidong <cyd@gnu.org>
2632 * buff-menu.el: Convert to Tabulated List mode.
2633 (Buffer-menu-buffer+size-width): Make obsolete.
2634 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2635 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2636 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2637 documentation into docstring of buffer-menu.
2638 (Buffer-menu-toggle-files-only): Add an informative message.
2639 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2640 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2641 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2642 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2643 (Buffer-menu-execute, Buffer-menu-select)
2644 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2645 (Buffer-menu-bury): Use Tabulated List machinery.
2646 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2647 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2649 (list-buffers--refresh): New function.
2650 (list-buffers-noselect): Use it.
2651 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2652 (Buffer-menu--pretty-file-name): New helper functions.
2654 * loadup.el: Preload tabulated-list.
2656 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2657 tabulated-list-sort-column.
2658 (tabulated-list-init-header): Add the initial aligning space even
2659 if tabulated-list-padding is zero.
2661 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2663 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2664 whose cdr is not a cons cell correctly (bug#11038).
2666 2012-05-06 Chong Yidong <cyd@gnu.org>
2668 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2669 Accept additional plist in column descriptors.
2670 (tabulated-list-init-header): Obey it.
2671 (tabulated-list-get-entry): New function.
2672 (tabulated-list-put-tag): Use it. Use string-width instead of
2674 (tabulated-list--column-number): New function.
2675 (tabulated-list-print): Use it.
2676 (tabulated-list-print-col): New function.
2677 Set `tabulated-list-column-name' property on each column's text.
2678 (tabulated-list-print-entry): Use it.
2679 (tabulated-list-delete-entry, tabulated-list-set-col):
2681 (tabulated-list-sort-column): New command (Bug#11337).
2683 * buff-menu.el (list-buffers): Move C-x C-b binding from
2684 buff-menu.el to bindings.el.
2686 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2687 :advertised-binding feature.
2689 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2691 * progmodes/compile.el (compilation-internal-error-properties):
2692 Calculate start position correctly when end-col is set but
2693 end-line is not (Bug#11382).
2695 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2697 * man.el (Man-unindent): Use text-property-default-nonsticky to
2698 prevent untabify from inheriting face properties (Bug#11408).
2700 2012-05-05 Stefan Merten <smerten@oekonux.de>
2702 * textmodes/rst.el: Major merge with upstream development up to
2703 Docutils SVN r7399 / rst.el V1.2.1.
2705 Clarify maintainership and authors.
2707 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2708 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2709 (rst-official-version, rst-official-cvs-rev, rst-version)
2710 (rst-package-emacs-version-alist): New functions and variables
2711 for version information.
2713 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2714 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2715 (rst-mode-syntax-table, rst-mode): New and corrected functions
2716 and variables representing reStructuredText features.
2718 (rst-re): New function for reStructuredText regexes. Use in
2721 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2722 (rst-mode-map): Rebind keys.
2724 (rst-mode-lazy, rst-font-lock-keywords)
2725 (rst-font-lock-extend-region)
2726 (rst-font-lock-extend-region-internal)
2727 (rst-font-lock-extend-region-extend)
2728 (rst-font-lock-find-unindented-line-limit)
2729 (rst-font-lock-find-unindented-line-match)
2730 (rst-adornment-level, rst-font-lock-adornment-level)
2731 (rst-font-lock-adornment-match)
2732 (rst-font-lock-handle-adornment-pre-match-form)
2733 (rst-font-lock-handle-adornment-matcher): Major revision of
2734 font-locking. Integrate with other code. Use `jit-lock-mode'.
2736 (rst-preferred-adornments, rst-adjust-hook)
2737 (rst-new-adornment-down, rst-preferred-bullets)
2738 (rst-preferred-bullets, rst-indent, rst-indent-width)
2739 (rst-indent-field, rst-indent-literal-normal)
2740 (rst-indent-literal-minimized, rst-indent-comment): Change,
2741 extend and improve customization.
2743 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2744 (rst-normalize-cursor-position, rst-get-decoration)
2745 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2746 (rst-rstrip, rst-toc-insert-find-delete-contents)
2747 (rst-shift-fill-region, rst-compute-bullet-tabs)
2748 (rst-debug-print-tabs, rst-debug-mark-found)
2749 (rst-shift-region-guts, rst-shift-region-right)
2750 (rst-shift-region-left, rst-use-char-classes)
2751 (rst-font-lock-keywords-function)
2752 (rst-font-lock-indentation-point)
2753 (rst-font-lock-find-unindented-line-begin)
2754 (rst-font-lock-find-unindented-line-end)
2755 (rst-font-lock-find-unindented-line)
2756 (rst-font-lock-adornment-point, rst-font-lock-level)
2757 (rst-adornment-level-alist): Remove functions and variables.
2759 (rst-compare-adornments, rst-get-adornment-match)
2760 (rst-suggest-new-adornment, rst-get-adornments-around)
2761 (rst-adornment-complete-p, rst-get-next-adornment)
2762 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2763 (rst-straighten-adornments): Standardize function names to
2764 use "adornment" instead of "decoration". Correct callers.
2765 Similar standardizing in many places.
2767 (rst-update-section, rst-adjust, rst-promote-region)
2768 (rst-enumerate-region, rst-bullet-list-region)
2769 (rst-repeat-last-character): Correct use of `interactive'.
2771 (rst-classify-adornment, rst-find-all-adornments)
2772 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2773 (rst-find-leftmost-column, rst-repeat-last-character):
2776 (rst-find-title-line, rst-reset-section-caches)
2777 (rst-get-adornments-around, rst-adjust-adornment-work)
2778 (rst-arabic-to-roman, rst-roman-to-arabic)
2779 (rst-insert-list-pos, rst-insert-list-new-item)
2780 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2783 (rst-all-sections, rst-section-hierarchy)
2784 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2787 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2788 configuration instead of only buffer. Change where necessary.
2790 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2791 (rst-shift-region, rst-adaptive-fill): New functions for
2792 indentation and filling.
2794 (rst-comment-line-break, rst-comment-indent)
2795 (rst-comment-insert-comment, rst-comment-region)
2796 (rst-uncomment-region): New functions for handling comments.
2798 (rst-compile): Quote shell arguments.
2800 (rst-compile-pdf-preview, rst-compile-slides-preview):
2801 Delete temporary files after use.
2803 2012-05-05 Glenn Morris <rgm@gnu.org>
2805 * calendar/cal-html.el: Optionally include holidays in the output.
2806 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2807 (cal-html-holidays): New option.
2808 (cal-html-css-default): Add holiday entry.
2809 (holiday-in-range): Autoload it.
2810 (cal-html-htmlify-entry): Add optional class argument.
2811 (cal-html-htmlify-list): Add optional holidays argument.
2812 (cal-html-insert-agenda-days): Include holidays in the output.
2813 (cal-html-one-month): Maybe include holidays.
2815 * calendar/holidays.el (holiday-in-range):
2816 Move here from cal-tex-list-holidays.
2817 * calendar/cal-tex.el (cal-tex-list-holidays):
2818 Make it an obsolete alias for holiday-in-range. Update all callers.
2820 2012-05-05 Chong Yidong <cyd@gnu.org>
2822 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2825 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2827 * files.el (file-auto-mode-skip): New var.
2828 (set-auto-mode-1): Use it.
2830 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * repeat.el: Use lexical-binding.
2833 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2834 (repeat-undo-count): Remove.
2836 * progmodes/octave-mod.el (octave-abbrev-start):
2837 * progmodes/f90.el (f90-abbrev-start):
2838 * face-remap.el (text-scale-adjust):
2839 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2841 * emacs-lisp/pcase.el (pcase--let*): New function.
2842 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2844 (pcase--split-pred): Be more clever about ruling out overlap between
2845 a predicate and some constant pattern.
2846 (pcase--q1): Use `null' instead of (eq foo nil).
2848 * subr.el (setq-local, defvar-local): New macros.
2849 (kbd): Redefine as an alias.
2850 (with-selected-window): Leave unrelated frames alone.
2851 (set-temporary-overlay-map): New function.
2853 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * subr.el (user-error): New function.
2856 * window.el (switch-to-buffer):
2857 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2858 (smerge-match-conflict):
2859 * simple.el (previous-matching-history-element)
2860 (next-matching-history-element, goto-history-element, undo-more)
2862 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2863 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2864 (next-file, tags-loop-scan, list-tags, complete-tag):
2865 * progmodes/compile.el (compilation-loop):
2866 * mouse.el (mouse-minibuffer-check):
2867 * man.el (Man-bgproc-sentinel, Man-goto-page):
2868 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2869 (Info-history-forward, Info-follow-reference, Info-menu)
2870 (Info-extract-menu-item, Info-extract-menu-counting)
2871 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2872 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2873 (Info-next-reference, Info-prev-reference, Info-index)
2874 (Info-index-next, Info-follow-nearest-node)
2875 (Info-copy-current-node-name):
2876 * imenu.el (imenu--make-index-alist)
2877 (imenu-default-create-index-function, imenu-add-to-menubar):
2878 * files.el (basic-save-buffer, recover-file):
2879 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2880 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2881 (checkdoc-message-text, checkdoc-defun):
2882 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2883 * cus-edit.el (customize-changed-options, customize-rogue)
2884 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2885 (custom-variable-mark-to-reset-standard)
2886 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2888 * completion.el (check-completion-length):
2889 * comint.el (comint-search-arg)
2890 (comint-previous-matching-input-string-position)
2891 (comint-previous-matching-input)
2892 (comint-replace-by-expanded-history-before-point, comint-send-input)
2893 (comint-copy-old-input, comint-backward-matching-input)
2894 (comint-goto-process-mark, comint-set-process-mark):
2895 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2896 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2898 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2900 * dabbrev.el (dabbrev--ignore-case-p): New function.
2901 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2904 * files.el (automount-dir-prefix): Mark as obsolete.
2906 2012-05-04 Glenn Morris <rgm@gnu.org>
2908 * patcomp.el, play/bruce.el: Move to obsolete/.
2910 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2912 Fix minor Y10k bugs.
2913 * arc-mode.el (archive-unixdate):
2914 * autoinsert.el (auto-insert-alist):
2915 * calc/calc-forms.el (math-this-year):
2916 * emacs-lisp/copyright.el (copyright-current-year)
2917 (copyright-update-year, copyright):
2918 * tar-mode.el (tar-clip-time-string):
2919 * time.el (display-time-update):
2920 Don't assume years have 4 digits.
2922 2012-05-04 Chong Yidong <cyd@gnu.org>
2924 * dos-w32.el (file-name-buffer-file-type-alist)
2925 (direct-print-region-use-command-dot-com):
2926 * ffap.el (ffap-menu-regexp):
2927 * find-file.el (ff-special-constructs):
2928 * follow.el (follow-debug):
2929 * forms.el (forms--debug):
2930 * iswitchb.el (iswitchb-all-frames):
2931 * ido.el (ido-all-frames):
2932 * emacs-lisp/timer.el (timer-max-repeats):
2933 * mail/feedmail.el (feedmail-mail-send-hook)
2934 (feedmail-mail-send-hook-queued):
2935 * mail/footnote.el (footnote-signature-separator):
2936 * mail/mailabbrev.el (mail-alias-separator-string)
2937 (mail-abbrev-mode-regexp):
2938 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2939 * progmodes/idlwave.el (idlwave-libinfo-file)
2940 (idlwave-default-completion-case-is-down)
2941 (idlwave-library-routines): Convert defvars to defcustoms.
2943 * mail/rmail.el (rmail-decode-mime-charset):
2944 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2945 (idlwave-shell-fix-inserted-breaks)
2946 (idlwave-shell-activate-alt-keybindings)
2947 (idlwave-shell-use-breakpoint-glyph):
2948 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2950 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2954 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2956 * progmodes/verilog-mode.el (font-lock-keywords):
2957 Fix mis-highligting auto. Reported by Craig Barner.
2958 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2959 defines from global name space. Reported by Dan Dever.
2960 (verilog-auto-reset, verilog-auto-reset-widths)
2961 (verilog-auto-tieoff): Support using unbased numbers for
2962 AUTORESET and AUTOTIEOFF.
2963 (verilog-submit-bug-report): Update variable list.
2964 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2965 parenthesis from not matching. Reported by Michael Rytting.
2966 (verilog-auto-template-lint): Fix hash error when linting modules
2967 with no used templates.
2968 (verilog-warn, verilog-warn-error)
2969 (verilog-warn-fatal): When non-interactive report multiple
2970 warnings before exiting. Suggested by Brad Dobbie.
2971 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2972 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2973 to report unused template errors. Reported by Brad Dobbie.
2974 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2975 nets, bug438. Reported by Vns Blore.
2976 (verilog-auto-inout-module, verilog-auto-reg)
2977 (verilog-read-decls, verilog-read-sub-decls-sig)
2978 (verilog-signals-edit-wire-reg, verilog-signals-with):
2979 Fix passing of Verilog data types in ANSI input/output ports
2980 such as "output logic" into the AUTOs. Special case "wire" and
2981 "reg" for backwards compatibility presuming Verilog 2001.
2982 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2983 (verilog-preprocess): Fix replication of preprocess output.
2984 Reported by Brad Dobbie.
2985 (verilog-auto-inst-interfaced-ports):
2986 Create verilog-auto-inst-interfaced-ports, bug429.
2987 Reported by Julian Gorfajn.
2988 (verilog-after-save-font-hook)
2989 (verilog-before-save-font-hook): New variable.
2990 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2991 (verilog-save-font-mods): Wrap disabling fontification, reported
2993 (verilog-do-indent, verilog-pretty-declarations-auto)
2994 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2995 Reported by Pierre-David Pfister.
2996 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2997 of class declarations, bug292. Reported by Kevin Heilman.
2998 (verilog-read-decls): Fix 'parameter type' not appearing in
2999 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3000 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3001 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3002 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3003 Reported by David Kravitz.
3005 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3007 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3008 assignment with tests in ifs and for loops.
3009 (verilog-extended-complete-re, verilog-complete-reg): Change so
3010 that DPI inport functions don't look like fuction declarations.
3011 (verilog-pretty-expr): Don't line up assignment
3012 operations to the test and increment in if and for loops
3013 (verilog-extended-complete-re, verilog-complete-reg): Change so
3014 that DPI inport functions don't look like fuction declarations.
3016 2012-05-03 Kenichi Handa <handa@m17n.org>
3018 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3019 decoding, and show a warning message without signaling an error
3022 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * emacs-lisp/bytecomp.el
3025 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3026 since cconv.el might have introduced :fun-body, internal-make-closure,
3027 and friends for bytecomp to handle (bug#11391).
3028 * custom.el (defcustom): Avoid ((λ ..) ..).
3030 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3034 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3036 * notifications.el (dbus-debug):
3037 * term/linux.el (gpm-mouse-enable):
3038 * term/screen.el (xterm-register-default-colors): Declare.
3040 2012-05-02 Chong Yidong <cyd@gnu.org>
3042 * cus-start.el (gc-cons-percentage, exec-suffixes)
3043 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3044 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3045 (make-cursor-line-fully-visible, void-text-area-pointer)
3046 (font-list-limit): Add customization data.
3048 * allout.el (allout-exposure-change-functions)
3049 (allout-structure-added-functions)
3050 (allout-structure-deleted-functions)
3051 (allout-structure-shifted-functions): Rename abnormal hooks from
3052 *-hook, and convert to defcustoms.
3053 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3054 Convert to defcustoms.
3055 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3057 * allout-widgets.el: Hook callers changed.
3059 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3061 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3062 the yanked message in preference to the default value of
3063 buffer-file-coding-system.
3065 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3067 * window.el (display-buffer--action-function-custom-type):
3070 2012-05-02 Alan Mackenzie <acm@muc.de>
3072 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3074 2012-05-01 Glenn Morris <rgm@gnu.org>
3076 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3078 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3080 * cus-edit.el (custom-variable-documentation): Simplify with format.
3082 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3083 Stefan Monnier <monnier@iro.umontreal.ca>
3085 * simple.el (suggest-key-bindings, execute-extended-command):
3086 Move from keyboard.c.
3088 2012-05-01 Chong Yidong <cyd@gnu.org>
3090 * follow.el: Eliminate advice.
3091 (set-process-filter, process-filter, sit-for): Advice deleted.
3092 (follow-mode-off-hook): Obsolete hook removed.
3093 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3095 (follow-auto): Use a :set function.
3096 (follow-mode): Rewritten. Don't advise process filters.
3097 (follow-switch-to-current-buffer-all, follow-scroll-up)
3098 (follow-scroll-down): Assume follow-mode is bound.
3099 (follow-comint-scroll-to-bottom)
3100 (follow-align-compilation-windows): New functions.
3101 (follow--window-sorter): New function.
3102 (follow-all-followers): Use it to explicitly sort windows by their
3103 positions; don't make assumptions about next-window order.
3104 (follow-windows-start-end, follow-delete-other-windows-and-split)
3105 (follow-calc-win-start): Doc fix.
3106 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3107 vertical-motion unnecessarily.
3108 (follow-adjust-window): New function.
3109 (follow-post-command-hook): Use it.
3110 (follow-call-set-process-filter, follow-call-process-filter)
3111 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3112 (follow-stop-intercept-process-output, follow-generic-filter):
3114 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3115 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3116 New functions, replacing advice on scroll-bar-* commands.
3117 (follow-mwheel-scroll): New function (Bug#4112).
3119 * comint.el (comint-adjust-point): New function.
3120 (comint-postoutput-scroll-to-bottom): Use it.
3121 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3123 2012-05-01 Glenn Morris <rgm@gnu.org>
3125 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3126 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3127 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3128 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3129 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3130 Remove no-byte-compile setting.
3132 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3135 all-completions code to not return a number in the last cdr.
3137 2012-04-30 Leo Liu <sdl.web@gmail.com>
3139 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3142 2012-04-29 Chong Yidong <cyd@gnu.org>
3144 * follow.el (follow-calc-win-end): Rewrite to handle partial
3145 screen lines correctly (Bug#8390).
3146 (follow-avoid-tail-recenter): Minor cleanup.
3148 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3150 Avoid the obsolete `assoc' package.
3151 * speedbar.el (speedbar-refresh): Avoid adelete.
3152 (speedbar-file-lists): Simplify and avoid aput.
3153 * man.el (Man--sections, Man--refpages): New vars, replacing
3154 Man-sections-alist and Man-refpages-alist.
3155 (Man-build-section-alist, Man-build-references-alist):
3156 Use them; avoid aput.
3157 (Man--last-section, Man--last-refpage): New vars.
3158 (Man-follow-manual-reference): Use them.
3159 Use the `default' arg of completing-read.
3160 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3162 2012-04-27 Chong Yidong <cyd@gnu.org>
3164 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3166 * startup.el (x-apply-session-resources): New function.
3168 * term/ns-win.el (ns-initialize-window-system):
3169 * term/w32-win.el (w32-initialize-window-system):
3170 * term/x-win.el (x-initialize-window-system): Use it to properly
3171 set menu-bar-mode and other vars from X resources, even if the
3172 initial frame is not a window-system frame (Bug#2299).
3174 * subr.el (read-key): Avoid running filter function when setting
3175 up temporary tool bar entries (Bug#9922).
3177 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3179 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3182 2012-04-27 Chong Yidong <cyd@gnu.org>
3184 * select.el (xselect--encode-string): New function, split from
3185 xselect-convert-to-string.
3186 (xselect-convert-to-string): Use it.
3187 (xselect-convert-to-filename, xselect-convert-to-os)
3188 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3189 returned strings are properly encoded (Bug#11315).
3191 2012-04-27 Chong Yidong <cyd@gnu.org>
3193 * simple.el (delete-active-region): Move to killing custom group.
3195 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3197 * progmodes/which-func.el (which-func-current): Quote %
3198 characters for mode-line processing.
3200 2012-04-27 Chong Yidong <cyd@gnu.org>
3202 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3203 reaching eob (Bug#11286).
3205 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3207 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3208 (gdb): Make it buffer-local and init to zero.
3209 (gdb-control-commands-regexp): New variable.
3210 (gdb-send): Don't wrap in "-interpreter-exec console" if
3211 gdb-control-level is positive. Increment gdb-control-level
3212 whenever the command matches gdb-control-commands-regexp, and
3213 decrement it each time the command is "end". (Bug#11279)
3215 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3217 * window.el (adjust-window-trailing-edge, enlarge-window)
3218 (shrink-window, window-resize):
3219 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3220 windows (Bug#11276).
3222 2012-04-27 Chong Yidong <cyd@gnu.org>
3224 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3225 fix "missing prefix" warning. All callers changed.
3227 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3229 * emacs-lisp/assoc.el: Move to obsolete/.
3231 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3235 * term/ns-win.el (ns-define-service):
3236 * progmodes/pascal.el (pascal-goto-defun):
3237 * progmodes/js.el (js--read-tab):
3238 * progmodes/etags.el (tags-lazy-completion-table):
3239 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3240 * emacs-lisp/ewoc.el (ewoc--wrap):
3241 * emacs-lisp/assoc.el (aput, adelete, amake):
3242 * doc-view.el (doc-view-convert-current-doc):
3243 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3245 2012-04-26 Chong Yidong <cyd@gnu.org>
3247 * image.el (image-type-from-buffer): Only return supported image
3250 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3251 value, for symmetry with diff-end-of-hunk.
3252 (diff-split-hunk, diff-find-source-location)
3253 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3254 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3255 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3256 compute the relevant hunk or file properly (Bug#6005).
3257 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3259 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * vc/vc.el: Replace lexical-let by lexical-binding.
3269 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3270 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3271 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3273 2012-04-26 Chong Yidong <cyd@gnu.org>
3275 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3276 (diff-mode-shared-map): Bind it to / and [remap undo].
3278 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3279 (ediff-window-setup-function): Use it as the default, to set up
3280 windows based on whether the current frame is graphical (Bug#2138).
3281 (ediff-choose-window-setup-function-automatically): Make obsolete.
3283 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3285 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * ffap.el: Remove old code for obsolete package.
3288 (ffap-complete-as-file-p): Remove.
3290 Use completion-table-with-quoting for comint and pcomplete.
3291 * comint.el (comint--unquote&requote-argument)
3292 (comint--unquote-argument, comint--requote-argument): New functions.
3293 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3294 (comint-quote-filename): Use regexp-opt-charset.
3295 (comint--common-suffix, comint--common-quoted-suffix)
3296 (comint--table-subvert): Remove.
3297 (comint-unquote-function, comint-requote-function): New vars.
3298 (comint--complete-file-name-data): Use them with
3299 completion-table-with-quoting.
3300 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3301 * pcomplete.el (pcomplete-arg-quote-list)
3302 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3303 (pcomplete-unquote-argument-function): Default to non-nil.
3304 (pcomplete-unquote-argument): Simplify.
3305 (pcomplete--common-quoted-suffix): Remove.
3306 (pcomplete-requote-argument-function): New var.
3307 (pcomplete--common-suffix): New function.
3308 (pcomplete-completions-at-point): Use completion-table-with-quoting
3309 and completion-table-subvert.
3311 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3312 (minibuffer--double-dollars): Preserve properties.
3313 (completion--sifn-requote): New function.
3314 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3316 * minibuffer.el: Add support for completion of quoted/escaped data.
3317 (completion-table-with-quoting, completion-table-subvert): New funs.
3318 (completion--twq-try, completion--twq-all): New functions.
3319 (completion--nth-completion): New function.
3320 (completion-try-completion, completion-all-completions): Use it.
3322 2012-04-25 Leo Liu <sdl.web@gmail.com>
3324 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3325 Use compilation-message if available to find real filename.
3327 2012-04-25 Chong Yidong <cyd@gnu.org>
3329 * vc/diff-mode.el (diff-setup-whitespace): New function.
3330 (diff-mode): Use it.
3332 * vc/diff.el (diff-sentinel):
3333 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3334 Whitespace mode variables based on diff style (Bug#8612).
3336 2012-04-25 Leo Liu <sdl.web@gmail.com>
3338 * progmodes/python.el (python-send-region): Add suffix .py to the
3341 * files.el (auto-mode-alist): Use javascript-mode instead.
3343 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3345 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3347 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3348 (soap-resolve-references-for-array-type): Hack to prevent self
3349 references, see Bug#9.
3350 (soap-parse-envelope): Report the contents of the 'detail' node
3351 when receiving a fault reply.
3352 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3354 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3355 (soap-inspect-simple-type): New function.
3357 * net/soap-client.el (soap-simple-type): New struct.
3358 (soap-default-xsd-types, soap-default-soapenc-types)
3359 (soap-decode-basic-type, soap-encode-basic-type):
3360 support unsignedInt and double basic types.
3361 (soap-resolve-references-for-simple-type)
3362 (soap-parse-simple-type, soap-encode-simple-type): New function.
3363 (soap-parse-schema): Parse xsd:simpleType declarations.
3365 * net/soap-client.el (soap-default-xsd-types)
3366 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3367 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3368 the local name of "soapenc:Array".
3369 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3370 decoding integer, byte and anyURI xsd types.
3372 2012-04-25 Chong Yidong <cyd@gnu.org>
3374 * cus-edit.el (custom-buffer-create-internal): Update header text.
3376 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3378 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3379 settings on 'system-type', not on 'window-system'. On MS-Windows,
3380 set interactive-mode on in GDB.
3382 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3384 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3385 (ruby-syntax-propertize-regexp): Remove.
3386 (ruby-syntax-propertize-function): Split regexp into chunks.
3387 Match following code directly.
3389 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3391 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3392 (ruby-syntax-propertize-regexp): New function.
3393 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3394 by a special keyword.
3396 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3397 (ruby-syntax-general-delimiters-goto-beg)
3398 (ruby-syntax-propertize-general-delimiters): New functions.
3399 (ruby-syntax-propertize-function): Use them to handle GDL.
3400 (ruby-font-lock-keywords): Move old handling of GDL...
3401 (ruby-font-lock-syntactic-keywords): .. to here.
3402 (ruby-calculate-indent): Adjust indentation for GDL.
3404 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3406 * notifications.el (top): Remove unneeded declarations.
3407 (notifications-specification-version): Change to "1.2".
3408 (notifications-interface, notifications-notify-method)
3409 (notifications-close-notification-method): Fix docstring.
3410 (notifications-get-capabilities-method): New defconst.
3411 (notifications-notify): Add :action-items, :resident and
3412 :transient hints. Change "image_data" to "image-data" and
3413 "image_path" to "image-path".
3414 (notifications-get-capabilities): New defun.
3416 2012-04-24 Leo Liu <sdl.web@gmail.com>
3418 * progmodes/python.el: Move hideshow setup to the end.
3420 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3422 * window.el (handle-select-window): Clear echo area since this is
3423 no more done by read_char (Bug#11304).
3425 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3428 and `/ M' to filter-derived-mode.
3429 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3430 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3431 (ibuffer-mark-by-mode): Use default rather than initial-input.
3432 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3434 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3436 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3437 (ibuffer-filter-by-derived-mode): New filter.
3438 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3440 2012-04-23 Andreas Politz <politza@fh-trier.de>
3442 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3444 2012-04-23 Chong Yidong <cyd@gnu.org>
3446 * cus-edit.el (customize-apropos, customize-apropos-options):
3447 Disable matching of non-option variables (Bug#11176).
3448 (customize-option, customize-option-other-window)
3449 (customize-changed-options): Doc fix.
3450 (customize-apropos-options, customize-apropos-faces)
3451 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3453 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3454 Fix word list splitting (Bug#11132).
3455 (apropos-symbol, apropos-keybinding, apropos-label)
3456 (apropos-property, apropos-function-button)
3457 (apropos-variable-button, apropos-misc-button): New faces.
3458 (apropos-symbol-face, apropos-keybinding-face)
3459 (apropos-label-face, apropos-property-face, apropos-match-face):
3460 Variables removed (Bug#8396).
3461 (apropos-library-button, apropos-format-plist, apropos-print)
3462 (apropos-print-doc, apropos-describe-plist): Callers changed.
3464 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3466 * net/xesam.el (xesam-mode-map): Use let-bound map in
3467 initialization. (Bug#11292)
3469 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3471 Preserve ispell session localwords when switching back to
3474 * textmodes/ispell.el (ispell-buffer-session-localwords):
3475 New buffer-local variable to hold buffer session localwords.
3476 (ispell-kill-ispell): add option 'clear to delete session
3478 (ispell-command-loop, ispell-change-dictionary)
3479 (ispell-buffer-local-words): Preserve session localwords when
3482 * textmodes/flyspell.el (flyspell-process-localwords)
3483 (flyspell-do-correct): Preserve session localwords when needed.
3485 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3487 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3488 using obsolete `translation-table-for-input'.
3489 (ispell-word, ispell-process-line, ispell-complete-word):
3490 Use plain `insert' instead of removed `ispell-insert-word'.
3492 2012-04-22 Chong Yidong <cyd@gnu.org>
3494 * cus-edit.el (custom-variable-menu)
3495 (custom-variable-reset-saved, custom-face-menu)
3496 (custom-face-reset-saved): If there is no saved value, make the
3497 "reset-saved" operation bring back the default (Bug#9509).
3498 (custom-face-state): Properly detect themed faces.
3500 * faces.el (face-spec-set): Stop supporting deprecated form of
3503 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3505 Move functions from C to Lisp. Make non-blocking method calls
3506 the default. Implement further D-Bus standard interfaces.
3508 * net/dbus.el (dbus-message-internal): Declare function.
3509 Remove unneeded function declarations.
3510 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3511 (dbus-message-type-method-return, dbus-message-type-error)
3512 (dbus-message-type-signal): Declare variables. Remove local
3514 (dbus-interface-dbus, dbus-interface-peer)
3515 (dbus-interface-introspectable, dbus-interface-properties)
3516 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3518 (dbus-interface-objectmanager): New defconst.
3519 (dbus-call-method, dbus-call-method-asynchronously)
3520 (dbus-send-signal, dbus-method-return-internal)
3521 (dbus-method-error-internal, dbus-register-service)
3522 (dbus-register-signal, dbus-register-method): New defuns, moved
3524 (dbus-call-method-handler, dbus-setenv)
3525 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3527 (dbus-call-method-non-blocking): Make it an obsolete function.
3528 (dbus-unregister-object, dbus-unregister-service)
3529 (dbus-handle-event, dbus-register-property)
3530 (dbus-property-handler): Obey the new structure of
3531 `bus-registered-objects'.
3532 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3533 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3534 Use `dbus-call-method'.
3536 2012-04-22 Chong Yidong <cyd@gnu.org>
3538 * cus-edit.el (custom-commands, custom-reset-menu)
3539 (Custom-reset-standard): Tweak labels.
3540 (custom-reset-button-menu): Change default to t.
3541 (custom-buffer-create-internal): For the custom-reset-button-menu
3542 case, put the revert button first.
3543 (custom-group-subtitle): New face.
3544 (custom-group-value-create): Align docstring to a specific column.
3546 * wid-edit.el (widget-documentation-link-add): Don't handle
3547 indentation in this function.
3548 (widget-documentation-string-indent-to): New function.
3549 (widget-documentation-string-value-create): Use it.
3551 * autorevert.el (auto-revert):
3552 * epg-config.el (epg):
3553 * ibuffer.el (ibuffer):
3556 * eshell/eshell.el (eshell):
3557 * net/ange-ftp.el (ange-ftp):
3558 * progmodes/ebnf2ps.el (postscript):
3559 * progmodes/flymake.el (flymake):
3560 * progmodes/prolog.el (prolog):
3561 * progmodes/verilog-mode.el (verilog-mode):
3562 * progmodes/which-func.el (which-func):
3563 * term/xterm.el (xterm):
3564 * textmodes/picture.el (picture):
3565 * textmodes/tildify.el (tildify):
3566 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3567 customization buffers.
3569 2012-04-22 Alan Mackenzie <acm@muc.de>
3571 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3572 Adding a ) can hide the resulting (..) from searches. Fix it.
3573 Bound the backward search to the position of the existing (.
3575 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3577 * progmodes/verilog-mode.el (verilog-mode): Check whether
3578 which-func-modes is t before adding verilog-mode.
3579 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3581 2012-04-21 Leo Liu <sdl.web@gmail.com>
3583 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3585 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3587 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3588 filling of the last column of a table (Bug#5635).
3589 (woman-find-next-control-line): New arg, specifying an additional
3590 regexp component for the control line.
3591 (woman2-roff-buffer): Use it.
3592 (woman-break-table): New function.
3593 (woman2-TS): Use it.
3595 2012-04-21 Chong Yidong <cyd@gnu.org>
3597 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3598 (woman-horizontal-escapes, woman-negative-vertical-space)
3599 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3600 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3602 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * minibuffer.el (completion-file-name-table): Complete user names.
3606 2012-04-20 Leo Liu <sdl.web@gmail.com>
3608 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3611 2012-04-20 Chong Yidong <cyd@gnu.org>
3613 * server.el (server-execute): Respect initial-buffer-choice if it
3614 is a string and there are no files to open (Bug#2825).
3615 (server-create-window-system-frame, server-create-tty-frame):
3616 Don't switch buffers here.
3617 (server-process-filter): Only try to open a window system frame if
3618 compiled with graphical support (Bug#8314).
3620 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3622 * battery.el (battery-echo-area-format): Display remaining time
3623 for sysfs backend too (Bug#11269).
3624 (battery-linux-sysfs): Fix conditional for the charge.
3626 2012-04-20 Chong Yidong <cyd@gnu.org>
3628 * progmodes/gdb-mi.el (gdb): Revert previous change.
3629 (gdb-inferior-io--init-proc): New function.
3630 (gdb-init-1): Use it.
3631 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3632 responsible for allocating a new pty and hooking it to gdb when
3633 the old pty gets an EIO due to process exit.
3634 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3635 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3636 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3638 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3640 * window.el (window-min-size, window-sizable, window-min-delta)
3641 (window-max-delta, window--resizable, window-resizable)
3642 (window-total-size, window-full-height-p, window-full-width-p)
3643 (window-in-direction, window--resize-mini-window, window-resize)
3644 (window--resize-child-windows-normal)
3645 (window--resize-child-windows, window--resize-siblings)
3646 (window--resize-this-window, adjust-window-trailing-edge)
3647 (enlarge-window, shrink-window): Doc fixes.
3649 2012-04-20 Chong Yidong <cyd@gnu.org>
3651 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3652 New function to call delete-process on the gdb-inferior buffer's pty.
3653 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3654 pty process (Bug#11273).
3655 (gdb-update): New arg to suppress talking to the gdb process.
3656 (gdb-done-or-error): Use it.
3657 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3658 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3659 sentinel not being called.
3661 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3663 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3665 2012-04-20 Glenn Morris <rgm@gnu.org>
3667 * net/network-stream.el (open-network-stream): Doc fix.
3669 2012-04-20 Chong Yidong <cyd@gnu.org>
3671 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3673 2012-04-20 Alan Mackenzie <acm@muc.de>
3675 Ensure searching for keywords is case sensitive.
3677 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3678 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3679 (c-defun-name, c-mark-function, c-cpp-define-name)
3680 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3681 (c-context-line-break): Bind case-fold-search to nil.
3683 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3684 Bind case-fold-search to nil.
3686 2012-04-20 Chong Yidong <cyd@gnu.org>
3688 * mail/sendmail.el (mail-bury): Call return action with the right
3689 Rmail buffer (Bug#11242).
3691 * server.el (server-process-filter): Handle corner case where both
3692 tty and nowait options are present (Bug#11102).
3694 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3696 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3697 (top level): Put into the executable the ident-style '$Id:' tag on
3700 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3702 * electric.el (electric-indent-post-self-insert-function): Check that
3703 electric-indent-mode is enabled in current buffer.
3705 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3707 * imenu.el (imenu-progress-message): Restore; it is "used" in
3708 erc/erc-imenu.el and net/snmp-mode.el.
3710 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3712 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3713 (mouse-avoidance-nudge-mouse): Remove unused binding.
3715 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3717 * descr-text.el (describe-char):
3718 * progmodes/python.el (python-describe-symbol):
3719 Don't call `toggle-read-only', set `buffer-read-only'.
3721 * imenu.el (imenu-default-goto-function): Mark unused args.
3722 (imenu-progress-message): Remove obsolete macro; all callers changed.
3724 * subr.el (keymap-canonicalize): Remove unused binding.
3725 (read-passwd): Mark unused arg.
3727 * tutorial.el (tutorial--display-changes): Remove unused binding.
3728 (tutorial--save-tutorial-to): Remove unused variable.
3730 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3731 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3732 (package-generate-autoloads, package-menu--generate)
3733 (package-menu--find-upgrades): Remove unused bindings.
3735 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3736 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3737 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3738 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3739 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3740 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3741 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3742 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3743 (cua-delete-char-rectangle): Mark unused args.
3744 (cua-align-rectangle): Remove unused binding.
3746 * mail/rmail.el (compilation--message->loc)
3747 (epa--find-coding-system-for-mime-charset): Declare.
3749 * net/dbus.el (dbus-register-service): Declare.
3750 (dbus-name-owner-changed-handler): Remove unused binding.
3752 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3753 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3754 (nxml-scan-backward-within): Mark unused arg.
3755 (nxml-dynamic-markup-word): Remove unused binding.
3757 * mouse.el (mouse-menu-major-mode-map):
3758 * emacs-lisp/authors.el (authors-scan-change-log)
3759 (authors-add-to-author-list):
3760 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3761 * emacs-lisp/smie.el (smie-auto-fill):
3762 * mail/sendmail.el (mail-bury):
3763 * mail/unrmail.el (unrmail):
3764 * net/tls.el (open-tls-stream):
3765 * textmodes/picture.el (picture-mouse-set-point):
3766 Remove unused bindings.
3768 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3770 * net/tramp.el (tramp-action-password): Let-bind
3771 `enable-recursive-minibuffers' to t.
3773 2012-04-18 Sam Steingold <sds@gnu.org>
3775 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3776 instead of 'string to accommodate values like [f11].
3777 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3778 * progmodes/gdb-mi.el: Likewise.
3780 2012-04-18 Leo Liu <sdl.web@gmail.com>
3782 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3784 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3787 2012-04-18 Chong Yidong <cyd@gnu.org>
3789 * simple.el (line-move): Use forward-line if in batch mode
3792 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3794 * files.el (after-find-file): Do not try to add a final newline if
3795 the buffer is read-only (Bug#11156).
3797 2012-04-17 Richard Stallman <rms@gnu.org>
3799 * mail/rmail.el (rmail-start-mail):
3800 Pass (rmail-mail-return...) for the return-action.
3801 Pass (rmail-yank-current-message...) for the yank-action.
3802 (rmail-yank-current-message): New function.
3803 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3804 (rmail-reply): Likewise.
3805 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3807 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3808 buffer, not the last. Reject temp buffers. Use the rmail-mode
3811 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3813 * server.el (server-ensure-safe-dir): Simplify.
3815 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3817 * emacs-lisp/smie.el: Provide smarter auto-filling.
3818 (smie-auto-fill): New function.
3819 (smie-setup): Use it.
3821 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3823 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3825 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3826 (comment-indent): Use it.
3828 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3830 * ses.el: The overall change is to add cell renaming, that is
3831 setting fancy names for cell symbols other than name matching
3832 "\\`[A-Z]+[0-9]+\\'" regexp .
3833 (ses-localvars): Add ses--renamed-cell-symb-list.
3834 (ses-create-cell-variable): New defun.
3835 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3836 (ses-relocate-formula): Relocate formulas only for cells the
3837 symbols of which are not renamed, i.e. symbols whose names do not
3838 match regexp "\\`[A-Z]+[0-9]+\\'".
3839 (ses-relocate-all): Relocate values only for cells the symbols of
3840 which are not renamed.
3841 (ses-load): Create cells variables as the (ses-cell ...) are read,
3842 in order to check row col consistency with cell symbol name only
3843 for cells that are not renamed.
3844 (ses-replace-name-in-formula): New defun.
3845 (ses-rename-cell): New defun.
3847 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3849 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3850 New option (bug#11118).
3851 (perl-calculate-indent): Respect it.
3853 2012-04-17 Glenn Morris <rgm@gnu.org>
3855 * dired-aux.el (dired-mark-read-string): Doc fix.
3857 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3859 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3860 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3862 2012-04-17 Glenn Morris <rgm@gnu.org>
3864 * mouse.el (mouse-drag-track):
3865 * speedbar.el (speedbar-frame-mode):
3866 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3868 2012-04-16 Leo Liu <sdl.web@gmail.com>
3870 * progmodes/python.el: Trivial cleanup.
3872 2012-04-16 Glenn Morris <rgm@gnu.org>
3874 * vc/vc.el (vc-string-prefix-p):
3875 * vc/pcvs-util.el (cvs-string-prefix-p):
3876 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3877 * mpc.el (mpc-string-prefix-p):
3878 Make all of these into obsolete aliases for string-prefix-p.
3880 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3882 * textmodes/two-column.el: Move custom options to the start.
3883 (frame-width): Remove compat definition.
3884 (2C-associate-buffer, 2C-dissociate):
3885 Use with-current-buffer rather than save-excursion.
3886 (2C-dissociate): Force a mode-line update.
3887 (2C-autoscroll): Use ignore-errors.
3889 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3892 * emacs-lisp/cl-extra.el (*random-state*):
3893 Remove unnecessary declaration.
3895 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3897 * play/cookie1.el (cookie-snarf):
3898 Give an explicit error if input file cannot be read.
3900 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3902 * progmodes/perl-mode.el (c-macro-expand):
3903 Remove unnecessary autoload (it is in loaddefs.el).
3905 * textmodes/picture.el (picture-desired-column)
3906 (picture-update-desired-column): Convert comments to doc-strings.
3907 (picture-substitute): Remove function.
3908 (picture-mode-map): Initialize in the defvar.
3910 * woman.el: Remove eval-after-load for tar-mode.
3911 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3912 (woman-tar-extract-file): Autoload it.
3914 * frame.el (automatic-hscrolling): Make this alias obsolete.
3916 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3918 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
3919 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3920 (ispell-dictionary-base-alist): Revert to original XEmacs
3921 friendly version for default. [:alpha:] will be added in
3922 `ispell-set-spellchecker-params' if needed.
3924 2012-04-16 Chong Yidong <cyd@gnu.org>
3926 * image.el (imagemagick--extension-regexp): New variable.
3927 (imagemagick-register-types): Use it.
3928 (imagemagick-types-inhibit): Add :set function. Allow new value
3929 of t to inhibit all types.
3931 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3932 so we can preload it.
3934 * loadup.el (fboundp): Preload regexp-opt, needed by
3935 imagemagick-register-types.
3937 2012-04-15 Chong Yidong <cyd@gnu.org>
3939 * frame.el (scrolling): Remove nearly unused customization group.
3941 * scroll-all.el (scroll-all-mode): Move to windows group.
3943 2012-04-15 Chong Yidong <cyd@gnu.org>
3945 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3947 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3949 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3950 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3952 2012-04-15 Glenn Morris <rgm@gnu.org>
3954 * simple.el (process-file-side-effects): Doc fix.
3956 2012-04-15 Glenn Morris <rgm@gnu.org>
3958 * international/mule-cmds.el (set-language-environment): Doc fix.
3960 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3962 * server.el (server-auth-key, server-generate-key): Doc fixes.
3963 (server-get-auth-key): Doc fix. Use `string-match-p'.
3964 (server-start): Reflow docstring.
3966 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3968 * server.el (server-generate-key): `called-interactively-p'
3969 requires a parameter.
3971 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3973 * server.el (server-auth-key): New variable.
3974 (server-generate-key, server-get-auth-key): New function.
3975 (server-start): Use the new variable and functions to allow
3976 setting a permanent server key (bug#9423).
3978 2012-04-14 Leo Liu <sdl.web@gmail.com>
3980 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3982 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3985 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3986 Emacs uses American spelling.
3988 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3990 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3991 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3992 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3993 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3995 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3997 * progmodes/which-func.el (which-func-modes): Change default.
3999 2012-04-14 Kim F. Storm <storm@cua.dk>
4001 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4002 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4004 2012-04-14 Chong Yidong <cyd@gnu.org>
4006 * custom.el (custom-theme-set-variables): Doc fix.
4008 2012-04-14 Glenn Morris <rgm@gnu.org>
4010 * international/mule.el (set-auto-coding-for-load): Doc fix.
4012 2012-04-14 Alan Mackenzie <acm@muc.de>
4014 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4015 imenu work again for Objective C Mode. Correct the *-index values,
4016 these having been disturbed by a previous change in 2011-08.
4018 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4019 Correct two search limits.
4021 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4025 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4027 * international/characters.el: Fix sorting.
4029 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4031 * international/characters.el: Add more missing Latin case pairs.
4033 2012-04-14 Glenn Morris <rgm@gnu.org>
4035 * files.el (dir-locals-set-class-variables): Doc fix.
4037 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4039 * international/characters.el: Add set-case-syntax-pair call for
4040 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4041 counterpart. (Bug#11209)
4043 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4045 2012-04-14 Glenn Morris <rgm@gnu.org>
4047 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4049 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4051 * textmodes/ispell.el (ispell-dictionary-base-alist):
4052 Add data for Hebrew.
4054 2012-04-14 Chong Yidong <cyd@gnu.org>
4056 * net/rcirc.el (rcirc-cmd-quit):
4057 Revert 2012-03-18 change (Bug#11192).
4059 2012-04-14 Glenn Morris <rgm@gnu.org>
4061 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4063 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4065 * minibuffer.el (completion-in-region-mode-map):
4066 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4068 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4070 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4072 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4074 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4075 to allow `C-M-f' and `C-M-b' to move to the nearest path
4076 separator (bug#9511).
4078 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4080 * avoid.el: Require cl when compiling. And also move the
4081 `provide' to the end.
4083 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4085 * avoid.el (mouse-avoidance-banish-position): New variable.
4086 (mouse-avoidance-banish-destination): Use it (bug#10165).
4088 2012-04-13 Leo Liu <sdl.web@gmail.com>
4090 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4092 2012-04-13 Ken Brown <kbrown@cornell.edu>
4094 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4095 this is no longer needed now that cygstart understands file:// URLs.
4096 (browse-url-filename-alist): For the same reason, don't modify
4097 file:// URLs on Cygwin.
4099 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4102 the region on shift if the binding is already shifted (bug#11221).
4104 2012-04-12 Glenn Morris <rgm@gnu.org>
4106 * mail/mailpost.el: Move to obsolete/.
4108 2012-04-12 Drew Adams <drew.adams@oracle.com>
4110 * imenu.el (imenu--generic-function): Ignore invisible definitions
4113 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4115 * hexl.el (hexl-bits): New variable.
4116 (hexl-options): Mention the variable in the doc string.
4117 (hexl-rulerise, hexl-line-displen): New functions.
4118 (hexl-mode): Mention the new variable.
4119 (hexl-mode, hexl-current-address, hexl-current-address):
4121 (hexl-ascii-start-column): New function.
4122 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4123 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4125 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4127 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4128 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4129 the encoding, as expected by hunspell.
4131 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * battery.el (battery--linux-sysfs-regexp): New const.
4134 (battery-status-function): Use it. Remove yeeloong special case.
4135 (battery-yeeloong-sysfs): Remove.
4136 (battery-echo-area-format): Remove yeeloong special case.
4138 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4141 Reported by Noah Friedman.
4143 * subr.el (read-passwd): Use read-string.
4145 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147 * vcursor.el (vcursor-move): Increase the priority of the overlay
4150 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4152 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4153 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4155 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4157 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4158 define-minor-mode (bug#10760).
4160 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4162 * progmodes/grep.el (rgrep): Tweak the find command line so
4163 that directories matching `grep-find-ignored-files' won't be
4166 2012-04-11 Chong Yidong <cyd@gnu.org>
4168 * startup.el (command-line): Remove support for long-obsolete
4169 variable font-lock-face-attributes.
4171 2012-04-11 Glenn Morris <rgm@gnu.org>
4173 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4175 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * window.el (window--state-get-1): Obey window-point-insertion-type.
4179 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4181 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4182 to previous function when point is on the first character of a
4183 function. Take care of that in `narrow-to-defun' (bug#6157).
4185 2012-04-11 Glenn Morris <rgm@gnu.org>
4187 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4188 not just file-errors.
4190 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4191 (vc-bzr-sha1): Use internal sha1.
4193 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4197 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4199 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4200 that start in the middle of the line (bug#10496).
4202 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4204 * battery.el (battery-linux-proc-acpi): Only one battery is
4205 discharged at a time, but that seems to confuse battery.el when
4206 computing `rate-type' for the battery not being discharged
4209 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4213 * international/quail.el: Use dolist and simplify.
4214 (quail-define-package, quail-update-keyboard-layout)
4215 (quail-define-rules): Use dolist.
4216 (quail-insert-kbd-layout, quail-get-translation): CSE.
4218 * tmm.el: Use dolist, remove left over hook.
4219 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4221 (calendar-load-hook): Don't mess with it.
4223 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4224 Use derived-mode-p. Run the diff asynchronously.
4226 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4228 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4230 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4232 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4233 (list-dynamic-libraries--loaded): New function.
4234 (list-dynamic-libraries--refresh): Use it.
4236 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4238 * progmodes/python.el (python-fill-paragraph):
4239 Make python-fill-region in a multiline string work when font-lock is
4240 disabled (bug#7018).
4242 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4244 * language/european.el (cp775): Add oem/legacy (en)coding on
4245 DOS/MS Windows for the Baltic languages. There are still plenty
4246 of texts written in this encoding/codepage (bug#6519).
4248 2012-04-10 Glenn Morris <rgm@gnu.org>
4250 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4251 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4253 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4255 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4256 next-line "n" and previous-line "p" in order to make recentf more
4257 consistent with ibuffer, dired or org-mode (bug#9387).
4259 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4261 * image.el (put-image): Return the overlay created instead of the
4262 optional input string (bug#7834). Note that this may break code
4263 that is (for some reason or other) depending on `put-image'
4264 returning the string.
4266 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4268 * simple.el (zap-to-char): Allow zapping using input methods
4271 * textmodes/fill.el (fill-region): Leave point and mark where they
4272 were before filling (bug#5399).
4274 2012-04-09 Glenn Morris <rgm@gnu.org>
4276 * version.el (emacs-bzr-get-version):
4277 Handle lightweight checkouts of local branches.
4279 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4281 * international/characters.el: Recover lost case pairs. (Bug#11209)
4283 2012-04-09 Chong Yidong <cyd@gnu.org>
4285 * custom.el (custom-variable-p): Return nil for non-symbol
4286 arguments instead of signaling an error.
4287 (user-variable-p): Obsolete alias for custom-variable-p.
4289 * apropos.el (apropos-variable):
4290 * files-x.el (read-file-local-variable):
4291 * simple.el (set-variable):
4292 * woman.el (woman-mini-help):
4293 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4295 2012-04-09 Glenn Morris <rgm@gnu.org>
4297 * startup.el (normal-top-level): Don't look for leim-list.el
4298 in places where it will not be found. (Bug#910)
4300 * international/mule-cmds.el (set-default-coding-systems):
4301 * files.el (normal-mode):
4302 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4303 This function was removed with ucs-tables.el in 2008.
4305 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4307 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4308 ispell-encoding8-command to "-i", without a trailing space.
4309 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4310 separate command-line arguments, to specify the encoding, since
4311 that's how hunspell expects it.
4313 2012-04-08 Glenn Morris <rgm@gnu.org>
4315 * loadup.el: Load bindings before cus-start.
4316 This reduces somewhat the number of "rogue" settings in emacs -Q.
4318 2012-04-07 Glenn Morris <rgm@gnu.org>
4320 * version.el (emacs-bzr-get-version): New function.
4321 (emacs-bzr-version): New variable.
4322 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4323 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4325 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4327 * international/uni-bidi.el, international/uni-category.el:
4328 * international/uni-combining.el, international/uni-decimal.el:
4329 * international/uni-decomposition.el, international/uni-digit.el:
4330 * international/uni-lowercase.el, international/uni-mirrored.el:
4331 * international/uni-name.el, international/uni-numeric.el:
4332 * international/uni-titlecase.el, international/uni-uppercase.el:
4333 Update for Unicode 6.1.
4335 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4337 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4339 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4341 * window.el (shrink-window): Mention the `window-min-height'
4342 variable in the doc string.
4344 2012-04-05 Bastien Guerry <bzg@altern.org>
4346 * color.el (color-lighten-name): Fix typo.
4348 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4350 * server.el (server--on-display-p): New function.
4351 (server--on-display-p): Use it.
4353 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4355 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4358 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * comint.el (comint--common-quoted-suffix): Check string boundary
4361 before comparing (bug#11158).
4362 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4364 2012-04-04 Chong Yidong <cyd@gnu.org>
4366 * minibuffer.el (completion-extra-properties): Doc fix.
4368 * subr.el (delayed-warnings-hook): Doc fix.
4370 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4372 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4373 selection (Bug#11159).
4374 (epa-insert-keys): Inform that the default public key will be
4375 exported if no key is selected.
4377 2012-04-04 Richard Stallman <rms@gnu.org>
4379 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4381 2012-04-03 Chong Yidong <cyd@gnu.org>
4383 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4384 mail-insert-file, not its obsolete alias mail-attach-file.
4386 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4388 * notifications.el (notifications-notify): Fix docstring.
4390 2012-04-02 Glenn Morris <rgm@gnu.org>
4392 * emacs-lisp/authors.el (authors-aliases): Another addition.
4394 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4396 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4397 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4398 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4400 2012-04-01 Chong Yidong <cyd@gnu.org>
4402 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4403 Handle root directory properly.
4404 (copy-directory): Caller changed.
4406 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4407 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4409 2012-03-31 Glenn Morris <rgm@gnu.org>
4411 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4413 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4415 * calendar/calendar.el (calendar-window-list)
4416 (calendar-hide-window): Restore. (Bug#11140)
4417 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4419 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4421 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4423 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4424 Check if file is a symlink (Bug#10489).
4426 * files.el (copy-directory): Likewise.
4428 2012-03-30 Chong Yidong <cyd@gnu.org>
4430 * image.el (imagemagick-types-inhibit)
4431 (imagemagick-register-types): Doc fix.
4433 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4435 * textmodes/ispell.el (ispell-get-extended-character-mode):
4436 Disable extended-char-mode for hunspell. hunspell does not support it
4437 and treats ~word as ordinary words in pipe mode.
4439 2012-03-30 Glenn Morris <rgm@gnu.org>
4441 * tutorial.el (help-with-tutorial): Ensure local variables don't
4442 happen to make the buffer read-only. (Bug#11127)
4444 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4446 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4447 (perl-calculate-indent): Return `noindent' in strings.
4449 2012-03-28 Sam Steingold <sds@gnu.org>
4451 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4452 instead of the broken adhockery which does not prevent calendar
4453 buffers from being displayed at random after exit.
4454 (calendar-window-list, calendar-hide-window): Remove the broken
4457 2012-03-28 Glenn Morris <rgm@gnu.org>
4459 * replace.el (query-replace-map): Doc fix.
4461 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4463 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4464 contents. (Bug#11109)
4466 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4470 (avl-tree--check, avl-tree--check-node): New funs.
4472 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4474 * window.el (switch-to-visible-buffer): New option.
4475 (switch-to-prev-buffer, switch-to-next-buffer):
4476 Observe switch-to-visible-buffer. Make sure that checking for a window
4477 showing a buffer already is done on the same frame.
4479 2012-03-27 Glenn Morris <rgm@gnu.org>
4481 * startup.el (mail-host-address): Doc fix.
4483 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4488 2012-03-26 Ami Fischman <ami@fischman.org>
4490 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4492 2012-03-26 Glenn Morris <rgm@gnu.org>
4494 * files.el (save-buffers-kill-emacs): Doc fix.
4496 * startup.el (normal-top-level, command-line, command-line-1):
4497 Give them doc strings.
4499 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4501 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4502 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4504 2012-03-25 Chong Yidong <cyd@gnu.org>
4506 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4507 theme if it was previously enabled before (Bug#11031).
4509 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4510 spec with custom-face-get-current-spec if its :shown-value is not
4511 determined yet (Bug#9337).
4512 (customize-create-theme, custom-theme-revert): Doc fixes.
4514 * button.el (button-at): Minor addition to docstring.
4516 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4518 * vc/vc.el (vc-merge): Fix a prompt.
4520 2012-03-24 Chong Yidong <cyd@gnu.org>
4522 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4525 * button.el (button-at): Minor addition to docstring.
4527 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * newcomment.el (comment-choose-indent): No space after BOL.
4531 2012-03-22 Sam Steingold <sds@gnu.org>
4533 * window.el (switch-to-prev-buffer): Revert last patch because the
4534 bug turned out to be an advertised feature (Elisp manual 28.14).
4536 2012-03-22 Glenn Morris <rgm@gnu.org>
4538 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4539 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4541 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543 * net/network-stream.el (network-stream-open-starttls): Make error
4544 message under Windows be less misleading.
4546 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4548 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4549 understands (bug#9942).
4551 2012-03-22 Chong Yidong <cyd@gnu.org>
4553 * simple.el (end-of-visible-line): Handle return value of
4554 next-single-property-change properly (Bug#9371).
4556 2012-03-22 Kenichi Handa <handa@m17n.org>
4558 * international/quail.el (quail-insert-kbd-layout): Fix previous
4559 change. To avoid unwanted bidi reordering, use
4560 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4562 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4564 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4565 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4566 (ruby-beginning-of-indent): Be more careful with the difference
4567 between word-boundary and symbol boundary.
4568 (ruby-mode-syntax-table): Make : a symbol constituent.
4570 2012-03-21 Andreas Politz <politza@fh-trier.de>
4572 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4574 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * progmodes/etags.el (tags-completion-at-point-function):
4579 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4581 2012-03-21 Sam Steingold <sds@gnu.org>
4583 * progmodes/etags.el (tags-completion-at-point-function):
4584 Avoid the error when point is inside the pattern.
4586 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4588 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4591 2012-03-21 Drew Adams <drew.adams@oracle.com>
4593 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4595 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4597 * ido.el (ido-set-current-directory, ido-read-internal)
4598 (ido-choose-completion-string, ido-completion-help): Handle nil
4599 value of ido-completion-buffer (Bug#11008).
4601 2012-03-21 Sam Steingold <sds@gnu.org>
4603 * window.el (switch-to-prev-buffer): Do not switch to a visible
4604 window previous buffer, just like with the frame previous buffers.
4606 2012-03-21 Chong Yidong <cyd@gnu.org>
4608 * faces.el (make-face, make-empty-face, copy-face):
4609 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4612 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4615 (widget-complete): Remove broken use of it.
4617 2012-03-20 Chong Yidong <cyd@gnu.org>
4619 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4620 Use string-width and truncate-string-width to handle arbitrary
4623 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4625 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4626 to draw rectangles, not squares. (Regression introduced by revno
4627 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4629 2012-03-18 Chong Yidong <cyd@gnu.org>
4631 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4632 it is not yet defined (for temacs).
4634 2012-03-18 Leo Liu <sdl.web@gmail.com>
4636 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4638 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4640 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4641 (ispell-choices-win-default-height, ispell-silently-savep)
4642 (ispell-dictionary-alist, ispell-encoding8-command)
4643 (ispell-check-version, ispell-aspell-find-dictionary)
4644 (ispell-valid-dictionary-list, ispell-words-keyword)
4645 (ispell-get-word, ispell-internal-change-dictionary)
4646 (ispell-region, ispell-skip-region-list)
4647 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4648 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4649 (ispell-message-text-end, ispell-message)
4650 (ispell-buffer-local-parsing): Doc fix.
4652 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4654 * htmlfontify.el: Add support for code block fontification for ODT
4656 (hfy-optimisations): Define new option
4658 (hfy-fontify-buffer): Honor above setting.
4659 (hfy-begin-span, hfy-end-span): New routines factored out form
4660 `hfy-fontify-buffer'.
4661 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4662 that permit insertion of custom tags.
4663 (hfy-fontify-buffer): Use above handlers.
4664 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4665 (hfy-face-to-css): Re-defined to be a variable.
4666 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4667 over multiple runs. This is made possible by having the caller let
4668 bind a special variable `hfy-user-sheet-assoc'.
4669 (htmlfontify-string): New defun.
4670 (hfy-compile-face-map): Make sure that the last char in the
4671 buffer is correctly fontified.
4672 (hfy-face-resolve-face): Whitespace only change.
4674 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4676 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4679 2012-03-16 Leo Liu <sdl.web@gmail.com>
4681 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4683 2012-03-16 Alan Mackenzie <acm@muc.de>
4685 Further optimise the handling of large macros.
4687 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4688 limit to a call of `c-literal-limits'.
4689 (c-determine-+ve-limit): New function.
4690 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4691 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4692 In CASE 5B, restrict a search limit to 500.
4693 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4695 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4696 Restrict macro bounds to +-500 from after-change's BEG END.
4698 2012-03-16 Leo Liu <sdl.web@gmail.com>
4700 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4702 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4704 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4705 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4707 2012-03-16 Glenn Morris <rgm@gnu.org>
4709 * view.el (view-buffer, view-buffer-other-window)
4710 (view-buffer-other-frame): Doc fixes re special mode-class.
4712 * subr.el (eval-after-load): If named feature is provided not from
4713 a file, run after-load forms. (Bug#10946)
4715 * calendar/calendar.el (calendar-insert-at-column):
4716 Handle non-unit-width characters a bit better. (Bug#10978)
4718 2012-03-15 Chong Yidong <cyd@gnu.org>
4720 * emacs-lisp/ring.el (ring-extend): New function.
4721 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4723 * comint.el (comint-read-input-ring)
4724 (comint-add-to-input-history): Grow comint-input-ring lazily.
4726 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4729 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4731 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4732 (imenu-add-to-menubar): Don't add a redundant index.
4733 (imenu-update-menubar): Handle a dynamically composed keymap.
4735 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4737 * mail/sendmail.el (mail-encode-header):
4738 Bind rfc2047-encode-encoded-words to nil.
4740 2012-03-13 Glenn Morris <rgm@gnu.org>
4742 * calendar/calendar.el (calendar-string-spread):
4743 Handle non-unit-width characters a bit better. (Bug#10978)
4745 2012-03-13 Leo Liu <sdl.web@gmail.com>
4747 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4748 directory and file as argument (Bug#10822).
4750 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4752 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4753 For dynamically generated code, follow $PC.
4754 (gdb-disassembly-handler-custom): Handle no function name case.
4756 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4758 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4759 * emulation/ws-mode.el (ws-query-replace):
4760 * sort.el (sort-regexp-fields):
4761 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4763 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4765 * dabbrev.el: Fix cycle completion order (bug#10963).
4766 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4767 (dabbrev-completion): Don't use an obarray; provide
4768 a cycle-sort-function.
4770 2012-03-12 Leo Liu <sdl.web@gmail.com>
4772 * simple.el (kill-new): Use equal-including-properties for comparison.
4773 (kill-do-not-save-duplicates): Doc fix.
4775 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * dabbrev.el: Fix cycle completion (bug#10963).
4778 Use lexical binding and wrap to 80 columns.
4779 (dabbrev-completion): Delay computing the list of completions.
4781 2012-03-12 Kenichi Handa <handa@m17n.org>
4783 * international/quail.el (quail-insert-kbd-layout): Surround each
4784 row by LRO and PDF instead of inserting many LRMs. Pad the left
4785 and right of each non-spacing marks. Insert invisible space
4786 between lower and upper characters to prevent composition.
4788 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * minibuffer.el (minibuffer-complete): Don't get confused when the
4791 function is run twice via different commands (bug#10958).
4792 (complete-with-action): Fix docstring.
4794 2012-03-12 Chong Yidong <cyd@gnu.org>
4796 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4797 (nxml-completion-at-point-function): New function.
4798 (nxml-mode): Use it.
4799 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4801 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4802 Load generated autoloads file before byte compiling (Bug#10970).
4803 (package--make-autoloads-and-compile): New helper fun.
4805 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4807 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4809 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4811 * autorevert.el (auto-revert-handler): Ensure, that
4812 file-readable-p is applied only for local files or in
4813 auto-revert-tail-mode.
4815 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4817 * server.el (server-eval-at): Handle non-tcp connections.
4818 Decode result string.
4820 * server.el (server-msg-size): New constant.
4821 (server-reply-print): New function.
4822 (server-eval-and-print): Use it.
4823 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4826 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4828 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4831 2012-03-11 Chong Yidong <cyd@gnu.org>
4833 * simple.el (goto-line): Doc fix (Bug#9938).
4835 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4837 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4838 when finished (Bug#10963).
4840 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4842 * window.el (split-window-below): Fix bug in case where
4843 split-window-keep-point is nil (Bug#10971).
4845 2012-03-11 Juri Linkov <juri@jurta.org>
4847 * replace.el (replace-highlight): Set isearch-word to nil
4848 unconditionally. (Bug#10887)
4850 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4852 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4853 mairix-replace-illegal-chars; all callers changed. Don't remove
4854 ^, ~, and = characters: they are meaningful in mairix search specs.
4855 (mairix-widget-create-query): Add usage information about mairix
4856 search forms: negating words, searching for substrings, etc.
4858 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4860 * international/fontset.el (font-encoding-alist): Add an entry for
4863 2012-03-10 Richard Stallman <rms@gnu.org>
4865 * mail/sendmail.el (mail-encode-header):
4866 Set rfc2047-encode-encoded-words.
4868 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4870 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4871 view buffer means not swapped.
4872 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4873 (rmail-write-region-annotate): Error if real text has disappeared.
4875 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4877 2012-03-10 Chong Yidong <cyd@gnu.org>
4879 * emulation/cua-rect.el (cua--init-rectangles):
4880 * emulation/cua-base.el (cua--init-keymaps):
4881 Add delete-forward-char to remappings (Bug#9666).
4883 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4885 * speedbar.el (speedbar-unhighlight-one-tag-line):
4886 Avoid unhighlighting due to frame switching (Bug#10275).
4888 2012-03-10 Chong Yidong <cyd@gnu.org>
4890 * minibuffer.el (completion-in-region, completion-help-at-point):
4891 Give the completion field overlay a high priority (Bug#6830).
4893 * dired.el (dired-goto-file): Recognize absolute file name
4894 listings (Bug#7126).
4895 (dired-goto-file-1): New helper function.
4896 (dired-toggle-read-only): Inhibit warnings.
4898 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4900 * net/dbus.el (dbus-property-handler): Return empty array if
4901 there are no properties.
4903 2012-03-09 Leo Liu <sdl.web@gmail.com>
4905 * savehist.el (savehist-printable): Stricter check for string
4908 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4910 * mail/smtpmail.el (smtpmail-send-it):
4911 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4914 2012-03-09 Glenn Morris <rgm@gnu.org>
4916 * files.el (dir-locals-find-file):
4917 Don't check result is regular, readable.
4918 (dir-locals-read-from-file): Demote errors.
4920 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4922 * international/quail.el (quail-insert-kbd-layout):
4923 Insert invisible LRM characters before each character in a keyboard
4924 layout cell, to prevent their reordering by bidi display engine.
4925 For details, see the discussion in
4926 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4928 2012-03-08 Alan Mackenzie <acm@muc.de>
4930 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4931 the starting position; make it extend the marked region when
4932 invoked repeatedly - all under appropriate circumstances.
4933 Fixes bugs #5525, #10906.
4935 2012-03-08 Glenn Morris <rgm@gnu.org>
4937 * files.el (locate-dominating-file, dir-locals-find-file):
4938 Undo 2012-03-06 change.
4940 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4942 * international/quail.el (quail-help):
4943 Force bidi-paragraph-direction be left-to-right. See discussion in
4944 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4947 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4949 Avoid superfluous registering of signals. (Bug#10807)
4951 * notifications.el (notifications-on-action-object)
4952 (notifications-on-close-object): New defvars.
4953 (notifications-on-action-signal, notifications-on-closed-signal):
4954 Unregister the signal if not needed any longer.
4955 (notifications-notify): Register `notifications-action-signal' or
4956 `notifications-closed-signal', if :on-action or :on-close has been
4959 2012-03-07 Chong Yidong <cyd@gnu.org>
4961 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4964 2012-03-06 Glenn Morris <rgm@gnu.org>
4966 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4967 (x-disown-selection-internal, x-get-selection-internal):
4968 Doc fix (add arglist signatures). (Bug#10783)
4970 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4972 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4973 Handle breakpoints with no "type".
4975 2012-03-06 Glenn Morris <rgm@gnu.org>
4977 * files.el (locate-dominating-file): Add optional predicate argument.
4978 (dir-locals-find-file): Make use of above change.
4980 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4982 * info.el (Info-insert-dir): Also try "dir.gz".
4984 2012-03-06 Glenn Morris <rgm@gnu.org>
4986 * files.el (dir-locals-find-file):
4987 Ignore non-readable or non-regular files. (Bug#10928)
4989 * files.el (locate-dominating-file): Doc fix.
4991 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4993 * calendar/calendar.el (calendar-set-mode-line):
4994 `getenv' returns a string. (Bug#10951)
4996 2012-03-05 Leo Liu <sdl.web@gmail.com>
4998 * simple.el (backward-delete-char-untabify): Constrain point to
5001 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5003 2012-03-05 Chong Yidong <cyd@gnu.org>
5005 * simple.el (count-words): If called from Lisp, return the word
5006 count, for symmetry with `count-lines'. Arglist changed.
5007 (count-words--message): Args changed. Consolidate counting code
5008 from count-words and count-words-region.
5009 (count-words-region): Caller changed.
5010 (count-lines-region): Make it an obsolete alias.
5012 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5014 * saveplace.el (save-place-to-alist)
5015 (save-place-ignore-files-regexp): Allow value nil to disable this
5018 2012-03-04 Chong Yidong <cyd@gnu.org>
5020 * faces.el (face-spec-reset-face): For the default face, reset the
5021 attributes to default values (Bug#10748).
5023 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5026 previous patch: Check `message-send-mail-function', and not the
5027 default function (bug#10897).
5029 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5031 * notifications.el (notifications-on-action-signal)
5032 (notifications-on-closed-signal): Check for unique service name of
5033 incoming event. Fix error in removing entry.
5034 (top): Register for signals with wildcard service name.
5035 (notifications-notify): Use daemon unique service name for map entries.
5037 2012-03-04 Chong Yidong <cyd@gnu.org>
5039 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5041 2012-03-04 Glenn Morris <rgm@gnu.org>
5043 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5044 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5045 (expand-abbrev, define-abbrev-table): Doc fixes.
5047 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5050 `message-default-send-mail-function' and not `send-mail-function'
5051 when doing the prompting for `sendmail-query-once' before sending
5052 in Message buffers (bug#10897).
5054 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5055 This is inconsistent with all the other stream functions, which leave
5056 the setting up to the higher levels (if so wanted) (bug#10931).
5058 2012-03-02 Alan Mackenzie <acm@muc.de>
5060 Depessimize the handling of very large macros.
5062 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5063 (c-macro-cache-syntactic): New variables to implement a one
5064 element macro cache.
5065 (c-invalidate-macro-cache): New function.
5066 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5067 Adapt to use the new cache.
5068 (c-state-safe-place): Use better the cache of safe positions.
5069 (c-state-semi-nonlit-pos-cache)
5070 (c-state-semi-nonlit-pos-cache-limit):
5071 New variables for...
5072 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5073 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5074 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5075 Use c-state-semi-safe-place.
5077 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5078 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5080 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5082 * jka-compr.el (jka-compr-call-process):
5083 Apply `file-accessible-directory-p' only when the default directory is
5086 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5088 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5089 access of FILE2, if FILE1 does not exist.
5091 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5092 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5094 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5095 Add "PAGER=" to `process-environment'.
5097 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5099 * progmodes/sql.el: Bug fix
5100 (sql-get-login-ext): Save login values in globals.
5101 (sql-get-login): Use new version of `sql-get-login-ext'.
5102 (sql-interactive-mode): Set global `sql-connection' to nil.
5103 (sql-connect): Set global values for connection.
5104 (sql-product-interactive): Save global values as buffer local.
5106 2012-02-29 Leo Liu <sdl.web@gmail.com>
5108 * abbrev.el (define-abbrevs): Reset sys to nil.
5110 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5112 * files.el (file-equal-p): Rename from `files-equal-p'.
5113 Return nil when one or both files don't exist.
5114 (file-subdir-of-p): Now only top directory must exists,
5115 return nil if it doesn't.
5116 (copy-directory): No need to test with `file-subdir-of-p' after
5118 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5121 2012-02-28 Glenn Morris <rgm@gnu.org>
5123 * shell.el (shell-mode):
5124 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5125 * play/landmark.el (landmark-font-lock-face-O):
5126 * play/handwrite.el (handwrite):
5127 * play/gomoku.el (gomoku-O):
5128 * net/browse-url.el (browse-url-browser-display):
5129 * international/mule.el (define-charset):
5130 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5131 * filesets.el (filesets-find-file-delay):
5132 * eshell/em-xtra.el (eshell-xtra):
5133 * eshell/em-unix.el (eshell-grep):
5134 * emulation/viper.el (viper-mode):
5135 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5136 * emacs-lisp/easymenu.el (easy-menu-define):
5137 * calendar/timeclock.el (timeclock-use-display-time):
5139 * bookmark.el (bookmark-save-flag):
5140 Doc fix (standardize possessive apostrophe usage).
5142 2012-02-27 Chong Yidong <cyd@gnu.org>
5144 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5145 Fix key-binding lookup for ESC key (Bug#9146).
5147 * font-lock.el (font-lock-specified-p): Rename from
5148 font-lock-spec-present. Callers changed.
5150 2012-02-27 Daniel Hackney <dan@haxney.org>
5152 * emacs-lisp/package.el (package-compute-transaction):
5153 Handle holding a package version to t in package-load-list.
5155 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5157 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5158 (tramp-get-inode, tramp-get-device): Use cached values.
5160 2012-02-26 Alan Mackenzie <acm@muc.de>
5162 Check there is a font-lock specification before doing initial
5165 * font-core.el (font-lock-mode): Move the conditional from
5166 :after-hook to font-lock-initial-fontify.
5167 (font-lock-default-function): Move the check for a specification
5168 to font-lock-spec-present.
5170 * font-lock.el (font-lock-initial-fontify): Call ...
5171 (font-lock-spec-present): New function.
5173 2012-02-26 Jim Blandy <jimb@red-bean.com>
5175 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5176 (gdb-send): Apply it to the operand of the '-interpreter-exec
5177 console' command, so that we can pass arguments with (say) quotes
5178 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5180 2012-02-26 Chong Yidong <cyd@gnu.org>
5182 * help-fns.el (describe-function-1): Clarify description of
5183 remapping (Bug#10844).
5185 * files.el (files-equal-p): Doc fix.
5186 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5187 and quit the loop once a mismatch is found.
5189 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5191 * bs.el (bs--show-with-configuration): Don't throw an error
5192 if the window cannot be split; otherwise, subsequent calls to
5193 bs-show fail, restoring a stale window config. (Bug#10882)
5195 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5197 * term/ns-win.el (global-map): Bind ns-drag-file to
5198 ns-find-file (Bug#5855, Bug#10050).
5200 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5202 * calendar/parse-time.el (parse-time-string): Allow extractor to
5205 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5207 * net/tramp.el (tramp-file-name-for-operation):
5208 Add `files-equal-p' and `file-subdir-of-p'.
5210 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5211 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5212 Add COPY-CONTENTS argument.
5214 2012-02-25 Chong Yidong <cyd@gnu.org>
5216 Add custom groups for VC backends, for consistency with vc-bzr.
5218 * vc/vc-arch.el (vc-arch):
5219 * vc/vc-cvs.el (vc-cvs):
5220 * vc/vc-git.el (vc-git):
5221 * vc/vc-hg.el (vc-hg):
5222 * vc/vc-mtn.el (vc-mtn):
5223 * vc/vc-rcs.el (vc-rcs):
5224 * vc/vc-sccs.el (vc-sccs):
5225 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5226 All relevant defcustoms reassigned.
5228 2012-02-25 Chong Yidong <cyd@gnu.org>
5230 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5232 * term/x-win.el (x-initialize-window-system): Reduce default for
5233 x-selection-timeout to 5 seconds (Bug#8869).
5235 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5237 * files.el (files-equal-p, file-subdir-of-p): New functions.
5238 (copy-directory): Error when trying to copy a directory on itself.
5239 Add missing copy-contents arg to tramp handler.
5240 * dired-aux.el (dired-copy-file-recursive): Same.
5241 (dired-create-files): Modify destination when source is equal to
5242 dest when copying files.
5243 Return also when dest is a subdir of source. (Bug#10489)
5245 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5247 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5250 2012-02-23 Alan Mackenzie <acm@muc.de>
5252 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5253 parameter "after-hook:" to allow the expansion to run code after
5254 the execution of the mode hooks.
5256 * font-lock.el (font-lock-initial-fontify): New function extracted
5257 from font-lock-mode-internal.
5259 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5262 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5264 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5265 (completion--cache-all-sorted-completions): New function.
5266 (completion-all-sorted-completions): Use it.
5267 (completion--do-completion, minibuffer-force-complete):
5268 Use it to re-instate the flush hook.
5270 * icomplete.el (icomplete-completions): Replace last fix with a better
5273 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5275 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5276 when it might call us back infinitely (bug#10797).
5278 2012-02-23 Glenn Morris <rgm@gnu.org>
5280 * minibuffer.el (completion-category-overrides): Doc fix.
5282 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5285 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5287 2012-02-23 Glenn Morris <rgm@gnu.org>
5289 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5290 (authors-obsolete-files-regexps, authors-ignored-files)
5291 (authors-ambiguous-files, authors-renamed-files-alist):
5294 2012-02-23 Juri Linkov <juri@jurta.org>
5296 * isearch.el (isearch-occur): Sync interactive spec with occur's
5297 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5299 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5301 2012-02-22 Juri Linkov <juri@jurta.org>
5303 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5304 (ucs-insert): Doc fix. Check for hex digits in the string.
5305 Don't display `nil' in the error message. (Bug#10857)
5307 2012-02-22 Alan Mackenzie <acm@muc.de>
5309 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5311 2012-02-22 Glenn Morris <rgm@gnu.org>
5313 * ffap.el (ffap-c-path):
5314 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5316 2012-02-22 Chong Yidong <cyd@gnu.org>
5318 * custom.el (load-theme): Doc fix.
5320 2012-02-22 Glenn Morris <rgm@gnu.org>
5322 * dired-x.el (dired-guess-shell-alist-default):
5323 Remove escape sequences from nroff output. (Bug#172)
5325 2012-02-21 Glenn Morris <rgm@gnu.org>
5327 * vc/emerge.el (emerge-defvar-local):
5328 Set `permanent-local' property rather than unused `preserved'.
5330 * textmodes/picture.el (picture-delete-char): New alias.
5331 (picture-mode-map): Use it. (Bug#10860)
5332 (picture-mode): Doc fix.
5334 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5336 * newcomment.el (uncomment-region-default): Remove unused binding.
5338 2012-02-21 Glenn Morris <rgm@gnu.org>
5340 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5341 (picture-self-insert, picture-tab-chars): Doc fix.
5342 (picture-mode-map): Fix C-a, C-e.
5344 2012-02-20 Glenn Morris <rgm@gnu.org>
5346 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5348 2012-02-20 Leo Liu <sdl.web@gmail.com>
5350 * icomplete.el (icomplete-completions): Check FROM arg before
5351 passing to substring (Bug#10850).
5353 2012-02-19 Chong Yidong <cyd@gnu.org>
5355 * comint.el: Require ansi-color.
5356 (comint-output-filter-functions): Add ansi-color-process-output.
5358 * ansi-color.el: Don't set comint-output-filter-functions; it is
5359 now in the initial value defined in comint.el.
5360 (ansi-color-apply-face-function): New variable.
5361 (ansi-color-apply-on-region): Use it.
5362 (ansi-color-apply-overlay-face): New function.
5364 * shell.el (shell): No need to require ansi-color.
5365 (shell-mode): Use ansi-color-apply-face-function to highlight
5366 color escapes using font-lock-face property (Bug#10835).
5368 2012-02-19 Chong Yidong <cyd@gnu.org>
5370 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5371 mode-line formats (Bug#10839).
5373 2012-02-18 Glenn Morris <rgm@gnu.org>
5375 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5377 * mail/undigest.el (unforward-rmail-message): Doc fix.
5379 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5381 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5383 * international/characters.el (script-list): Sync with the latest
5384 Unicode Character Database.
5386 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5388 * international/titdic-cnv.el: Remove duplicate coding tag.
5389 * language/cham.el: Likewise.
5390 * language/tai-viet.el: Likewise.
5392 2012-02-18 Glenn Morris <rgm@gnu.org>
5394 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5395 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5396 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5397 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5398 * calendar/holidays.el (holiday-bahai-holidays)
5399 (calendar-holidays, list-holidays):
5400 Use utf-8 Bahá'à in doc-strings, menus, etc.
5402 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5404 * saveplace.el (save-place-ignore-files-regexp): New variable
5405 allowing for excluding files from saving their location of point.
5406 The default value matches the temporary commit message editing
5407 files from Git, SVN, Bazaar, and Mercurial.
5408 (save-place-to-alist): Use it.
5410 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5411 Stefan Monnier <monnier@iro.umontreal.ca>
5413 * newcomment.el (uncomment-region-default): Don't leave extra space
5414 when an arg is provided (bug#8150).
5416 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5418 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5420 2012-02-17 Glenn Morris <rgm@gnu.org>
5422 * net/socks.el: Require network-stream. (Bug#10599)
5424 2012-02-17 Kenichi Handa <handa@m17n.org>
5426 * international/charprop.el:
5427 * international/uni-name.el:
5428 * international/uni-old-name.el:
5429 * international/uni-comment.el: Regenerate.
5431 2012-02-16 Glenn Morris <rgm@gnu.org>
5433 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5434 Interactively in calendar buffer, give an error if not on a date.
5436 2012-02-15 Glenn Morris <rgm@gnu.org>
5438 * shell.el (shell-delimiter-argument-list):
5439 Revert 2011-02-17 change. (Bug#8027)
5441 2012-02-15 Chong Yidong <cyd@gnu.org>
5443 * minibuffer.el (completion-at-point-functions): Doc fix.
5445 * custom.el (defcustom): Doc fix; note use of defvar.
5447 2012-02-15 Glenn Morris <rgm@gnu.org>
5449 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5452 2012-02-14 Glenn Morris <rgm@gnu.org>
5454 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5456 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5458 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5459 way the ports list is computed.
5460 (smtpmail-query-smtp-server): Prompt the user for a port number if
5461 we can't connect to any of the standard ports (bug#10810).
5463 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5465 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5467 2012-02-13 Glenn Morris <rgm@gnu.org>
5469 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5471 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5473 * net/gnutls.el (gnutls-trustfiles): New variable.
5474 (gnutls-negotiate): Use it.
5476 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5478 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5479 does its stuff if Gnus is running.
5481 2012-02-13 Alan Mackenzie <acm@muc.de>
5483 Fix a loop in c-set-fl-decl-start.
5485 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5486 c-backward-syntactic-ws actually moves backwards.
5488 2012-02-13 Leo Liu <sdl.web@gmail.com>
5490 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5491 beginning so that all \C-o chars are removed.
5493 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5495 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5497 2012-02-12 Alan Mackenzie <acm@muc.de>
5499 Fix infinite loop with long macros.
5500 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5502 2012-02-12 Chong Yidong <cyd@gnu.org>
5504 * window.el (display-buffer): Doc fix (Bug#10785).
5506 2012-02-12 Glenn Morris <rgm@gnu.org>
5508 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5509 (x-disown-selection-internal, x-get-selection-internal):
5510 Sync docs with the xselect.c versions.
5512 * allout-widgets.el: Add missing license notice.
5514 2012-02-11 Glenn Morris <rgm@gnu.org>
5516 * select.el (x-get-selection-internal, x-own-selection-internal)
5517 (x-disown-selection-internal):
5518 * x-dnd.el (x-get-selection-internal): Update declarations.
5520 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5522 * window.el (window-sides-slots):
5523 * tool-bar.el (tool-bar-position):
5524 * term/xterm.el (xterm-extra-capabilities):
5525 * ses.el (ses-self-reference-early-detection):
5526 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5527 (verilog-auto-wire-type)
5528 (verilog-auto-delete-trailing-whitespace)
5529 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5530 (verilog-auto-tieoff-declaration):
5531 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5532 (sql-oracle-statement-starters, sql-oracle-scan-on):
5533 * progmodes/prolog.el (prolog-align-comments-flag)
5534 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5535 (prolog-left-indent-regexp, prolog-paren-indent-p)
5536 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5537 (prolog-types, prolog-mode-specificators)
5538 (prolog-determinism-specificators, prolog-directives)
5539 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5540 (prolog-electric-dot-flag)
5541 (prolog-electric-dot-full-predicate-template)
5542 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5543 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5544 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5545 (prolog-program-switches, prolog-prompt-regexp)
5546 (prolog-debug-on-string, prolog-debug-off-string)
5547 (prolog-trace-on-string, prolog-trace-off-string)
5548 (prolog-zip-on-string, prolog-zip-off-string)
5549 (prolog-use-standard-consult-compile-method-flag)
5550 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5551 (prolog-imenu-max-lines, prolog-info-predicate-index)
5552 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5553 (prolog-char-quote-workaround):
5554 * progmodes/cc-vars.el (c-defun-tactic):
5555 * net/tramp.el (tramp-encoding-command-interactive)
5556 (tramp-local-end-of-line):
5557 * net/soap-client.el (soap-client):
5558 * net/netrc.el (netrc-file):
5559 * net/gnutls.el (gnutls):
5560 * minibuffer.el (completion-category-overrides)
5561 (completion-cycle-threshold)
5562 (completion-pcm-complete-word-inserts-delimiters):
5563 * man.el (Man-name-local-regexp):
5564 * mail/feedmail.el (feedmail-display-full-frame):
5565 * international/characters.el (glyphless-char-display-control):
5566 * eshell/em-ls.el (eshell-ls-date-format):
5567 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5568 (lisp-lambda-list-keyword-parameter-indentation)
5569 (lisp-lambda-list-keyword-parameter-alignment):
5570 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5571 * dired-x.el (dired-omit-verbose):
5572 * cus-theme.el (custom-theme-allow-multiple-selections):
5573 * calc/calc.el (calc-highlight-selections-with-faces)
5574 (calc-lu-field-reference, calc-lu-power-reference)
5575 (calc-note-threshold):
5576 * battery.el (battery-mode-line-limit):
5577 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5578 (archive-7z-update):
5579 * allout.el (allout-prefixed-keybindings)
5580 (allout-unprefixed-keybindings)
5581 (allout-inhibit-auto-fill-on-headline)
5582 (allout-flattened-numbering-abbreviation):
5583 * allout-widgets.el (allout-widgets-auto-activation)
5584 (allout-widgets-icons-dark-subdir)
5585 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5586 (allout-widgets-theme-dark-background)
5587 (allout-widgets-theme-light-background)
5588 (allout-widgets-item-image-properties-emacs)
5589 (allout-widgets-item-image-properties-xemacs)
5590 (allout-widgets-run-unit-tests-on-load)
5591 (allout-widgets-time-decoration-activity)
5592 (allout-widgets-hook-error-post-time)
5593 (allout-widgets-track-decoration):
5594 Add missing :version tags to new defcustoms and defgroups.
5596 * progmodes/sql.el (sql-ansi-statement-starters)
5597 (sql-oracle-statement-starters): Add custom type.
5599 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5600 (prolog-system-version): Give it a type.
5602 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5604 * term/pc-win.el (x-select-text, x-selection-owner-p)
5605 (x-own-selection-internal, x-disown-selection-internal)
5606 (x-get-selection-internal): Sync doc strings and argument lists
5607 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5609 2012-02-11 Leo Liu <sdl.web@gmail.com>
5611 * progmodes/python.el (python-end-of-statement): Fix infinite
5614 2012-02-10 Glenn Morris <rgm@gnu.org>
5616 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5617 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5619 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5621 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5622 about SMTP before checking the From header.
5624 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5625 into own function for reuse by emacsbug.el.
5627 2012-02-10 Leo Liu <sdl.web@gmail.com>
5629 * subr.el (condition-case-unless-debug): Rename from
5630 condition-case-no-debug. All callers changed.
5631 (with-demoted-errors): Fix caller.
5633 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5634 * nxml/rng-valid.el (rng-do-some-validation):
5635 * emacs-lisp/package.el (package-refresh-contents)
5636 (package-menu-execute):
5637 * desktop.el (desktop-create-buffer):
5638 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5640 2012-02-10 Glenn Morris <rgm@gnu.org>
5642 * textmodes/bibtex.el:
5643 Add missing :version tags for new/changed defcustoms.
5645 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5647 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5649 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5650 (smtpmail-via-smtp): Use it, or fall back on the From address.
5651 (smtpmail-send-it): Ditto.
5653 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5655 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5656 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5657 (byte-compile-tmp-var): New const.
5658 (byte-compile-defvar): Use it to minimize .elc size.
5659 Just use `defvar' rather than simulate it (bug#10761).
5661 2012-02-09 Glenn Morris <rgm@gnu.org>
5663 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5665 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5668 * progmodes/compile.el (compilation-error-screen-columns)
5669 (compilation-first-column, compilation-filter-start): Doc fixes.
5671 * vc/log-view.el (log-view-toggle-entry-display):
5672 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5674 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5675 (report-emacs-bug-can-use-xdg-email):
5676 (report-emacs-bug-insert-to-mailer): Doc fixes.
5677 (report-emacs-bug): Message fix.
5679 * net/browse-url.el (browse-url-can-use-xdg-open)
5680 (browse-url-xdg-open): Doc fixes.
5682 * electric.el (electric-indent-mode, electric-pair-mode)
5683 (electric-layout-rules, electric-layout-mode): Doc fixes.
5684 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5686 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5688 * server.el (server-unselect-display): Don't inadvertently kill
5689 the current buffer. (Bug#10729)
5691 2012-02-08 Glenn Morris <rgm@gnu.org>
5693 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5694 (sql-list-table): Doc fixes.
5696 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5697 Comment out (does nothing).
5699 * completion.el (dynamic-completion-mode):
5700 * dirtrack.el (dirtrack-debug-mode):
5701 * electric.el (electric-layout-mode):
5702 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5703 * face-remap.el (text-scale-mode, buffer-face-mode):
5704 * iimage.el (iimage-mode):
5705 * image-mode.el (image-transform-mode):
5706 * minibuffer.el (completion-in-region-mode):
5707 * scroll-lock.el (scroll-lock-mode):
5708 * simple.el (next-error-follow-minor-mode):
5709 * tar-mode.el (tar-subfile-mode):
5710 * tooltip.el (tooltip-mode):
5711 * vcursor.el (vcursor-use-vcursor-map):
5712 * wid-browse.el (widget-minor-mode):
5713 * emulation/tpu-edt.el (tpu-edt-mode):
5714 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5715 * international/iso-ascii.el (iso-ascii-mode):
5716 * language/thai-util.el (thai-word-mode):
5717 * mail/supercite.el (sc-minor-mode):
5718 * net/goto-addr.el (goto-address-mode):
5719 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5720 * progmodes/cwarn.el (cwarn-mode):
5721 * progmodes/flymake.el (flymake-mode):
5722 * progmodes/glasses.el (glasses-mode):
5723 * progmodes/hideshow.el (hs-minor-mode):
5724 * progmodes/pascal.el (pascal-outline-mode):
5725 * textmodes/enriched.el (enriched-mode):
5726 * vc/smerge-mode.el (smerge-mode):
5727 Doc fixes (minor mode argument).
5729 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5731 * ls-lisp.el (ls-lisp-sanitize): New function.
5732 (ls-lisp-insert-directory): Use it to fix or remove any elements
5733 in file-alist with missing attributes. (Bug#4673)
5735 2012-02-07 Alan Mackenzie <acm@muc.de>
5737 Fix spurious recognition of c-in-knr-argdecl.
5739 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5740 putative K&R region.
5742 2012-02-07 Alan Mackenzie <acm@muc.de>
5744 * progmodes/cc-engine.el (c-forward-objc-directive):
5745 Prevent looping in "#pragma mark @implementation".
5747 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5749 * notifications.el (notifications-on-closed-signal): Make `reason'
5750 optional. (Bug#10744)
5752 2012-02-07 Glenn Morris <rgm@gnu.org>
5754 * emacs-lisp/easy-mmode.el (define-minor-mode):
5755 Doc fixes for the macro and the mode it defines.
5757 * image.el (imagemagick-types-inhibit): Doc fix.
5759 * cus-start.el (imagemagick-render-type): Add it.
5761 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5763 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5764 Set the default at load time, too, so that `font-lock-fontify-buffer'
5765 can be called without setting up the entire mode first. This fixes
5766 a bug in `mm-inline-text' with C MIME parts.
5768 2012-02-06 Chong Yidong <cyd@gnu.org>
5770 * simple.el (list-processes--refresh): Delete exited processes
5773 * comint.el (comint-next-prompt): next-single-char-property-change
5774 and prev-single-char-property-change never return nil (Bug#8657).
5776 * custom.el (defcustom): Doc fix (Bug#9711).
5778 2012-02-05 Chong Yidong <cyd@gnu.org>
5780 * cus-edit.el (custom-variable-reset-backup): Quote the value
5781 before storing it in the customized-value property (Bug#6712).
5782 (custom-display): Add a customization type tag.
5783 (custom-buffer-create-internal): Improve tooltip message.
5785 * wid-edit.el (widget-field-value-get): New optional arg to
5786 suppress trailing whitespace truncation.
5787 (character): Use it (Bug#2689).
5789 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5791 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5792 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5794 2012-02-05 Chong Yidong <cyd@gnu.org>
5796 * cus-edit.el (custom-variable-value-create): For mismatched
5797 types, show the current value (Bug#7600).
5799 * custom.el (defcustom): Doc fix.
5801 2012-02-05 Glenn Morris <rgm@gnu.org>
5803 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5805 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5807 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5808 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5809 (pp-last-sexp): Use `looking-at-p'.
5811 2012-02-04 Glenn Morris <rgm@gnu.org>
5813 * files.el (revert-buffer):
5814 Doc fix (mention revert-buffer-in-progress-p).
5816 * emacs-lisp/ert-x.el (ert-simulate-command):
5817 Check deferred-action-list (which is obsolete) is bound.
5819 * subr.el (with-wrapper-hook): Doc fixes.
5821 * simple.el (filter-buffer-substring-functions)
5822 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5824 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5826 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5827 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5829 2012-02-04 Leo Liu <sdl.web@gmail.com>
5831 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5833 2012-02-04 Glenn Morris <rgm@gnu.org>
5835 * image.el (image-extension-data): Add obsolete alias.
5837 * isearch.el (isearch-update): Doc fix.
5839 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5841 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5843 2012-02-03 Glenn Morris <rgm@gnu.org>
5845 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5846 (image-animate-timeout): Doc fix.
5848 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5850 2012-02-02 Glenn Morris <rgm@gnu.org>
5852 * server.el (server-auth-dir): Doc fix.
5853 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5855 * subr.el (run-mode-hooks): Doc fix.
5857 2012-02-02 Juri Linkov <juri@jurta.org>
5859 * image-mode.el (image-toggle-display-image): Remove tautological
5860 `major-mode' from the `derived-mode-p' test.
5862 2012-02-02 Kenichi Handa <handa@m17n.org>
5864 * composite.el (compose-region): Cancel previous change.
5866 2012-02-02 Kenichi Handa <handa@m17n.org>
5868 * composite.el (compose-region, compose-string): Signal error for
5869 a null string component (Bug#6988).
5871 2012-02-01 Chong Yidong <cyd@gnu.org>
5873 * view.el (view-buffer-other-window, view-buffer-other-frame):
5874 Handle special modes like view-buffer (Bug#10650).
5875 (view-buffer): Simplify.
5877 * frame.el (set-frame-font): Tweak meaning of third argument.
5879 * dynamic-setting.el (font-setting-change-default-font):
5880 Use set-frame-font (Bug#9982).
5882 2012-02-01 Glenn Morris <rgm@gnu.org>
5884 * progmodes/compile.el (compilation-internal-error-properties):
5885 Respect compilation-first-column in the "*compilation*" buffer.
5887 * emacs-lisp/easy-mmode.el (define-minor-mode):
5888 Relax :variable's test for a named function.
5890 2012-01-31 Alan Mackenzie <acm@muc.de>
5892 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5895 2012-01-31 Chong Yidong <cyd@gnu.org>
5897 * frame.el (set-frame-font): New arg ALL-FRAMES.
5899 * menu-bar.el (menu-set-font): Use set-frame-font.
5901 * faces.el (face-spec-reset-face): Don't apply unspecified
5902 attribute values to the default face.
5904 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5906 * progmodes/cwarn.el (cwarn): Remove dead link.
5907 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5908 Remove * from defcustom docstrings.
5909 (turn-on-cwarn-mode): Make obsolete.
5910 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5911 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5913 2012-01-31 Glenn Morris <rgm@gnu.org>
5915 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5916 Fix :variable handling of mode a symbol not equal to modefun.
5917 Allow named functions to be used as the cdr of :variable.
5919 2012-01-30 Glenn Morris <rgm@gnu.org>
5921 * emacs-lisp/authors.el (authors-fixed-entries):
5922 Remove reference to deleted file rnewspost.el.
5924 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5926 * window.el (window-with-parameter): Remove unused variable `windows'.
5927 (window--side-check): Remove unused variable `code'.
5928 (window--resize-siblings): Remove unused variable `first'.
5929 (adjust-window-trailing-edge): Remove unused variable `failed'.
5930 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5931 Use `let', not `let*'.
5932 (balance-windows-2): Remove unused variable `found'.
5933 (window--state-put-2): Remove unused variable `splits'.
5934 (window-state-put): Remove unused variable `selected'.
5935 (same-window-p): Use `string-match-p'.
5936 (display-buffer-assq-regexp): Remove unused variable `value'.
5937 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5938 Mark argument ALIST as ignored.
5939 (pop-to-buffer): Remove unused variable `old-window'.
5941 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5943 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5944 and .lzma compressed files.
5946 2012-01-29 Chong Yidong <cyd@gnu.org>
5948 * frame.el (window-system-default-frame-alist): Doc fix.
5950 * dynamic-setting.el (font-setting-change-default-font): Don't
5951 change the default face if SET-FONT argument is non-nil (Bug#9982).
5953 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5955 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5957 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5959 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5960 breakpoints in files outside current directory (Bug#6098).
5962 2012-01-29 Chong Yidong <cyd@gnu.org>
5964 * progmodes/python.el: Require ansi-color at top-level.
5966 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5967 Define and use in Emacs Lisp mode (Bug#9360).
5968 (lisp-mode-abbrev-table): Add doc.
5969 (lisp-mode-variables): Don't set local-abbrev-table.
5970 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5972 2012-01-28 Roland Winkler <winkler@gnu.org>
5974 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5976 2012-01-28 Roland Winkler <winkler@gnu.org>
5978 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5979 (bibtex-set-dialect): Use it. Either set global values of
5980 dialect-dependent variables or bind these variables buffer-locally
5982 (bibtex-mode): Call bibtex-set-dialect via
5983 hack-local-variables-hook.
5984 (bibtex-dialect): Update docstring.
5985 Add safe-local-variable predicate.
5986 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5988 (bibtex-mode-map): Define menu for each dialect.
5989 (bibtex-entry): Fix docstring.
5991 2012-01-28 Chong Yidong <cyd@gnu.org>
5993 * eshell/esh-arg.el (eshell-quote-argument): New function.
5995 * eshell/esh-ext.el (eshell-invoke-batch-file):
5996 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5997 first arg to eshell-parse-command (Bug#10523).
5999 2012-01-28 Drew Adams <drew.adams@oracle.com>
6001 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6002 `default-directory' is non-nil.
6004 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6006 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6007 line that displays system-configuration-options. (Bug#9924)
6009 2012-01-28 Drew Adams <drew.adams@oracle.com>
6011 * descr-text.el (describe-char): Show information about POS, in
6012 addition to information about the character at POS. Improve and
6013 update the doc string. Change "code point" to "code point in
6014 charset", to avoid confusion with the character's Unicode code
6015 point shown above that. (Bug#10129)
6017 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6019 * descr-text.el (describe-char): Show the raw character, not only
6020 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6021 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6024 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6026 * emacs-lisp/package.el (package-install):
6027 Run package-refresh-contents if there is no archive yet (Bug#9798).
6029 2012-01-28 Chong Yidong <cyd@gnu.org>
6031 * emacs-lisp/package.el (package-maybe-load-descriptor):
6032 New function, split from package-maybe-load-descriptor.
6033 (package-maybe-load-descriptor): Use it.
6034 (package-download-transaction): Fully load required packages
6035 inside the loop, so that `require' calls work (Bug#10593).
6036 (package-install): No need to call package-initialize now.
6038 2012-01-28 Chong Yidong <cyd@gnu.org>
6040 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6042 * tooltip.el (tooltip-mode): Doc fix.
6043 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6045 * frame.el (set-cursor-color): Doc fix (Bug#352).
6047 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6048 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6050 * cus-edit.el (custom-buffer-create-internal): Fix search button
6052 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6054 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6056 * dired.el (dired-mark-files-regexp):
6057 Include any subdirectory components. (Bug#10445)
6059 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6061 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6062 Handle [host]:port syntax. (Bug#10533)
6064 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6066 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6068 2012-01-26 Glenn Morris <rgm@gnu.org>
6070 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6071 * term.el (term-raw-escape-map): Use Control-X-prefix.
6072 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6074 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6076 * window.el (window-state-get, window--state-get-1): Don't deal
6077 with fixed-sizeness of windows. Simplify code.
6079 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6081 * window.el (window--state-get-1, window--state-put-2):
6082 Don't save and restore the mark.
6084 2012-01-25 Chong Yidong <cyd@gnu.org>
6086 * custom.el (custom-variable-p): Doc fix.
6088 2012-01-25 Glenn Morris <rgm@gnu.org>
6090 * dired.el (dired-goto-file): Handle some of the more common
6091 characters that `ls -b' escapes. (Bug#10596)
6093 * progmodes/compile.el (compilation-next-error-function):
6094 Respect compilation-first-column in the "*compilation*" buffer.
6095 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6097 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6099 2012-01-24 Glenn Morris <rgm@gnu.org>
6101 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6103 2012-01-24 Julien Danjou <julien@danjou.info>
6105 * color.el (color-rgb-to-hsl): Fix value computing.
6106 (color-hue-to-rgb): New function.
6107 (color-hsl-to-rgb): New function.
6108 (color-clamp, color-saturate-hsl, color-saturate-name)
6109 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6110 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6112 2012-01-24 Glenn Morris <rgm@gnu.org>
6114 * vc/vc-rcs.el (vc-rcs-create-tag):
6115 * vc/vc-sccs.el (vc-sccs-create-tag):
6116 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6118 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6120 * eshell/esh-util.el (eshell-read-hosts-file):
6121 Skip comment lines. (Bug#10549)
6123 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6125 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6127 * subr.el (display-delayed-warnings): Doc fix.
6128 (collapse-delayed-warnings): New function to collapse identical
6130 (delayed-warnings-hook): Add it.
6132 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6134 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6136 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6137 (tramp-default-user-alist): Don't add "pscp".
6138 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6139 property "login-as", if set. (Bug#10530)
6141 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6143 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6144 "plink1" and "psftp". (Bug#10530)
6146 2012-01-21 Kenichi Handa <handa@m17n.org>
6148 * international/mule-cmds.el (prefer-coding-system): Show a
6149 warning message if the default value of file-name-coding-system
6152 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6154 * windmove.el (windmove-reference-loc):
6155 Fix windmove-reference-loc miscalculation.
6157 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6159 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6162 2012-01-21 Glenn Morris <rgm@gnu.org>
6164 * international/mule.el (auto-coding-alist): Add .tbz.
6166 * files.el (local-enable-local-variables): Doc fix.
6167 (inhibit-local-variables-regexps): Rename from
6168 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6169 Doc fix. Add some extensions from auto-coding-alist.
6170 (inhibit-local-variables-suffixes):
6171 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6172 (inhibit-local-variables-p):
6173 New function, extracted from set-auto-mode-1.
6174 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6175 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6176 (hack-local-variables): Doc fix. Make the mode-only case
6177 respect enable-local-variables and friends.
6178 Respect inhibit-local-variables-regexps for file-locals, but
6179 not for directory-locals.
6180 (set-visited-file-name):
6181 Take account of inhibit-local-variables-regexps.
6182 Whether it applies may change as the file name is changed.
6183 * jka-cmpr-hook.el (jka-compr-install):
6184 * jka-compr.el (jka-compr-uninstall):
6185 Update for inhibit-first-line-modes-suffixes name change.
6187 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6189 * help-macro.el (make-help-screen): Temporarily restore original
6190 binding for minor-mode-map-alist (Bug#10454).
6192 2012-01-19 Julien Danjou <julien@danjou.info>
6194 * color.el (color-name-to-rgb): Use the white color to find the max
6195 color component value and return correctly computed values.
6196 (color-name-to-rgb): Add missing float conversion for max value.
6198 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6200 * window.el (window--state-get-1, window-state-get): Do not use
6201 special state value for window-persistent-parameters.
6202 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6203 (window--state-put-2): Reset all window parameters to nil before
6204 assigning values of persistent parameters.
6206 2012-01-18 Alan Mackenzie <acm@muc.de>
6208 Eliminate sluggishness and hangs in fontification of "semicolon
6211 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6212 Change value 10000 -> 3000.
6213 (c-state-safe-place): Reformulate so it doesn't stack up an
6214 infinite number of wrong entries in c-state-nonlit-pos-cache.
6215 (c-determine-limit-get-base, c-determine-limit): New functions to
6216 determine backward search limits disregarding literals.
6217 (c-find-decl-spots): Amend commenting.
6218 (c-cheap-inside-bracelist-p): New function which detects "={".
6220 * progmodes/cc-fonts.el
6221 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6223 (c-font-lock-declarations): Fix an occurrence of point being
6224 undefined. Check additionally for point being in a bracelist or
6225 near a macro invocation without a semicolon so as to avoid a
6226 fruitless time consuming search for a declarator. Give a more
6227 precise search limit for declarators using the new
6230 2012-01-18 Glenn Morris <rgm@gnu.org>
6232 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6233 (set-auto-mode): Doc fixes.
6235 2012-01-17 Glenn Morris <rgm@gnu.org>
6237 * isearch.el (search-nonincremental-instead): Fix doc typo.
6239 * dired.el (dired-insert-directory): Handle newlines in directory name.
6240 (dired-build-subdir-alist): Unescape newlines in directory name.
6242 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6244 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6245 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6246 (tramp-action-terminal): Use it. (Bug#10530)
6248 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6250 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6252 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6254 * window.el (window-state-ignored-parameters): Remove variable.
6255 (window--state-get-1): Rename argument MARKERS to IGNORE.
6256 Handle persistent window parameters. Make copy of clone-of
6257 parameter only if requested. (Bug#10348)
6258 (window--state-put-2): Install a window parameter only if it has
6259 a non-nil value or an existing parameter shall be overwritten.
6261 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6263 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6265 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6267 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6268 don't pass the (nil) value of `upnode' to string-match.
6270 2012-01-14 Chong Yidong <cyd@gnu.org>
6272 * startup.el (command-line): Fix X resource class for cursorColor.
6273 Fix values recognized by the cursorBlink resource.
6275 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6277 * epg.el (epg--make-temp-file): Avoid permission race condition
6278 when running on old Emacs versions (bug#10403).
6280 2012-01-14 Glenn Morris <rgm@gnu.org>
6282 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6284 2012-01-13 Alan Mackenzie <acm@muc.de>
6286 Fix filling for when filladapt mode is enabled.
6288 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6289 c-mask-paragraph, pass in `fill-paragraph' rather than
6290 `fill-region-as-paragraph'. (This is a reversion of a previous
6292 * progmodes/cc-mode.el (c-basic-common-init):
6293 Make fill-paragraph-handle-comment buffer local and set it to nil.
6295 2012-01-13 Glenn Morris <rgm@gnu.org>
6297 * dired.el (dired-switches-escape-p): New function.
6298 (dired-insert-directory): Use dired-switches-escape-p.
6299 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6301 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6303 2012-01-12 Glenn Morris <rgm@gnu.org>
6305 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6306 changes in adaptive-fill-regexp. (Bug#10276)
6308 2012-01-11 Alan Mackenzie <acm@muc.de>
6310 Fix Emacs bug #10463 - put `widen's around the critical spots.
6312 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6313 widen around each invocation of c-state-pp-to-literal. Remove an
6314 unused let variable.
6316 2012-01-11 Glenn Morris <rgm@gnu.org>
6318 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6321 2012-01-10 Chong Yidong <cyd@gnu.org>
6323 * net/network-stream.el (network-stream-open-starttls):
6324 Avoid emitting a confusing error message when the server gives a bad
6325 response to the capability command.
6327 2012-01-10 Glenn Morris <rgm@gnu.org>
6329 * mail/unrmail.el (unrmail): Tweak previous change.
6331 2012-01-09 Chong Yidong <cyd@gnu.org>
6333 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6335 2012-01-08 Alan Mackenzie <acm@muc.de>
6337 Optimise font locking in long enum definitions.
6339 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6340 arm to a cond form to handle enums.
6341 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6342 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6344 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6346 * files.el (move-file-to-trash): Preserve default file modes on error.
6349 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351 * faces.el (set-face-attribute): Clarify the meaning of the nil
6354 * subr.el (with-selected-frame): Mention that the selected frame
6355 is restored (bug#9980).
6357 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6360 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6361 (password-read): Don't autoload unused function.
6363 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6365 * progmodes/which-func.el (which-func-mode): Turn into a
6366 non-interactive function and mark as obsolete (bug#10428).
6368 2012-01-06 Chong Yidong <cyd@gnu.org>
6370 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6371 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6372 functions, along with 1 and -1.
6374 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6376 * time.el (display-time-load-average)
6377 (display-time-default-load-average): Doc fixes. See the thread
6379 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6382 2012-01-06 Glenn Morris <rgm@gnu.org>
6384 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6385 has no messages. (Bug#10377)
6387 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6388 than Info-edit. (Bug#10385)
6390 * time.el (display-time-load-average, display-time-next-load-average):
6393 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6394 local setting of buffer-read-only to the input buffer. (Bug#10419)
6396 * calendar/calendar.el (calendar-mode):
6397 Locally set scroll-margin to 0. (Bug#10379)
6399 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6401 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6403 2012-01-05 Glenn Morris <rgm@gnu.org>
6405 * eshell/em-unix.el (diff-no-select): Autoload it.
6406 (eshell/diff): Use diff-no-select. (Bug#10420)
6408 2012-01-05 Chong Yidong <cyd@gnu.org>
6410 * shell.el (shell-dynamic-complete-functions): Revert last change.
6411 (shell-command-completion-function): New function.
6412 (shell-completion-vars): Use it to implement
6413 shell-completion-execonly (Bug#10417).
6415 * custom.el (enable-theme): Don't set custom-safe-themes.
6417 * cus-theme.el (custom-theme-merge-theme):
6418 Ignore custom-enabled-themes and custom-safe-themes.
6420 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6422 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6423 first prompt in `sql-interacive-mode'.
6424 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6426 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6427 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6428 context of original buffer. Invoke `sql-login-hook'.
6430 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6432 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6433 letters in cite-prefix.
6435 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6439 2012-01-03 Chong Yidong <cyd@gnu.org>
6441 * shell.el (shell-dynamic-complete-functions):
6442 Put pcomplete-completions-at-point, so as to try
6443 comint-filename-completion first (Bug#10417).
6445 2012-01-02 Richard Stallman <rms@gnu.org>
6447 * battery.el (battery-status-function):
6448 Detect when to use battery-yeeloong-sysfs.
6449 (battery-echo-area-format): Add string for Yeeloong.
6450 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6451 (battery-yeeloong-sysfs): New function.
6453 2012-01-02 Chong Yidong <cyd@gnu.org>
6455 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6456 (dirtrack): Merge code for handling relative filenames in prompt
6457 from shell-dir-cookie-watcher.
6458 (dirtrack-debug-message): New arg to avoid excess format calls.
6460 * shell.el (shell-dir-cookie-re): Variable deleted.
6461 (shell-dir-cookie-watcher): Function deleted.
6462 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6465 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6467 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6468 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6471 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6473 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6475 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6477 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6478 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6480 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6482 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6483 also for alternative shells.
6484 (tramp-open-connection-setup-interactive-shell): Check, whether
6485 the shell is a busybox.
6486 (tramp-send-command): Don't suppress multiple prompts for
6487 busyboxes, it hurts.
6489 2011-12-28 Chong Yidong <cyd@gnu.org>
6491 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6492 (gdb-get-source-file): Move mode line update to
6493 gdb-get-source-file (Bug#10087).
6495 2011-12-25 Chong Yidong <cyd@gnu.org>
6497 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6498 gud-gdb-marker-filter without taking it as an argument.
6499 (gud-gdb-run-command-fetch-lines): Caller changed.
6500 (gud-gdb-completion-function): New variable.
6501 (gud-gdb-completion-at-point): Use it.
6502 (gud-gdb-completions-1): Split from gud-gdb-completions.
6504 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6505 function as separate arguments.
6506 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6507 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6508 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6509 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6510 (gdb-stopped, def-gdb-auto-update-trigger)
6511 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6512 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6514 (gud-gdbmi-completions): New function.
6515 (gdb): Use it for generating the completion table.
6517 2011-12-24 Alan Mackenzie <acm@muc.de>
6519 Introduce a mechanism to widen the region used in context font
6520 locking. Use this to protect declarations from losing their contexts.
6522 * progmodes/cc-langs.el (c-before-font-lock-functions):
6523 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6524 (c-before-context-fontification-functions): New defvar, a list of
6525 functions to be run just before context (etc.) font locking.
6527 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6528 New, functionality extracted from
6529 c-neutralize-syntax-in-and-mark-CPP.
6530 (c-in-after-change-fontification): New variable.
6531 (c-after-change): Set c-in-after-change-fontification.
6532 (c-set-fl-decl-start): Rejig its interface, so it can be called
6533 from both after-change and context fontifying.
6534 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6536 (c-standard-font-lock-fontify-region-function): New variable.
6537 (c-font-lock-fontify-region): New function.
6539 2011-12-24 Juri Linkov <juri@jurta.org>
6541 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6544 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6546 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6547 existence of source file. (Bug#10325)
6549 2011-12-23 Alan Mackenzie <acm@muc.de>
6551 Fix unstable fontification inside templates.
6553 * progmodes/cc-langs.el (c-before-font-lock-functions):
6554 Newly created from the singular version. The (c c++ objc) entry now
6555 additionally has c-set-fl-decl-start. The other languages (apart
6556 from AWK) have that as a single entry.
6558 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6559 The functionality for "local" declarations has been extracted to
6560 c-set-fl-decl-start.
6562 * progmodes/cc-mode.el (c-common-init, c-after-change):
6563 Changes due to pluralisation of c-before-font-lock-functions.
6564 (c-set-fl-decl-start): New function, extracted from
6565 c-font-lock-enclosing-decls and enhanced.
6567 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6569 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6571 2011-12-22 Juri Linkov <juri@jurta.org>
6573 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6575 2011-12-22 Chong Yidong <cyd@gnu.org>
6577 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6579 2011-12-21 Drew Adams <drew.adams@oracle.com>
6581 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6583 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6585 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6587 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6589 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6590 highlighting and support. Fix up comments for capitalization.
6591 (cfengine-mode-debug): New var.
6592 (cfengine3-mode): Change the modeline indicator to "CFE3".
6593 (cfengine3-font-lock-keywords): Improve defun highlighting.
6594 (cfengine2-actions): Rename from `cfengine-actions'.
6595 (cfengine2-font-lock-keywords): Rename from
6596 `cfengine-font-lock-keywords'.
6597 (cfengine2-imenu-expression): Rename from
6598 `cfengine-imenu-expression'.
6599 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6600 (cfengine2-beginning-of-defun): Rename from
6601 `cfengine-beginning-of-defun'.
6602 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6603 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6604 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6605 modeline indicator to "CFE2".
6606 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6607 (cfengine-mode-abbrevs): Mark obsolete.
6609 2011-12-21 Chong Yidong <cyd@gnu.org>
6611 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6614 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6616 * window.el (window-normalize-buffer-to-display): Remove.
6617 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6619 2011-12-19 Chong Yidong <cyd@gnu.org>
6621 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6622 Don't signal an error in a predicate function; return non-nil.
6623 (vc-dir-mark-file): Move the error here.
6624 (vc-dir-mark-unmark): If acting on the region, keep going if one
6625 of the entries cannot be marked/unmarked.
6626 (vc-dir-mark-all-files): If current entry is a directory, mark
6627 only child files, as documented.
6629 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6631 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6632 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6635 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6637 * term/ns-win.el (ns-get-selection-internal)
6638 (ns-store-selection-internal): Declare.
6639 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6640 Declare as obsolete.
6641 (ns-get-pasteboard, ns-paste-secondary):
6642 Use ns-get-selection-internal.
6643 (ns-set-pasteboard, ns-copy-including-secondary):
6644 Use ns-store-selection-internal.
6646 2011-12-17 Chong Yidong <cyd@gnu.org>
6648 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6649 (vc-deduce-fileset): Doc fix.
6651 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6653 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6655 2011-12-13 Sam Steingold <sds@gnu.org>
6657 * man.el (Man-getpage-in-background): When running under a
6658 window-system, ignore $MANWIDTH and $COLUMNS.
6660 2011-12-15 Kenichi Handa <handa@m17n.org>
6662 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6663 (setup-ethiopic-environment-internal): Comment out key-binding for
6664 ethio-toggle-punctuation.
6666 2011-12-13 Alan Mackenzie <acm@muc.de>
6668 Add the switch statement to AWK Mode.
6670 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6671 "default" to the keywords regexp.
6673 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6674 expression as the rest.
6675 (c-nonlabel-token-key): Allow string literals for AWK.
6676 Refactor for the other modes.
6678 Large brace-block initialisation makes CC Mode slow: Fix.
6679 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6680 routines. Limit backward searching in c-font-lock-enclosing.decl.
6682 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6683 pp-state and literal type in addition to the limits.
6684 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6685 (c-state-literal-at): Use the above new defun.
6686 (c-slow-in-literal, c-fast-in-literal): Remove.
6687 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6689 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6690 being in a literal. Add a limit for backward searching.
6692 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6695 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6697 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6699 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6701 * window.el (delete-other-windows): Use correct frame in call to
6702 window-with-parameter.
6704 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6706 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6707 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6708 (makefile-gmake-statements, makefile-makepp-statements):
6709 Use it and add new makepp keywords.
6710 (makefile-makepp-font-lock-keywords): Add new patterns.
6711 (makefile-match-function-end): Match new [...] and [[...]].
6713 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6715 * ses.el (ses-call-printer-return, ses-cell-property-get)
6716 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6717 (ses-create-cell-variable, ses-reset-header-string)
6718 (ses-cell-set-formula, ses-repair-cell-reference-all)
6719 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6720 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6721 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6722 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6723 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6724 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6725 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6726 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6727 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6728 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6729 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6730 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6732 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6734 * ses.el: The overall change is to add cell renaming, that is
6735 setting fancy names for cell symbols other than name matching
6736 "\\`[A-Z]+[0-9]+\\'" regexp .
6737 (ses-create-cell-variable): New defun.
6738 (ses-relocate-formula): Relocate formulas only for cells the
6739 symbols of which are not renamed, i.e. symbols whose names do not
6740 match regexp "\\`[A-Z]+[0-9]+\\'".
6741 (ses-relocate-all): Relocate values only for cells the symbols of
6742 which are not renamed.
6743 (ses-load): Create cells variables as the (ses-cell ...) are read,
6744 in order to check row col consistency with cell symbol name only
6745 for cells that are not renamed.
6746 (ses-replace-name-in-formula): New defun.
6747 (ses-rename-cell): New defun.
6749 2011-12-11 Chong Yidong <cyd@gnu.org>
6751 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6752 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6754 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6756 * window.el (other-window): Fix docstring.
6758 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6760 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6761 `from' or `to' address before taking its substring.
6762 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6763 encoded name is chopped in the middle of the encoded string, and
6764 thus displayed encoded.
6766 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6768 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6770 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6772 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6773 to use texinfo-update-node and commands that call it if the
6774 Texinfo file uses @node lines without next/prev/up pointers.
6775 Correct outdated description about texinfo-master-menu.
6776 (texinfo-all-menus-update, texinfo-master-menu)
6777 (texinfo-update-node, texinfo-every-node-update)
6778 (texinfo-multiple-files-update): Doc fix. Warn against updating
6779 all the @node lines.
6780 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6781 argument is numeric. Explain better in the doc string what the
6782 function really does.
6783 (texinfo-insert-master-menu-list): Improve the error message
6784 displayed if there's no menu in the Top node.
6785 (Bug#2975) See also this thread:
6786 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6788 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6790 * speedbar.el (speedbar-supported-extension-expressions):
6791 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6793 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6795 * printing.el (pr-mode-alist):
6796 * simple.el (filter-buffer-substring-functions)
6797 (completion-list-insert-choice-function):
6798 * window.el (window-with-parameter, window-atom-root)
6799 (window-sides-slots, window-size-fixed, window-min-delta)
6800 (window-max-delta, window--resize-mini-window)
6801 (window--resize-child-windows-normal, window-tree)
6802 (delete-other-windows, quit-window, split-window)
6803 (display-buffer-record-window, special-display-buffer-names)
6804 (special-display-regexps, special-display-popup-frame)
6805 (same-window-p, split-window-sensibly)
6806 (display-buffer-overriding-action, display-buffer-alist)
6807 (display-buffer-base-action, display-buffer, switch-to-buffer)
6808 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6809 (fit-window-to-buffer, recenter-positions)
6810 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6811 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6812 and remove unneeded backslashes in docstrings.
6814 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6818 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6819 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6821 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6822 when reading the makefile (bug#10116).
6824 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6826 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6829 2011-12-06 Glenn Morris <rgm@gnu.org>
6831 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6833 2011-12-06 Chong Yidong <cyd@gnu.org>
6835 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6837 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6839 * textmodes/table.el (table-shorten-cell): Fix typo.
6841 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6843 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6845 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6847 * descr-text.el (describe-char): Fix display of strong
6848 right-to-left characters and directional embeddings and overrides.
6850 * simple.el (what-cursor-position): Fix display of codepoints of
6851 strong right-to-left characters.
6853 2011-12-05 Chong Yidong <cyd@gnu.org>
6855 * faces.el (read-color): Doc fix.
6857 2011-12-05 Glenn Morris <rgm@gnu.org>
6859 * align.el (align--set-marker): Add doc-string.
6860 Don't try to move something that is not a marker. (Bug#10216)
6862 2011-12-04 Glenn Morris <rgm@gnu.org>
6864 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6865 overly zealous deletion of trailing whitespace.
6867 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6869 * server.el (server-delete-client): On Windows, do not try to delete
6871 (server-process-filter): On Windows, treat requests for a tty frame as
6872 if they were for a GUI frame if the running server is in GUI mode.
6874 2011-12-03 Glenn Morris <rgm@gnu.org>
6876 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6878 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * electric.el: Streamline electric-indent's hook.
6881 (electric-indent-chars): Revert to simple list.
6882 (electric-indent-functions): New var.
6883 (electric-indent-post-self-insert-function): Use it.
6885 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6886 there's no inferior buffer (bug#10196).
6887 (prolog-consult-compile): Don't use toggle-read-only.
6889 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6891 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6892 interrupt. (Bug#10187)
6894 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6896 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6899 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6902 2011-12-02 Juri Linkov <juri@jurta.org>
6904 * info.el (Info-search): Display "end of manual" when Isearch
6905 reaches the end of single-file Info manual. (Bug#9918)
6907 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6909 * isearch.el (isearch-message-prefix): Run the input method part
6910 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6912 2011-12-02 Juri Linkov <juri@jurta.org>
6914 * isearch.el (isearch-occur): Use `word-search-regexp' for
6916 (isearch-search-and-update): Add condition for `isearch-word' and
6917 call `word-search-regexp'. (Bug#10145)
6919 2011-12-01 Glenn Morris <rgm@gnu.org>
6921 * eshell/em-hist.el (eshell-hist-initialize):
6922 Handle eshell-history-size nil and HISTSIZE set or unset.
6923 (eshell-history-file-name, eshell-history-size): Fix custom type.
6925 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6927 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6929 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6931 * progmodes/verilog-mode.el (verilog-pretty-expr):
6932 Rework verilog-pretty-expr to handle new assignment operators in system
6933 verilog, such as += *= and the like.
6934 (verilog-assignment-operator-re): Regular expression to find the
6935 assigment operator in a verilog assignment.
6936 (verilog-assignment-operation-re): Regular expression to find an
6937 assignment statement for pretty-expr.
6938 (verilog-in-attribute-p): Query returns true if point is in an
6939 attribute context; used to skip these for expression line up from
6941 (verilog-in-parameter-p): Query returns true if point is in an
6942 parameter definition context; used to skip these for expression
6943 line up from pretty-expr.
6944 (verilog-in-parenthesis-p): Query returns true if point is in a
6945 parenthetical expression, specifically ( ) but not [ ] or { };
6946 used by pretty-expr.
6947 (verilog-just-one-space): If there is no space, don't add one.
6948 (verilog-get-lineup-indent-2): Specifically skip just attribute
6949 contexts for expression lineup, rather than skipping all
6950 parenthetical expressions.
6951 (verilog-calculate-indent): Fix comment, and fix indent.
6952 (verilog-do-indent): Indent declarations in lists (suggested by
6954 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6956 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6959 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6961 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6962 parameters with embedded comments. Reported by Ray Stevens.
6963 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6964 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6965 Reported by Tim Holt.
6966 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6967 instantiated by upper module causing wrong expansion until AUTOed a
6968 second time. Reported by K C Buckenmaier.
6969 (verilog-diff-auto): Fix showing .* as a difference when
6970 `verilog-auto-star-save' off. Reported by Dan Dever.
6971 (verilog-auto-reset, verilog-read-always-signals)
6972 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6973 temporary signals in reset list if
6974 verilog-auto-reset-blocking-in-non is nil, and match assignment
6975 style to each signal's assignment type, bug381.
6976 Reported by Thomas Esposito.
6977 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6978 (verilog-uvm-statement-re): Support UVM indentation and
6979 highlighting, with old OVM keywords only.
6980 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6981 Support AUTOTIEOFF creating non-wire data types.
6982 Suggested by Jonathan Greenlaw.
6983 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6984 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6985 (verilog-inject-sense, verilog-read-inst-pins)
6986 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6987 Fix mismatching parenthesis inside commented out code when deleting
6988 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6989 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6990 non-numeric vector width. Reported by Alex Reed.
6991 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6992 detecting signals with parameter widths. Reported by Alex Reed.
6993 (verilog-auto-delete-trailing-whitespace):
6994 With `verilog-auto-delete-trailing-whitespace' remove trailing
6995 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6996 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6997 Fix verilog-scan-cache corruption when running user AUTO expansion
6998 hooks that call indentation routines.
6999 (verilog-simplify-range-expression): Fix typo ignoring lower case
7001 (verilog-delete-auto): Fix delete-autos to also remove user created
7002 automatics, as long as they start with AUTO.
7003 (verilog-batch-diff-auto, verilog-diff-auto)
7004 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7005 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7006 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7007 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7008 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7009 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7010 is disabled and its cache will get corrupt, causing AUTOS not to
7011 expand. Instead use only -quick functions.
7012 (verilog-scan-region): Fix scanning over escaped quotes.
7013 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7014 (verilog-re-search-backward-quick)
7015 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7016 related functions now ignore strings, to fix misparsing of strings
7017 with magic comments embedded in them.
7018 (verilog-read-auto-template):
7019 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7020 Reported by Brad Dobbie.
7021 (verilog-read-auto-template):
7022 Fix 'verilog-auto-inst-template-numbers' with comments.
7023 Reported by Brad Dobbie.
7024 (verilog-auto-inst, verilog-auto-inst-param)
7025 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7026 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7027 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7028 debugging templates without merge conflicts, bug357.
7029 Reported by Brad Dobbie.
7030 (verilog-read-auto-template):
7031 Fix verilog-auto-inst-template-numbers with multiple templates.
7032 Reported by Brad Dobbie.
7033 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7034 abbrevs so user won't be asked to save.
7035 (verilog-read-auto-lisp-present): Fix to start at beginning of
7036 buffer in case called outside of verilog-auto.
7037 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7038 to "X-2". Reported by Matthew Myers.
7039 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7040 all inputs from module templates. Reported by Leith Johnson.
7041 (verilog-module-inside-filename-p): Fix locating programs as with
7043 (verilog-auto-inst-port): Fix vl-width expressions when using
7044 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7045 (verilog-decls-get-regs, verilog-decls-get-signals,
7046 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7047 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7048 verilog-read-decls): Combine reg and wire structures into one var
7049 structure to represent SystemVerilog concepts.
7050 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7051 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7052 (verilog-auto-wire-type, verilog-insert-definition):
7053 Add verilog-auto-wire-type and AUTOLOGIC to support using
7054 SystemVerilog "logic" keyword instead of "wire"/"reg".
7055 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7056 to declares outputs that also have assignments (presumably in an
7057 ifdef or generate if so there's not a driver conflict).
7058 Reported by Matthew Myers.
7059 (verilog-auto-declare-nettype, verilog-insert-definition):
7060 Add verilog-auto-declare-nettype to fix declarations using
7061 `default_nettype none. Reported by Julian Gorfajn.
7062 (verilog-read-always-signals-recurse, verilog-read-decls)
7063 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7064 malformed end statement, bug325. Reported by Joshua Wise and
7066 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7067 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7068 when expanding .* in interfaces, bug320.
7069 Reported by Pierre-David Pfister.
7070 (verilog-read-module-name): Fix import statements between module
7071 name and open parenthesis, bug317.
7072 Reported by Pierre-David Pfister.
7073 (verilog-simplify-range-expression): Fix simplification of
7074 multiplications inside AUTOWIRE connections, bug303.
7075 (verilog-auto-inst-port): Support parameter expansion in
7076 multidimensional arrays.
7077 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7078 after "assert property". Reported by Julian Gorfajn.
7079 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7080 with multiplication, bug303.
7081 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7082 Reported by Jan Frode Lonnum.
7084 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7086 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7087 (hfy-shell-file-name, hfy-shell):
7088 * international/fontset.el (x-decompose-font-name): Fix typos.
7090 2011-11-29 Ken Brown <kbrown@cornell.edu>
7092 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7093 (gdb-version): Remove defvar.
7094 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7095 (gdb-gud-context-command, gdb-non-stop-handler)
7096 (gdb-current-context-command, gdb-stopped): Use it.
7097 (gdb-init-1): Enable pretty printing here.
7098 (gdb-non-stop-handler): Don't enable pretty-printing here.
7099 Check to see if the target supports non-stop mode; if not, turn off
7100 non-stop mode. Use the following.
7101 (gdb-check-target-async): New defun.
7102 (gud-watch, gdb-stopped): Fix whitespace.
7103 (gdb-get-source-file): Don't try to display the source file if
7104 `gdb-main-file' is nil.
7106 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * align.el: Try to generate fewer markers (bug#10047).
7109 (align--set-marker): New macro.
7110 (align-region): Use it.
7112 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7116 2011-11-29 Chong Yidong <cyd@gnu.org>
7118 * indent.el (indent-for-tab-command, indent-according-to-mode):
7120 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7122 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7124 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7125 aware of remote file names. (Bug#10124)
7127 2011-11-29 Chong Yidong <cyd@gnu.org>
7129 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7131 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * files.el (find-file): Don't use force-same-window (bug#10144).
7134 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7135 use pop-to-buffer if the selected window can't be used.
7136 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7138 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7140 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7143 2011-11-28 Chong Yidong <cyd@gnu.org>
7145 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7147 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7149 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7150 gdb-get-source-file-list on gdb-create-source-file-list.
7152 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7154 * whitespace.el (whitespace-newline): Use a different foreground
7155 color for 16-color light-background displays.
7157 2011-11-24 Chong Yidong <cyd@gnu.org>
7159 * window.el (display-buffer--special-action): Doc fix.
7161 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7163 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7164 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7165 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7166 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7167 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7168 (avl-tree-stack-first):
7169 * emacs-lisp/cconv.el (cconv--analyse-use):
7170 * net/gnutls.el (gnutls-negotiate): Fix typos.
7172 2011-11-24 Glenn Morris <rgm@gnu.org>
7174 * lpr.el (lpr-windows-system, lpr-lp-system):
7175 * mail/binhex.el (binhex-begin-line):
7176 * progmodes/grep.el (grep-history, grep-find-history):
7177 * textmodes/flyspell.el:
7178 * vc/pcvs-defs.el (cvs-global-menu):
7179 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7180 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7181 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7183 * net/tls.el: Fix case of "GnuTLS".
7185 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7187 * version.el (emacs-build-system): Give it a doc-string.
7189 2011-11-24 Juri Linkov <juri@jurta.org>
7191 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7193 2011-11-24 Glenn Morris <rgm@gnu.org>
7195 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7196 if called on a non-mime message just toggle the headers. (Bug#8006)
7198 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7200 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7201 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7202 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7203 (allout-rebullet-heading, allout-open-sibtopic)
7204 (allout-toggle-current-subtree-encryption)
7205 (allout-toggle-subtree-encryption, allout-encrypt-string)
7206 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7207 (allout-distinctive-bullets-string, allout-auto-activation):
7208 * window.el (window-normalize-buffer-to-display):
7209 * progmodes/verilog-mode.el (verilog-batch-indent):
7210 * textmodes/bibtex.el (bibtex-field-braces-opt)
7211 (bibtex-field-strings-opt):
7212 * vc/cvs-status.el (cvs-tree-merge):
7215 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7217 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7218 `non-essential' to t, in order to avoid remote connections.
7220 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7222 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7223 On MS-DOS and MS-Windows, compare with loaddefs.el
7226 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7228 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7230 2011-11-23 Glenn Morris <rgm@gnu.org>
7232 * paths.el (rmail-file-name): Reformat the doc-string so that it
7235 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7236 (rmail-auto-file): Ignore case in the "special" field names,
7237 as mail-fetch-field does for all others.
7239 * mail/rmail.el (rmail-forward):
7240 * mail/rmailkwd.el (rmail-set-label):
7241 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7242 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7244 * mail/rmail.el (rmail-current-message): Doc fix.
7246 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7248 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7252 2011-11-22 Glenn Morris <rgm@gnu.org>
7254 * mail/rmailmm.el (test-rmail-mime-handler)
7255 (test-rmail-mime-bulk-handler)
7256 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7258 2011-11-21 Juri Linkov <juri@jurta.org>
7260 * calc/calc.el (calc-read-key-sequence):
7261 Let-bind `input-method-function' to nil. (Bug#10018)
7263 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7265 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7266 Tell the caller that the next line needs recomputation, even
7267 though it doesn't start a sexp (bug#10094).
7269 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7273 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7275 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7276 Use force-same-window.
7278 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7280 * descr-text.el (describe-char-unicode-data):
7281 * json.el (json-string-escape):
7282 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7283 (Footnote-unicode, Footnote-style-p):
7284 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7286 2011-11-20 Chong Yidong <cyd@gnu.org>
7288 * window.el (replace-buffer-in-windows): Restore interactive spec.
7290 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7294 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7295 (byte-compile-global-not-obsolete-vars): New var.
7296 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7298 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7300 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7302 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7303 * progmodes/pascal.el (electric-pascal-equal):
7304 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7305 * xml.el (xml-substitute-special): Fix typos.
7307 2011-11-20 Glenn Morris <rgm@gnu.org>
7309 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7310 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7312 (rmail-decode-mime-charset): Mark as obsolete.
7314 * mail/rmailsum.el (rmail-message-regexp-p-1):
7315 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7316 Before using mime functions, check they are set. (Bug#10077)
7318 2011-11-19 Juri Linkov <juri@jurta.org>
7320 * info.el (Info-finder-find-node): Use `package--builtins' instead
7321 of `package-alist'. Use node names formed by the pattern "Keyword "
7322 and the keyword name.
7324 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7326 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7328 2011-11-19 Juri Linkov <juri@jurta.org>
7330 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7331 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7332 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7333 `old-history', `old-history-forward'. Add let-binding
7334 `window-selected'. Remove calls to `kill-buffer',
7335 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7336 before calling `Info-find-node', so `Info-find-node-2' will reread
7337 the Info file. Restore window positions only when `window-selected'
7340 2011-11-19 Juri Linkov <juri@jurta.org>
7342 * isearch.el (isearch-lazy-highlight-new-loop):
7343 Remove condition `(not isearch-error)'. (Bug#9918)
7345 * misearch.el (multi-isearch-search-fun): Add condition
7346 `(not bound)' to ignore lazy-highlighting search.
7347 Add the search-failed message "end of multi" when the end of
7348 multi-sequence is reached. Uncapitalize the search-failed
7349 message "Repeat for next buffer".
7351 * info.el (Info-search): Add the search-failed message
7352 "end of the manual" when the end of the manual is reached
7355 2011-11-19 Juri Linkov <juri@jurta.org>
7357 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7358 Use non-destructive `remove' instead of `delete' because
7359 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7360 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7362 2011-11-19 Juri Linkov <juri@jurta.org>
7364 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7365 to nil instead of binding `search-ring' and `regexp-search-ring'.
7368 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7370 * simple.el (line-move): Force movement by logical lines for any
7371 hscrolled window, not only when auto-hscroll-mode is on.
7372 (line-move-visual): Update doc string to that effect. (Bug#10076)
7374 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7376 * language/european.el (macintosh): Define as alias for mac-roman.
7378 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7380 * mail/rmailmm.el (rmail-mime-display-header)
7381 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7382 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7383 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7384 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7385 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7387 (rmail-mime-entity-segment): To get past the tagline, move forward
7388 2 more lines, to account for the 2 empty lines that precede and
7389 follow the line with the buttons.
7390 (rmail-mime-update-tagline): Move one more line, to get past the
7391 empty line that follows the buttons in the tagline. (Bug#9520)
7393 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7395 * window.el (window-max-delta-1, window-min-delta-1)
7396 (window-min-size-1, window-state-get-1, window-state-put-1)
7397 (window-state-put-2): Use "window--" prefix.
7399 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7401 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7402 (smie-warning-count): New var.
7403 (smie-set-prec2tab): Use it.
7404 (smie-bnf->prec2): Improve warnings. Add docstring.
7405 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7406 (smie-bnf--set-class): New function.
7407 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7410 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7411 (compilation-error-properties, compilation-move-to-column):
7412 Handle compilation-first-column while in the target buffer.
7414 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7415 Don't hardcode point-min==1.
7417 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7418 (eshell-rewrite-for-command): Remove workaround.
7419 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7420 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7421 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7423 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7425 2011-11-17 Glenn Morris <rgm@gnu.org>
7427 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7428 Ignore buffer-local generated-autoload-file if it is the same
7429 as the global value. (Bug#10049)
7431 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7433 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7434 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7435 (reftex-toc-previous-heading, reftex-toc-max-level)
7436 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7437 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7438 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7439 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7440 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7441 (reftex-toc-rename-label, reftex-toc-visit-location)
7442 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7443 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7444 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7445 leaving "*toc*" only for references to the buffer.
7447 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7449 * window.el (window-resize, delete-window, split-window):
7450 Replace window-splits by window-combination-resize.
7451 * cus-start.el (window-splits): Replace by window-combination-resize.
7453 2011-11-17 Glenn Morris <rgm@gnu.org>
7455 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7456 Make bash entry derive from sh entry, not shell entry.
7458 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7460 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7463 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7465 * menu-bar.el (menu-bar-file-menu):
7466 * printing.el (pr-ps-utility):
7467 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7468 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7469 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7470 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7471 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7472 (icalendar--convert-cyclic-to-ical)
7473 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7474 (icalendar--convert-ical-to-diary)
7475 (icalendar--convert-recurring-to-diary)
7476 (icalendar--convert-non-recurring-all-day-to-diary)
7477 (icalendar-import-format-sample):
7478 * progmodes/idlw-shell.el (idlwave-shell-mode):
7479 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7480 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7481 (vhdl-ps-print-init): Fix typos.
7483 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7485 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7486 FSF and collapse date sequence, obscure author/maintainer email address
7487 better, remove extra version line, track relocation of author's webpage.
7489 * progmodes/python.el (python-pdbtrack-input-prompt)
7490 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7491 regular python pdb prompts. Adjustments shamelessly taken exactly as
7492 suggested in EmacsWiki page (tiny change):
7493 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7495 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7497 * expand.el (expand-pos, expand-index, expand-point):
7498 Remove redundant info from docstring.
7499 (expand-add-abbrevs): Doc fix.
7500 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7501 (expand-sample-perl-mode-expand-list): Fix typos.
7503 * net/dbus.el (dbus-event-member-name):
7504 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7505 * term/pc-win.el (msdos-create-frame-with-faces):
7506 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7508 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7510 * window.el (split-window, window-state-get-1)
7511 (window-state-put-1, window-state-put-2): Rename occurrences of
7512 window-nest to window-combination-limit.
7513 * cus-start.el (window-nest): Rename to window-combination-limit.
7515 2011-11-16 Chong Yidong <cyd@gnu.org>
7517 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7520 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7523 `completing-read' will remove *Completions* and will preserve
7524 current-buffer for us.
7525 (tmm-add-prompt): Users of *Completions* will always (re)set its
7527 (tmm-old-comp-map): Remove.
7529 2011-11-16 Glenn Morris <rgm@gnu.org>
7531 * mail/rmailedit.el: Require rmailmm when compiling.
7532 (rmail-old-mime-state): New declaration.
7533 (rmail-edit-current-message): If editing a mime message,
7534 edit the "raw" message from the mbox buffer.
7535 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7537 2011-11-15 Glenn Morris <rgm@gnu.org>
7539 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7540 which wasn't being used. Add optional arg to force given state.
7541 (rmail-mime): Add optional arg to force given state.
7543 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7545 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7546 * frame.el (display-mm-dimensions-alist):
7547 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7548 (outline-move-subtree-down):
7549 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7550 (newsticker--treeview-do-get-node):
7551 * net/quickurl.el (quickurl-list-buffer-name):
7552 * progmodes/dcl-mode.el (dcl-mode):
7553 * progmodes/gdb-mi.el (gdb-mapcar*):
7554 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7556 2011-11-15 Glenn Morris <rgm@gnu.org>
7558 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7559 in a boolean sense, so just make it a boolean, and fix the doc.
7560 (rmail-show-mime-function, rmail-mime-feature)
7561 (rmail-require-mime-maybe): Doc fixes.
7562 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7564 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7566 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7568 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7569 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7570 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7571 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7573 2011-11-15 Glenn Morris <rgm@gnu.org>
7575 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7576 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7577 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7578 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7579 (rmail-mime, rmail-show-mime): Doc fixes.
7581 * term/ns-win.el (mode-line-frame-identification):
7582 Leave it alone. (Bug#10051)
7584 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7586 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7587 Handle empty buffers. (Bug#9978)
7589 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7591 * international/mule.el (define-charset):
7592 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7593 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7594 * progmodes/verilog-mode.el (verilog-backward-token):
7595 * textmodes/ispell.el (lookup-words):
7596 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7598 2011-11-14 Glenn Morris <rgm@gnu.org>
7600 * progmodes/executable.el
7601 (executable-make-buffer-file-executable-if-script-p):
7602 Handle file-modes returning nil.
7604 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7605 message - not necessary, and causes problems. (Bug#9831)
7607 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7609 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7611 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7612 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7613 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7615 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7617 * window.el (window-resize, delete-window): Use window-splits
7618 variable instead of function.
7619 (window-state-get-1, window-state-put-2, window-state-put):
7620 Don't deal with windows' splits status.
7622 2011-11-12 Glenn Morris <rgm@gnu.org>
7624 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7625 (apropos-documentation): Doc fixes.
7627 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7629 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7630 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7632 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7634 * electric.el (electric-indent-post-self-insert-function): Make it
7635 possible for a char to only indent in some circumstances.
7636 (electric-indent-mode): Simplify.
7638 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7640 * window.el (windows-with-parameter): Remove unused function.
7641 (windows-at-side): Rename to window-at-side-list.
7642 (window-check, window-atom-check, window-atom-check-1)
7643 (window-side-check, window-size-ignore, window-size-fixed-1)
7644 (window-in-direction-2): Prefix with "window--".
7645 (window-tree-1): Rename to window--subtree, fix doc-string.
7647 2011-11-11 Glenn Morris <rgm@gnu.org>
7649 * subr.el (eval-after-load): If FILE is already loaded,
7650 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7652 2011-11-10 Glenn Morris <rgm@gnu.org>
7654 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7655 Call svn via vc-svn-command rather than vc-do-command.
7656 (vc-svn-command): Add --non-interactive. (Bug#9993)
7657 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7659 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7660 Add toggle-read-only. (Bug#7292)
7661 * files.el (toggle-read-only): Mention that it should only
7662 be used interactively. (Bug#10006)
7664 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7667 Adjust regexp for OCaml warnings.
7669 * electric.el (electric-pair-post-self-insert-function): Let user
7670 turn it off buffer-locally (bug#9932).
7672 * progmodes/python.el (python-beginning-of-statement):
7675 * progmodes/compile.el: Better handle TABs (bug#9749).
7676 (compilation-internal-error-properties)
7677 (compilation-next-error-function): Obey the target buffer's
7678 compilation-error-screen-columns.
7680 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7682 * progmodes/meta-mode.el: Remove obsolete comments.
7683 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7684 Fix typos in docstrings.
7686 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7688 * window.el (window-size-fixed-p): Rewrite doc-string.
7689 (window-resizable-p): Rename to window--resizable-p. Update callers.
7690 (window--resizable): New function. Make all callers of
7691 window-resizable call window--resizable instead.
7692 (window-resizable): Rewrite in terms of window--resizable.
7694 2011-11-08 Glenn Morris <rgm@gnu.org>
7696 * progmodes/delphi.el (delphi-mode-syntax-table):
7697 Let define-derived-mode define a proper syntax table. (Bug#9994)
7699 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7701 * window.el: Stay away from defsubst.
7702 (window-list-no-nils): Remove.
7703 (window-state-get-1, window-state-get): Use backquote instead.
7705 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7707 * emacs-lisp/find-func.el (find-function-read):
7708 Fix incorrect use of default argument in `completing-read'.
7710 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7712 * window.el (display-buffer-function, special-display-function):
7713 Mention display-buffer-record-window but do not mention
7714 help-setup parameter in doc-strings.
7715 (window-min-delta): Fix doc-string typo.
7717 2011-11-08 Chong Yidong <cyd@gnu.org>
7719 * window.el (window-total-height, window-total-width): Doc fix.
7720 (window-body-size): Move from C.
7721 (window-body-height, window-body-width): Move to C.
7723 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * window.el: Make special-display like display-buffer-alist (bug#9532).
7726 (display-buffer--special-action): New function, morphed
7727 from display-buffer--special.
7728 (display-buffer): Use it to handle special-display-buffers at higher
7729 priority (just after display-buffer-alist).
7730 (display-buffer-fallback-action, display-buffer--other-frame-action)
7731 (pop-to-buffer-same-window): Remove display-buffer--special.
7733 2011-11-07 Glenn Morris <rgm@gnu.org>
7735 * calendar/cal-menu.el (cal-menu-set-date-title):
7736 Do nothing if not in a calendar. (Bug#9976)
7738 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7740 * files.el (find-file): Always use selected-window.
7742 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7744 * window.el (window-combinations): Make WINDOW argument
7745 mandatory. Rewrite doc-string.
7746 (walk-window-subtree, window-atom-check, window-min-delta)
7747 (window-max-delta, window--resize-this-window)
7748 (window--resize-root-window-vertically, window-tree)
7749 (balance-windows, window-state-put): Rewrite doc-strings as to
7750 not mention the term "subwindow".
7751 (window--resize-subwindows-skip-p): Rename to
7752 window--resize-child-windows-skip-p.
7753 (window--resize-subwindows-normal): Rename to
7754 window--resize-child-windows-normal.
7755 (window--resize-subwindows): Rename to
7756 window--resize-child-windows.
7757 (window-or-subwindow-p): Rename to window--in-subtree-p.
7759 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7761 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7762 Ensure that mbox format messages end in two newlines (Bug#9974).
7764 2011-11-06 Chong Yidong <cyd@gnu.org>
7766 * window.el (window-combination-p): Function deleted; its
7767 side-effect is not used in any existing code.
7768 (window-combinations, window-combined-p): Call window-*-child
7771 2011-11-05 Chong Yidong <cyd@gnu.org>
7773 * window.el (window-valid-p): Rename from window-any-p.
7774 (window-size-ignore, window-state-get): Callers changed.
7775 (window-normalize-window): Rename from window-normalize-any-window.
7776 New arg LIVE-ONLY, replacing window-normalize-live-window.
7777 (window-normalize-live-window): Delete.
7778 (window-combination-p, window-combined-p, window-combinations)
7779 (walk-window-subtree, window-atom-root, window-min-size)
7780 (window-sizable, window-sizable-p, window-size-fixed-p)
7781 (window-min-delta, window-max-delta, window-resizable)
7782 (window-resizable-p, window-full-height-p, window-full-width-p)
7783 (window-current-scroll-bars, window-point-1, set-window-point-1)
7784 (window-at-side-p, window-in-direction, window-resize)
7785 (adjust-window-trailing-edge, maximize-window, minimize-window)
7786 (window-deletable-p, delete-window, delete-other-windows)
7787 (record-window-buffer, unrecord-window-buffer)
7788 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7789 (quit-window, split-window, window-state-put)
7790 (set-window-text-height, fit-window-to-buffer)
7791 (shrink-window-if-larger-than-buffer): Callers changed.
7793 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7795 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7796 rfc2047-decode-string.
7797 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7800 * window.el (window-body-height, window-body-width): Mention in
7801 the doc string that the return values are in frame's canonical
7804 2011-11-03 Alan Mackenzie <acm@muc.de>
7806 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7807 change in cc-engine.el.
7809 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7813 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7815 * window.el (quit-window): Call unrecord-window-buffer after
7816 showing another buffer in the window. (Bug#9937)
7817 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7819 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7821 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7822 Accept status with more than 9 shelves. (Bug#9935)
7823 Reported by Colin D Bennett <colin@gibibit.com>.
7825 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7827 * help.el (with-help-window): Don't reference
7828 temp-buffer-show-specifiers in doc-string.
7830 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7832 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7835 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7837 * whitespace.el: New version 13.2.2.
7838 (whitespace-newline-mode): Disable properly. Reported by Sarah
7841 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7843 * net/newst-treeview.el: Remove "Time-stamp".
7844 (newsticker--group-manage-orphan-feeds): Do not call
7845 newsticker--treeview-tree-update.
7846 (newsticker-treeview-update, newsticker-treeview):
7847 Call newsticker--treeview-tree-update if necessary.
7849 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7851 * window.el (window-iso-combination-p, window-iso-combined-p)
7852 (window-iso-combinations): Remove "iso-" infix.
7853 Suggested by Chong Yidong.
7854 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7855 (window-max-delta-1, window-resize, window--resize-siblings)
7856 (window--resize-this-window, adjust-window-trailing-edge)
7857 (split-window, balance-windows-1)
7858 (shrink-window-if-larger-than-buffer):
7859 * calendar/calendar.el (calendar-generate-window):
7860 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7862 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7865 in place (bug#9907).
7866 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7867 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7868 (eshell-structure-basic-command, eshell-rewrite-while-command)
7869 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7870 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7871 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7872 (eshell-do-pipelines-synchronously, eshell-eval-command):
7873 Use backquotes and prefer setq to set.
7874 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7875 (eshell-macrop): Use functionp.
7876 (eshell-do-eval): Handle multiple expressions in `while' body.
7878 2011-10-30 Chong Yidong <cyd@gnu.org>
7880 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7881 instead of set-mark (Bug#9810).
7883 2011-10-30 Chong Yidong <cyd@gnu.org>
7885 * window.el (split-window-below, split-window-right): Rename from
7886 split-window-above-each-other and split-window-side-by-side
7887 respectively. All callers changed.
7888 (split-window-sensibly, split-window-sensibly): Use them.
7889 (split-window-keep-point): Doc fix.
7891 * isearch.el: Add isearch-scroll property to split-window-below
7892 and split-window-right.
7894 * follow.el (follow-mode):
7895 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7896 * progmodes/ada-xref.el (ada-gdb-application):
7897 * emulation/vip.el (vip-buffer-in-two-windows):
7898 * image-dired.el (image-dired-dired-with-window-configuration):
7899 * dired-x.el (dired-do-find-marked-files):
7900 * dired.el (dired-pop-to-buffer):
7901 * bs.el (bs--show-with-configuration):
7902 * vc/emerge.el (emerge-setup-windows):
7903 * textmodes/two-column.el (2C-two-columns):
7904 * textmodes/reftex-toc.el (reftex-toc):
7905 * progmodes/gdb-mi.el (gdb-setup-windows):
7906 * progmodes/fortran.el (fortran-window-create):
7907 * net/newst-treeview.el (newsticker--treeview-window-init):
7908 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7909 * emulation/tpu-edt.el (tpu-gold-map):
7910 * emulation/crisp.el (crisp-mode-map):
7911 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7913 2011-10-29 Chong Yidong <cyd@gnu.org>
7915 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7917 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7919 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7920 forged Ispell output (Bug#7904).
7922 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7924 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * doc-view.el: Avoid ugly errors about not finding nil.
7927 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7928 (doc-view-dvipdf-program, doc-view-unoconv-program)
7929 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7930 Avoid nil or absolute file name as default value.
7931 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7933 2011-10-28 Alan Mackenzie <acm@muc.de>
7935 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7937 2011-10-28 Alan Mackenzie <acm@muc.de>
7939 Amend the handling of c-beginning/end-of-defun in nested declaration
7942 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7943 cc-langs.el. Change it to a defcustom.
7945 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7948 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7949 Prevent "class foo : bar" being spuriously recognized as a label.
7951 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7952 Add parameter `inclusive' (to include enclosing braces in the region).
7953 (c-widen-to-enclosing-decl-scope): New function.
7954 (c-while-widening-to-decl-block): New macro.
7955 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7956 outward for defun boundaries, and correspondingly change symbol
7957 `respect-enclosure' to `go-outward'.
7958 (c-declaration-limits): Change algorithm to report only the "innermost"
7961 2011-10-28 Deniz Dogan <deniz@dogan.se>
7963 * net/rcirc.el (rcirc-mode): Use hard newlines.
7965 2011-10-28 Alan Mackenzie <acm@muc.de>
7967 Amend to indent and fontify macros "which include their own semicolon"
7968 correctly, using the "virtual semicolon" mechanism.
7970 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7972 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7973 Recode to scan one line at a time rather than having \n and \r
7974 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7975 (c-forward-label): Amend for virtual semicolons.
7976 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7978 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7979 of the new C macros.
7981 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7982 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7983 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7984 (c-opt-cpp-macro-define): Make into a full language variable.
7985 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7986 AWK Mode (including \n, \r) removed, no longer needed.
7988 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7989 Invoke c-make-macro-with-semi-re.
7991 * progmodes/cc-vars.el (c-macro-with-semi-re):
7992 (c-macro-names-with-semicolon): New variables.
7993 (c-make-macro-with-semi-re): New function.
7995 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7997 * vc/log-edit.el: Fill empty field rather than adding new one.
7998 (log-edit-add-field): New function.
7999 (log-edit-insert-changelog): Use it.
8001 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8003 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8005 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8008 (gdb--check-interpreter): New function.
8011 2011-10-27 Glenn Morris <rgm@gnu.org>
8013 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8014 (least-positive-float, least-negative-float)
8015 (least-positive-normalized-float, least-negative-normalized-float)
8016 (float-epsilon, float-negative-epsilon):
8017 Remove unnecessary declarations.
8019 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8020 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8021 (least-positive-float, least-negative-float)
8022 (least-positive-normalized-float, least-negative-normalized-float)
8023 (float-epsilon, float-negative-epsilon): Add doc-strings,
8024 based on those in cl.texi.
8026 * files.el (set-visited-file-name): If the major-mode changed,
8027 reload the local variables. (Bug#9796)
8029 2011-10-27 Chong Yidong <cyd@gnu.org>
8031 * subr.el (change-major-mode-after-body-hook): New hook.
8032 (run-mode-hooks): Run it.
8034 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8035 Use change-major-mode-before-body-hook.
8037 * simple.el (fundamental-mode):
8038 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8039 change introducing fundamental-mode-hook.
8041 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8043 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8045 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8047 * ido.el (ido-file-name-all-completions-1): Do not require
8048 tramp.el explicitly. (Bug#7583)
8050 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * progmodes/octave-mod.el:
8053 * progmodes/octave-inf.el: Update maintainer.
8055 2011-10-26 Chong Yidong <cyd@gnu.org>
8057 * subr.el (with-wrapper-hook): Rewrite doc.
8059 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8061 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8062 filenames "/method:foo:". (Bug#9793)
8064 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8069 2011-10-24 Glenn Morris <rgm@gnu.org>
8071 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8073 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8075 * notifications.el: Add the requirement of a running D-Bus session
8076 bus to the Commentary.
8078 2011-10-24 Juri Linkov <juri@jurta.org>
8080 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8081 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8084 2011-10-24 Juri Linkov <juri@jurta.org>
8086 * info.el (Info-following-node-name-re): Add newline to the list
8087 of allowed characters for leading space. (Bug#9824)
8089 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * progmodes/octave-inf.el (inferior-octave-mode-map):
8092 Fix C-c C-h binding.
8093 * progmodes/octave-mod.el (octave-help): Remove.
8095 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8097 Sync with Tramp 2.2.3.
8099 * net/tramp-cache.el (top): Pacify byte-compiler using
8100 `init-file-user' and `site-run-file'.
8102 * net/trampver.el: Update release number.
8104 2011-10-23 Chong Yidong <cyd@gnu.org>
8106 * files.el (toggle-read-only): Remove obsolete comment about
8109 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8110 for toggle-read-only. Note that this hasn't called vc-next-action
8111 since 2008-05-02, though it wasn't documented at the time.
8113 * vc/ediff-init.el (ediff-toggle-read-only-function):
8114 Use toggle-read-only.
8116 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8118 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8121 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8122 correct faulty logical expression.
8123 (c-parse-state-state, c-record-parse-state-state):
8124 (c-replay-parse-state-state): New defvar/defuns.
8125 (c-debug-parse-state): Use new functions.
8127 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8129 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8130 last fix. Use window-in-direction correctly.
8132 2011-10-21 Chong Yidong <cyd@gnu.org>
8134 * progmodes/idlwave.el (idlwave-mode):
8135 * progmodes/vera-mode.el (vera-mode): No need to set
8136 require-final-newline; that's done in prog-mode.
8137 Suggested by Stefan Monnier.
8139 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8141 * mouse.el (mouse-drag-window-above)
8142 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8143 (mouse-drag-mode-line-1, mouse-drag-header-line)
8144 (mouse-drag-vertical-line-rightward-window): Remove.
8145 (mouse-drag-line): New function.
8146 (mouse-drag-mode-line, mouse-drag-header-line)
8147 (mouse-drag-vertical-line): Call mouse-drag-line.
8148 * window.el (window-at-side-p, windows-at-side): New functions.
8150 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8152 * tar-mode.el (tar-grind-file-mode):
8153 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8155 2011-10-21 Chong Yidong <cyd@gnu.org>
8157 * progmodes/idlwave.el (idlwave-mode):
8158 * progmodes/vera-mode.el (vera-mode):
8159 Use mode-require-final-newline.
8161 2011-10-20 Glenn Morris <rgm@gnu.org>
8163 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8165 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8167 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8169 2011-10-20 Chong Yidong <cyd@gnu.org>
8171 * emulation/cua-base.el (cua-mode):
8172 * mail/footnote.el (footnote-mode):
8173 * mail/mailabbrev.el (mail-abbrevs-mode):
8174 * net/xesam.el (xesam-minor-mode):
8175 * progmodes/bug-reference.el (bug-reference-mode):
8176 * progmodes/cap-words.el (capitalized-words-mode):
8177 * progmodes/compile.el (compilation-minor-mode)
8178 (compilation-shell-minor-mode):
8179 * progmodes/gud.el (gud-tooltip-mode):
8180 * progmodes/hideif.el (hide-ifdef-mode):
8181 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8182 * progmodes/subword.el (subword-mode):
8183 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8184 * progmodes/which-func.el (which-function-mode):
8185 * term/tvi970.el (tvi970-set-keypad-mode):
8186 * term/vt100.el (vt100-wide-mode):
8187 * textmodes/flyspell.el (flyspell-mode):
8188 * textmodes/ispell.el (ispell-minor-mode):
8189 * textmodes/nroff-mode.el (nroff-electric-mode):
8190 * textmodes/paragraphs.el (use-hard-newlines):
8191 * textmodes/refill.el (refill-mode):
8192 * textmodes/reftex.el (reftex-mode):
8193 * textmodes/rst.el (rst-minor-mode):
8194 * textmodes/sgml-mode.el (html-autoview-mode)
8195 (sgml-electric-tag-pair-mode):
8196 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8197 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8198 * emulation/crisp.el (crisp-mode):
8199 * emacs-lisp/eldoc.el (eldoc-mode):
8200 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8201 minor mode behavior.
8203 2011-10-19 Juri Linkov <juri@jurta.org>
8205 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8206 the list of hard-coded chars with escape-glyph face.
8208 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8212 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8214 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8217 2011-10-19 Glenn Morris <rgm@gnu.org>
8219 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8220 Ignore ignored files. (Bug#9726)
8222 2011-10-19 Chong Yidong <cyd@gnu.org>
8224 Doc fix for minor modes, stating that an omitted argument enables
8225 the mode unconditionally when called from Lisp.
8227 * abbrev.el (abbrev-mode):
8228 * allout.el (allout-mode):
8229 * autoinsert.el (auto-insert-mode):
8230 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8231 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8232 (global-auto-revert-mode):
8233 * battery.el (display-battery-mode):
8234 * composite.el (global-auto-composition-mode)
8235 (auto-composition-mode):
8236 * delsel.el (delete-selection-mode):
8237 * desktop.el (desktop-save-mode):
8238 * dired-x.el (dired-omit-mode):
8239 * dirtrack.el (dirtrack-mode):
8240 * doc-view.el (doc-view-minor-mode):
8241 * double.el (double-mode):
8242 * electric.el (electric-indent-mode, electric-pair-mode):
8243 * emacs-lock.el (emacs-lock-mode):
8244 * epa-hook.el (auto-encryption-mode):
8245 * follow.el (follow-mode):
8246 * font-core.el (font-lock-mode):
8247 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8248 * help.el (temp-buffer-resize-mode):
8249 * hilit-chg.el (highlight-changes-mode)
8250 (highlight-changes-visible-mode):
8251 * hi-lock.el (hi-lock-mode):
8252 * hl-line.el (hl-line-mode, global-hl-line-mode):
8253 * icomplete.el (icomplete-mode):
8254 * ido.el (ido-everywhere):
8255 * image-file.el (auto-image-file-mode):
8256 * image-mode.el (image-minor-mode):
8257 * iswitchb.el (iswitchb-mode):
8258 * jka-cmpr-hook.el (auto-compression-mode):
8259 * linum.el (linum-mode):
8260 * longlines.el (longlines-mode):
8261 * master.el (master-mode):
8262 * mb-depth.el (minibuffer-depth-indicate-mode):
8263 * menu-bar.el (menu-bar-mode):
8264 * minibuf-eldef.el (minibuffer-electric-default-mode):
8265 * mouse-sel.el (mouse-sel-mode):
8266 * msb.el (msb-mode):
8267 * mwheel.el (mouse-wheel-mode):
8268 * outline.el (outline-minor-mode):
8269 * paren.el (show-paren-mode):
8270 * recentf.el (recentf-mode):
8271 * reveal.el (reveal-mode, global-reveal-mode):
8272 * rfn-eshadow.el (file-name-shadow-mode):
8273 * ruler-mode.el (ruler-mode):
8274 * savehist.el (savehist-mode):
8275 * scroll-all.el (scroll-all-mode):
8276 * scroll-bar.el (scroll-bar-mode):
8277 * server.el (server-mode):
8278 * shell.el (shell-dirtrack-mode):
8279 * simple.el (auto-fill-mode, transient-mark-mode)
8280 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8281 (line-number-mode, column-number-mode, size-indication-mode)
8282 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8283 * strokes.el (strokes-mode):
8284 * time.el (display-time-mode):
8285 * t-mouse.el (gpm-mouse-mode):
8286 * tool-bar.el (tool-bar-mode):
8287 * tooltip.el (tooltip-mode):
8288 * type-break.el (type-break-mode-line-message-mode)
8289 (type-break-query-mode):
8290 * view.el (view-mode):
8291 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8292 (global-whitespace-mode, global-whitespace-newline-mode):
8293 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8295 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8296 Fix autogenerated docstring.
8298 2011-10-19 Juri Linkov <juri@jurta.org>
8300 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8301 by checking environment variables "DESKTOP_SESSION" and
8302 "XDG_CURRENT_DESKTOP". (Bug#9779)
8304 2011-10-19 Juri Linkov <juri@jurta.org>
8306 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8307 (browse-url-chromium-program, browse-url-chromium-arguments):
8309 (browse-url-default-browser): Check for `browse-url-chromium' and
8310 call `browse-url-chromium-program'.
8311 (browse-url-chromium): New command. (Bug#9779)
8313 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8315 * facemenu.el (list-colors-duplicates): On Windows, detect more
8316 duplicates by assuming that only colors matching "^System" are
8317 special "system colors". (Bug#9722)
8319 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8321 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8322 to distinguish the author from the committer.
8324 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8326 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8328 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8330 * international/mule.el (sgml-html-meta-auto-coding-function):
8331 Add support for detecting encoding in HTML5 specified only as
8332 <meta charset="UTF-8">. Implementation just makes http-equiv and
8333 content-type parts from HTML4 encoding string optional. (Bug#9716)
8335 2011-10-18 Glenn Morris <rgm@gnu.org>
8337 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8339 2011-10-18 Chong Yidong <cyd@gnu.org>
8341 * faces.el (cursor): Doc fix.
8343 2011-10-17 Chong Yidong <cyd@gnu.org>
8345 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8347 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8349 * dirtrack.el (dirtrack): Support shell buffers with path
8350 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8352 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8354 * json.el: Bump version to 1.3 and note change in History.
8355 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8357 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * comint.el (comint-insert-input, comint-send-input)
8360 (comint-get-old-input-default, comint-backward-matching-input)
8361 (comint-next-prompt): Use nil instead of `input' for field property of
8362 past user input (bug#114).
8364 * minibuffer.el (completion--replace): Inherit surrounding properties
8366 (minibuffer-complete-and-exit): Use it.
8368 * comint.el (comint--table-subvert): Quote the all-completions output
8371 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8373 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8375 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8376 window on right of selected. (Bug#9350) Reword other window
8377 entries and separate them from frame entries.
8379 2011-10-15 Glenn Morris <rgm@gnu.org>
8381 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8384 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8386 * net/network-stream.el (network-stream-open-starttls):
8387 Improve detection of failure due to lack of TLS support.
8389 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8390 putting the input text in front and in bold.
8392 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8394 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8396 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8399 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8400 unread-command-events rather than pushing yet-another event.
8402 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8404 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8405 the explanation of the possible choices. Make the options passed
8406 to completing-read shorter.
8408 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8410 * textmodes/flyspell.el (flyspell-large-region): Make sure
8411 extended character mode is used if defined (Bug#1339).
8413 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8415 * simple.el (what-cursor-position): Fix the display of the
8416 character info for LRE, LRO, RLE, and RLO characters by appending
8419 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8422 even in case of error; add debug spec; simplify data flow.
8423 (with-timeout-handler): Remove.
8425 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8427 Fix Bug#6019, Bug#9315.
8429 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8430 complete `buffer-file-name', the local file name part could look
8431 remotely (for example on VMS).
8433 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8434 `tramp-run-real-handler'.
8435 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8436 already quoted by '"'.
8438 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8439 Let `file-name-handler-alist' be nil, the local file name part
8440 could look remotely (for example on VMS).
8442 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8446 (flyspell-post-command-hook): ...to here.
8448 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8450 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8452 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8453 using completion. Protect against "slow" callers.
8454 Remove the "message hack".
8456 2011-10-11 Juri Linkov <juri@jurta.org>
8458 * isearch.el (isearch-lazy-highlight-word): New variable.
8459 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8462 2011-10-11 Glenn Morris <rgm@gnu.org>
8464 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8465 like f90-previous-statement does.
8467 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8469 * eshell/eshell.el (eshell-command): History should be saved
8470 only in interactive use, to avoid error.
8472 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8474 * minibuffer.el (completion-file-name-table): Fix last change,
8475 i.e. ignore normal errors but not the other ones.
8477 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8479 * window.el (special-display-buffer-names)
8480 (special-display-regexps): Remove some remnants of earlier
8481 changes from doc-strings.
8482 (quit-windows-on): New function.
8484 * vc/vc.el (vc-revert, vc-rollback):
8485 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8486 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8487 (Bug#6183) (Bug#7074) (Bug#7447)
8489 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8491 * window.el (frame-auto-hide-function): Add version tag.
8494 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8496 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8499 2011-10-09 Leo Liu <sdl.web@gmail.com>
8501 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8504 2011-10-08 Glenn Morris <rgm@gnu.org>
8506 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8507 before the first code statement zero indent. (Bug#9690)
8509 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8511 * simple.el (count-words-region): Always count in the region.
8512 Report the number of lines and characters too.
8513 (count-words): New command, which counts in the buffer if the
8514 region is inactive, as count-words-region used to.
8515 (count-words--message): New function. Handle plurals.
8516 (count-lines-region): Make it an alias for count-words-region.
8518 * bindings.el (esc-map): Replace count-lines-region with
8521 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8523 * window.el (window--delete): Delete dedicated frame
8524 unconditionally when argument KILL is non-nil. (Bug#9699)
8525 (switch-to-buffer): Fix doc-string typo.
8527 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8529 * eshell/eshell.el (eshell-command): Avoid using hooks.
8531 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8533 * bindings.el ([M-left],[M-right]): Bind to left-word and
8534 right-word respectively.
8536 2011-10-07 Glenn Morris <rgm@gnu.org>
8538 * cus-start.el (debug-on-quit): Fix custom type.
8540 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8542 * subr.el (define-key-after): Clarify that the function is not
8543 useful for non-menu keymaps.
8545 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8547 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8549 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8550 in current minibuffer (Fix bug with recursive minibuffers).
8552 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8554 * progmodes/gdb-mi.el (gdb): Doc fix.
8556 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8558 * window.el (frame-auto-hide-function): New option replacing
8559 frame-auto-delete. Suggested by Stefan Monnier.
8560 (window--delete): Call frame-auto-hide-function instead of
8561 investigating frame-auto-delete.
8562 (window-point-1, set-window-point-1): New functions.
8563 (window-in-direction, record-window-buffer, window-state-get-1)
8564 (display-buffer-record-window): Use window-point-1 instead of
8566 (set-window-buffer-start-and-point): Use set-window-point-1.
8568 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8572 2011-10-05 Glenn Morris <rgm@gnu.org>
8574 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8575 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8577 2011-10-05 Leo Liu <sdl.web@gmail.com>
8579 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8580 works with buffer object.
8582 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * mpc.el (mpc-tool-bar-map): Add labels.
8586 2011-10-04 Glenn Morris <rgm@gnu.org>
8588 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8590 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8592 * window.el (window--delete): New function.
8593 (frame-auto-delete): Resuscitate option.
8594 (bury-buffer, replace-buffer-in-windows)
8595 (quit-window): Rewrite using window--delete.
8596 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8597 Pass display-buffer-mark-dedicated to window--display-buffer-2
8600 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8603 returns a list (bug#9554). Add remote file name completion.
8604 * comint.el (comint--table-subvert): Curry and get quote&unquote
8605 functions as arguments.
8606 (comint--complete-file-name-data): Adjust call accordingly.
8607 * pcomplete.el (pcomplete--table-subvert): Remove.
8608 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8610 * minibuffer.el (completion-table-case-fold): Use currying.
8611 (completion--styles-type, completion--cycling-threshold-type):
8613 (completion-styles, completion-category-overrides)
8614 (completion-cycle-threshold): Use them.
8615 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8616 completion-table-case-fold.
8618 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8620 * minibuffer.el (completion-category-overrides): Fix type of styles
8621 and add more user friendly tags (bug#9660).
8623 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8625 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8626 (mule-input-method-string): New widget.
8627 (default-input-method, language-info-custom-alist): Use it.
8629 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * pcomplete.el: Require comint.
8632 (pcomplete--common-suffix): Remove.
8633 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8634 (pcomplete--table-subvert): Sync with comint--table-subvert.
8635 (pcomplete--entries): Use comint-completion-file-name-table.
8636 * comint.el (comint-unquote-filename): Simplify.
8637 (comint-completion-file-name-table): New function (bug#9616).
8638 (comint--complete-file-name-data): Use it.
8640 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8641 (pcmpl-gnu-tar-buffer): Remove.
8642 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8643 around. Make sure pcomplete-suffix-list is only changed temporarily.
8644 Don't look inside the tar's file if it's too large.
8646 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8648 * cus-edit.el (custom-mode-map):
8649 * epa.el (epa-key-list-mode-map):
8650 * man.el (Man-mode-map):
8651 * startup.el (splash-screen-keymap):
8652 * simple.el (special-mode-map): Use scroll-up-command and
8653 scroll-down-command.
8655 * progmodes/idlw-help.el (idlwave-help-mode-map):
8656 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8657 * net/newst-plainview.el (newsticker-mode-map):
8658 * emulation/ws-mode.el (wordstar-mode-map):
8659 * emulation/vi.el (vi-com-map):
8660 * calc/calc-graph.el (calc-graph-show-dumb):
8661 * term/sun.el (terminal-init-sun):
8662 * term/ns-win.el (global-map):
8663 * progmodes/grep.el (grep-mode-map):
8664 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8665 * mail/rmail.el (rmail-mode-map):
8666 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8668 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8669 custom-safe-themes as special.
8671 2011-10-01 Julien Danjou <julien@danjou.info>
8673 * notifications.el (notifications-notify): Fix docstring.
8675 2011-10-01 Per Starbäck <per@starback.se>
8677 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8679 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8681 * startup.el (command-line-1): Fix last fix by inserting
8682 initial-scratch-message into *scratch* before displaying it.
8683 (Bug#9605) and (Bug#9636)
8685 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8687 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8688 window is hscrolled, move by logical lines. (Bug#9607)
8689 (line-move-visual): Update the doc string to the above effect.
8691 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8693 * window.el (display-buffer-record-window): When WINDOW is the
8694 selected window use `point' instead of `window-point'. (Bug#9626)
8696 * startup.el (command-line-1): Use insert-before-markers when
8697 inserting initial-scratch-message. (Bug#9605)
8699 * help.el (help-window): Remove variable.
8701 2011-09-29 Glenn Morris <rgm@gnu.org>
8703 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8705 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8707 * descr-text.el (describe-char-categories): Accept category
8708 descriptions more than one line long.
8710 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * simple.el (delete-trailing-whitespace): Fix last change.
8714 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8715 Don't confuse "y => 3" as the beginning of a `y' operation.
8717 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8718 object has more than 4 slots (bug#9613).
8720 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8722 * subr.el (with-output-to-temp-buffer):
8723 * net/quickurl.el (quickurl, quickurl-browse-url):
8724 Fix typos in docstrings.
8726 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8728 * minibuffer.el (completion-styles)
8729 (completion-category-overrides): Cross reference each other in doc
8732 2011-09-27 Glenn Morris <rgm@gnu.org>
8734 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8735 to split-string. (Bug#9606)
8737 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8739 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8742 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8744 * emacs-lisp/package.el (list-packages): Fix echo area message.
8746 2011-09-27 Leo Liu <sdl.web@gmail.com>
8748 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8750 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8752 * net/dbus.el (dbus-unregister-object): Don't release services for
8753 registered signals. (Bug#9581)
8755 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8757 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8758 function that picks between cfengine 2 and 3 support
8759 automatically. Update docs accordingly.
8761 2011-09-22 Kenichi Handa <handa@m17n.org>
8763 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8765 (indian-itrans-v5-table-for-tamil): New variable.
8766 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8768 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8770 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8771 that's true if the current command involved collapsing of text.
8772 It's reset to false at the beginning of the next command.
8773 (allout-post-command-business): Move the cursor to the beginning
8774 of entry if the cursor is hidden and collapsing activity just
8777 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8779 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8780 tracking (Bug#9541).
8782 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8784 * net/newst-reader.el (newsticker-html-renderer)
8785 (newsticker-show-news): Automatically load html rendering package
8786 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8787 because w3m-fill-column is let-bound" and the error "Symbol's value
8788 as variable is void: w3m-fill-column".
8790 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8792 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8793 Release services only if they are defined. (Bug#9581)
8795 2011-09-23 Richard Stallman <rms@gnu.org>
8797 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8798 distinguish start of paragraph from start of its text.
8800 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8802 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8803 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8804 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8806 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8808 * international/mule-diag.el (mule-diag): Insert a newline after
8809 each fontset description.
8811 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8813 * simple.el (delete-trailing-whitespace):
8814 Document last change; simplify.
8816 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8818 * simple.el (delete-trailing-whitespace): Also delete
8819 extra newlines at the end of the buffer.
8821 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8822 (picture-newline): Use forward-line so as to ignore fields.
8824 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * subr.el (with-wrapper-hook): Fix edebug spec.
8828 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8830 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8833 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8835 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8836 Fix nasty bug using wrong cached values.
8838 2011-09-23 Alan Mackenzie <acm@muc.de>
8840 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8842 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8844 * window.el (pop-to-buffer): Ensure right window is selected if we
8845 chose another frame.
8847 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8849 * simple.el (what-cursor-position): Use get-char-property-change
8850 and next-single-char-property-change, to be able to show display
8851 properties that come from overlays as well as text properties.
8853 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8855 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8857 * cmuscheme.el (run-scheme, switch-to-scheme):
8858 * cus-edit.el (customize-group, custom-buffer-create)
8862 * mail/sendmail.el (mail):
8863 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8865 2011-09-22 Richard Stallman <rms@gnu.org>
8867 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8868 move back only to line beg, don't move back over blank lines.
8870 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8872 * files.el (copy-directory): Set directory attributes only in case
8873 they could be retrieved from the source directory. (Bug#9565)
8875 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8877 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8878 (hs-find-block-beginning, hs-hide-level-recursive):
8879 Ignore strings as well as comments. (Bug#9502)
8881 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8883 * progmodes/sql.el (sql-comint-postgres):
8884 Convert port number to a string. (Bug#9566)
8886 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8888 * window.el (quit-window): Undedicate window when switching to
8889 previous buffer. Reported by Thierry Volpiatto
8890 <thierry.volpiatto@gmail.com>.
8891 (special-display-popup-frame): When popping up a new frame reset
8892 its previous buffers to nil. Simplify code.
8894 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8896 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8897 and process filter, as done also in `shell-command'.
8899 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8901 * window.el (set-window-buffer-start-and-point):
8902 Call set-window-start with NOFORCE argument t.
8903 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8904 (quit-window): Reword doc-string. Handle new format of
8905 quit-restore parameter. Don't delete window if it has a
8906 previous buffer we can show instead of the present one.
8907 (display-buffer-record-window): Rewrite using a new format for
8908 the quit-restore window parameter
8909 (special-display-popup-frame, display-buffer-same-window)
8910 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8911 (display-buffer-pop-up-window, display-buffer-use-some-window):
8912 Adapt symbol passed to display-buffer-record-window.
8913 * help.el (help-window-setup): Handle new format of quit-restore
8916 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8918 * faces.el (face-list): Fix docstring (bug#9564).
8920 * window.el (display-buffer--action-function-custom-type):
8921 Don't include internal functions in the Custom interface.
8923 2011-09-20 Juri Linkov <juri@jurta.org>
8925 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8926 (Info-forward-node, Info-backward-node, Info-next-preorder)
8927 (Info-last-preorder): Use it. (Bug#9528)
8929 2011-09-20 Juri Linkov <juri@jurta.org>
8931 * info.el (Info-last-preorder): Visit last menu item only when
8932 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8934 2011-09-20 Julien Danjou <julien@danjou.info>
8936 * password-cache.el (password-cache-remove): Remove entries even if the
8937 value is nil, so that password with a nil value (negative caching) is
8938 possible to invalidate.
8940 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8942 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8943 all whitespace around breakpoint. (Bug#9553)
8944 (f90-find-breakpoint): Only break at whitespace inside a comment.
8946 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * minibuffer.el (completion-file-name-table): Keep track of errors.
8949 (completion-table-with-predicate): Handle the case where pred1 is nil.
8950 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8952 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8955 (debugger-return-value): Signal an error if the debugging context does
8956 not await any return value.
8958 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8959 * image-mode.el (image-toggle-display-text)
8960 (image-toggle-display-image): Stay away from evil `intangible'.
8962 2011-09-19 Leo Liu <sdl.web@gmail.com>
8964 * replace.el (occur-revert-arguments): Make it permanent-local.
8965 (occur-mode): Don't call font-lock-defontify.
8967 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8969 * net/ldap.el (ldap-search-internal): Don't push empty search
8972 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8976 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8978 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8979 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8981 2011-09-18 Juri Linkov <juri@jurta.org>
8983 * buff-menu.el (Buffer-menu-mode-map):
8984 * dired.el (dired-mode-map):
8985 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8986 (lisp-interaction-mode-map):
8987 * emacs-lisp/package.el (package-menu-mode-map):
8988 * epa.el (epa-key-list-mode-map):
8989 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8990 (menu-bar-options-menu):
8991 * outline.el (outline-mode-menu-bar-map):
8992 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8993 * vc/vc-dir.el (vc-dir-menu-map):
8994 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8995 Capitalize non-function content words in menu item strings.
8997 * dired.el (dired-mode-map): Add menu item for
8998 `image-dired-dired-toggle-marked-thumbs'.
9000 2011-09-18 Juri Linkov <juri@jurta.org>
9002 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9003 to `isearch-case-fold-search' and restore its original value
9004 after the `isearch-mode' call.
9006 2011-09-18 Juri Linkov <juri@jurta.org>
9008 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9009 because `zgrep' returns 1 for successful matches (bug#9226).
9011 2011-09-18 Juri Linkov <juri@jurta.org>
9013 * info.el (Info-extract-menu-node-name): Check the second match
9014 for empty string (second test-case of bug#9528).
9015 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9016 intermediate nodes to the history (first test-case of bug#9528).
9018 2011-09-18 Juri Linkov <juri@jurta.org>
9020 * info.el (Info-mode-syntax-table): New variable.
9021 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9023 2011-09-18 Juri Linkov <juri@jurta.org>
9025 * info.el (Info-file-supports-index-cookies):
9026 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9027 outputs one more line for long file names (bug#4142).
9029 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9031 * newcomment.el (comment-normalize-vars): If prompting for
9032 comment-start, set comment-start-skip too (Bug#8424).
9034 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9036 * icomplete.el: Fix previous fix of Bug#5849.
9037 (icomplete-mode): Don't set completion-show-inline-help.
9038 (icomplete-minibuffer-setup): Set completion-show-inline-help
9039 locally during icompletion.
9041 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9043 * woman.el (woman2-process-escapes): Don't delete unrecognized
9046 * files.el (inhibit-first-line-modes-regexps): Add image files.
9047 (hack-local-variables-prop-line): Return nil for malformed
9048 prop-lines (Bug#9044).
9050 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9052 * net/tramp.el (top): Don't require 'shell.
9053 (tramp-methods): Fix docstring.
9054 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9055 Return complete remote file name. Handle "smb" case.
9056 Use `tramp-tmpdir', if defined for the respective method.
9057 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9059 * net/tramp-compat.el (top): Require 'shell.
9061 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9062 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9063 `tramp-current-host'.
9064 (tramp-get-remote-tmpdir): Remove.
9066 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9067 `tramp-tmpdir' entries.
9068 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9069 (tramp-smb-handle-file-attributes): Ignore errors.
9070 (tramp-smb-wait-for-output): Check also for process end.
9072 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9075 when sending QUIT (bug#9312).
9077 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9079 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9080 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9081 occur-mode-display-occurrence.
9082 (occur-edit-mode): Add usage message.
9083 (occur-cease-edit): New command.
9084 (occur-after-change-function): Use text properties to find the
9085 position of the prefix text.
9086 (occur-engine): Set stickiness of prefix text properties.
9088 2011-09-17 Glenn Morris <rgm@gnu.org>
9090 * progmodes/etags.el (complete-tag):
9091 Fix call to completion-in-region. (Bug#9526)
9093 2011-09-17 Juri Linkov <juri@jurta.org>
9095 * textmodes/ispell.el (ispell-word): Add to the error message
9096 the word, ispell program name and current dictionary (bug#9121).
9097 (ispell-tex-arg-end): Capitalize "error" in the error message.
9099 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9101 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9104 2011-09-17 Juri Linkov <juri@jurta.org>
9106 * window.el (window-safe-min-height, window-safe-min-width):
9107 Fix typos (followup to bug#9522).
9109 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9111 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9113 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9115 * simple.el (line-move): If goal-column is set, move by logical
9116 lines, not by display lines. (Bug#971)
9117 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9118 to reflect the above change.
9120 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9122 * image.el (imagemagick-register-types): Use regexp-opt.
9124 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9126 * window.el (display-buffer-base-action): Rename from
9127 display-buffer-default-action. Make default value empty.
9128 (display-buffer-overriding-action): Convert to defvar.
9129 (display-buffer-fallback-action): New var.
9131 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9133 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9135 (package--add-to-archive-contents): If there is a duplicate entry
9136 with an older version, remove it.
9137 (package-menu-mark-delete, package-menu-mark-install)
9138 (package-menu-mark-unmark): Make unused args optional.
9139 (package-menu-mark-obsolete-for-deletion):
9140 Use package-menu-get-status instead of a regexp search.
9141 (package-menu-get-status): Use tabulated-list-entry.
9142 (package-menu-mark-upgrades): New command.
9143 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9144 (package-menu-execute): Do installation before deletion.
9145 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9146 instead of checking major-mode.
9147 (package-menu--find-upgrades): New function.
9149 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9151 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9152 passwords in the log buffer.
9153 (smtpmail-process-filter): Update the process marker so that the
9154 "broken by peer" status message is inserted in the right place.
9156 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9158 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9159 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9160 bibtex-completion-at-point-function.
9161 (bibtex-completion-at-point-function): Use them.
9163 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9165 * mpc.el (mpc-constraints-tag-lookup): New function.
9166 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9167 also to browser "album|playlist".
9169 2011-09-14 Juri Linkov <juri@jurta.org>
9171 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9172 (isearch-edit-string): Use length of `isearch-string' when
9173 `isearch-fail-pos' returns nil.
9174 (isearch-message): Remove duplicate code and call
9175 `isearch-fail-pos' with arg `t'.
9177 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9179 * replace.el (occur-mode-goto-occurrence): Don't force using other
9182 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9184 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9186 * window.el (display-buffer-window): Remove.
9187 (display-buffer-record-window): Use help-setup window parameter
9188 instead of variable display-buffer-window.
9189 (display-buffer-function, special-display-buffer-names)
9190 (special-display-function): Mention help-setup parameter instead
9191 of display-buffer-window in doc-string.
9192 * help.el (help-window-setup): New argument help-window.
9193 Use help-window-setup parameter instead of display-buffer-window.
9194 Reword some messages.
9195 (with-help-window): Pass window used for displaying the buffer
9196 to help-window-setup. Don't set display-buffer-window.
9198 2011-09-13 Glenn Morris <rgm@gnu.org>
9200 * emacs-lisp/debug.el (debugger-make-xrefs):
9201 Preserve point. (Bug#9462)
9203 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9205 * window.el (window-deletable-p): Use next-frame.
9207 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9209 * window.el (window-auto-delete): Remove.
9210 (window-deletable-p): Remove argument FORCE. Don't deal with
9211 dedication and previous buffers.
9212 (switch-to-prev-buffer): Don't delete window.
9213 (delete-windows-on): Delete a window's frame if and only if the
9214 window is dedicated.
9215 (replace-buffer-in-windows): Delete buffer's window or frame if
9216 and only if window is dedicated.
9217 (quit-window): Handle quit-restore as before last change.
9218 (bury-buffer): Delete window only if window-deletable-p returns t.
9220 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9222 * window.el (window-deletable-p): Never delete the last frame on a
9225 2011-09-13 Glenn Morris <rgm@gnu.org>
9227 * help.el (describe-key-briefly): Copy previous standard-output change.
9229 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9231 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9233 2011-09-13 Glenn Morris <rgm@gnu.org>
9235 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9236 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9238 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9240 * dired-aux.el (dired-mark-read-string): Don't return default
9241 value on empty input (Bug#9361).
9242 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9243 Omit initial minibuffer contents.
9244 (dired-do-chmod): Signal an error on empty input.
9245 (dired-mark-read-string): Don't return default on empty input.
9247 * files.el (file-modes-symbolic-to-number): Doc fix.
9249 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9251 * international/mule-cmds.el (ucs-completions): Remove.
9252 (read-char-by-name): Use complete-with-action instead; add metadata.
9254 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9256 * window.el (display-buffer--action-function-custom-type)
9257 (display-buffer--action-custom-type): New vars.
9258 (display-buffer-alist, display-buffer-default-action)
9259 (display-buffer-overriding-action): Add defcustom types.
9261 * frame.el (delete-other-frames): Doc fix (Bug#276).
9263 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9267 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9269 Change modes that used same-window-* vars to use switch-to-buffer.
9271 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9272 Use switch-to-buffer.
9274 * cus-edit.el (customize-group, custom-buffer-create)
9275 (customize-browse, custom-buffer-create-other-window):
9276 Use switch-to-buffer or switch-to-buffer-other-window.
9278 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9279 (Info-prev, Info-up, Info-speedbar-goto-node)
9280 (info-display-manual): Use switch-to-buffer.
9281 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9283 * mail/sendmail.el (mail): Use switch-to-buffer.
9284 (mail-recover): Use switch-to-buffer-other-window.
9286 * cmuscheme.el (run-scheme, switch-to-scheme):
9289 * net/rlogin.el (rlogin):
9290 * net/telnet.el (telnet, rsh):
9291 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9293 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9295 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9297 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9300 so don't mention it (bug#9301).
9301 (dired-sort-toggle-or-edit): Clarify string further.
9303 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9304 match `x', `w32' and `ns', like the manual says (bug#9029).
9306 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9307 (process-kill-buffer-query-function): Mention the buffer name in
9310 * image-mode.el (image-next-line): The line parameter is mandatory
9313 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9314 which can be useful (bug#9301).
9316 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9318 * subr.el (match-string): Mention that the current buffer should
9319 be the same as the search was done in (bug#9282).
9321 * facemenu.el: Disable the remove-* commands if the mark isn't
9324 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9326 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9328 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9330 * replace.el (occur-mode-goto-occurrence)
9331 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9334 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9337 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9338 special-display and same-window variables.
9339 (mail-other-window): Use switch-to-buffer-other-window.
9340 (mail-other-frame): USe switch-to-buffer-other-frame.
9342 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9343 Use display-buffer-other-frame.
9344 (gdb-display-gdb-buffer): Use pop-to-buffer.
9346 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9348 * progmodes/python.el: Don't set same-window-buffer-names.
9350 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9352 * window.el (display-buffer-alist): Add *Python*.
9354 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9356 * window.el (display-buffer-alist): Add entry for buffers
9357 previously handled same-window-*.
9358 (display-buffer-alist, display-buffer-default-action)
9359 (display-buffer-overriding-action): Mark as risky.
9360 (display-buffer-alist): Document action function changes.
9361 (display-buffer--same-window-action)
9362 (display-buffer--other-frame-action): New variables.
9363 (switch-to-buffer, display-buffer-other-frame): Use them.
9364 (display-buffer): Rename reuse-frame entry to reusable-frames.
9365 (display-buffer-reuse-selected-window): Function deleted.
9366 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9367 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9368 (display-buffer-special): New function.
9369 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9370 display-buffer-reuse-or-pop-window. Split off special-display
9371 part into display-buffer-special.
9372 (display-buffer-use-some-window): Don't perform any special
9373 pop-up-frames handling.
9374 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9375 (display-buffer--maybe-same-window): Rename from
9376 display-buffer-maybe-same-window.
9378 * info.el: Don't set same-window-regexps.
9379 (info-setup): New function.
9380 (info-other-window, info): Call it.
9382 * cus-edit.el: Don't set same-window-regexps.
9383 (customize-group): New argument.
9384 (customize-group-other-window): Use it.
9385 (customize-face, customize-face-other-window): Likewise.
9386 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9390 * progmodes/gud.el: Don't set same-window-regexps.
9396 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9398 2011-09-10 Juri Linkov <juri@jurta.org>
9400 * isearch.el (isearch-edit-string): Remove obsolete mention of
9401 `C-w' (`isearch-yank-word-or-char') from docstring.
9402 (isearch-query-replace): Fix typo in docstring (bug#9466).
9404 2011-09-10 Juri Linkov <juri@jurta.org>
9406 * paren.el (show-paren-function): Don't show escaped parens.
9407 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9409 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9411 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9412 (mm-default-file-encoding): Remove autoload forms, they are
9413 replaced with autoload cookies in mml.el and mm-encode.el.
9414 (mail-add-attachment): New command.
9415 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9416 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9418 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9420 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9422 * simple.el (count-words-region): Use buffer if there's no region
9425 2011-09-09 Juri Linkov <juri@jurta.org>
9427 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9428 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9429 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9431 2011-09-09 Alan Mackenzie <acm@muc.de>
9433 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9434 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9436 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9438 Fix for Savannah bug#9392.
9439 * simple.el (mail-encode-mml): New defvar.
9441 * mail/rmail.el (mail-encode-mml): Add a defvar.
9442 (rmail-enable-mime-composing): Default to t.
9443 (rmail-forward): Use MIME method of forwarding only if both
9444 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9445 Set mail-encode-mml non-nil if the MIME method was used.
9447 * mail/sendmail.el (mml-to-mime): Add autoload form.
9448 (mail-encode-mml): Add a defvar.
9449 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9451 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9452 message through mml-to-mime, and reset mail-encode-mml to nil.
9454 2011-09-09 Glenn Morris <rgm@gnu.org>
9456 * woman.el (woman-if-body): When processing an .el block,
9457 do not delete the next .el block as well. (Bug#9447)
9458 (woman-special-characters): Add oq, cq, and hy characters.
9460 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9462 * window.el (window-deletable-p): Make sure window is live before
9463 invoking window-prev-buffers.
9465 2011-09-08 Leo Liu <sdl.web@gmail.com>
9467 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9469 2011-09-08 Juri Linkov <juri@jurta.org>
9471 * progmodes/compile.el (compilation-environment): Make it
9472 a defcustom (bug#8340).
9474 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9476 * window.el (frame-auto-delete): Rename to window-auto-delete.
9477 Make it control auto-deletion of windows and/or frames.
9478 (window-deletable-p): New argument FORCE. Rewrite conditions
9479 for deleting window/frame. (Bug#9419)
9480 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9481 Rewrite handling of case when window/frame can be deleted.
9482 (delete-windows-on): Call window-deletable-p with new FORCE
9483 argument t. (Bug#9456)
9485 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9487 * help-mode.el (help-mode): Restore autoload.
9489 2011-09-07 Juri Linkov <juri@jurta.org>
9491 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9492 `compilation-environment'. Set buffer-local
9493 `compilation-environment' to `thisenv' later after (funcall mode).
9496 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9497 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9498 instead of replacing its value. (Bug#8340)
9500 2011-09-07 Juri Linkov <juri@jurta.org>
9502 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9503 based on text properties put by `grep-filter' instead of matching
9505 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9506 to the value of `grep-error-screen-columns' (bug#9438).
9508 2011-09-07 Juri Linkov <juri@jurta.org>
9510 * simple.el (next-error-highlight, next-error-highlight-no-select):
9513 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9515 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9516 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9518 2011-09-07 Leo Liu <sdl.web@gmail.com>
9520 * net/rcirc.el (rcirc-mode): Conditionally initialize
9523 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * emacs-lisp/find-func.el (find-function-C-source): Only set
9526 find-function-C-source-directory after checking that we found a source
9527 file there (bug#9440).
9529 2011-09-06 Alan Mackenzie <acm@muc.de>
9531 * isearch.el (isearch-other-meta-char): Wherever a key list is
9532 unread, "unread" the prefix arg, too. This fixes bug #8901.
9534 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9536 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9538 2011-09-05 Juri Linkov <juri@jurta.org>
9540 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9542 2011-09-05 Juri Linkov <juri@jurta.org>
9544 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9545 keeping point where processing of grep matches begins, and
9546 continue to delete remaining escape sequences from the same point.
9547 (grep-filter): Make leading zero optional in "0?1;31m" because
9548 git-grep emits "\033[1;31m" escape sequences unlike expected
9549 "\033[01;31m" as GNU Grep does (bug#9408).
9550 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9552 2011-09-05 Juri Linkov <juri@jurta.org>
9554 * subr.el (y-or-n-p): Capitalize "yes".
9556 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9558 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9559 `tramp-cache-unload-hook' where appropriate.
9560 (tramp-methods): Rename `tramp-remote-sh' to
9561 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9562 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9564 * net/tramp-sh.el (top): Don't require 'shell.
9565 (tramp-methods): Add `tramp-remote-shell' and
9566 `tramp-remote-shell-args' entries.
9567 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9568 (tramp-sh-handle-shell-command): Remove.
9569 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9570 Use `tramp-remote-shell'.
9572 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9574 * mail/sendmail.el (sendmail-query-once-function): Delete.
9575 (sendmail-query-once): Save directly to send-mail-function.
9576 Update message-send-mail-function too.
9578 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9580 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9582 * progmodes/python.el (python-mode-map): Use correct function to
9583 start python interpreter from menu-bar (as reported by Geert
9585 (inferior-python-mode-map): Fix typo.
9586 (python-shell-map): Remove.
9588 2011-09-03 Deniz Dogan <deniz@dogan.se>
9590 * net/rcirc.el (rcirc-print): Simplify code for
9591 rcirc-scroll-show-maximum-output. There is no need to walk
9592 through all windows to find the right one.
9594 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9596 * help.el (help-return-method): Doc fix.
9598 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9600 * window.el (window-deletable-p): Don't return a non-nil value
9601 when there's a buffer that was shown in the window before.
9603 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9604 Set window's previous buffers to nil.
9606 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9608 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9609 newline before and after the tag line, so it doesn't interfere
9610 with determining the paragraph direction of bidirectional text.
9612 2011-09-03 Leo Liu <sdl.web@gmail.com>
9614 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9616 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9618 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9619 (pop-to-buffer): Change interactive spec. Pass second argument
9620 directly to display-buffer.
9621 (display-buffer): Fix interactive spec. Use functionp to
9622 distinguish between a function and a list of functions.
9624 * abbrev.el (edit-abbrevs):
9625 * arc-mode.el (archive-extract):
9626 * autoinsert.el (auto-insert):
9627 * bookmark.el (bookmark-bmenu-list):
9628 * files.el (find-file):
9629 * view.el (view-buffer):
9630 * progmodes/compile.el (compilation-goto-locus):
9631 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9633 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9635 * window.el (display-buffer-alist): Doc fix.
9636 (display-buffer): Add docstring. Don't treat
9637 display-buffer-default specially.
9638 (display-buffer-reuse-selected-window)
9639 (display-buffer-same-window, display-buffer-maybe-same-window)
9640 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9641 (display-buffer-pop-up-window)
9642 (display-buffer-reuse-or-pop-window)
9643 (display-buffer-use-some-window): New functions.
9644 (display-buffer-default-action): Use them.
9645 (display-buffer-default): Delete.
9646 (pop-to-buffer-1): Fix choice of actions.
9648 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9650 * minibuffer.el (completion--insert-strings): Don't get confused by
9651 completion entries that end with an LF char.
9653 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9655 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9657 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9659 * window.el (display-buffer): Restore interactive spec.
9660 (display-buffer-same-window, display-buffer-other-window):
9662 (pop-to-buffer-1): New function. Use the above.
9663 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9664 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9666 * view.el (view-buffer-other-window, view-buffer-other-frame):
9667 Just use pop-to-buffer.
9669 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9671 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9673 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9675 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9677 2011-08-31 Richard Stallman <rms@gnu.org>
9679 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9680 of the separation of rmail-view-buffer from rmail-buffer.
9681 If you say no to "replace original", the decrypt is in the
9682 view buffer. If you say yes, the decrypt goes into the
9685 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9687 * window.el (display-buffer-window): Rewrite doc-string.
9688 (display-buffer-record-window): New function.
9689 (display-buffer-macro-specifiers)
9690 (display-buffer-even-window-sizes, display-buffer-set-height)
9691 (display-buffer-set-width, display-buffer-in-window)
9692 (display-buffer-reuse-window, display-buffer-split-specifiers)
9693 (display-buffer-side-specifiers, display-buffer-split-window-1)
9694 (display-buffer-split-window, display-buffer-split-atom-window)
9695 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9696 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9697 (display-buffer-other-window-means-other-frame)
9698 (display-buffer-normalize-special)
9699 (display-buffer-normalize-default)
9700 (display-buffer-normalize-argument)
9701 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9702 (display-buffer-normalize-specifiers, display-buffer-frame)
9703 (display-buffer-same-window, display-buffer-same-frame)
9704 (display-buffer-other-window)
9705 (display-buffer-same-frame-other-window)
9706 (display-buffer-other-frame, pop-to-buffer-same-window)
9707 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9708 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9709 (switch-to-buffer-same-frame)
9710 (switch-to-buffer-other-window-same-frame)
9711 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9712 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9713 (display-buffer-alist-set): Remove.
9714 (display-buffer-function, special-display-buffer-names)
9715 (special-display-regexps, special-display-function):
9716 In doc-string refer to display-buffer-window and quit-restore
9718 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9719 (special-display-frame-alist, special-display-popup-frame)
9720 (same-window-buffer-names, same-window-regexps, same-window-p)
9721 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9722 (split-window-preferred-function, split-height-threshold)
9723 (split-width-threshold, window-splittable-p)
9724 (split-window-sensibly, window--try-to-split-window)
9725 (window--frame-usable-p, even-window-heights)
9726 (window--even-window-heights, window--display-buffer-1)
9727 (window--display-buffer-2, display-buffer-other-frame):
9728 Restore old Emacs 23 code, order and doc-strings where applicable.
9729 (display-buffer-default, display-buffer-assq-regexp): New functions.
9730 (display-buffer-alist): Rewrite doc-string.
9731 (display-buffer-default-action)
9732 (display-buffer-overriding-action): New variables.
9733 (display-buffer, switch-to-buffer): Rewrite.
9734 (pop-to-buffer): Restore Emacs 23 behavior but use
9735 window-normalize-buffer-to-display.
9736 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9737 Restore Emacs 23 behavior but use
9738 window-normalize-buffer-to-switch-to.
9739 (pop-to-buffer-same-window): Rewrite.
9740 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9741 Rewrite using Emacs 23 options.
9743 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9745 * net/tramp.el (tramp-root-regexp): Remove.
9746 (tramp-completion-file-name-regexp-unified)
9747 (tramp-completion-file-name-regexp-separate)
9748 (tramp-completion-file-name-regexp-url): Don't use leading volume
9749 letter on win32 systems. (Bug#5303, Bug#9311)
9750 (tramp-drop-volume-letter): Simplify definition.
9751 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9753 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9755 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9758 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9760 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9762 2011-08-29 Juri Linkov <juri@jurta.org>
9764 * isearch.el (isearch-done): Don't display message "Mark saved"
9765 when arg `edit' is non-nil to prevent its flicker in the echo area.
9767 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9769 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9770 obsolete packages for deletion.
9772 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9774 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9775 (help-mode): Derive help-mode from special-mode. Don't invoke
9776 view-mode from help-mode.
9777 (help-xref-override-view-map): Remove.
9778 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9779 view-mode is not used anymore.
9781 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9783 * server.el (server-port): Doc fix.
9785 * cus-theme.el (custom-theme-choose-mode): Inherit from
9786 special-mode (Bug#9124).
9787 (custom-theme-choose-mode-map): Add special-mode to parent.
9789 2011-08-28 Alan Mackenzie <acm@muc.de>
9791 * progmodes/cc-fonts.el
9792 (c-make-font-lock-BO-decl-search-function): New function.
9793 (c-basic-matchers-after - "Fontify the clauses after various
9794 keywords"): Extract the three keyword lists for the 3 erroneous
9795 constructs from the list of four, and use the new function above
9796 in place of an old one.
9798 2011-08-28 Deniz Dogan <deniz@dogan.se>
9800 * net/rcirc.el (rcirc-insert-prev-input)
9801 (rcirc-insert-next-input): Remove unused argument.
9803 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9807 2011-08-27 Alan Mackenzie <acm@muc.de>
9809 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9810 handle function pointer parameters properly.
9812 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9814 * window.el (display-buffer-reuse-window): Fix case where
9815 selected window was reused with non-nil OTHER-WINDOW argument.
9818 2011-08-27 Deniz Dogan <deniz@dogan.se>
9820 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9821 oftc's NickServ messages.
9823 2011-08-27 Glenn Morris <rgm@gnu.org>
9825 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9827 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9829 * emacs-lisp/package.el (package-install): Call package-initialize
9830 if called interactively.
9832 2011-08-26 Leo Liu <sdl.web@gmail.com>
9834 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9836 2011-08-25 Juri Linkov <juri@jurta.org>
9838 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9839 `search-whitespace-regexp' (bug#9364).
9841 2011-08-25 Juri Linkov <juri@jurta.org>
9843 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9844 `regexp-search-ring' to their global values to protect from
9845 updating by `read-from-minibuffer' (bug#9185).
9847 2011-08-25 Juri Linkov <juri@jurta.org>
9849 * textmodes/ispell.el (ispell-command-loop): Add newline
9850 at the end of the "Use option `i'..." line.
9852 2011-08-25 Juri Linkov <juri@jurta.org>
9854 * battery.el (display-battery-mode): If `battery-status-function'
9855 or `battery-mode-line-format' is nil, display the message and set
9856 `display-battery-mode' to nil (bug#9363).
9858 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9860 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9861 bidi-string-mark-left-to-right; they are unnecessary now.
9863 2011-08-25 Deniz Dogan <deniz@dogan.se>
9865 * net/quickurl.el: Documentation typo fixes.
9867 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9869 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9871 2011-08-25 Glenn Morris <rgm@gnu.org>
9873 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9875 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9876 (smtpmail-via-smtp): Handle nil response from smtp.
9878 2011-08-24 Juri Linkov <juri@jurta.org>
9880 * proced.el (proced-marked): Inherit from `error' instead of
9881 `font-lock-warning-face'.
9883 * ibuffer.el (ibuffer-marked-face): Change default face from
9884 `font-lock-warning-face' to `warning'.
9885 (ibuffer-deletion-face): Change default face from
9886 `font-lock-type-face' to `error'.
9888 * battery.el (battery-update): Use the face `error' instead of
9889 `font-lock-warning-face' (bug#6117).
9891 2011-08-24 Juri Linkov <juri@jurta.org>
9893 * faces.el (success): Change face color from "Green3" to
9894 "ForestGreen" on light background (bug#9353).
9896 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9898 * window.el (quit-window): Rename from quit-restore-window.
9899 Use same arglist as old quit-window.
9900 (frame-auto-delete): Doc fix.
9902 * view.el (view-mode-exit): Use quit-window.
9904 2011-08-24 Juri Linkov <juri@jurta.org>
9906 * isearch.el (isearch-ring-adjust1): Start visiting previous
9907 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9908 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9909 for empty search string (when the last search string is reused
9910 automatically) to adjust the isearch ring to the last element and
9911 prepare the correct index for further M-p commands (bug#9185).
9913 2011-08-24 Kenichi Handa <handa@m17n.org>
9915 * international/ucs-normalize.el: If decomposition property of
9916 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9918 (nfd, nfkd): Likewise.
9920 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9922 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9923 from process filters aren't reliably transmitted to the surrounding
9924 accept-process-output.
9925 (mpc-proc-check): New function.
9926 (mpc-proc-sync): Use it (bug#8293)
9928 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9931 Add compatibility functions (bug#9313).
9933 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9935 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9937 * international/uni-bidi.el: Regenerate.
9939 2011-08-23 Kenichi Handa <handa@m17n.org>
9941 * international/charprop.el:
9942 * international/uni-bidi.el:
9943 * international/uni-category.el:
9944 * international/uni-combining.el:
9945 * international/uni-comment.el:
9946 * international/uni-decimal.el:
9947 * international/uni-decomposition.el:
9948 * international/uni-digit.el:
9949 * international/uni-lowercase.el:
9950 * international/uni-mirrored.el:
9951 * international/uni-name.el:
9952 * international/uni-numeric.el:
9953 * international/uni-old-name.el:
9954 * international/uni-titlecase.el:
9955 * international/uni-uppercase.el: Regenerate.
9957 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9959 * help.el (help-window-setup): Fix message displayed when other
9960 window is reused. (Bug#9341)
9962 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9964 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9965 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9967 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9969 * shell.el (shell-parse-pcomplete-arguments): New function.
9970 (shell-completion-vars): Use it instead (bug#9160).
9972 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9974 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9975 strings and comments (bug#9333).
9977 * emacs-lisp/debug.el (debug-arglist): New function.
9978 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9979 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9981 2011-08-22 Juri Linkov <juri@jurta.org>
9983 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9984 Revert regexp that highlights output switches to its old
9985 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9987 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9988 to check for empty output (bug#9226).
9990 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9992 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9993 symbol-constituent as the default, as that stops font-lock from
9994 working properly (Bug#8843).
9996 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9999 `coding-system-for-*' around the process open call to avoid
10000 auth-source side effects.
10001 (smtpmail-try-auth-methods): Expand the secret password.
10002 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10005 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10007 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10009 * emacs-lisp/find-func.el (find-function-noselect): New arg
10012 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10013 signal an error for built-in functions (Bug#6664).
10015 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10018 (smtpmail-try-auth-methods): Use it.
10020 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10022 * font-lock.el (font-lock-fontify-region)
10023 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10024 (font-lock-default-unfontify-buffer)
10025 (font-lock-default-fontify-region)
10026 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10028 * progmodes/compile.el (compilation-error-properties):
10029 Fix confusion between file struct and message struct (Bug#9319).
10030 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10033 * net/browse-url.el (browse-url-firefox): Don't call
10034 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10036 2011-08-20 Glenn Morris <rgm@gnu.org>
10038 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10040 * tutorial.el (tutorial--default-keys): Update some default bindings.
10042 * files.el (hack-local-variables): Fully ignore case for "mode:".
10044 2011-08-20 Alan Mackenzie <acm@muc.de>
10046 Resolve invalid use of a regexp in regexp-opt.
10048 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10049 detection for a java annotation.
10051 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10052 detection for a java annotation.
10054 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10056 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10058 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10060 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10063 2011-08-20 Alan Mackenzie <acm@muc.de>
10065 Fontify CPP expressions correctly when starting in the middle of
10066 such a construct. Mainly for when jit-lock etc. starts a chunk
10069 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10071 (c-make-font-lock-search-form): New function, extracted from
10072 c-make-font-lock-search-function.
10073 (c-make-font-lock-search-function): Use the above function.
10074 (c-make-font-lock-context-search-function): New function.
10075 (c-cpp-matchers): Enhance the preprocessor expression case with
10077 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10078 which takes an expression.
10080 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10082 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10084 * window.el (display-buffer-reuse-window)
10085 (display-buffer-pop-up-window): Don't reuse or split a side
10088 2011-08-19 Glenn Morris <rgm@gnu.org>
10090 * files.el (hack-local-variables-prop-line, hack-local-variables):
10091 Downcase "Mode:". (Bug#9331)
10093 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10095 * international/characters.el: Add L and R categories.
10097 * subr.el (bidi-string-mark-left-to-right): Rename from
10098 string-mark-left-to-right. Use category search.
10100 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10102 2011-08-18 Juri Linkov <juri@jurta.org>
10104 * faces.el (error, warning, success): New faces with definitions
10105 copied from old default values of `font-lock-warning-face',
10106 `compilation-warning', `compilation-info' (bug#6117).
10108 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10110 * progmodes/compile.el (compilation-error): Inherit from `error'.
10111 (compilation-warning): Inherit from `warning'.
10112 (compilation-info): Inherit from `success'.
10114 * dired.el (dired-marked): Inherit from `warning'.
10115 (dired-flagged): Inherit from `error'.
10117 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119 * mail/smtpmail.el (auth-source): Require to avoid problems with
10120 binding variables (bug#9298). Also clean up some unused
10123 * net/network-stream.el (network-stream-open-starttls):
10124 Support using starttls.el without using gnutls-cli.
10126 2011-08-17 Juri Linkov <juri@jurta.org>
10128 * progmodes/grep.el (rgrep): Handle the case when
10129 `grep-find-command' is a cons cell (bug#9278).
10131 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10133 * window.el (display-buffer-pop-up-frame): Run frame creation
10134 function with BUFFER current (as special-display-popup-frame
10135 does). Reported by Drew Adams.
10137 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10139 * epa-mail.el: Simplify GnuPG group expansion using
10141 (epa-mail-group-alist, epa-mail-group-modtime)
10142 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10143 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10144 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10147 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10149 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10151 2011-08-16 Alan Mackenzie <acm@muc.de>
10153 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10154 Correct, to avoid the inside of macros.
10156 2011-08-16 Richard Stallman <rms@gnu.org>
10158 * epa-mail.el: Handle GnuPG group definitions.
10159 (epa-mail-group-alist, epa-mail-group-modtime)
10160 (epa-mail-gnupg-conf-file): New variables.
10161 (epa-mail-parse-groups, epa-mail-sync-groups)
10162 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10163 (epa-mail-expand-recipients): New functions.
10164 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10166 * mail/rmail.el (rmail-epa-decrypt): New command.
10168 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10169 Don't bind buffer-read-only, just inhibit-read-only.
10170 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10171 (epa-decrypt-armor-in-region): Make error message clearer.
10173 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10176 and "a2b" to "ab" for `prefix'.
10178 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10180 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10182 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10183 Fourquet (Bug#8804).
10185 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10187 * startup.el (argi): Declare as global variable (bug#9275).
10189 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10191 * subr.el (string-mark-left-to-right): Search the entire string
10192 for RTL script, not just the terminating character. Doc fix.
10194 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10196 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10198 (js--regexp-literal, js-syntax-propertize-function): Remove.
10199 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10200 (js-mode-map): Don't rebind electric keys.
10201 (js-insert-and-indent): Remove.
10202 (js-mode): Setup electric-layout and electric-indent instead.
10204 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10206 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10208 * epa.el (epa-progress-callback-function): Fix the logic of
10209 displaying progress.
10210 * epa-file.el (epa-file-insert-file-contents): Make progress
10211 display more user-friendly.
10212 (epa-file-write-region): Ditto.
10214 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10216 * subr.el (string-mark-left-to-right): New function.
10218 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10219 Use string-mark-left-to-right.
10220 (list-buffers-noselect): Caller changed.
10222 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10223 Use string-mark-left-to-right.
10224 (tabulated-list-print): Recenter after moving point.
10226 2011-08-10 Juri Linkov <juri@jurta.org>
10228 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10229 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10230 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10232 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10234 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10237 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10239 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10240 character. (Bug#6594)
10242 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10244 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10245 (image-dired--with-db-file): New macro.
10246 (image-dired-write-tags, image-dired-remove-tag)
10247 (image-dired-create-gallery-lists, image-dired-write-comments)
10248 (image-dired-get-comment, image-dired-mark-tagged-files)
10249 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10250 (image-dired-gallery-generate): Use insert-file-contents.
10252 * time.el (display-time-world-list, display-time-world-display):
10253 * time-stamp.el (time-stamp-string):
10254 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10255 set-time-zone-rule (Bug#7337).
10257 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10259 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10260 (epg-error-to-string, epg-errors-to-string): New function.
10261 (epg-wait-for-completion): Reverse errors list.
10262 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10263 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10264 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10265 (epg-sign-keys, epg-generate-key-from-file)
10266 (epg-generate-key-from-string): Format errors by using
10267 epg-errors-to-string (bug#9255).
10268 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10270 2011-08-07 Juri Linkov <juri@jurta.org>
10272 * faces.el (list-faces-display): Remove extra angle bracket
10273 from `help-mode-map'.
10275 * info.el (Info-history-toc-nodes): Doc fix.
10277 * longlines.el (longlines-mode): Doc fix.
10279 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10282 of statements and in a few more cases (bug#9183).
10284 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10286 (cl-transform-lambda): Use them (bug#9239).
10288 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10290 * window.el (display-buffer-same-window)
10291 (display-buffer-same-frame, display-buffer-other-window)
10292 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10293 (pop-to-buffer-other-window)
10294 (pop-to-buffer-same-frame-other-window)
10295 (pop-to-buffer-other-frame): Make them defuns.
10296 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10298 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10300 * subr.el (make-composed-keymap): Move from C. Change calling
10301 convention, and improve docstring to bring attention to a subtle point.
10302 * minibuffer.el (completing-read-default): Adjust accordingly.
10304 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10306 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10307 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10309 * net/trampver.el: Update release number.
10311 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10316 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10318 * mail/sendmail.el (sendmail-query-once): Restore the current
10319 buffer after querying (bug#9074).
10321 * dired.el (dired-flagged): Use different faces for marked and
10322 flagged files (bug#6117).
10324 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10327 * ido.el (ido-mode): Switch off the message if called
10330 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10331 before 587, since it appears that that's more likely to work for
10334 * cus-edit.el (custom-file): When running under emacs -q, always
10335 refuse to save the customizations, even if the .emacs file doesn't
10338 * info.el: Remove the `Info-beginning-of-buffer' function
10341 * net/network-stream.el (network-stream-open-starttls):
10342 Use `starttls-available-p' to see whether starttls.el can be used.
10344 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10346 * window.el (display-buffer-in-window): Don't set dedicated status
10347 of window here (Bug#9215).
10348 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10349 (display-buffer-pop-up-side-window)
10350 (display-buffer-in-side-window): Set dedicated status of window here.
10352 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10354 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10355 before binding generated-autoload-file.
10357 2011-08-01 Deniz Dogan <deniz@dogan.se>
10359 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10361 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10363 Sync with Tramp 2.2.2.
10365 * net/trampver.el: Update release number.
10367 2011-07-30 Juri Linkov <juri@jurta.org>
10369 * dired-aux.el (dired-touch-initial): Remove function.
10370 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10371 current time, and `default' to the last modification time of the
10372 current marked file (bug#6887).
10374 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10376 * simple.el (goto-line): Use string-to-number to provide a
10377 numeric argument to read-number (bug#9163).
10379 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10381 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10382 connection process, it could be nil.
10384 2011-07-27 Leo Liu <sdl.web@gmail.com>
10386 Simplify url handling in rcirc-mode.
10388 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10389 (rcirc-browse-url-at-mouse): Remove.
10390 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10392 2011-07-26 Alan Mackenzie <acm@muc.de>
10394 Fontify bitfield declarations properly.
10396 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10397 (c-symbol-chars): Now exported as a lang variable.
10398 (c-not-primitive-type-keywords): New lang variable.
10400 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10401 QT keyword "more" to prevent "more slots: ...." being spuriously
10402 parsed as a bitfield declaration.
10404 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10405 Refactor and enhance to handle bitfield declarations.
10406 (c-punctuation-in): New function.
10407 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10408 declarations properly.
10410 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10412 * calendar/icalendar.el (icalendar--all-events): Take care of
10413 multiple vcalendars in a single file.
10414 (icalendar--convert-float-to-ical): Checkdoc fixes.
10416 2011-07-25 Deniz Dogan <deniz@dogan.se>
10418 * image.el (insert-image): Clarifying docstring.
10420 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10422 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10423 `tramp-send-command-and-check' if there is no error.
10424 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10426 2011-07-22 Alan Mackenzie <acm@muc.de>
10428 Prevent cc-langs.elc being loaded at run time.
10430 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10433 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10434 "(require 'cc-langs)". Quote a form so it will evaluate at
10435 (cc-mode's) compilation time.
10437 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10439 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10440 loading. (Bug#9114)
10442 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10444 * window.el (display-buffer-pop-up-window)
10445 (display-buffer-pop-up-side-window)
10446 (display-buffer-in-side-window): Call display-buffer-set-height
10447 and display-buffer-set-width after setting the new window's
10448 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10450 2011-07-20 Sam Steingold <sds@gnu.org>
10452 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10453 (etags-tags-included-tables): Call `convert-standard-filename' on
10454 the file names contained in TAGS so that windows Emacs can handle
10455 TAGS files created by cygwin ctags.
10457 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10460 which apparently didn't work.
10462 2011-07-19 Roland Winkler <winkler@gnu.org>
10464 * proced.el (proced-send-signal): For *Marked Processes* buffer
10465 put point at beginning of buffer.
10467 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10469 * proced.el (proced-format): Make header lines align with the text
10472 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10474 * view.el (view-buffer): Allow running in `special' modes if we're
10475 visiting a file (bug#8615).
10477 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10479 * window.el (display-buffer-alist-of-strings-p)
10480 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10482 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10485 2011-07-18 Alan Mackenzie <acm@muc.de>
10487 Fontify declarators properly when, e.g., a jit-lock chunk begins
10488 inside a declaration.
10490 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10492 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10494 (c-complex-decl-matchers): Insert reference to
10495 c-font-lock-enclosing-decls.
10497 * progmodes/cc-engine.el (c-backward-single-comment):
10498 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10499 to nil around calls to (forward-comment -1).
10501 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10503 * image.el (put-image): Doc typo fix.
10505 * progmodes/etags.el (tags-search): Doc typo fix.
10507 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10508 password if we get errors 550 to 554.
10510 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10512 * net/gnutls.el (gnutls-log-level): Remove.
10514 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10515 indentation character (bug#6380).
10517 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10519 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10520 to clarify what the problem is (bug#4291).
10522 * simple.el (current-kill): Clarify what
10523 `interprogram-paste-function' does (bug#7500).
10524 (auto-fill-mode): Document `auto-fill-function' in relation to
10525 `auto-fill-mode' (bug#2470).
10527 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10529 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10530 method if slot is read-only (bug#9035).
10532 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10534 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10535 * window.el (pop-to-buffer): Select window used even if it was
10536 selected before, see discussion of (Bug#8615), (Bug#6954).
10537 Pass argument NORECORD on to select-frame-set-input-focus.
10539 2011-07-15 Glenn Morris <rgm@gnu.org>
10541 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10544 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10546 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10547 (gnutls-negotiate): Use it.
10549 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10551 * net/gnutls.el (gnutls-negotiate):
10552 Upcase `gnutls-algorithm-priority'.
10554 2011-07-15 Glenn Morris <rgm@gnu.org>
10556 * jka-compr.el (jka-compr-verbose): Move from here...
10557 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10558 Add missing :version tag.
10559 * info.el: No need to require jka-compr when compiling.
10561 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10564 (gnutls-negotiate): Use it.
10566 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10568 * info.el (Info-beginning-of-buffer): New command.
10569 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10570 announcing `b' as the key (bug#8325).
10571 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10573 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10575 * international/mule-cmds.el
10576 (describe-specified-language-support): Make the error message
10577 clearer (bug#8905).
10579 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10581 * isearch.el (isearch-barrier): Add a doc string, since it's
10582 mentioned in a function doc string (bug#8678).
10584 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10586 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10587 buffer argument (Bug#9083) and self-identifying label argument.
10589 2011-07-15 Glenn Morris <rgm@gnu.org>
10591 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10593 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10595 * man.el (Man-fontify-manpage): Fix message when formatting the
10596 man page (bug#7929).
10598 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10600 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10601 argument LRM; if non-nil, append an invisible LRM character to the
10603 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10604 last argument non-nil, when formatting buffer names.
10605 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10606 paragraph direction.
10608 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10610 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10611 the man page name (bug#7929).
10613 * image.el (put-image): Mention the `put-image' overlay property
10616 * scroll-bar.el (set-scroll-bar-mode): Mention that
10617 `scroll-bar-mode' lists the values (bug#7772).
10619 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10620 command (bug#7729).
10622 * rect.el (apply-on-rectangle): Return the point after the last
10624 (string-rectangle): Go to the point after the last operation
10627 * printing.el (pr-toggle-region): Clarify the documentation
10628 slightly (bug#7493).
10630 * time.el (display-time-update):
10631 Allow `display-time-mail-function' to return nil (bug#7158).
10632 Fix suggested by Detlev Zundel.
10634 * vc/diff.el (diff): Clarify the order the file names are read
10637 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10638 the doc string (bug#7015).
10640 * font-lock.el (font-lock-maximum-decoration): Mention what
10641 numeric levels mean (bug#6935).
10643 * startup.el (initial-buffer-choice): Don't mention the `none'
10644 selection, which is against policy.
10646 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10648 * window.el (display-buffer-normalize-special):
10649 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10651 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10653 * subr.el (version<, version<=, version=): Mention "-CVS" and
10654 "-12345" alpha version numbers.
10656 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10658 * bindings.el: Add advertised binding for set-mark-command
10661 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10663 * bindings.el (mode-line-other-buffer):
10664 * bookmark.el (bookmark-bmenu-2-window):
10665 * bs.el (bs-cycle-next, bs-cycle-previous):
10666 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10669 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10672 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10674 * follow.el (follow-debug-message, follow-redisplay):
10675 * jka-cmpr-hook.el (with-auto-compression-mode):
10676 Fix typos in docstrings.
10678 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680 * subr.el (with-silent-modifications): Clarify somewhat what the
10681 macro inhibits (bug#6525).
10683 * simple.el (eval-expression): Note what it does if called
10684 interactively (bug#6495).
10686 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10688 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10689 Use pop-to-buffer buffer-or-name if it is nil.
10691 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10692 Remove switch-to-buffer.
10694 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10696 * files.el (make-directory): Clarify that an error will be raised
10697 if there's an error (bug#6397).
10699 * startup.el (initial-buffer-choice): Add `none' as a choice
10702 * subr.el (add-hook): Clarify section about buffer-local hooks
10705 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10707 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10709 * tabify.el (untabify): Preserve the current column so that point
10710 doesn't move (bug#6032).
10712 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10714 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10715 Rewrite to avoid awkward possessive "s" (bug#5986).
10717 2011-07-13 Glenn Morris <rgm@gnu.org>
10719 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10720 (dired-insert-directory): Give a message the first time
10721 if ls is found not to support --dired.
10723 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10725 * simple.el (toggle-truncate-lines): Clarify what is toggled
10726 (bug#5580). Text by Drew Adams.
10728 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10730 * simple.el (blink-matching-open): Make the error message from the
10731 last change less verbose.
10733 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10735 * font-lock.el (font-lock-comment-face): Use the high contrast
10736 "yellow" color for font-lock-comment-face on low color terminals
10737 using a dark background color (bug#4221).
10739 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10741 * dired.el (dired-insert-set-properties): Make the doc string
10742 reflect what it does now (bug#5325).
10744 * simple.el (blink-matching-open): Say that we were unable to find
10745 the match within the limit, if we're limited (bug#5122).
10747 * international/mule-cmds.el (prefer-coding-system): Add an
10748 example (bug#4869).
10750 * progmodes/etags.el (tags-search): Document `file-list-form'
10753 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10755 * net/browse-url.el (browse-url-default-browser)
10756 (browse-url-browser-function): Make the default browser choice a
10757 bit more logical (bug#4300). Also clean up the doc string.
10759 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10761 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10762 binary endings (bug#4440).
10764 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10767 which can be pretty annoying (bug#8971).
10769 * jka-compr.el (jka-compr-verbose): New variable, and use
10770 throughout (bug#8971).
10772 * info.el (Info-find-file): Fall back on the installation
10773 directory if we can't find the info node anywhere else.
10775 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10777 * vc/vc.el (vc-revert-file):
10778 Don't set file time-stamp in the past. (Bug#5181)
10780 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10782 * files.el (after-find-file): Give a better error message when
10783 trying to find a symlink that points to a file that doesn't exist
10786 * progmodes/cc-vars.el: Remove (probably) misleading comment
10789 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10791 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10793 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10795 * mouse-sel.el: Hack restoring functionality, while keeping
10796 compatibility with 2010-07-03 changes to mouse selection.
10797 (mouse-sel-primary-overlay): New var.
10798 (mouse-sel-selection-alist): Use it.
10799 (mouse-sel-mode): Doc fix; remove points that are default features
10802 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10804 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10805 Fix previous fix (bug#2490).
10807 2011-07-12 Roland Winkler <winkler@gnu.org>
10809 * textmodes/bibtex.el (bibtex-initialize):
10810 Use pop-to-buffer-same-window.
10811 (bibtex-search-entries): Fix interactive call.
10813 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10815 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10816 Fontise bytecomp Error lines more correctly (bug#2490).
10817 Fix suggested by Johan Bockgård.
10819 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10821 * dired-x.el (dired-guess-default): Use `delete-dups'.
10823 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10825 * dired.el (dired-mark-prompt):
10826 * dired-aux.el (dired-read-shell-command): Doc fix.
10828 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10830 * mail/sendmail.el (sendmail-query-once):
10831 Use `customize-save-variable' unconditionally, now that it works under
10834 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10836 * cus-edit.el (custom-file): Take an optional no-error variable.
10837 (customize-save-variable): Set the variable, and give a warning if
10838 running under "emacs -q".
10840 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10842 * loadhist.el (unload-feature-special-hooks):
10843 Add `auto-coding-functions', `fill-nobreak-predicate' and
10844 `find-directory-functions' (bug#5327).
10846 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10848 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10850 * cus-edit.el (custom-guess-name-alist): -alist variables should
10851 use the `alist' type (bug#3120). Suggested by Drew Adams.
10853 * printing.el: Add documentation to all the `pr-toggle-' commands.
10855 2011-07-11 Leo Liu <sdl.web@gmail.com>
10857 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10858 backends where it makes sense (bug#2623).
10860 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10862 * dired-x.el (dired-guess-default): Remove duplicate shell command
10863 entries (bug#2028).
10864 (dired-guess-default): Fix grammar in doc string (bug#2028).
10865 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10867 * subr.el (remove-duplicates): New conveniency function.
10869 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10871 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10874 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10876 * window.el (display-buffer-normalize-default): Don't invert
10877 meaning of even-window-heights. Reported by Eli Zaretskii
10880 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10882 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10884 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10886 * window.el (display-buffer): Fix arguments to
10887 display-buffer-reuse-window in last change.
10889 * faces.el (link): Use a less saturated blue on light backgrounds.
10891 * startup.el (fancy-startup-text, fancy-about-text)
10892 (fancy-startup-tail): Use font-lock faces, for background safety.
10894 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10896 * emulation/viper-cmd.el (viper-change-state-to-vi):
10897 Limit triggering of abbrev expansion (Bug#9038).
10899 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10901 * window.el (display-buffer-default-specifiers): Remove.
10902 (display-buffer-macro-specifiers): Remove default specifiers.
10903 (display-buffer-alist): Default to nil.
10904 (display-buffer-reuse-window): New optional argument other-window.
10905 (display-buffer-pop-up-window): Allow splitting internal
10906 windows. Check whether a live window was created.
10907 (display-buffer-other-window-means-other-frame)
10908 (display-buffer-normalize-arguments): Rename to
10909 display-buffer-normalize-argument and rewrite. Set the
10910 other-window specifier.
10911 (display-buffer-normalize-special): New function.
10912 (display-buffer-normalize-options): Rename to
10913 display-buffer-normalize-default and rewrite.
10914 (display-buffer-normalize-options-inhibit): Remove.
10915 (display-buffer-normalize-specifiers): Rewrite.
10916 (display-buffer): Process other-window specifier and call
10917 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10919 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10920 (display-buffer-alist-set): Don't handle 'unset default values.
10921 (display-buffer-in-window, display-buffer-alist-set):
10922 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10923 <tassilo@member.fsf.org>.
10925 2011-07-09 Leo Liu <sdl.web@gmail.com>
10927 * register.el (insert-register): Restore accidental change on
10928 2011-06-26. (Bug#9028)
10930 2011-07-09 Glenn Morris <rgm@gnu.org>
10932 * subr.el (remq): Handle the empty list. (Bug#9024)
10934 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10936 * mail/sendmail.el (send-mail-function): No longer delay custom
10938 * custom.el (custom-initialize-delay): Doc fix.
10940 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10944 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10946 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10947 human-friendly prompt.
10949 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10951 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10952 provided by a particular plugin.
10954 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10956 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10957 save customizations (with "emacs -Q"), just set the variable
10958 instead of erroring out.
10960 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10962 2011-07-08 Juri Linkov <juri@jurta.org>
10964 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10965 (archive-zip-update-case): Use 7z if found by `executable-find'.
10966 The order of searching the available programs is the same as in
10967 `archive-zip-extract' (bug#8968).
10969 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10971 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10972 (menu-bar-options-menu): Tweak descriptions.
10974 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10976 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10977 menu items into verb phrases (bug#1421). Also refill to fit under
10980 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10982 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10983 (Info-read-node-name): Doc fix (Bug#1084).
10985 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10986 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10987 (end-of-sexp, beginning-of-sexp)
10988 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10989 (forward-symbol, forward-same-syntax, word-at-point)
10990 (sentence-at-point): Doc fix (Bug#1144).
10992 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10994 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10995 should cover it (bug#1281).
10997 * cus-edit.el (custom-show): Mark as obsolete.
10999 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11000 negotiation fails, then possibly try again with a non-encrypted
11001 connection (bug#9017).
11003 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11006 2011-07-07 Richard Stallman <rms@gnu.org>
11008 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11009 property, and handle its changed format.
11010 Look for the correct line number.
11011 Use file's line contents (but not past first =) to find
11012 correct line in message.
11014 2011-07-07 Kenichi Handa <handa@m17n.org>
11016 * international/characters.el (build-unicode-category-table):
11018 (unicode-category-table): Set it by unicode-property-table-internal.
11020 * international/mule-cmds.el (char-code-property-alist): Move to
11022 (get-char-code-property): Call unicode-property-table-internal to
11023 load a file. Call get-unicode-property-internal where necessary.
11024 (put-char-code-property): Call unicode-property-table-internal to
11025 load a file. Call put-unicode-property-internal where necessary.
11026 put-unicode-property-internal where necessary.
11027 (char-code-property-description):
11028 Call unicode-property-table-internal to load a file.
11030 * international/charprop.el:
11031 * international/uni-bidi.el:
11032 * international/uni-category.el:
11033 * international/uni-combining.el:
11034 * international/uni-comment.el:
11035 * international/uni-decimal.el:
11036 * international/uni-decomposition.el:
11037 * international/uni-digit.el:
11038 * international/uni-lowercase.el:
11039 * international/uni-mirrored.el:
11040 * international/uni-name.el:
11041 * international/uni-numeric.el:
11042 * international/uni-old-name.el:
11043 * international/uni-titlecase.el:
11044 * international/uni-uppercase.el: Regenerate.
11046 * loadup.el: Load international/charprop.el before
11047 international/characters.
11049 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11051 * window.el (next-buffer, previous-buffer): Signal an error if
11052 called from a minibuffer window.
11054 * bindings.el: Revert 2011-07-04 change.
11056 2011-07-06 Richard Stallman <rms@gnu.org>
11058 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11059 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11060 Treat markers like ints.
11061 (rmail-mime-entity): Doc fix.
11063 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11065 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11066 defcustom again for backwards compatibility.
11068 * simple.el (shell-command-on-region): Fill.
11070 * dired-aux.el (dired-kill-line): Add a doc string.
11072 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11073 to "\\sw\\|\\s_" (bug#358).
11075 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11076 (dired-unmark-backward): Ditto.
11077 (dired-flag-backup-files): Ditto.
11079 * dired-x.el (dired-mark-sexp): Ditto.
11081 2011-07-06 Richard Stallman <rms@gnu.org>
11083 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11084 (rmail-mime-entity): New arg TRUNCATED.
11085 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11087 (rmail-mime-save): Warn if entity is truncated.
11088 (rmail-mime-toggle-hidden): Likewise, for showing.
11089 (rmail-mime-process-multipart): Record when an entity is truncated.
11091 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11092 if ENTITY is a string.
11094 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11096 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11097 of faces when `M-C-x'-ing their definitions (bug#8378).
11098 Also clean up the code slightly.
11100 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11101 because that makes the colors go away.
11103 * mail/sendmail.el (send-mail-function): Change the default to
11104 `sendmail-query-once'.
11105 (sendmail-query-once): Add an autoload cookie.
11107 * net/network-stream.el (network-stream-open-starttls): Try using
11108 a plain connection even if the server offered STARTTLS, and we
11109 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11110 capability. This should make smtpmail.el work in slightly more
11113 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11115 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11117 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11119 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11121 * progmodes/sql.el: Version 3.0
11122 (sql-product-alist): Add product :completion-object,
11123 :completion-column, and :statement attributes.
11124 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11125 (sql-mode-syntax-table): Mark all punctuation.
11126 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11128 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11129 (sql-mode-oracle-font-lock-keywords): Improve.
11130 (sql-oracle-show-reserved-words): New function for development.
11131 (sql-product-font-lock): Simplify for source code buffers.
11132 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11134 (sql-highlight-product): Set product specific syntax table.
11135 (sql-mode-map): Add statement movement functions.
11136 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11138 (sql-statement-regexp, sql-beginning-of-statement)
11139 (sql-end-of-statement, sql-signum): New functions.
11140 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11141 (sql-show-sqli-buffer): Bug fix.
11142 (sql-interactive-mode): Store connection data as buffer local.
11143 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11144 with sql-interactive-mode.
11145 (sql-save-connection): Save buffer local settings.
11146 (sql-connection-menu-filter): Change menu entry name.
11147 (sql-product-interactive): Bug fix.
11148 (sql-preoutput-hold): New variable.
11149 (sql-interactive-remove-continuation-prompt): Bug fixes.
11150 (sql-debug-redirect): New variable.
11151 (sql-str-literal): New function.
11152 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11154 (sql-oracle-save-settings, sql-oracle-restore-settings)
11155 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11156 (sql-completion-object, sql-completion-column)
11157 (sql-completion-sqlbuf): New variables.
11158 (sql-build-completions-1, sql-build-completions)
11159 (sql-try-completion): New functions.
11160 (sql-read-table-name): Use them.
11161 (sql-contains-names): New buffer local variable.
11162 (sql-list-all, sql-list-table): Use it.
11163 (sql-oracle-completion-types): New variable.
11164 (sql-oracle-completion-object, sql-sqlite-completion-object)
11165 (sql-postgres-completion-object): New functions.
11167 2011-07-06 Glenn Morris <rgm@gnu.org>
11169 * window.el (pop-to-buffer): Doc fix.
11171 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11173 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11175 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11177 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11179 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11181 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11183 * button.el (button): Inherit from link face. Suggested by Dan
11186 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11188 * progmodes/gdb-mi.el: Fit in 80 columns.
11189 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11192 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11193 if imenu is simply not configured (bug#8941).
11195 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11197 * allout.el (allout-post-undo-hook): New allout outline-change
11198 event hook to signal undo activity.
11199 (allout-post-command-business): Run allout-post-undo-hook if an
11200 undo just occurred.
11201 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11202 * allout-widgets.el (allout-widgets-after-undo-function):
11203 Ensure the integrity of the current item's decoration after it has been
11204 in the vicinity of an undo.
11205 (allout-widgets-mode): Include allout-widgets-after-undo-function
11206 on the new allout-post-undo-hook.
11208 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11211 Let define-derived-mode define it.
11212 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11213 cycles of abbrev-table inheritance (bug#8998).
11215 2011-07-05 Roland Winkler <winkler@gnu.org>
11217 * textmodes/bibtex.el: Add support for biblatex.
11218 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11219 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11220 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11221 (bibtex-entry-alist, bibtex-field-alist): New variables.
11222 (bibtex-entry-field-alist): Obsolete alias for
11223 bibtex-BibTeX-entry-alist.
11224 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11225 (bibtex-set-dialect): New command.
11226 (bibtex-entry-type, bibtex-entry-head)
11227 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11228 Bind via bibtex-set-dialect.
11229 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11230 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11231 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11232 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11233 Define via bibtex-set-dialect.
11234 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11235 Obey bibtex-no-opt-remove-re.
11236 (bibtex-vec-push, bibtex-vec-incr): New functions.
11237 (bibtex-format-entry, bibtex-field-list)
11238 (bibtex-print-help-message, bibtex-validate)
11239 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11241 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11243 * progmodes/compile.el (compilation-goto-locus):
11244 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11245 * bs.el (bs-cycle-next, bs-cycle-previous):
11246 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11247 * bindings.el (mode-line-other-buffer):
11248 * autoinsert.el (auto-insert):
11249 * arc-mode.el (archive-extract):
11250 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11252 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11254 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11255 Fix check of `emacs-lock-unlockable-modes'.
11256 Coerce true values of `emacs-lock--try-unlocking' to t.
11258 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11260 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11261 * emacs-lock.el: New file.
11263 2011-07-05 Julien Danjou <julien@danjou.info>
11265 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11266 than `boundp' to check if face is set.
11268 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11270 * register.el (registerv-make):
11271 * window.el (window-min-height): Fix typos in docstrings.
11273 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11275 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11278 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11280 * server.el (server-execute): Catch quit and call
11281 `server-return-error' to pass the error back to emacsclient and
11282 close the connection (bug#8942).
11284 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11286 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11287 insecure exception for current topic. Also note that auto-saves
11288 are handled differently.
11290 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11291 State variables for tracking auto-save inhibition situation.
11293 (allout-write-contents-hook-handler): Rename from
11294 'allout-write-file-hook-handler', and describe how it depends on
11295 write-contents-functions sensitivity to non-nil value to prevent
11298 (allout-auto-save-hook-handler): Remove. auto-save does not check
11299 this in individual buffers, only in the starting buffer, so this
11300 is not the right way for us to inhibit auto-save in a buffer
11301 according to its condition.
11303 (allout-mode): Use new allout-write-contents-hook-handler, and
11304 only with write-contents-functions. Remove auto-save provisions -
11305 they're implemented elsewhere.
11307 (allout-before-change-handler): If undo is in progress, note that
11308 for attention of allout-post-command-business.
11310 (allout-post-command-business): If the command we're following was
11311 an undo, check for change in the status of encrypted items and
11312 adjust auto-save inhibitions accordingly.
11314 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11315 according to whether there are or aren't any plain-text topics
11316 pending encryption.
11318 (allout-inhibit-auto-save-info-for-decryption):
11319 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11320 if there are plain-text topics pending encryption.
11322 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11323 buffer-saved-size and some allout state to not inhibit auto-saves
11324 if there are no longer any plain-text topics pending encryption.
11326 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11327 No longer provide for exemption of the current topic.
11329 2011-07-04 Juri Linkov <juri@jurta.org>
11331 Add 7z operations to delete and save changed members (bug#8968).
11332 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11334 (archive-7z-write-file-member): New function.
11335 (archive-7z-summarize): Fix the number of dashes in the
11338 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11343 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11345 * bindings.el: Ignore next-buffer and previous-buffer in
11346 minibuffer-local-map.
11348 * font-lock.el (font-lock-builtin-face): Change light background
11349 color to dark slate blue (Bug#6693).
11351 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11353 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11355 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11358 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11359 Add switch-to-buffer.
11361 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11363 * isearch.el (isearch-search-fun-function): Clarify further the
11364 meaning of the function returned.
11366 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11368 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11370 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11371 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11373 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11374 `tramp-default-remote-path' does not exist.
11375 (tramp-send-command-and-read): New optional argument NOERROR.
11376 (tramp-open-connection-setup-interactive-shell)
11377 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11378 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11379 (tramp-process-sentinel): Flush also process' connection property.
11380 (tramp-sh-handle-start-file-process): Do not set process
11381 sentinel. It is done now ...
11382 (tramp-maybe-open-connection): ... here. (Bug#8929)
11384 2011-07-04 MON KEY <monkey@sandpframing.com>
11386 * play/animate.el (animate-string): Doc fixes and allow changing
11387 the buffer name (bug#5417).
11389 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11391 * play/animate.el (animation-buffer-name): Rename from *animate*.
11393 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11395 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11396 This is simpler and helps future-proof the code.
11397 (timer-until): Use time-subtract and float-time.
11398 (timer--time-less-p): Use time-less-p.
11400 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11402 * type-break.el (timep): Use the value of `float-time' to avoid a
11403 byte-compiler warning.
11405 * server.el (server-eval-and-print): Return any result, even nil.
11407 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11409 * type-break.el: Accept time formats that the builtins accept.
11410 (timep, type-break-time-difference): Accept any format that
11411 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11412 This is simpler and helps future-proof the code.
11413 (type-break-time-difference): Round rather than ignoring
11414 subseconds components.
11416 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11418 * info.el (Info-apropos-matches): Make non-interactive, since it
11419 doesn't seem to do anything useful as a command (bug#8829).
11421 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11423 * frame.el (frame-background-mode, frame-set-background-mode):
11424 Move from faces.el.
11425 (frame-default-terminal-background): New function.
11427 * custom.el (custom-push-theme): Don't record faces in `changed'
11428 theme; this doesn't work correctly for per-frame face settings.
11429 (disable-theme): Use face-set-after-frame-default to reset faces.
11430 (custom--frame-color-default): New function.
11432 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11434 * dired.el (dired-flagging-regexp): Remove unused variable
11437 2011-03-29 Kevin Ryde <user42@zip.com.au>
11439 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11440 `perl-Test2' extend to match possible "fail #N" rep count
11443 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11445 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11446 `smtpmail-via-smtp' now returns the error instead of nil.
11448 * isearch.el (isearch-search-fun-function): Clarify the doc string
11451 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11453 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11454 unnecessary spaces (bug#8987).
11456 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11458 * net/network-stream.el (open-network-stream): Use the
11459 :end-of-capability command thoughout.
11461 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11463 * net/network-stream.el (open-network-stream): Add the
11464 :end-of-capability command parameter, used by pop3.el.
11466 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11470 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11471 for list)" (bug#6475).
11473 * files.el (file-expand-wildcards): Ignore non-readable
11474 sub-directories while trying to find matches instead of signaling
11475 an error (bug#6297).
11477 * man.el (Man-reference-regexp): Allow matching possible
11478 word-wrapped references (bug#6289).
11480 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11481 for consistency with the other vc buffers (bug#6197).
11482 (vc-checkin): Ditto.
11484 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11486 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11488 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11490 * custom.el (defcustom): Clarify that :set is only used in the
11491 Customize user interface (bug#6089).
11493 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11494 associated with a file, refuse to run instead of erroring out
11497 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11498 the doc string, since it appears that using `fill-column' always
11499 controls the width (bug#7845).
11501 * simple.el (shell-command-on-region): Say where the error output
11502 went if `shell-command-default-error-buffer' is set (bug#6857).
11504 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11506 * allout.el (allout-yank-processing): Adjust cursor position for
11507 backwards-deleted space.
11509 (allout-rebullet-heading): Register changes with
11510 allout-exposure-changed-hook, so the modified topic is properly
11513 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11515 * minibuffer.el (completion-in-region): Document PREDICATE
11518 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11519 of keyword/argument pairs (bug#6904).
11521 * replace.el (multi-occur):
11522 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11524 2011-07-02 Drew Adams <drew.adams@oracle.com>
11526 * dired.el (dired-mark-if): Make the message about whether it's
11527 marking or unmarking clearer (bug#8523).
11529 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11531 * disp-table.el (display-table-print-array): New function.
11532 (describe-display-table): Use it to print the vectors more pretty
11535 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11537 * window.el (window-state-get-1): Don't assign clone numbers.
11538 Add clone-of item to list of window parameters.
11539 (window-state-put-2): Don't process clone numbers.
11540 (display-buffer-alist): Fix doc-string.
11542 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11544 * subr.el (remq): Don't allocate if it's not needed.
11545 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11546 (keymap--merge-bindings): New functions.
11547 (keymap-canonicalize): Use them to refine the canonicalization.
11548 * minibuffer.el (minibuffer-local-completion-map)
11549 (minibuffer-local-must-match-map): Move initialization from C.
11550 (minibuffer-local-filename-completion-map): Move initialization from C;
11551 don't inherit from anything here.
11552 (minibuffer-local-filename-must-match-map): Make obsolete.
11553 (completing-read-default): Use make-composed-keymap to combine
11554 minibuffer-local-filename-completion-map with either
11555 minibuffer-local-must-match-map or
11556 minibuffer-local-filename-completion-map.
11558 2011-07-01 Glenn Morris <rgm@gnu.org>
11560 * type-break.el (type-break-time-sum): Use dolist.
11562 * textmodes/flyspell.el (flyspell-word-search-backward):
11563 Replace CL function.
11565 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11567 * mouse.el (mouse--strip-first-event): New function.
11568 (function-key-map): Use it to map fringe clicks to normal clicks
11571 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11572 (vc-bzr-revision-completion-table): Add support for annotate and date.
11574 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11575 inherit from parent.
11577 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11579 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11580 (dired-show-file-type): Doc fixup (bug#8818).
11582 * dired.el (dired-mode): Fix up the doc string as suggested by
11583 Drew Adams (bug#8817).
11585 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11586 cookie, since the manual says that it should be possible to add
11587 this function to `find-file-hook' (bug#8709).
11589 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11591 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11592 here. Noted Ted Zlatanov as the maintainer.
11593 (cfengine-common-settings, cfengine-common-syntax): New functions
11594 to set up common things between `cfengine-mode' and
11596 (cfengine3-mode): New mode.
11597 (cfengine3-defuns cfengine3-defuns-regex
11598 (cfengine3-class-selector-regex cfengine3-category-regex)
11599 (cfengine3-vartypes cfengine3-font-lock-keywords)
11600 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11601 (cfengine3-indent-line): Add from cfengine3.el.
11603 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11605 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11607 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11609 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11611 * window.el (same-window-buffer-names, same-window-regexps)
11612 (same-window-p, special-display-frame-alist)
11613 (special-display-popup-frame, special-display-function)
11614 (special-display-buffer-names, special-display-regexps)
11615 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11616 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11617 (split-window-preferred-function, split-height-threshold)
11618 (split-width-threshold, even-window-heights)
11619 (display-buffer-mark-dedicated, window-splittable-p)
11620 (split-window-sensibly, window-safely-shrinkable-p):
11622 (display-buffer): Don't spread args with function specifier
11623 because special-display-popup-frame won't like it.
11625 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11627 Time-stamp simplifications and fixes.
11628 These improve accuracy slightly, and future-proof the code
11629 against some potential changes to current-time format.
11631 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11632 by using time-since and float-time.
11634 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11635 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11636 + NNN microseconds".
11638 * type-break.el (type-break-time-sum): Rewrite using time-add.
11640 * play/hanoi.el (hanoi-current-time-float): Remove.
11641 All uses replaced by float-time.
11643 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11644 This yields a more-accurate answer.
11645 (rng-time-to-float): Remove; no longer needed.
11647 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11649 * calendar/timeclock.el (timeclock-seconds-to-time):
11650 Defalias to seconds-to-time, since they're the same thing.
11652 * emacs-lisp/elp.el (elp-elapsed-time):
11653 * emacs-lisp/benchmark.el (benchmark-elapse):
11654 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11656 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * window.el (bury-buffer): Don't iconify the only frame.
11659 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11660 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11662 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11664 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11665 Add mouse-yank-primary.
11667 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11669 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11671 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11673 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11674 (find-library-name): Use it to find relative load names when provided
11675 absolute file name (bug#8803).
11677 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11679 * textmodes/flyspell.el (flyspell-word): Consider words that
11680 differ only in case as potential doublons (bug#5687).
11682 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11683 Remove two rather uninteresting debugging-like messages to make
11684 debbugs.el more silent.
11686 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11687 a password-like phrase.
11689 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11691 * progmodes/cc-guess.el: New file.
11693 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11695 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11696 derived from `c-basic-common-init'.
11698 * progmodes/cc-mode.el (top-level): Require cc-guess.
11699 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11701 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11703 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11705 2011-06-30 Alan Mackenzie <acm@muc.de>
11707 * progmodes/cc-engine.el (c-guess-continued-construct):
11708 Correct the handling of template-args-cont, particularly for when font
11709 lock is disabled. Name this case as "CASE G".
11711 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11713 * allout.el (allout-yank-processing): Fix injection of extra space
11714 between bullet and non-whitespace character in first topic when
11715 pasting, ensuring that the actual spacing in the pasted topic
11716 following the bullet char is preserved. This extra space was
11717 causing pasted encrypted topics to get a decrypted status even
11718 when the content was actually still encrypted. Now the decryption
11719 status from before the paste is preserved.
11721 (allout-flag-region): Set all allout overlays so they evaporate
11722 when reduced to zero length (evanescent), to prevent overlay
11725 2011-06-30 Glenn Morris <rgm@gnu.org>
11727 * w32-fns.el (w32-charset-info-alist): Declare.
11729 * find-dired.el (find-grep-options): Simplify.
11731 * term/ns-win.el (ns-set-resource): Declare.
11733 * ses.el (row, col): Declare dynamic variables honestly.
11735 * textmodes/reftex-parse.el (index-tags): Declare.
11737 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11739 * cus-edit.el (customize-push-and-save): New function.
11741 * files.el (hack-local-variables-confirm): Use it.
11743 * custom.el (load-theme): New arg NO-CONFIRM.
11744 Use customize-push-and-save (Bug#8720).
11745 (custom-enabled-themes): Doc fix.
11747 * cus-theme.el (customize-create-theme)
11748 (custom-theme-merge-theme): Callers to load-theme changed.
11750 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11752 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11753 short URLs have at least one dot in them (bug #7614).
11755 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11756 nil, because using a pty is apparently too slow (bug #895).
11758 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11760 * mail/sendmail.el (sendmail-query-once): New function.
11761 (sendmail-query-once-function): New variable.
11763 2011-06-29 Glenn Morris <rgm@gnu.org>
11765 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11767 * ses.el (top-level): Require cl when compiling.
11768 (ses-set-localvars): Fix error statement.
11769 Call it at compile time to silence a storm of warnings.
11771 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11773 * window.el (normalize-live-buffer): Rename to
11774 window-normalize-buffer.
11775 (normalize-live-frame): Rename to window-normalize-frame.
11776 (normalize-any-window): Rename to window-normalize-any-window.
11777 (normalize-live-window): Rename to window-normalize-live-window.
11778 (make-window-atom): Rename to window-make-atom.
11779 (window-resize-reset): Rename to window--resize-reset.
11780 (window-resize-reset-1): Rename to window--resize-reset-1.
11781 (resize-mini-window): Rename to window--resize-mini-window.
11782 (resize-subwindows-skip-p): Rename to
11783 window--resize-subwindows-skip-p.
11784 (resize-subwindows-normal): Rename to
11785 window--resize-subwindows-normal.
11786 (resize-subwindows): Rename to window--resize-subwindows.
11787 (resize-other-windows): Rename to window--resize-siblings.
11788 (resize-this-window): Rename to window--resize-this-window.
11789 (resize-root-window): Rename to window--resize-root-window.
11790 (resize-root-window-vertically): Rename to
11791 window--resize-root-window-vertically.
11792 (normalize-buffer-to-display): Rename to
11793 window-normalize-buffer-to-display.
11794 (normalize-buffer-to-switch-to): Rename to
11795 window-normalize-buffer-to-switch-to.
11796 Correspondingly update all callers of the functions listed
11798 (display-buffer-alist, display-buffer-normalize-arguments)
11799 (display-buffer-normalize-options, display-buffer)
11800 (display-buffer-alist-set): Use "function" instead of
11803 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11805 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11806 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11807 debbugs.gnu.org. Mention acknowledgment email.
11809 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11812 buffer multibyteness, since it shouldn't matter.
11814 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11816 * window.el (display-buffer-in-side-window): Handle dedicated
11817 windows as in display-buffer-reuse-window.
11818 (display-buffer-normalize-alist): Use value of override
11820 (display-buffer-normalize-specifiers): Use value of
11821 other-window-means-other-frame specifier.
11822 (display-buffer-alist): Rewrite some texts in widgets.
11823 (display-buffer): Spread arguments when calling function
11824 specified by fun-with-args.
11826 2011-06-28 Deniz Dogan <deniz@dogan.se>
11828 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11831 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11832 selectors (Bug#5732).
11833 (css-proprietary-nmstart-re): Use `regexp-opt'.
11835 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11837 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11838 (eshell-ls-date-format): New defcustom.
11839 (eshell-ls-file): Use it.
11841 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11843 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11845 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11847 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11848 (ange-ftp-make-tmp-name): New arg.
11849 (ange-ftp-file-local-copy): Use it.
11851 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11853 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11854 no-conversion (Bug#8870).
11856 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11858 * window.el (window-right, window-left, window-child)
11859 (window-child-count, window-last-child)
11860 (window-iso-combination-p, walk-window-tree-1)
11861 (window-atom-check-1, window-tree-1, delete-window)
11862 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11863 new naming conventions - window-vchild, window-hchild,
11864 window-next and window-prev are now called window-top-child,
11865 window-left-child, window-next-sibling and window-prev-sibling
11867 (resize-window-reset): Rename to window-resize-reset.
11868 (resize-window-reset-1): Rename to window-resize-reset-1.
11869 (resize-window): Rename to window-resize.
11870 (window-min-height, window-min-width)
11871 (resize-mini-window, resize-this-window, resize-root-window)
11872 (resize-root-window-vertically, adjust-window-trailing-edge)
11873 (enlarge-window, shrink-window, maximize-window)
11874 (minimize-window, delete-window, quit-restore-window)
11875 (split-window, balance-windows, balance-windows-area-adjust)
11876 (balance-windows-area, window-state-put-2)
11877 (display-buffer-even-window-sizes, display-buffer-set-height)
11878 (display-buffer-set-width, set-window-text-height)
11879 (fit-window-to-buffer): Rename all "resize-window" prefixed
11880 calls to use the "window-resize" prefix convention.
11881 (display-buffer-alist): Fix symbol for label specifier.
11882 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11883 corresponding specifier.
11884 Reported by Juanma Barranquero <lekktu@gmail.com>.
11886 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11888 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11890 (ses-call-printer): Does not pass an empty string to formatter when the
11891 cell is empty to keep from barking printer Calc math-format-value.
11893 2011-06-27 Richard Stallman <rms@gnu.org>
11895 * battery.el (battery-mode-line-limit): New variable.
11896 (battery-update): Handle it.
11898 * mail/rmailmm.el (rmail-mime-process-multipart):
11899 Handle truncated messages.
11901 2011-06-27 Glenn Morris <rgm@gnu.org>
11903 * progmodes/flymake.el (flymake-err-line-patterns):
11904 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11906 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11908 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11909 (ses--clean-!, ses--clean-_): New functions.
11910 (ses-range): Add configurability of readout order, and conversion
11913 * ses.el (ses-repair-cell-reference-all): New function.
11914 (ses-cell-symbol): Set macro as safe, so that it can be used in
11917 * ses.el: Update cycle detection algorithm.
11918 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11919 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11920 (ses-set-localvars): New function.
11921 (ses-make-cell): Add property-list as a cell element.
11922 (ses-cell-property-get-fun, ses-cell-property-get)
11923 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11924 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11926 (ses-cell-property-set, ses-cell-property-pop)
11927 (ses-cell-property-get-handle): New macro.
11928 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11929 New aliases, used for code readability.
11930 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11932 (ses-self-reference-early-detection): New defcustom.
11933 (ses-formula-references): Robustify against self-referring cells.
11934 (ses-mode): Use ses-set-localvars.
11935 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11936 before lauching the update processing.
11937 (ses-initialize-Dijkstra-attempt): New function.
11938 (ses-recalculate-cell): Update for cycle detection based on
11939 Dijkstra algorithm.
11941 * ses.el: Fix commenting and indenting convention.
11943 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * bs.el (bs-cycle-next): Complete last change.
11947 2011-06-27 Drew Adams <drew.adams@oracle.com>
11949 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11951 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953 * net/network-stream.el (network-stream-open-starttls):
11954 Don't re-get capabilities unless we've reestablished connection.
11955 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11957 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11958 to binary to possibly avoid line encoding issues on Windows (among
11961 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11963 * net/network-stream.el (open-network-stream): Return an :error
11964 saying what the problem was, if possible.
11966 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11969 * net/network-stream.el (network-stream-open-starttls): If we
11970 wanted to use STARTTLS, and the server offered it, but we weren't
11971 able to because we had no STARTTLS support, then close the connection.
11972 (open-network-stream): Return an :error element, if present.
11974 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11976 * hl-line.el (hl-line-sticky-flag): Doc fix.
11977 (global-hl-line-sticky-flag): New option (Bug#8323).
11978 (global-hl-line-highlight): Obey it.
11980 * vc/vc.el (vc-revert-show-diff): Default to t.
11982 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11984 * allout-widgets.el (allout-widgets-post-command-business):
11985 Stop decorating intermediate isearch matches. They're not being
11986 undecorated when an isearch is continued past, and isearch
11987 automatically collapses them. This leads to "widget leaks", where
11988 decorated items accumulate in collapsed areas. Lines with lots of
11989 hidden widgets can slow down cursor travel, substantially.
11990 Too much complicated machinery would be needed to ensure undecoration,
11991 so we're doing without this nicety.
11993 (allout-widgets-tally-string): Don't try to do a hash-table-count
11994 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11995 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11996 *Messages* when allout-widgets-maintain-tally is t.
11998 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12000 * window.el (display-buffer-normalize-argument): Rename to
12001 display-buffer-normalize-arguments. Handle special meaning of
12002 LABEL argument. Respect special-display-function when popping up
12003 a new frame. Fix code searching for a window showing the buffer
12005 (display-buffer-normalize-specifiers):
12006 Call display-buffer-normalize-arguments.
12007 (display-buffer-in-window): Don't undedicate the window if its
12008 buffer remains the same.
12009 Reported by Drew Adams <drew.adams@oracle.com>.
12010 (display-buffer-alist): Add choice for same-window macro
12012 (display-buffer): Mention special meaning of LABEL argument in
12013 doc-string. Fix quoting. Don't pop up a new frame even as
12016 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12018 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12019 avoid deleting the current window in some cases (bug#8911).
12021 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12023 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12026 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12028 * net/network-stream.el (network-stream-open-starttls):
12029 Use built-in TLS support if `gnutls-available-p' is true.
12030 (network-stream-open-tls): Ditto.
12032 2011-06-26 Leo Liu <sdl.web@gmail.com>
12034 * register.el (registerv): New struct.
12035 (registerv-make): New function.
12036 (jump-to-register, describe-register-1, insert-register):
12037 Support the jump-func, print-func and insert-func slot of a registerv
12040 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12042 * vc/vc.el (vc-revert-show-diff): New defcustom.
12043 (vc-diff-internal): New arg specifying diff buffer.
12044 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12045 reuse an existing *vc-diff* buffer (Bug#8927).
12047 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12049 2011-06-26 Glenn Morris <rgm@gnu.org>
12051 * progmodes/f90.el (f90-critical-indent): New option.
12052 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12053 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12054 (f90-mode): Doc fix.
12055 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12056 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12057 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12058 (f90-match-end): Handle block, critical.
12060 2011-06-25 Glenn Morris <rgm@gnu.org>
12062 * calendar/diary-lib.el (diary-included-files): Doc fix.
12063 (diary-include-files): New function, extracted from
12064 diary-include-other-diary-files and diary-mark-included-diary-files.
12065 (diary-include-other-diary-files, diary-mark-included-diary-files):
12066 Just call diary-include-files.
12067 (diary-mark-entries): Reset diary-included-files on first call.
12069 * calendar/diary-lib.el (diary-mark-entries)
12070 (diary-mark-included-diary-files):
12071 Visit included diary-files in temp buffers.
12073 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12074 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12075 (f90-start-block-re, f90-imenu-generic-expression)
12076 (f90-looking-at-program-block-start, f90-no-block-limit):
12077 Add support for submodules.
12079 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12080 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12082 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12084 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12085 buffer-file-type before setting its value, to avoid disastrous
12086 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12088 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12090 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12092 * ses.el (ses-unload-function):
12093 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12095 * proced.el (proced-unload-function):
12096 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12098 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12100 * server.el (server-create-window-system-frame): Add parameters arg.
12101 (server-process-filter): Doc fix. Handle frame-parameters.
12103 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12105 Fix bug#8730, bug#8781.
12107 * loadhist.el (unload--set-major-mode): New function.
12108 (unload-feature): Use it.
12110 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12111 (python-unload-function): New function.
12113 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12117 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12119 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12120 the candidates list.
12122 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12124 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12126 2011-06-23 Richard Stallman <rms@gnu.org>
12128 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12129 (rmail-variables): Set next-error-move-function.
12130 (rmail-what-message): Take argument POS.
12131 (rmail-next-error-move): New function.
12133 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12135 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12136 messages for adjacent non-terminals.
12138 2011-06-23 Richard Stallman <rms@gnu.org>
12140 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12141 (rmail-show-message-1): Preserve buffer modified flag.
12142 (rmail-start-mail): Don't specify use of rmail-mail-return;
12143 that's done by mail-bury now.
12144 (rmail-mail-return): Handle arg NEWBUF.
12146 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12148 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12151 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12153 * window.el (get-lru-window, get-mru-window)
12154 (get-largest-window): Never return a minibuffer window.
12155 (display-buffer-pop-up-window): Fix a bug that could lead to
12156 reusing the minibuffer window.
12157 (display-buffer): Pass original specifier argument to
12158 display-buffer-function instead of the normalized one.
12159 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12161 2011-06-22 Leo Liu <sdl.web@gmail.com>
12163 * minibuffer.el (completing-read-function)
12164 (completing-read-default): Move from minibuf.c
12166 2011-06-22 Richard Stallman <rms@gnu.org>
12168 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12169 to Rmail even if not started by a special Rmail command.
12171 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12172 Copy the buffer currently showing just one message.
12174 2011-06-22 Roland Winkler <winkler@gnu.org>
12176 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12177 (bibtex-clean-entry): First delete the old key so that a
12178 customized algorithm for generating the new key does not get
12179 confused by the old key.
12180 (bibtex-url): Obey regexp of first step.
12181 (bibtex-search-entries): Do not use add-to-list with local
12184 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12187 stored a user name, then query for the password first, instead of
12188 waiting for SMTP to give an error message and the trying again.
12190 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12192 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12193 BUFFER in call-process.
12195 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12197 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12199 (smtpmail-try-auth-methods): Require user name and password from
12202 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12204 * window.el (display-buffer-default-specifiers)
12205 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12206 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12207 (split-window): Normalize SIDE argument (Bug#8916).
12209 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12210 (special-display-frame-alist, special-display-popup-frame):
12211 Remove duplicate declarations. These are now in window.el.
12213 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12215 * mail/smtpmail.el (smtpmail-via-smtp):
12216 Set :use-starttls-if-possible so that we always use STARTTLS if the
12217 server supports it. SMTP servers that support STARTTLS commonly
12220 * net/network-stream.el (network-stream-open-starttls): Support
12221 upgrading to STARTTLS always, even if we don't have built-in support.
12222 (open-network-stream): Add the :always-query-capabilities keyword.
12224 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12225 upgrades with `open-network-stream', and rely solely on
12226 auth-source for all credentials. Big changes throughout the file,
12228 (smtpmail-auth-credentials): Remove.
12229 (smtpmail-starttls-credentials): Remove.
12230 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12233 * net/network-stream.el (network-stream-open-starttls):
12234 Provide support for client certificates both for external and built-in
12236 (auth-source): Require.
12237 (open-network-stream): Document the :client-certificate keyword.
12238 (network-stream-certificate): Change cert-cert to cert and
12241 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12243 * net/tramp-cache.el (top): Don't load the persistency file when
12244 "emacs -Q" has been called.
12246 2011-06-21 Tim Harper <timcharper@gmail.com>
12248 * term/ns-win.el (ns-initialize-window-system):
12249 Set application-specific `ApplePressAndHoldEnabled' system
12250 resource to NO as it is not yet supported by the NS port.
12252 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12254 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12255 (list-dynamic-libraries): ...not here.
12257 2011-06-21 Leo Liu <sdl.web@gmail.com>
12259 * subr.el (sha1): Implement sha1 using secure-hash.
12261 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12263 * window.el (display-buffer-alist): In default value do not
12264 enforce searching a window on any but the selected frame.
12265 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12266 (display-buffer-select-window): Remove function.
12267 (display-buffer-in-window): When a window on another frame gets
12268 reused, do not select it any more but just raise its frame if
12269 necessary (Bug#8851) and (Bug#8856).
12270 (display-buffer-normalize-options): Handle pop-up-frames related
12271 options more faithfully.
12272 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12273 window if it is on another frame.
12274 (display-buffer-alist, display-buffer-default-specifiers):
12275 Don't make new frame unsplittable by default.
12276 (display-buffer-normalize-argument): Fix doc-string typo and use
12277 'same-frame-other-window instead of 'other-window when associating
12278 with display-buffer-macro-specifiers.
12280 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12282 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12284 (5x5-mode-map, 5x5-mode-menu): Bind them.
12285 (5x5-draw-grid): Tweak the solver's rendering.
12287 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12289 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12290 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12292 2011-06-21 Drew Adams <drew.adams@oracle.com>
12294 * menu-bar.el: Use function variable instead of switch-to-buffer.
12295 (menu-bar-select-buffer-function): New variable.
12296 (menu-bar-update-buffers): Use it (bug#8876).
12298 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12300 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12303 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12305 * x-dnd.el (x-dnd-version-from-flags)
12306 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12307 and long as number (Bug#8899).
12308 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12310 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12312 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12313 (completion-try-completion, completion-all-completions): Compute the
12314 metadata argument if it's missing; make it optional (bug#8795).
12316 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12317 (widget-complete): Use new :completion-function property.
12318 (widget-completions-at-point): New function.
12319 (default): Use :completion-function instead of :complete.
12320 (widget-default-completions): Rename from widget-default-complete;
12322 (widget-string-complete, widget-file-complete, widget-color-complete):
12324 (file, symbol, function, variable, coding-system, color):
12325 * international/mule-cmds.el (default-input-method, charset)
12326 (language-info-custom-alist):
12327 * cus-edit.el (face): Use new property :completions.
12329 * progmodes/pascal.el (pascal-completions-at-point): New function.
12330 (pascal-mode): Use it.
12331 (pascal-mode-map): Use completion-at-point.
12332 (pascal-toggle-completions): Make obsolete.
12333 (pascal-complete-word, pascal-show-completions):
12334 * progmodes/octave-mod.el (octave-complete-symbol):
12335 Redefine as obsolete alias.
12336 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12337 Signal absence of completion info for old Octave,
12338 (inferior-octave-complete): Redefine as obsolete alias.
12339 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12340 (meta-completions-at-point): Rename from meta-complete-symbol and
12341 adapt it for use on completion-at-point-functions.
12342 (meta-common-mode): Use it.
12343 (meta-looking-at-backward, meta-match-buffer): Remove.
12344 (meta-complete-symbol): Redefine as obsolete alias.
12345 (meta-common-mode-map): Use completion-at-point.
12346 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12347 (makefile-mode-map): Use completion-at-point.
12348 (makefile-completions-at-point): Rename from makefile-complete and
12349 adapt it for use on completion-at-point-functions.
12350 (makefile-mode): Use it.
12351 (makefile-complete): Redefine as obsolete alias.
12353 2011-06-20 Deniz Dogan <deniz@dogan.se>
12355 * net/rcirc.el: Delete trailing whitespaces once and for all.
12357 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12359 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12361 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12363 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12365 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12367 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12369 * window.el (display-buffer-other-window-means-other-frame):
12370 Call display-buffer-normalize-alist.
12371 (display-buffer-normalize-specifiers-1): Rename to
12372 display-buffer-normalize-argument. New argument other-frame.
12374 (display-buffer-normalize-specifiers-2): Rename to
12375 display-buffer-normalize-options.
12376 (display-buffer-normalize-alist-1): New function.
12377 (display-buffer-normalize-specifiers-3): Rename to
12378 display-buffer-normalize-alist.
12379 Call display-buffer-normalize-alist-1.
12380 (display-buffer-normalize-options-inhibit): New variable.
12381 (display-buffer-normalize-specifiers): Rewrite calling
12382 display-buffer-normalize-alist,
12383 display-buffer-normalize-argument, and
12384 display-buffer-normalize-options. Don't call the latter if
12385 display-buffer-normalize-options-inhibit is non-nil.
12386 (frame-auto-delete): New option.
12387 (window-deletable-p): Use frame-auto-delete.
12388 (window-list-no-nils, window-state-ignored-parameters)
12389 (window-state-get-1, window-state-get, window-state-put-list)
12390 (window-state-put-1, window-state-put-2, window-state-put):
12392 (display-buffer-normalize-options): Move special-display-p group
12393 after pop-up-frame group (Bug#8851) and (Bug#8856).
12395 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12397 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12399 (rx-submatch-n): New function.
12402 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12405 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12407 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12409 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12410 anytime existing face settings are present (Bug#8889).
12412 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12413 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12414 Remove unused argument.
12416 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12418 * window.el (display-buffer-default-specifiers):
12419 Remove pop-up-frame. Add pop-up-window-min-height,
12420 pop-up-window-min-width, and another reuse-window specifier
12421 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12422 (display-buffer-normalize-specifiers-2):
12423 Handle split-height-threshold and split-width-threshold also when
12424 pop-up-windows is unset. Add a reuse-window specifier for the
12425 case popping up a new window fails.
12426 (special-display-popup-frame): Remove double quoting.
12427 (display-buffer-normalize-specifiers-1): Fix thinko.
12429 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12432 according to comint-completion-addsuffix.
12434 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12435 (pcomplete-suffix-list): Mark as obsolete.
12436 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12437 pcomplete-seen in the closure.
12438 (pcomplete-comint-setup): Setup completion-at-point as well.
12439 (pcomplete--entries): New function.
12440 (pcomplete--env-regexp): New var.
12441 (pcomplete-entries): Rewrite to work with partial-completion and
12442 without relying on pcomplete-suffix-list.
12443 (pcomplete-pare-list): Remove, unused.
12445 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12447 * window.el (display-buffer-alist): Set pop-up-window-min-height
12448 and pop-up-window-min-width in default value. Reported by
12449 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12450 other-window-means-other-frame.
12451 (display-buffer-macro-specifiers): Comment out entry for
12452 other-window specifier.
12453 (display-buffer-other-window-means-other-frame): New function.
12454 (display-buffer-normalize-specifiers-1): New arguments
12455 buffer-name and label. Treat other-window case specially.
12456 (display-buffer-normalize-specifiers-2): Treat other-window case
12458 (display-buffer-normalize-specifiers-3): New function.
12459 (display-buffer-normalize-specifiers):
12460 Call display-buffer-normalize-specifiers-3.
12462 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12464 * window.el (same-window-p): Fix two typos introduced when
12465 adding with-no-warnings.
12466 (display-buffer-normalize-specifiers-1): Don't check
12467 pop-up-frames for 'unset initialization.
12468 (display-buffer-normalize-specifiers-2): Major rewrite using
12469 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12470 (pop-up-frames, display-buffer-reuse-frames)
12471 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12472 Suggested by David Engster <deng@randomsample.de>.
12473 (even-window-heights): Initialize to 'unset.
12474 (display-buffer-alist-set): Handle new 'unset initializations.
12475 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12478 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12480 * window.el (display-buffer-normalize-specifiers-1):
12481 Respect current value of pop-up-frames for most reasonable values of
12482 second argument of display-buffer (Bug#8865).
12483 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12484 (switch-to-buffer-other-window-same-frame)
12485 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12487 (display-buffer): Don't check noninteractive when calling
12488 display-buffer-pop-up-frame.
12489 (display-buffer-pop-up-frame): Never pop up a frame in
12490 noninteractive mode (Bug#8857).
12491 (enlarge-window, shrink-window): Don't report an error when the
12492 window can't be resized as requested (Bug#8862).
12494 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12496 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12498 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12500 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12502 2011-06-15 Alan Mackenzie <acm@muc.de>
12504 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12505 for declarators, disable knr checking to speed up for normal files.
12506 2: Refactor, replacing a sequence of nested if forms by a cond form.
12508 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12510 * net/network-stream.el (open-network-stream): Add the keyword
12511 :always-query-capabilities for the case where you want to force a
12512 `plain' network connection, but the protocol still requires the
12513 capabilitiy command (i.e., SMTP and EHLO).
12515 * subr.el (process-live-p): Rename from `process-alive-p' for
12516 consistency with other `-live-p' functions.
12518 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12520 * window.el (same-window-buffer-names, same-window-regexps)
12521 (special-display-frame-alist, special-display-popup-frame)
12522 (special-display-function, special-display-buffer-names)
12523 (special-display-regexps, pop-up-frame-alist)
12524 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12525 (pop-up-windows, split-window-preferred-function)
12526 (split-height-threshold, split-width-threshold, even-window-heights)
12527 (display-buffer-mark-dedicated): Don't encourage the use of
12528 display-buffer-alist from Elisp code.
12530 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12532 * progmodes/python.el (python-mode): Derive from prog-mode.
12533 * progmodes/ps-mode.el (ps-mode):
12534 * progmodes/mixal-mode.el (mixal-mode):
12535 * progmodes/cfengine.el (cfengine-mode):
12536 * progmodes/ld-script.el (ld-script-mode): Likewise.
12538 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12540 * window.el (display-buffer-alist): Trim default value to avoid
12541 popping up a new frame (Bug#8857) or reusing an arbitrary window
12543 (display-buffer): Do not fall back on popping up a new frame in
12544 batch mode (Bug#8857).
12546 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12548 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12549 (custom-theme-summary): New function.
12550 (customize-themes): Use it.
12552 2011-06-13 Glenn Morris <rgm@gnu.org>
12554 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12556 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12558 * help.el (help-window): Remove variable.
12559 (help-window-point-marker, temp-buffer-max-height)
12560 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12561 (help-print-return-message): Don't set help-window.
12562 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12563 (help-window-setup-finish): Remove.
12564 (help-window-display-message, help-window-setup)
12565 (with-help-window): Major rewrite based on new
12566 display-buffer-window variable.
12568 * help-mode.el (help-mode-finish): Remove help-window related
12571 * view.el (view-exits-all-viewing-windows): Remove reference to
12572 view-return-to-alist in doc-string.
12573 (view-return-to-alist): Make obsolete.
12574 (view-buffer): Call pop-to-buffer-same-window and remove
12576 (view-buffer-other-window): Call pop-to-buffer-other-window and
12577 simplify code. Ignore second argument.
12578 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12579 simplify code. Ignore second argument.
12580 (view-return-to-alist-update): Make obsolete.
12581 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12582 Rewrite using quit-restore window parameters.
12583 (view-mode-exit): Rename second argument to EXIT-ONLY.
12584 Rewrite using quit-restore-window.
12585 (View-exit, View-exit-and-edit, View-leave, View-quit)
12586 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12587 appropriate arguments.
12588 (view-end-message): Use quit-restore window parameter.
12590 * window.el (display-buffer-function): Rewrite doc-string.
12591 (display-buffer-window, display-buffer-alist): New variables.
12592 (display-buffer-split-specifiers)
12593 (display-buffer-side-specifiers)
12594 (display-buffer-macro-specifiers): New constants.
12595 (display-buffer-even-window-sizes, display-buffer-set-height)
12596 (display-buffer-set-width, display-buffer-select-window)
12597 (display-buffer-in-window, display-buffer-reuse-window)
12598 (display-buffer-split-window-1, display-buffer-split-window)
12599 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12600 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12601 (display-buffer-in-side-window, normalize-buffer-to-display)
12602 (display-buffer-normalize-specifiers-1)
12603 (display-buffer-normalize-specifiers-2)
12604 (display-buffer-normalize-specifiers, display-buffer-frame):
12606 (display-buffer): Major rewrite.
12607 (display-buffer-other-window, display-buffer-other-frame)
12608 (pop-to-buffer, switch-to-buffer-other-window)
12609 (switch-to-buffer-other-frame): Rewrite.
12610 (display-buffer-same-window, display-buffer-same-frame)
12611 (display-buffer-same-frame-other-window)
12612 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12613 (pop-to-buffer-other-window)
12614 (pop-to-buffer-same-frame-other-window)
12615 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12616 (switch-to-buffer-other-window-same-frame): New functions.
12617 (same-window-p, special-display-p): Rewrite disabling warnings.
12619 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12620 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12622 (same-window-buffer-names, same-window-regexps)
12623 (special-display-frame-alist, special-display-popup-frame)
12624 (special-display-function, special-display-buffer-names)
12625 (special-display-regexps, pop-up-frame-alist)
12626 (pop-up-frame-function, split-window-preferred-function)
12627 (split-height-threshold, split-width-threshold)
12628 (even-window-heights): Make obsolete.
12630 2011-06-12 Glenn Morris <rgm@gnu.org>
12632 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12633 Misc simplifications.
12635 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12637 * window.el (window-safely-shrinkable-p): Restore function which
12638 was inadvertently removed in change from 2011-06-11. Declare as
12641 * calendar/calendar.el (calendar-generate-window):
12642 Use window-iso-combined-p instead of combination of one-window-p and
12643 window-safely-shrinkable-p.
12645 2011-06-12 Glenn Morris <rgm@gnu.org>
12647 * progmodes/fortran.el (fortran-mode-syntax-table):
12648 * progmodes/f90.el (f90-mode-syntax-table):
12649 Set % to punctuation. (Bug#8820)
12650 (f90-find-tag-default): Remove, no longer needed.
12652 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12654 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12656 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12658 * image.el (image-animated-p): Return animation delay in seconds.
12659 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12660 (image-animate-timeout): Remove DELAY argument. Don't assume
12661 every subimage has the same delay; get it from image-animated-p.
12662 (image-animate): Caller changed.
12664 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12666 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12667 to ignored backtrace functions.
12669 2011-06-11 Glenn Morris <rgm@gnu.org>
12671 * calendar/appt.el (appt-disp-window-function): Doc fix.
12672 (appt-check): Handle overlapping appointments. (Bug#8337)
12674 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12676 * window.el (window-tree-1, window-tree): New functions, moving
12677 the latter to window.el.
12678 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12679 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12680 (bw-refresh-edges): Remove.
12681 (balance-windows-1, balance-windows-2): New functions.
12682 (balance-windows): Rewrite in terms of window tree functions,
12683 balance-windows-1 and balance-windows-2.
12684 (bw-adjust-window): Remove.
12685 (balance-windows-area-adjust): New function with functionality of
12686 bw-adjust-window but using resize-window.
12687 (set-window-text-height): Rewrite doc-string.
12688 Use normalize-live-window and resize-window.
12689 (enlarge-window-horizontally, shrink-window-horizontally):
12690 Rename argument to DELTA.
12691 (window-buffer-height): New function.
12692 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12693 Rewrite using new window resize routines.
12694 (kill-buffer-and-window, mouse-autoselect-window-select):
12695 Use ignore-errors instead of condition-case.
12696 (quit-window): Call delete-frame instead of delete-windows-on
12697 for the only buffer on frame.
12699 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12701 * loadup.el (top-level): Load window before files for the sake
12702 of replace-buffer-in-windows.
12704 * files.el (read-buffer-to-switch)
12705 (switch-to-buffer-other-window)
12706 (switch-to-buffer-other-frame, display-buffer-other-frame):
12709 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12710 (previous-buffer): Move to window.el.
12712 * bindings.el (unbury-buffer): Move to window.el.
12714 * window.el (delete-other-windows-vertically): Move after
12715 definition of delete-other-windows.
12716 (other-window, delete-windows-on, replace-buffer-in-windows):
12717 Move here from window.c.
12718 (record-window-buffer, unrecord-window-buffer)
12719 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12720 (switch-to-next-buffer): New functions.
12721 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12722 from simple.el. Call switch-to-next-buffer.
12723 (previous-buffer): Move here from simple.el.
12724 Call switch-to-prev-buffer.
12725 (bury-buffer): Move here from buffer.c. Switch to previous
12726 buffer when window cannot be deleted.
12727 (unbury-buffer): Move here from bindings.el.
12728 (ctl-x-map): Move binding for other-window from window.c to
12730 (read-buffer-to-switch, switch-to-buffer-other-window)
12731 (switch-to-buffer-other-frame): Move here from files.el.
12732 (normalize-buffer-to-switch-to): New functions.
12733 (switch-to-buffer): Move here from buffer.c.
12734 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12736 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12738 * window.el (window-min-height, window-min-width): Move here
12739 from window.c. Add defcustoms and rewrite doc-strings.
12740 (resize-mini-window, resize-window): New functions.
12741 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12742 Move here from window.c.
12743 (maximize-window, minimize-window): New functions.
12744 (delete-window, delete-other-windows, split-window): Move here
12746 (window-split-min-size): New function.
12747 (split-window-keep-point): Mention split-window-above-each-other
12748 instead of split-window-vertically.
12749 (split-window-above-each-other, split-window-vertically):
12750 Rename split-window-vertically to split-window-above-each-other
12751 and provide defalias for old definition.
12752 (split-window-side-by-side, split-window-horizontally):
12753 Rename split-window-horizontally to split-window-side-by-side
12754 and provide defalias for the old definition.
12755 (ctl-x-map): Move bindings for delete-window,
12756 delete-other-windows and enlarge-window here from window.c.
12757 Replace bindings for split-window-vertically and
12758 split-window-horizontally by bindings for
12759 split-window-above-each-other and split-window-side-by-side.
12761 * cus-start.el (all): Remove entries for window-min-height and
12762 window-min-width. Add entries for window-splits and
12765 2011-06-09 Glenn Morris <rgm@gnu.org>
12767 * calendar/appt.el (appt-mode-line): New function.
12768 (appt-check, appt-disp-window): Use it.
12770 * files.el (hack-one-local-variable-eval-safep):
12771 Allow minor-modes with explicit +/-1 arguments.
12773 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12775 * term/xterm.el (xterm): Add defgroup.
12776 (xterm-extra-capabilities): Add defcustom to supply known xterm
12777 capabilities, skip querying them, or query them (default).
12778 (terminal-init-xterm): Use it.
12779 (terminal-init-xterm-modify-other-keys): New function to set up
12780 modifyOtherKeys support to simplify `terminal-init-xterm'.
12782 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12784 * window.el (resize-window-reset, resize-window-reset-1)
12785 (resize-subwindows-skip-p, resize-subwindows-normal)
12786 (resize-subwindows, resize-other-windows, resize-this-window)
12787 (resize-root-window, resize-root-window-vertically)
12788 (window-deletable-p, window-or-subwindow-p)
12789 (frame-root-window-p): New functions.
12791 2011-06-09 Glenn Morris <rgm@gnu.org>
12793 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12794 (ange-ftp-get-files): Use it.
12796 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12798 * mail/sendmail.el (mail-recover-1, mail-recover):
12799 * files.el (recover-file, recover-session):
12800 Handle dired-listing-switches not being just a single short option.
12802 2011-06-09 Glenn Morris <rgm@gnu.org>
12804 * calendar/appt.el (appt-display-message, appt-disp-window):
12805 Handle lists of appointments.
12807 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12809 * window.el (one-window-p): Move down in code.
12810 Rewrite doc-string.
12811 (window-current-scroll-bars): Rewrite doc-string.
12812 Normalize live window argument.
12813 (walk-windows, get-window-with-predicate, count-windows):
12814 Rewrite doc-string. Use window-list-1.
12815 (window-in-direction-2, window-in-direction, get-mru-window):
12818 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12820 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12821 Doc fix (Bug#8713).
12823 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12825 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12827 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12829 * loadhist.el (unload-feature-special-hooks):
12830 Add `comint-output-filter-functions'.
12832 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12834 * calendar/appt.el (appt-check): Move some initializations into the let.
12836 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12838 * window.el (window-height): Defalias to window-total-height.
12839 (window-width): Defalias to window-body-width.
12841 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12843 * image-mode.el (image-toggle-animation): New command.
12844 (image-mode-map): Bind it to RET.
12845 (image-mode): Update message.
12846 (image-toggle-display-image): Avoid a spurious cache flush.
12847 (image-transform-rotation): Doc fix.
12848 (image-transform-properties): Return quickly in the normal case.
12849 (image-animate-loop): Rename from image-animate-max-time.
12851 * image.el (image-animate-max-time): Move to image-mode.el.
12852 (create-animated-image): Remove unnecessary function.
12853 (image-animate): Rename from image-animate-start. New arg.
12854 (image-animate-stop): Remove; just use image-animate-timer.
12855 (image-animate-timer): Use car-safe.
12856 (image-animate-timeout): Rename argument.
12858 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12860 * window.el (get-lru-window, get-largest-window): Move here from
12861 window.c. Rename first argument to ALL-FRAMES.
12862 Rephrase doc-strings.
12863 (get-buffer-window-list): Rewrite using window-list-1.
12864 Rephrase doc-string.
12865 (window-safe-min-height, window-safe-min-width): New constants.
12866 (window-size-ignore, window-min-size, window-min-size-1)
12867 (window-sizable, window-sizable-p, window-size-fixed-1)
12868 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12869 (window-max-delta-1, window-max-delta, window-resizable)
12870 (window-resizable-p, window-total-height, window-total-width)
12871 (window-body-width): New functions.
12872 (window-full-height-p, window-full-width-p): Rewrite using
12874 (window-body-height): Rewrite using window-body-size.
12876 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12878 * window.el (window-right, window-left, window-child)
12879 (window-child-count, window-last-child, window-any-p)
12880 (normalize-live-buffer, normalize-live-frame)
12881 (normalize-any-window, normalize-live-window)
12882 (window-iso-combination-p, window-iso-combined-p)
12883 (window-iso-combinations)
12884 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12885 (windows-with-parameter, window-with-parameter)
12886 (window-atom-root, make-window-atom, window-atom-check-1)
12887 (window-atom-check, window-side-check, window-check):
12889 (ignore-window-parameters, window-sides, window-sides-vertical)
12890 (window-sides-slots): New variables.
12891 (window-size-fixed): Move down in code. Minor doc-string fix.
12893 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12895 * comint.el (comint-dynamic-complete-as-filename)
12896 (comint-dynamic-complete-filename): Correctly call
12897 completion-in-region.
12899 2011-06-05 Deniz Dogan <deniz@dogan.se>
12901 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12904 2011-06-05 Deniz Dogan <deniz@dogan.se>
12906 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12907 (rcirc): Use it to prompt for encryption.
12909 2011-06-05 Roland Winkler <winkler@gnu.org>
12911 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12912 (bibtex-search-entries): New command bound to C-c C-a.
12913 (bibtex-display-entries): New function.
12915 2011-06-05 Roland Winkler <winkler@gnu.org>
12917 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12918 (bibtex-insert-kill): After yanking insert newline if necessary.
12919 (bibtex-initialize): Call bibtex-string-files-init only once.
12920 (bibtex-mode): Do not call easy-menu-add.
12921 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12922 (bibtex-yank): Set arg properly if nil.
12924 2011-06-05 Roland Winkler <winkler@gnu.org>
12926 * textmodes/bibtex.el (bibtex-search-entry-globally):
12928 (bibtex-search-entry): Use it.
12930 2011-06-05 Roland Winkler <winkler@gnu.org>
12932 * textmodes/bibtex.el (bibtex-entry-format): New option
12934 (bibtex-format-entry, bibtex-reformat): Honor this option.
12935 (bibtex-parse-entry): Return fields in proper order.
12937 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12939 * doc-view.el (doc-view-remove-if): Move computation of result out
12940 of `dolist' to silence misleading lexical-binding warning.
12942 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12944 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12945 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12947 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12949 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12952 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12954 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12955 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12956 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12957 (tramp-parse-putty):
12958 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12959 (tramp-completion-function-alist-ssh)
12960 (tramp-completion-function-alist-telnet)
12961 (tramp-completion-function-alist-su)
12962 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12965 * net/tramp-ftp.el:
12967 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12968 load "tramp.el" `tramp-set-completion-function'.
12970 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12972 * shell.el: Require and use pcomplete.
12973 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12974 (shell-completion-vars): Set pcomplete-default-completion-function.
12976 2011-06-04 Deniz Dogan <deniz@dogan.se>
12978 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12981 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12983 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12985 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12987 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12988 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12989 * vc/log-view.el (log-view-beginning-of-defun):
12990 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12991 (smerge-refine-forward, smerge-refine-chopup-region):
12992 Silence warning for unused `dotimes' counter variables.
12994 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12996 * net/tramp.el (tramp-with-progress-reporter): Rename from
12997 with-progress-reporter. Use `declare'.
12998 * net/tramp-smb.el:
13000 * net/tramp-gvfs.el: Update all uses.
13002 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13004 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13005 buffer isn't killed before making it current.
13007 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13009 Silence various byte-compiler warnings.
13010 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13011 `access-type' and new obsolescence format.
13012 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13014 (byte-compile-check-variable): New `access-type' argument.
13015 Only warn if the access-type is obsolete.
13016 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13017 (byte-compile-variable-set): Adjust callers.
13018 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13019 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13020 setting it as obsolete.
13021 * simple.el (minibuffer-completing-symbol):
13022 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13023 access as obsolete.
13024 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13026 * international/quail.el (quail-mouse-choose-completion): Remove unused
13027 code referring to obsolete var.
13028 (quail-choose-completion-string): Remove.
13029 * server.el (server-clients-with, server-kill-buffer-query-function)
13030 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13031 * proced.el (proced-send-signal):
13032 * emacs-lisp/lisp.el (lisp-complete-symbol):
13033 Replace completion-annotate-function with completion-extra-properties.
13035 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13037 * simple.el (goto-line): Use read-number.
13038 (overriding-map-is-bound): Remove.
13039 (saved-overriding-map): Change default.
13040 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13041 Take the map as argument.
13042 (universal-argument, negative-argument, digit-argument): Use it.
13043 (restore-overriding-map): Adjust.
13044 (do-auto-fill): Use fill-forward-paragraph.
13045 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13047 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13048 (minibuffer-inactive-mode): New major mode.
13049 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13050 the *Messages* buffer" hack.
13051 (mouse-popup-menubar): Don't burp if the event is a normal key.
13053 Miscellaneous tweaks.
13054 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13055 lexical scoping as in subr.el's dolist and dotimes.
13056 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13057 Silence compiler warning.
13058 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13059 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13060 * international/ccl.el (ccl-compile): Trivial simplification.
13061 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13062 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13063 `printflag' argument.
13064 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13065 Purecopy the whole obsolescence data.
13067 2011-06-01 Leo Liu <sdl.web@gmail.com>
13069 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13070 improve doc-string as suggested by Marco Pessotto
13071 <melmothx@gmail.com>.
13072 (rcirc-print): Fix last change.
13074 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13076 * minibuffer.el (complete-with-action): Return nil for the metadata and
13077 boundaries of non-functional tables.
13078 (completion-table-dynamic): Return nil for the metadata.
13079 (completion-table-with-terminator): Add default case, using
13080 complete-with-action.
13081 (completion--metadata): New function.
13082 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13083 to try and avoid pathological performance problems.
13084 (completion--embedded-envvar-table): Return `category' metadata.
13086 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088 * subr.el (process-alive-p): New tiny convenience function.
13090 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13093 content but also its previous major mode.
13095 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13097 * emacs-lisp/debug.el (debug): Restore the previous content of the
13098 *Backtrace* buffer when we exit with C-M-c.
13100 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * minibuffer.el: Add metadata method to completion tables.
13103 (completion-category-overrides): New defcustom.
13104 (completion-metadata, completion--field-metadata)
13105 (completion-metadata-get, completion--styles)
13106 (completion--cycle-threshold): New functions.
13107 (completion-try-completion, completion-all-completions):
13108 Add `metadata' argument to choose completion-styles.
13109 (completion--do-completion): Use metadata to choose cycling.
13110 (completion-all-sorted-completions): Use metadata for sorting.
13111 Remove :completion-cycle-penalty which is not needed any more.
13112 (completion--try-word-completion): Add `metadata' argument.
13113 (minibuffer-completion-help): Check metadata for annotation function
13115 (completion-file-name-table): Return `category' metadata.
13116 (minibuffer-completing-file-name): Make obsolete.
13117 * simple.el (minibuffer-completing-symbol): Make obsolete.
13118 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13119 completion-try-completion.
13121 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13125 2011-05-30 Leo Liu <sdl.web@gmail.com>
13127 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13128 (rcirc-print): Decode all incoming messages (bug#8744).
13129 (rcirc-decode-coding-system): Allow value nil for automatic coding
13132 2011-06-01 Glenn Morris <rgm@gnu.org>
13134 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13136 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13138 * image.el (image-animate-max-time): Allow nil and t values.
13140 (create-animated-image): Doc fix.
13141 (image-animate-start): Remove second arg; just use
13142 image-animate-max-time.
13143 (image-animate-timeout): Doc fix. Args changed.
13145 * image-mode.el (image-toggle-display-image): Ensure that the
13146 image spec passed to the animate timer is the same object as in
13147 the buffer's display property (Bug#6981).
13148 (image-transform-properties): Doc fix.
13150 * image.el (image-animate-max-time): Default to nil.
13152 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13154 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13155 entire buffer list (Bug#8184).
13157 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13159 * image.el (imagemagick-types-inhibit)
13160 (imagemagick-register-types): Doc fix.
13162 2011-05-29 Deniz Dogan <deniz@dogan.se>
13164 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13167 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13169 * select.el: Don't perform clipboard-manager saving in hooks;
13170 leave the hooks empty.
13172 2011-05-28 Leo Liu <sdl.web@gmail.com>
13174 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13175 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13176 (occur-edit-mode): New major mode (Bug#8463).
13177 (occur-after-change-function): New function.
13178 (occur-engine): Give Occur tags a read-only property.
13180 2011-05-28 Kevin Ryde <user42@zip.com.au>
13182 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13184 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13186 * bindings.el (help-echo): Make the initial non-indicator dash
13187 empty on graphical terminals (Bug#7295).
13189 * files.el (auto-mode-alist): Move config rule after the
13190 in-stripping one (Bug#8547).
13192 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13194 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13195 setting (Bug#8740).
13197 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13199 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13200 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13203 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13205 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13207 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13209 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13210 (hs-hide-block-at-point, hs-find-block-beginning)
13211 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13214 2011-05-28 Glenn Morris <rgm@gnu.org>
13216 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13218 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13220 * help-fns.el (describe-function-1): If the function is a derived
13221 major mode, print the parent mode.
13223 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13224 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13226 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13228 * minibuffer.el (completion--capf-wrapper): Check applicability before
13229 returning non-nil for non-exclusive completion data.
13230 * progmodes/etags.el (tags-completion-at-point-function):
13231 * info-look.el (info-lookup-completions-at-point): Mark as
13233 (info-complete): Adjust accordingly.
13235 * info-look.el: Convert to lexical-binding and completion-at-point.
13236 (info-lookup-completions-at-point): New function.
13237 (info-complete): Use it and completion-in-region.
13239 2011-05-28 Drew Adams <drew.adams@oracle.com>
13241 * isearch.el: Let M-e start with point at the first mismatched char.
13242 (isearch-fail-pos): New function.
13243 (isearch-edit-string): Use it.
13245 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13247 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13249 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13251 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13252 traversal functions for avl-trees.
13253 (avl-tree--stack): New struct.
13254 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13255 (avl-tree-enter): Add optional `updatefun' arg.
13256 (avl-tree--do-enter): Add optional `updatefun' arg.
13257 Change return value.
13258 (avl-tree-delete): Add optional `test' and `nilflag' args.
13259 (avl-tree--do-delete): Add `test' and `nilflag' args.
13260 Change return value.
13261 (avl-tree-member): Add optional `nilflag'
13262 (avl-tree-member-p): New function.
13263 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13264 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13265 (avl-tree-stack-empty-p): New functions.
13267 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13268 avl-tree--del-balance1 and make it work both ways.
13269 (avl-tree--del-balance2): Remove.
13270 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13271 make it work both ways.
13272 (avl-tree--enter-balance2): Remove.
13273 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13275 (avl-tree--mapc, avl-tree-map): Add direction argument.
13277 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13279 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13281 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13283 * select.el: Support clipboard managers with built-in function
13284 x-clipboard-manager-save, via delete-frame-functions and
13286 (xselect-convert-to-targets): Add MULTIPLE target to list.
13287 (xselect-convert-to-save-targets): New function.
13289 2011-05-27 Kenichi Handa <handa@m17n.org>
13291 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13292 let-binding rfc2047-encode-encoded-words to nil.
13294 2011-05-27 Glenn Morris <rgm@gnu.org>
13296 * mail/emacsbug.el: Don't require url-util.
13298 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13300 * files.el (set-auto-mode):
13301 Also respect mode: entries at the end of the file. (Bug#8586)
13303 2011-05-26 Glenn Morris <rgm@gnu.org>
13305 * files.el (hack-local-variables-prop-line, hack-local-variables):
13306 Downcase mode names, as seems to be traditional.
13307 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13309 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13310 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13312 2011-05-25 Julien Danjou <julien@danjou.info>
13314 * textmodes/rst.el (rst-define-level-faces): Do not define face
13315 symbol if it is already defined.
13317 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13319 * play/5x5.el (5x5-new-game, 5x5-randomize):
13320 Reset 5x5-solver-output to nil when a new grid is cast.
13321 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13322 these debugging traces, as defmacro breaks the compiled code.
13324 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13326 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13328 2011-05-24 Leo Liu <sdl.web@gmail.com>
13330 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13331 (vc-bzr-sha1): Adapt.
13333 * sha1.el: Remove. Function `sha1' is now builtin.
13335 * bindings.el: Provide sha1 feature.
13337 2011-05-24 Kenichi Handa <handa@m17n.org>
13339 * mail/sendmail.el: Require `rfc2047'.
13340 (mail-insert-from-field): Do not perform RFC2047 encoding.
13341 (mail-encode-header): New function.
13342 (sendmail-send-it): Set buffer-file-coding-system of the work
13343 buffer to the return value of select-message-coding-system.
13344 Call mail-encode-header.
13346 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13348 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13350 * mail/supercite.el (sc-default-cite-frame):
13351 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13353 2011-05-24 Glenn Morris <rgm@gnu.org>
13355 * progmodes/python.el (brm-menu): Declare.
13357 * emulation/viper.el (viper-set-hooks): Declare.
13359 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13360 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13361 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13362 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13363 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13364 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13366 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13368 Add an :exit-function for completion-at-point.
13370 * minibuffer.el (completion--done): New fun.
13371 (completion--do-completion): Use it. New arg `expect-exact'.
13372 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13373 since completion--do-completion does it for us now.
13374 (minibuffer-force-complete): Use completion--done and
13375 completion--replace. Handle sole-completion case with more care.
13376 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13377 (completion-extra-properties): New var.
13378 (completion-annotate-function): Make obsolete.
13379 (minibuffer-completion-help): Adjust accordingly.
13380 Use completion-list-insert-choice-function.
13381 (completion-at-point, completion-help-at-point):
13382 Bind completion-extra-properties.
13383 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13384 * simple.el (completion-list-insert-choice-function): New var.
13385 (completion-setup-function): Preserve it.
13386 (choose-completion): Pay attention to it, shuffle the code a bit.
13387 (choose-completion-string): New arg `insert-function'.
13389 * textmodes/bibtex.el: Convert to lexical binding.
13390 (bibtex-mode-map): Use completion-at-point.
13391 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13392 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13393 (bibtex-complete): Define as obsolete alias.
13394 (bibtex-complete-internal): Remove.
13395 (bibtex-format-entry): Remove unused sub-group in regexp.
13396 * shell.el (shell--command-completion-data)
13397 (shell-environment-variable-completion):
13398 * pcomplete.el (pcomplete-completions-at-point):
13399 * comint.el (comint--complete-file-name-data): Use :exit-function
13400 instead of completion-table-with-terminator so it also works for
13403 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13405 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13407 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13410 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13412 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13414 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13415 customization variable and implement: If non-nil, auto-fill will
13416 be inhibited while on topic's header line.
13418 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13420 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13421 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13422 always have a solution in grid size = 5 cases.
13423 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13424 (5x5-solver-output, 5x5-log-buffer): New vars.
13425 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13426 Make these variables buffer local to achieve 5x5 multi-session-ness.
13427 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13428 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13429 (5x5-solve-suggest): New funs.
13430 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13431 randomize a grid so that we ensure that there is always a solution.
13432 (5x5-make-random-grid): Allow other movement than flipping.
13434 2011-05-23 Kevin Ryde <user42@zip.com.au>
13436 * emacs-lisp/advice.el (ad-read-advised-function):
13437 Use `function-called-at-point' as the default, if it has
13438 advice and passes PREDICATE.
13440 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13442 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13443 byte-compile-lambda if it's actually a lambda.
13445 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13446 Fix function quoting. Use backquote better.
13448 2011-05-22 Yuanle Song <sylecn@gmail.com>
13450 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13451 matching (Bug#8516).
13453 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13455 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13456 different face (Bug#8178).
13458 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13460 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13461 defface (Bug#8144).
13463 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13465 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13466 funcall as well (bug#8712). Warn when performing those conversions.
13467 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13469 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13471 2011-05-22 Glenn Morris <rgm@gnu.org>
13473 * files.el (hack-local-variables-prop-line): Small simplifications.
13474 (hack-local-variables, hack-local-variables-prop-line):
13475 If MODE-ONLY, return the mode, rather than just `t'.
13477 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13479 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13481 2011-05-21 Glenn Morris <rgm@gnu.org>
13483 * files.el (hack-local-variables-prop-line, hack-local-variables):
13484 If only interested in the mode, don't bother doing the other stuff.
13486 * image-mode.el (image-after-revert-hook):
13487 Redraw all frames on which the image is visible. (Bug#8567)
13489 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13491 * wid-edit.el (widget-checklist-match-inline):
13492 Fix 2011-04-19 change. (Bug#8649)
13494 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13497 Also allow singlespace after single-letter capitals followed by a dot.
13499 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13500 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13502 2011-05-20 Nix <nix@esperi.org.uk>
13504 * files.el (basic-save-buffer-2):
13505 Fix handling of break-hardlink-on-save with non-existent files.
13507 2011-05-19 Deniz Dogan <deniz@dogan.se>
13509 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13510 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13512 2011-05-19 Glenn Morris <rgm@gnu.org>
13514 * progmodes/f90.el (f90-type-def-re):
13515 Handle "type, bind(c)". (Bug#8691)
13517 * emacs-lisp/autoload.el (batch-update-autoloads):
13518 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13520 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13522 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13523 property for the correct connection in case of multihops.
13525 2011-05-18 Glenn Morris <rgm@gnu.org>
13527 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13528 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13530 Rationalize calendar handling of day and month abbrev-arrays.
13531 * calendar/calendar.el (calendar-customized-p): New function.
13532 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13533 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13535 (calendar-abbrev-length, calendar-day-abbrev-array)
13536 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13537 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13538 Elements may no longer be nil.
13539 (calendar-day-name, calendar-month-name):
13540 Update for changed nature of abbrev arrays.
13541 * calendar/diary-lib.el (diary-name-pattern):
13542 Update for changed nature of abbrev arrays.
13543 (diary-mark-entries-1): Update calendar-make-alist calls.
13544 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13545 * calendar/cal-html.el (cal-html-day-abbrev-array):
13546 Simply inherit from calendar-day-abbrev-array.
13548 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * progmodes/grep.el (grep-mode): Disable default
13551 compilation-directory-matcher setting (bug#8684).
13553 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13555 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13556 instead of "head" and "tail". There were problems with SunOS 5.9,
13557 and it performs better.
13559 2011-05-17 Glenn Morris <rgm@gnu.org>
13561 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13563 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13564 Replace obsolete function.
13566 * shell.el (pcomplete-parse-arguments-function): Declare.
13568 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13569 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13570 (appt-check): Doc fixes.
13571 (appt-disp-window-function, appt-delete-window-function):
13572 Remove needless special case in custom :type.
13573 (appt-display-count): Default to 0, not nil.
13574 (appt-check): Reset appt-display-count to 0, not nil.
13576 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13578 * progmodes/python.el (python-font-lock-keywords):
13579 Add the Python 3.X keyword "nonlocal" (bug#8639).
13581 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13583 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13585 2011-05-16 Kevin Ryde <user42@zip.com.au>
13587 * info-look.el (makefile-automake-mode): New setups, looking in
13588 automake manual, then makefile-mode.
13589 (makefile-mode): Remove automake manual, have it just in
13590 makefile-automake-mode since there's various things different or
13591 not relevant to plain make.
13592 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13593 believe a hypothetical automake-mode would go to makefile-mode,
13594 not the other way around.
13596 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13598 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13599 hunk-end tags (Bug#8672).
13601 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13602 vc-annotate-show-diff-revision-at-line (Bug#8671).
13604 2011-05-14 Glenn Morris <rgm@gnu.org>
13606 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13607 in the middle of an existing one with multiple authors. (Bug#8645)
13608 (change-log-font-lock-keywords): Also handle multiple author lines
13609 with leading tabs. (Bug#8644)
13611 * calendar/appt.el (appt-check): Rename some local variables.
13612 Some simplification/reordering.
13614 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13615 (feedmail-sendmail-f-doesnt-sell-me-out)
13616 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13617 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13618 (feedmail-queue-runner-message-sender): Set :version.
13619 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13620 (bbdb-dwim-net-address, vm-mail): Declare.
13621 (feedmail-binmail-gnulinuxish-template):
13622 Rename from feedmail-binmail-linuxish-template.
13623 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13624 Use insert-buffer-substring.
13626 2011-05-14 Bill Carpenter <bill@carpenter.org>
13628 * mail/feedmail.el (feedmail-patch-level): Increase.
13629 (feedmail-debug): New custom group.
13630 (feedmail-confirm-outgoing-timeout)
13631 (feedmail-sendmail-f-doesnt-sell-me-out)
13632 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13633 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13634 (feedmail-sender-line, feedmail-from-line)
13635 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13636 (feedmail-spray-this-address)
13637 (feedmail-spray-address-fiddle-plex-list)
13638 (feedmail-queue-use-send-time-for-date)
13639 (feedmail-queue-use-send-time-for-message-id)
13640 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13641 (feedmail-buffer-eating-function):
13643 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13644 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13645 (feedmail-message-action-scroll-down): New functions.
13646 (feedmail-queue-directory, feedmail-queue-draft-directory):
13647 Use expand-file-name.
13648 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13649 Remove C-v help entry.
13650 (feedmail-queue-buffer-file-name): New variable.
13651 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13652 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13653 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13654 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13655 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13656 (feedmail-message-action-toggle-spray)
13657 (feedmail-run-the-queue-no-prompts)
13658 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13659 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13660 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13661 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13662 (feedmail-envelope-deducer, feedmail-fiddle-from)
13663 (feedmail-fiddle-sender, feedmail-default-date-generator)
13664 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13665 (feedmail-fiddle-spray-address)
13666 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13667 (feedmail-fiddle-list-of-fiddle-plexes)
13668 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13669 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13670 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13671 Change default. Doc fix.
13672 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13673 (feedmail-binmail-linuxish-template): New constant.
13674 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13675 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13676 (feedmail-send-it): Add debug call.
13677 Use feedmail-queue-buffer-file-name, and
13678 feedmail-send-it-immediately-wrapper.
13679 (feedmail-message-action-send): Add debug call.
13680 Use feedmail-send-it-immediately-wrapper.
13681 (feedmail-queue-express-to-queue): Add debug call.
13682 Run feedmail-queue-express-hook.
13683 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13684 (feedmail-message-action-help-blat):
13685 Rename from feedmail-queue-send-edit-prompt-help-first.
13686 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13687 Check line-endings. Handle errors better.
13688 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13689 Doc fix. Add debug call.
13690 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13691 Use feedmail-queue-send-edit-prompt-inner.
13692 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13693 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13694 from feedmail-queue-send-edit-prompt.
13695 (feedmail-queue-send-edit-prompt-help)
13696 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13697 (feedmail-tidy-up-slug): Add debug call.
13698 Respect feedmail-queue-slug-suspect-regexp.
13699 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13700 (feedmail-dump-message-to-queue): Add debug call.
13701 Expand queue-directory.
13702 (feedmail-dump-message-to-queue): Change message slightly.
13703 Use feedmail-say-chatter.
13704 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13705 (feedmail-send-it-immediately-wrapper): New function.
13706 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13707 Insert empty string rather than newline. Handle full-frame case.
13708 Use catch/throw. Use feedmail-say-chatter.
13709 (feedmail-fiddle-from): Try mail-host-address.
13710 (feedmail-default-message-id-generator): Doc fix.
13711 Bind system-time-locale. Handle missing end.
13712 (feedmail-fiddle-x-mailer): Add debug call.
13713 Handle feedmail-x-mailer-line being nil.
13714 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13715 Add debug call. Use buffer-substring-no-properties.
13716 (feedmail-say-debug, feedmail-say-chatter): New functions.
13717 (feedmail-find-eoh): Give an explicit error.
13719 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13721 * net/newst-treeview.el (newsticker-treeview-face): Change default
13722 family from helvetica to sans.
13723 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13724 etc/images/newsticker.
13726 * net/newst-reader.el (newsticker-feed-face): Change default
13727 family from helvetica to sans.
13729 * net/newst-plainview.el (newsticker-new-item-face)
13730 (newsticker-old-item-face, newsticker-immortal-item-face)
13731 (newsticker-obsolete-item-face, newsticker-date-face)
13732 (newsticker-statistics-face): Change default family from
13734 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13735 etc/images/newsticker.
13737 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13738 (newsticker--process-auto-mark-filter-match): Tell user about
13741 2011-05-13 Didier Verna <didier@xemacs.org>
13743 Common Lisp indentation improvements on defmethod and lambda-lists.
13744 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13746 (lisp-lambda-list-keyword-parameter-indentation)
13747 (lisp-lambda-list-keyword-parameter-alignment)
13748 (lisp-lambda-list-keyword-alignment): New customizable user options.
13749 (lisp-indent-defun-method): Improve docstring.
13750 (extended-loop-p): Fix comment.
13751 (lisp-indent-lambda-list-keywords-regexp): New variable.
13752 (lisp-indent-lambda-list): New function.
13753 (lisp-indent-259): Use it.
13754 (lisp-indent-defmethod): Support for more than one
13755 method qualifier and properly indent methods lambda-lists.
13756 (defgeneric): Provide a missing common-lisp-indent-function property.
13758 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13761 bounds for the empty string (bug#8667).
13763 2011-05-13 Glenn Morris <rgm@gnu.org>
13765 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13767 * mail/sendmail.el (sendmail-program): Try executable-find first.
13768 (sendmail-send-it): `sendmail-program' cannot be unbound.
13770 * calendar/appt.el (appt-make-list): Simplify.
13771 (appt-time-msg-list): Doc fix.
13772 (appt-check): Change mode-line message at the time of the appointment.
13774 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13776 * progmodes/ld-script.el (ld-script-keywords)
13777 (ld-script-builtins): Update keywords list.
13779 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13781 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13783 * shell.el (shell-completion-vars): New function.
13785 * simple.el (read-shell-command): Use it.
13786 (blink-matching-open): No need for " [...]" in minibuffer-message.
13788 2011-05-12 Glenn Morris <rgm@gnu.org>
13790 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13791 (appt-check): Simplify.
13793 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13795 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13796 literal "/dev/null".
13798 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13800 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13803 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13805 * progmodes/which-func.el (which-function):
13806 Use add-log-current-defun instead of add-log-current-defun-function,
13807 which might not be defined (Bug#8260).
13809 2011-05-12 Glenn Morris <rgm@gnu.org>
13811 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13812 Let byte-compile-initial-macro-environment always take precedence.
13814 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13816 * net/rcirc.el: Add support for SSL/TLS connections.
13817 (rcirc-server-alist): New field `encryption'.
13818 (rcirc): Check `encryption' settings.
13819 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13820 Merge make-local-variable into `set'.
13821 (rcirc--connection-open-p): New function.
13822 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13823 the process is not a network process (e.g. running gnutls-cli).
13824 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13825 Make rcirc-(en|de)code-coding-system local here.
13826 (rcirc-mode): Merge make-local-variable into `set'.
13827 (rcirc-parent-buffer): Make permanent buffer-local.
13828 (rcirc-multiline-minor-mode): Don't do it here.
13829 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13830 there's no server buffer.
13832 2011-05-11 Glenn Morris <rgm@gnu.org>
13834 * newcomment.el (comment-kill): Prefix "unused" local.
13836 * term/w32console.el (get-screen-color): Declare.
13838 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13839 Handle symbol elements of byte-compile-initial-macro-environment.
13841 2011-05-10 Leo Liu <sdl.web@gmail.com>
13843 * bookmark.el (bookmark-bmenu-mode-map):
13844 Bind bookmark-bmenu-search to `/'.
13846 * mail/footnote.el: Convert to utf-8 encoding.
13847 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13848 (Footnote-unicode): New function.
13849 (footnote-style-alist): Add unicode style to the list.
13850 (footnote-style): Doc fix.
13852 2011-05-10 Jim Meyering <meyering@redhat.com>
13854 Fix doubled-word typos.
13855 * international/quail.el (quail-insert-kbd-layout): and and -> and
13856 * kermit.el: and and -> and
13857 * net/ldap.el (ldap-search-internal): to to -> to
13858 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13859 * progmodes/js.el (js-mode): and and -> and
13860 * textmodes/artist.el (artist-move-to-xy): at at -> at
13861 (artist-draw-region-trim-line-endings): if if -> if
13862 And Safetyc -> Safety.
13863 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13865 2011-05-10 Glenn Morris <rgm@gnu.org>
13866 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * files.el (hack-one-local-variable-eval-safep):
13869 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13871 2011-05-10 Glenn Morris <rgm@gnu.org>
13873 * calendar/diary-lib.el (diary-list-entries-hook)
13874 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13875 (diary-nongregorian-marking-hook, diary-list-entries)
13876 (diary-include-other-diary-files, diary-mark-entries)
13877 (diary-mark-included-diary-files): Doc fixes.
13879 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13881 * misc.el: Require tabulated-list.el during compilation.
13883 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13885 * progmodes/compile.el (compilation-start):
13886 Run compilation-filter-hook for the async case too.
13887 (compilation-filter-hook): Doc fix.
13889 2011-05-09 Deniz Dogan <deniz@dogan.se>
13891 * wdired.el: Remove outdated installation comment. Fix usage
13894 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13896 * misc.el: Implement new command `list-dynamic-libraries'.
13897 (list-dynamic-libraries--loaded-only-p): New variable.
13898 (list-dynamic-libraries--refresh): New function.
13899 (list-dynamic-libraries): New command.
13901 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13904 Fix the ant regexp to handle end-line and end-column info from jikes.
13905 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13906 higher priority to avoid clobbering by gnu.
13908 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13910 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13911 if the face has existing theme settings (Bug#8454).
13913 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13915 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13916 Only match variables declared via `my' or `our' (Bug#8261).
13918 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13919 special file names `.' and `..' (Bug#8259).
13921 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13923 * progmodes/grep.el (grep-mode-font-lock-keywords):
13924 Remove buffer-changing entries.
13925 (grep-filter): New function.
13926 (grep-mode): Add it to compilation-filter-hook.
13928 * progmodes/compile.el (compilation-filter-hook)
13929 (compilation-filter-start): New defvars.
13930 (compilation-filter): Call compilation-filter-hook prior to
13931 updating the process mark.
13933 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13935 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13937 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13939 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13940 mailclient-send-it even if window-system is nil. (Bug#8595)
13942 * term/w32console.el (terminal-init-w32console):
13943 Call get-screen-color and use its output to set the frame
13944 background-mode. (Bug#8597)
13946 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13948 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13949 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13951 (defgeneric, eieio--defmethod): Use them.
13952 (eieio-defgeneric): Remove.
13953 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13955 2011-05-07 Glenn Morris <rgm@gnu.org>
13957 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13958 Use let rather than let*.
13959 (timeclock-find-discrep): Remove unused local.
13961 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13963 * calendar/appt.el (appt-time-msg-list): Doc fix.
13965 2011-05-06 Noah Friedman <friedman@splode.com>
13967 * apropos.el (apropos-print-doc): Only use
13968 emacs-lisp-docstring-fill-column when it is bound to an integer,
13969 per that variable's documentation.
13971 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13973 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13974 and warnings are not silently discarded (e.g. use -d instead of -P).
13976 2011-05-06 Glenn Morris <rgm@gnu.org>
13978 * calendar/appt.el (appt-message-warning-time): Doc fix.
13979 (appt-warning-time-regexp): New option.
13980 (appt-make-list): Respect appt-message-warning-time.
13982 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13984 (diary-add-to-list): Strip comments from the displayed string.
13985 (diary-mode): Set comment-start and comment-end.
13987 * vc/diff-mode.el (smerge-refine-subst): Declare.
13988 (diff-refine-hunk): Don't require smerge-mode when compiling.
13990 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13992 * simple.el (list-processes): Return nil as the docstring says.
13994 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13996 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13998 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13999 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14000 determining of binary transfer. (Bug#7383)
14002 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14004 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14005 Fix port computation bug. (Bug#8618)
14007 2011-05-05 Glenn Morris <rgm@gnu.org>
14009 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14011 * simple.el (shell-dynamic-complete-functions)
14012 (comint-dynamic-complete-functions): Declare.
14014 * net/network-stream.el (gnutls-negotiate):
14015 * simple.el (tabulated-list-print): Fix declarations.
14017 * progmodes/gud.el (syntax-symbol, syntax-point):
14018 Remove unnecessary and incorrect declarations.
14020 * emacs-lisp/check-declare.el (check-declare-scan):
14021 Handle byte-compile-initial-macro-environment in bytecomp.el
14023 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14025 Fix earlier half-done eieio-defmethod change (bug#8338).
14026 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14027 Streamline and change calling convention.
14028 (defmethod): Adjust accordingly and simplify.
14029 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14030 new eieio--defmethod.
14031 (slot-boundp): Minor CSE simplification.
14033 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14035 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14036 (glasses-make-readable): Use glasses-separate-capital-groups.
14038 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14040 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14041 (warning-series): Doc fix.
14042 (display-warning): Don't try to create the buffer if we just found it.
14044 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14046 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14047 (autoload-find-generated-file): New function.
14048 (generate-file-autoloads): Bind generated-autoload-file to
14050 (update-file-autoloads, update-directory-autoloads):
14051 Use autoload-find-generated-file. If called interactively, prompt for
14052 output file (Bug#7989).
14053 (batch-update-autoloads): Doc fix.
14055 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14057 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14059 2011-05-04 Glenn Morris <rgm@gnu.org>
14061 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14062 function, so it follows changes in calendar-date-style.
14063 (diary-fancy-date-matcher): New function.
14064 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14065 (diary-fancy-font-lock-fontify-region-function):
14066 Use diary-fancy-date-pattern as a function.
14068 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14069 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14071 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14073 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14074 instead of positional arguments. Allow :keylist and :crlfiles
14076 (open-gnutls-stream): Call it.
14078 * net/network-stream.el (network-stream-open-starttls): Adjust to
14079 call `gnutls-negotiate' with :process and :hostname arguments.
14081 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14083 * minibuffer.el (completion--message): New function.
14084 (completion--do-completion, minibuffer-complete)
14085 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14086 (completion--do-completion): Don't ignore completion-auto-help when in
14089 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14090 internal encoding (e.g. tibetan zero is not whitespace).
14091 (global-whitespace-mode): Prefer save-current-buffer.
14092 (whitespace-trailing-regexp): Remove useless save-match-data.
14093 (whitespace-empty-at-bob-regexp): Minor simplification.
14095 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14097 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14099 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
14101 * textmodes/ispell.el (ispell-add-per-file-word-list):
14102 Use `concat' to create string for insertion.
14104 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14106 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14107 Avoid open-line which runs post-self-insert-hook.
14108 (bibtex-fill-entry): Remove unused `end' var.
14110 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14112 * textmodes/ispell.el (ispell-add-per-file-word-list):
14113 Protect against `nil' value of `comment-start' (Bug#8579).
14115 2011-05-03 Leo Liu <sdl.web@gmail.com>
14117 * isearch.el (isearch-yank-pop): New command.
14118 (isearch-mode-map): Bind it to `M-y'.
14119 (isearch-forward): Mention it.
14121 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14123 * simple.el (minibuffer-complete-shell-command): Remove.
14124 (minibuffer-local-shell-command-map): Use completion-at-point.
14125 (read-shell-command): Setup completion vars here instead.
14126 (read-expression-map): Bind TAB to symbol completion.
14128 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14129 error directly rather via storing it into `results'.
14131 2011-05-02 Leo Liu <sdl.web@gmail.com>
14133 * vc/diff.el: Fix description.
14135 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14137 * server.el (server-eval-at): New function.
14139 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14141 * net/network-stream.el (open-network-stream): Take a :nowait
14142 parameter and pass it on to `make-network-process'.
14143 (network-stream-open-plain): Ditto.
14145 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14147 * faces.el (face-spec-set-match-display): Don't match toolkit
14148 options on terminal frames.
14150 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14152 * progmodes/pascal.el: Use lexical binding.
14153 (pascal-mode-map): Remove author preferences.
14155 * pcomplete.el (pcomplete-std-complete): Don't abuse
14156 completion-at-point.
14158 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14160 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14161 removing code that has been dead since 1991 or so.
14163 * startup.el (command-line): When warning about "_emacs", use a
14164 delayed warning to allow the user to filter it out.
14166 2011-04-28 Deniz Dogan <deniz@dogan.se>
14168 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14169 user has not joined.
14171 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14173 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14174 aren't any completions at point.
14176 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14178 * subr.el (display-delayed-warnings): New function.
14179 (delayed-warnings-hook): New variable.
14181 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14183 * minibuffer.el (completion-at-point, completion-help-at-point):
14184 Don't presume that a given completion-at-point-function will always
14185 use the same calling convention.
14187 * pcomplete.el (pcomplete-completions-at-point):
14188 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14189 pcomplete-seen is non-nil.
14190 (pcomplete-comint-setup): Also recognize the new comint/shell
14191 completion functions.
14192 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14193 pcomplete-seen is non-nil.
14195 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14197 * calendar/icalendar.el (diary-lib): Add require statement.
14198 (icalendar--create-uid): Read out a uid from a text-property on
14199 the first character in the entry. This allows for code to add its
14200 own uid to the entry.
14201 (icalendar--convert-float-to-ical): Add export of
14202 `diary-float'-entries save for those with the optional DAY
14205 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14207 * subr.el (shell-quote-argument): Use alternate escaping strategy
14208 when we spot a variable reference in a string.
14210 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14212 * cus-start.el (all): Define customization for debug-on-event.
14214 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14216 * subr.el (shell-quote-argument): Escape correctly under Windows.
14218 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14222 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14224 * net/tramp.el (tramp-process-actions): Add POS argument.
14225 Delete region between POS and (pos).
14227 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14228 Use `nil' position in `tramp-process-actions' call.
14229 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14231 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14232 position in `tramp-process-actions' call.
14234 * net/trampver.el: Update release number.
14236 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14238 * custom.el (defcustom): Obey lexical-binding.
14240 Fix octave-inf completion problems reported by Alexander Klimov.
14241 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14242 Inherit from octave-mode-syntax-table.
14243 (inferior-octave-mode): Set info-lookup-mode.
14244 (inferior-octave-completion-at-point): New function.
14245 (inferior-octave-complete): Use it and completion-in-region.
14246 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14247 comint-filename-completion.
14248 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14249 symbol elements which shouldn't be word elements.
14250 (octave-font-lock-keywords, octave-beginning-of-defun)
14251 (octave-function-header-regexp): Adjust regexps accordingly.
14252 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14254 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14256 * net/gnutls.el (gnutls-errorp): Declare before first use.
14258 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14260 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14261 verify-error, and verify-hostname-error parameters. Check whether
14262 default trustfile exists before going to use it. Add missing
14263 argument to gnutls-message-maybe call. Return value.
14264 Reported by Claudio Bley <claudio.bley@gmail.com>.
14265 (open-gnutls-stream): Add usage example.
14267 * net/network-stream.el (network-stream-open-starttls): Give host
14268 parameter to `gnutls-negotiate'.
14269 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14270 * subr.el (shell-quote-argument): Escape correctly under Windows.
14272 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14274 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14275 Use correct match group (bug#8438).
14277 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14279 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14280 (package-menu--generate): New arg specifying packages to show.
14281 (package-menu-refresh, package-menu-execute, list-packages):
14283 (package-show-package-list): New function, replacing deleted
14284 package--list-packages (renamed because it is non-internal).
14286 * finder.el (finder-list-matches): Use package-show-package-list
14287 instead of deleted package--list-packages.
14289 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14290 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14291 (vc-annotate-mode-map): Bind it to RET.
14293 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14295 * progmodes/etags.el (next-file): Don't use set-buffer to change
14296 buffers (Bug#8478).
14298 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14300 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14302 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14303 (apropos-accumulator): Doc fix.
14304 (apropos-function, apropos-macro, apropos-command)
14305 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14306 (apropos-plist): Add face property.
14307 (apropos-symbols-internal): Fix indentation.
14308 (apropos-print): Simplify help, and recognize apropos-multi-type.
14309 (apropos-print-doc): Use button-type-get to extract the button's
14310 face property. Fill docstring (Bug#8352).
14312 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14314 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14316 * play/mpuz.el (mpuz-silent): Doc fix.
14317 (mpuz-mode-map): Use mapc.
14318 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14319 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14320 Fix typos in docstrings.
14322 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14323 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14325 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14327 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14329 * minibuffer.el (completion--do-completion): Avoid the "Next char
14330 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14332 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14333 mouse-2 into unread-command-events, it is interpreted correctly.
14335 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14336 (image-toggle-display): Doc fix.
14338 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14340 * textmodes/page.el (what-page): Use line-number-at-pos to
14341 calculate line number (Bug#6825).
14343 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14345 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14346 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14347 Pass argument NO-DEFAULT to `find-tag-interactive'.
14349 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14351 Lexical-binding cleanup.
14353 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14354 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14355 * progmodes/ada-prj.el (ada-prj-initialize-values)
14356 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14357 (ada-prj-show-value):
14358 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14359 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14360 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14361 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14362 * progmodes/bug-reference.el (bug-reference-push-button):
14363 * progmodes/fortran.el (fortran-line-length):
14364 * progmodes/glasses.el (glasses-change):
14365 * progmodes/octave-mod.el (octave-fill-paragraph):
14366 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14367 (python-pdbtrack-grub-for-buffer, python-sentinel):
14368 * progmodes/sql.el (sql-save-connection):
14369 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14370 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14371 Mark unused parameters.
14373 * progmodes/compile.el (compilation--flush-directory-cache)
14374 (compilation--flush-parse, compile-internal): Mark unused parameters.
14375 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14376 (compilation-next-error-function): Remove unused variable `timestamp'.
14378 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14379 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14381 * progmodes/dcl-mode.el (dcl-end-of-command):
14382 Remove unused variable `start'.
14383 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14384 (dcl-option-value-basic, dcl-option-value-offset)
14385 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14386 Mark unused parameters.
14387 (dcl-save-local-variable): Remove unused variable `val'.
14390 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14391 Mark unused parameters.
14392 (delphi-ignore-changes): Move before first use.
14393 (delphi-charset-token-at): Remove unused variable `start'.
14394 (delphi-else-start): Remove unused variable `if-count'.
14395 (delphi-comment-block-start, delphi-comment-block-end):
14396 Remove unused variable `kind'.
14397 (delphi-indent-line): Remove unused variable `new-point'.
14399 * progmodes/ebrowse.el (ebrowse-files-list)
14400 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14401 Mark unused parameters. Don't quote `lambda'.
14402 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14403 Don't quote `lambda'.
14404 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14405 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14406 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14407 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14408 Use `ignore-errors'.
14409 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14410 (ebrowse-view/find-file-and-search-pattern)
14411 (ebrowse-view/find-member-declaration/definition):
14412 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14413 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14414 Rename parameter PREFIX-ARG to PREFIX.
14415 (ebrowse-tags-read-name): Remove unused variables `start' and
14417 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14420 * progmodes/etags.el (local-find-tag-hook): Declare.
14421 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14422 Mark unused parameters.
14424 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14425 (executable-interpret): Mark unused parameter.
14427 * progmodes/flymake.el (flymake-process-sentinel)
14428 (flymake-after-change-function)
14429 (flymake-create-temp-with-folder-structure)
14430 (flymake-get-include-dirs-dot): Mark unused parameters.
14431 (flymake-safe-delete-directory): Remove unused variable `err'.
14433 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14434 (speedbar-timer-fn, speedbar-line-text)
14435 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14436 (speedbar-center-buffer-smartly): Declare functions.
14437 (gdb-find-watch-expression): Remove unused variable `array'.
14438 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14439 (gdb-starting): Mark unused parameters.
14440 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14441 (gdb-table-string): Remove unused variable `res'.
14442 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14443 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14444 (gdb-display-buffer): Remove unused variable `cur-size'.
14446 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14447 allow lexical-binding compilation.
14448 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14449 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14450 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14451 Mark unused parameters.
14452 (gud-gdb-marker-filter): Remove unused variable `match'.
14453 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14454 lambda expressions and funcall them, instead of using `fset'.
14456 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14457 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14459 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14460 variable `header-beg'; use `let'.
14462 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14463 `restart', `last-sexp' and `at-do'.
14465 * progmodes/js.el (js--debug): Mark unused parameter.
14466 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14467 (js--splice-into-items): Remove unused variable `item'.
14468 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14470 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14471 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14472 (makefile-complete): Remove unused variable `try'.
14473 (makefile-fill-paragraph, makefile-match-function-end):
14474 Mark unused parameters.
14476 * progmodes/octave-inf.el (inferior-octave-complete):
14477 Remove unused variable `proc'.
14478 (inferior-octave-output-digest): Mark unused parameter.
14480 * progmodes/perl-mode.el (perl-calculate-indent):
14481 Remove unused variable `err'.
14483 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14484 (prolog-indent-line): Mark unused parameters.
14485 (prolog-indent-line): Remove unused variable `beg'.
14487 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14488 (reporter-dont-compact-list): Declare.
14490 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14491 Remove unused variable `char'.
14492 (sh-debug): Mark unused parameter.
14493 (sh-get-indent-info): Remove unused variable `start'.
14494 (sh-calculate-indent): Remove unused variable `var'.
14496 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14497 (simula-electric-keyword): Remove unused variable `null'.
14498 (simula-search-backward, simula-search-forward): Remove unused
14499 variables `begin' and `end'.
14501 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14502 Remove unused variable `pos'.
14503 (vera-electric-tab, vera-comment-uncomment-region):
14504 Mark unused parameters.
14505 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14507 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14509 * emacs-lisp/package.el (package--builtins, package-alist)
14510 (package-load-descriptor, package-built-in-p, package-activate)
14511 (define-package, package-installed-p)
14512 (package-compute-transaction, package-buffer-info)
14513 (package--push): Doc fix. Distinguish more clearly between
14514 version strings and version lists.
14516 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14518 Lexical-binding cleanup.
14520 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14521 (5x5-make-mutate-best):
14522 * play/fortune.el (fortune-in-buffer):
14523 * play/gomoku.el (gomoku-init-display):
14524 * play/solitaire.el (solitaire, solitaire-do-check):
14525 * play/tetris.el (tetris-default-update-speed-function):
14526 Mark unused parameters.
14528 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14529 (bubbles--shift): Remove unused variable `char-org'.
14530 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14531 (bubbles--show-images): Remove unused variable `char'.
14533 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14534 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14535 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14536 (decipher-analyze-buffer): Use ?\s.
14537 (decipher-make-checkpoint): Remove unused variable `mapping'.
14539 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14541 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14542 Remove unused variable `result'; use `let'.
14544 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14545 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14546 (gametree-children-shown-p, gametree-compute-reduced-score):
14547 Use `ignore-errors'.
14549 * play/handwrite.el (ps-lpr-switches): Declare.
14550 (handwrite): Remove unused variables `pmin' and `lastp'.
14552 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14554 * play/landmark.el (landmark-init-display)
14555 (landmark-update-naught-weights): Mark unused parameters.
14556 (landmark-y): Remove unused variable `noise'. Simplify.
14557 (landmark-human-plays): Remove unused variable `score'.
14559 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14560 (mpuz-try-proposal): Remove unused variable `game'.
14562 * play/zone.el (life-patterns): Declare.
14564 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14566 * vc/vc.el (ediff-vc-internal): Declare function.
14568 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14570 * shell.el: Use lexical-binding and std completion UI.
14571 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14572 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14573 comint-preoutput-filter-functions rather than on
14574 comint-output-filter-functions.
14575 (shell-command-completion, shell--command-completion-data)
14576 (shell-filename-completion, shell-environment-variable-completion)
14577 (shell-c-a-p-replace-by-expanded-directory): New functions.
14578 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14579 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14580 (shell-dynamic-complete-environment-variable): Use them.
14581 (shell-dynamic-complete-as-environment-variable)
14582 (shell-dynamic-complete-as-command): Remove.
14583 (shell-match-partial-variable): Match past point.
14584 * comint.el: Clean up use of completion-at-point-functions.
14585 (comint-completion-at-point): New function.
14586 (comint-mode): Use it completion-at-point-functions.
14587 (comint-dynamic-complete): Make it obsolete.
14588 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14589 (comint-c-a-p-replace-by-expanded-history): New function.
14590 (comint-dynamic-complete-functions)
14591 (comint-replace-by-expanded-history): Use it.
14592 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14593 termination strings. Try harder to avoid second try-completion.
14594 (completion-in-region-mode-map): Disable bindings that don't work yet.
14596 * comint.el: Use lexical-binding. Require CL.
14597 (comint-dynamic-complete-functions): Use comint-filename-completion.
14598 (comint-completion-addsuffix): Tweak custom type.
14599 (comint-filename-completion, comint--common-suffix)
14600 (comint--common-quoted-suffix, comint--table-subvert)
14601 (comint--complete-file-name-data): New functions.
14602 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14603 (comint-dynamic-list-filename-completions): Use them.
14604 (comint-dynamic-simple-complete): Make obsolete.
14606 * minibuffer.el (completion-in-region-mode):
14607 Keep completion-in-region-mode--predicate global.
14608 (completion-in-region--postch):
14609 Assume completion-in-region-mode--predicate is not null.
14611 * progmodes/flymake.el (flymake-start-syntax-check-process):
14612 Obey `dir'. Simplify.
14614 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14615 we're in VC after all.
14617 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14619 * vc/vc.el (vc-diff-build-argument-list-internal)
14620 (vc-version-ediff, vc-ediff): New commands.
14621 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14623 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14625 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14628 * obsolete/erc-hecomplete.el: Make obsolete.
14629 * obsolete/: Standardize obsolescence info in the header.
14631 2011-04-20 Glenn Morris <rgm@gnu.org>
14633 * calendar/solar.el (solar-horizontal-coordinates):
14634 Use the longitude argument rather than `calendar-longitude'.
14635 (solar-date-next-longitude): Remove unused locals.
14637 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14639 * whitespace.el: New version 13.2.1.
14641 2011-04-20 felix <EmacsWiki> (tiny change)
14643 * whitespace.el (global-whitespace-mode): Keep highlight when
14644 switching between major modes on a file.
14646 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14648 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14649 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14650 multi-line comments as well.
14652 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14654 Lexical-binding cleanup.
14656 * arc-mode.el (archive-mode-revert):
14657 * cmuscheme.el (scheme-interactively-start-process):
14658 * custom.el (custom-initialize-delay):
14659 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14660 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14661 * emacs-lock.el (emacs-lock-clear-sentinel):
14662 * ezimage.el (defezimage):
14663 * follow.el (follow-avoid-tail-recenter):
14664 * fringe.el (set-fringe-mode-1):
14665 * generic-x.el (bat-generic-mode-compile):
14666 * help-mode.el (help-info-variable, help-do-xref)
14667 (help-mode-revert-buffer):
14668 * help.el (view-emacs-todo):
14669 * iswitchb.el (iswitchb-completion-help):
14670 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14671 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14672 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14673 * locate.el (locate-update):
14674 * longlines.el (longlines-encode-region)
14675 (longlines-after-change-function):
14676 * outline.el (outline-isearch-open-invisible):
14677 * ps-def.el (declare-function, charset-dimension, char-width)
14679 * ps-mule.el (ps-mule-plot-string):
14680 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14681 (recentf-edit-list-select, recentf-edit-list-validate)
14682 (recentf-open-files-action):
14683 * rect.el (delete-whitespace-rectangle-line)
14684 (rectangle-number-line-callback):
14685 * register.el (window-configuration-to-register)
14686 (frame-configuration-to-register):
14687 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14688 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14689 (xselect-convert-to-targets, xselect-convert-to-delete)
14690 (xselect-convert-to-filename, xselect-convert-to-charpos)
14691 (xselect-convert-to-lineno, xselect-convert-to-colno)
14692 (xselect-convert-to-os, xselect-convert-to-host)
14693 (xselect-convert-to-user, xselect-convert-to-class)
14694 (xselect-convert-to-name, xselect-convert-to-integer)
14695 (xselect-convert-to-atom, xselect-convert-to-identity):
14696 * subr.el (declare, ignore, process-kill-without-query)
14697 (text-clone-maintain):
14698 * terminal.el (te-get-char, te-tic-sentinel):
14699 * tool-bar.el (tool-bar-make-keymap):
14700 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14701 * type-break.el (type-break-mode, type-break-noninteractive-query):
14702 * view.el (View-back-to-mark):
14703 * wid-browse.el (widget-browse-action, widget-browse-widget)
14704 (widget-browse-widgets, widget-browse-sexp):
14705 * widget.el (define-widget-keywords):
14706 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14707 Mark unused parameters.
14709 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14710 (align-areas): Remove unused variable `look'.
14711 (align-region): Remove unused variables `real-end' and `pos-list'.
14713 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14715 * bindings.el (mode-line-modified, mode-line-remote):
14716 Mark unused parameters.
14717 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14719 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14720 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14722 * comint.el (comint-history-isearch-pop-state)
14723 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14724 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14725 (comint-substitute-in-file-name): Doc fix.
14727 * completion.el (cmpl-statistics-block): Mark unused parameter.
14728 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14729 (save-completions-to-file, load-completions-from-file):
14730 Remove unused local variable `e'.
14732 * composite.el (compose-chars): Remove unused variable `len'.
14733 (lgstring-insert-glyph): Remove unused variable `g'.
14734 (compose-glyph-string): Remove unused variables `ascent',
14735 `descent', `lbearing' and `rbearing'.
14736 (compose-glyph-string-relative): Remove unused variables
14737 `lbearing', `rbearing' and `wadjust'.
14738 (compose-gstring-for-graphic): Remove unused variables `header',
14739 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14740 (compose-gstring-for-terminal): Remove unused variables `header'
14741 and `nchars'. Use `let', not `let*'.
14743 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14744 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14745 (Custom-buffer-done, custom-buffer-create-internal)
14746 (custom-browse-visibility-action, custom-browse-group-tag-action)
14747 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14748 (widget-magic-mouse-down-action, custom-toggle-parent)
14749 (custom-add-parent-links, custom-toggle-hide-variable)
14750 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14751 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14752 (custom-face-menu-create, custom-variable-menu-create, get)
14753 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14754 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14755 (customize-apropos): Remove unused variable `tests'.
14756 (custom-group-value-create): Remove unused variable `hidden-p'.
14757 (sort-fold-case): Declare.
14759 * cus-theme.el (custom-reset-standard-faces-list)
14760 (custom-reset-standard-variables-list): Declare.
14761 (customize-create-theme, custom-theme-revert, custom-theme-write)
14762 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14763 Mark unused parameters.
14765 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14767 * delim-col.el (delimit-columns-max): Move defvar before first use.
14769 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14770 (describe-char): Don't quote `lambda'. Mark unused parameter.
14772 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14773 (auto-insert): Declare.
14774 (desktop-restore-file-buffer): Rename desktop-* parameters;
14776 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14777 (desktop-buffer): Rename desktop-* parameters.
14779 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14780 (dframe-reposition-frame-xemacs, dframe-help-echo)
14781 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14782 Mark unused parameters.
14784 * dired-aux.el (backup-extract-version-start, overwrite-query)
14785 (overwrite-backup-query, rename-regexp-query)
14786 (rename-non-directory-query): Declare.
14787 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14788 (dired-add-entry): Remove unused variable `orig-file-name'.
14789 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14790 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14791 `dired-copy-preserve-time' directly.
14792 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14793 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14795 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14796 (dired-virtual-revert, dired-make-relative-symlink):
14797 Mark unused parameters.
14798 (manual-program): Declare.
14799 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14800 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14801 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14803 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14805 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14807 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14810 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14812 * electric.el (Electric-command-loop): Rename parameter
14813 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14815 * expand.el (expand-in-literal): Remove unused variable `here'.
14817 * facemenu.el (facemenu-add-new-color):
14818 Remove unused variable `docstring'.
14820 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14821 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14822 (face-attr-construct): Mark unused parameter. Doc fix.
14823 (read-color): Remove unused variable `hex-string'.
14825 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14826 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14827 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14828 (display-buffer-other-frame): Remove unused variable `old-window'.
14829 (kill-buffer-hook): Declare.
14830 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14831 Mark unused parameters.
14832 (after-find-file): Pass 1 to `auto-save-mode', not t.
14834 * files-x.el (auto-insert): Declare.
14835 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14837 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14838 variable `buf'. Mark unused parameter.
14839 (find-lisp-insert-directory): Mark unused parameter.
14841 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14842 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14843 (format-common-tail): Remove, unused.
14844 (format-deannotate-region): Remove unused variable `loc'.
14845 (format-annotate-region): Remove unused variable `p'.
14846 (format-annotate-single-property-change): Remove unused variables
14847 `default' and `tail'.
14849 * forms.el (read-file-filter): Declare.
14850 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14852 * frame.el (frame-creation-function-alist): Mark unused parameter.
14853 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14855 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14856 Remove unused parameters.
14857 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14858 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14860 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14861 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14862 (hfy-prepare-tag-map): Mark unused parameters.
14863 (htmlfontify-buffer): Use `called-interactively-p'.
14865 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14866 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14867 (ibuffer-do-occur): Mark unused parameters.
14868 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14869 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14871 * ibuffer.el: Don't quote `lambda'.
14872 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14873 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14874 Mark unused parameters.
14876 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14877 (ido-completing-read): Mark unused parameters.
14878 (ido-copy-current-word): Mark unused parameters;
14879 remove unused variable `name'.
14880 (ido-sort-merged-list): Remove unused parameter `dirs'.
14882 * ielm.el (ielm-input-sender): Mark unused parameter.
14883 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14884 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14885 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14886 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14887 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14889 * image-dired.el (image-dired-display-thumbs): Remove unused
14890 variables `curr-file' and `count'.
14891 (image-dired-remove-tag): Remove unused variable `start'.
14892 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14893 variable `curr-file'
14894 (image-dired-rotate-original): Remove unused variable `temp-file'.
14895 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14896 Remove unused variable `file'.
14897 (image-dired-gallery-generate): Remove unused variable `curr'.
14898 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14900 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14902 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14904 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14906 * isearch.el (minibuffer-history-symbol): Declare.
14907 (isearch-edit-string): Remove unused variable `err'.
14908 (isearch-message-prefix, isearch-message-suffix):
14909 Mark unused parameters.
14911 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14913 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14915 * makesum.el (double-column): Remove unused variable `cnt'.
14917 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14918 (ido-ignore-item-temp-list): Declare.
14920 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14921 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14922 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14923 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14926 * mouse-sel.el (mouse-extend-internal):
14927 Remove unused variable `orig-window-frame'.
14929 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14930 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14931 Move declarations before first use.
14932 (pcomplete-opt): Mark unused parameters; doc fix.
14934 * proced.el (proced-revert): Mark unused parameter.
14935 (proced-send-signal): Remove unused variable `err'.
14937 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14938 Rename parameter PREFIX-ARG to ARG.
14939 (ps-basic-plot-string, ps-basic-plot-whitespace):
14940 Mark unused parameters.
14942 * replace.el (replace-count): Define.
14943 (occur-revert-function): Mark unused parameters.
14944 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14945 (isearch-case-fold-search, isearch-string): Declare.
14946 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14947 bind `case-fold-search'. Remove unused variables `beg' and `end',
14949 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14950 COUNT and bind `replace-count'.
14951 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14954 * savehist.el (print-readably, print-string-length): Declare.
14956 * shadowfile.el (shadow-expand-cluster-in-file-name):
14957 Remove unused variable `cluster'.
14958 (shadow-copy-file): Remove unused variable `i'.
14959 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14960 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14961 (shadow-define-literal-group, shadow-define-regexp-group)
14962 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14964 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14965 (shell): Use `called-interactively-p'.
14966 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14968 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14969 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14970 (delete-backward-char): Remove unused variable `ocol'.
14971 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14972 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14973 (event-apply-hyper-modifier, event-apply-shift-modifier)
14974 (event-apply-control-modifier, event-apply-meta-modifier):
14975 Mark unused parameters.
14976 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14977 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14979 * speedbar.el (speedbar-ignored-directory-expressions)
14980 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14981 (speedbar-find-file, speedbar-dir-follow)
14982 (speedbar-directory-buttons-follow, speedbar-tag-find)
14983 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14984 (speedbar-buffers-line-directory, speedbar-buffer-click):
14985 Mark unused parameters.
14986 (speedbar-tag-file): Remove unused variable `mode'.
14987 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14989 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14991 * talk.el (talk): Remove unused variable `display'.
14993 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14994 (tar-write-region-annotate): Mark unused parameter.
14996 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14997 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14998 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14999 warning by another.
15001 * time-stamp.el (time-stamp-string-preprocess):
15002 Remove unused variable `require-padding'.
15004 * tree-widget.el (widget-glyph-enable): Declare.
15005 (tree-widget-action): Mark unused parameter.
15007 * w32-fns.el (x-get-selection): Mark unused parameter.
15008 (autoload-make-program, generated-autoload-file): Declare.
15010 * wdired.el (wdired-revert): Mark unused parameters.
15011 (wdired-xcase-word): Remove unused variable `err'.
15013 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15014 (whitespace-help-scroll): Remove unused variable `data-help'.
15016 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15017 (widget-image-insert, widget-after-change, default)
15018 (widget-default-format-handler, widget-default-notify)
15019 (widget-default-prompt-value, widget-info-link-action)
15020 (widget-url-link-action, widget-function-link-action)
15021 (widget-variable-link-action, widget-file-link-action)
15022 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15023 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15024 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15025 (widget-insert-button-action, widget-delete-button-action, visibility)
15026 (widget-documentation-link-action, widget-documentation-string-action)
15027 (widget-const-prompt-value, widget-regexp-match, symbol)
15028 (widget-coding-system-prompt-value)
15029 (widget-key-sequence-value-to-external, sexp)
15030 (widget-sexp-value-to-internal, character, vector, cons)
15031 (widget-choice-prompt-value, widget-boolean-prompt-value)
15032 (widget-color--choose-action): Mark unused parameters.
15033 (widget-item-match-inline, widget-choice-match-inline)
15034 (widget-checklist-match, widget-checklist-match-inline)
15035 (widget-group-match): Rename parameter VALUES to VALS.
15036 (widget-field-value-set): Remove unused variable `size'.
15037 (widget-color-action): Remove unused variables `value' and `start'.
15039 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15040 variable `dir'. Doc fix.
15041 (windmove-find-other-window): Don't pass it.
15043 * window.el (count-windows): Mark unused parameter.
15044 (bw-adjust-window): Remove unused variable `err'.
15046 * woman.el (woman-file-name): Remove unused variable `default'.
15047 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15048 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15049 (global-font-lock-mode): Declare.
15050 (woman-decode-region): Mark unused parameter.
15051 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15053 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15054 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15055 (x-dnd-handle-moz-url): Remove unused variable `title'.
15056 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15058 * xml.el (xml-parse-tag, xml-parse-attlist):
15059 Remove unused variable `pos'.
15061 2011-04-19 Glenn Morris <rgm@gnu.org>
15063 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15064 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15065 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15066 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15067 * calendar/cal-html.el (cal-html-insert-minical):
15068 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15069 (calendar-mark-date-pattern):
15070 Prefix "unused" locals.
15072 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15073 optional argument `style'.
15075 * calendar/appt.el (appt-make-list):
15076 * calendar/cal-china.el (calendar-chinese-date-string):
15077 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15078 (diary-hebrew-yahrzeit):
15079 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15080 * calendar/calendar.el (calendar-generate-window):
15081 * calendar/time-date.el (time-to-days):
15082 Remove unused local variables.
15084 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15086 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15087 glyphless-char-display table.
15088 (tabulated-list-glyphless-char-display): New var.
15090 2011-04-18 Sam Steingold <sds@gnu.org>
15092 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15093 to acknowledgments.
15095 2011-04-17 Glenn Morris <rgm@gnu.org>
15097 * calendar/diary-lib.el (diary-sexp-entry):
15098 * calendar/holidays.el (holiday-sexp):
15099 Set debug-on-error rather than the removed stack-trace-on-error.
15101 2011-04-16 Glenn Morris <rgm@gnu.org>
15103 * progmodes/f90.el: Use lexical-binding.
15104 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15106 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15108 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15109 (mail-mode): Setup mailalias completion here instead.
15110 * mail/mailalias.el: Use lexical-binding.
15111 (pattern, mailalias-done): Declare dynamic.
15112 (mail-completion-at-point-function): New function, from mail-complete.
15113 (mail-complete): Use it.
15114 (mail-completion-expand): New function.
15115 (mail-get-names): Use it.
15116 (mail-directory, mail-directory-process, mail-directory-stream):
15117 Don't use `pattern' for lexically bound arg.
15119 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15121 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15122 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15123 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15125 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15126 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15127 (byte-interactive-p): Define them again, for use when inlining
15130 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15132 * loadup.el: Use `string-to-number', not `string-to-int'.
15134 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15136 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15137 gud-gdb-complete-command.
15138 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15139 (gud-gdb-completion-at-point): New function.
15140 (gud-gdb-completions): Remove.
15142 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15144 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15145 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15146 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15147 whether `executable-find' is bound.
15149 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15151 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15153 * minibuffer.el (completion-in-region-mode-predicate)
15154 (completion-in-region-mode--predicate): New vars.
15155 (completion-in-region, completion-in-region--postch)
15156 (completion-in-region-mode): Use them.
15157 (completion--capf-wrapper): Also return the hook function.
15158 (completion-at-point, completion-help-at-point):
15159 Adjust and provide a predicate.
15161 Preserve arg names for advice of subr and lexical functions (bug#8457).
15162 * help-fns.el (help-function-arglist): Consolidate the subr and
15163 new-byte-code cases. Add argument `preserve-names' to extract names
15164 from the docstring when needed.
15165 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15166 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15167 (ad-arglist): Use help-function-arglist's new arg.
15168 (ad-definition-type): Use cond.
15170 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15172 * autorevert.el (auto-revert-handler):
15173 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15174 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15175 Don't quote lambda.
15177 * image-mode.el (image-transform-set-scale):
15178 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15180 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15182 * net/network-stream.el (network-stream-open-starttls): Only do
15183 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15184 Upgrades via gnutls-cli are too slow to be done opportunistically.
15186 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15188 * dframe.el (dframe-current-frame): Remove spurious quote.
15190 2011-04-12 Glenn Morris <rgm@gnu.org>
15192 * calendar/cal-tex.el (cal-tex-end-document):
15193 Try to automatically use latin1 input if needed.
15195 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15196 Don't try to cons a mark onto an empty element.
15198 2011-04-11 Leo Liu <sdl.web@gmail.com>
15200 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15202 (ido-kill-buffer-at-head): Support killing virtual buffers.
15204 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15206 * minibuffer.el (completion-show-inline-help): New var.
15207 (completion--do-completion, minibuffer-complete)
15208 (minibuffer-force-complete, minibuffer-complete-word):
15209 Inhibit minibuffer messages if completion-show-inline-help is nil.
15211 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15212 to avoid interference from inline help (Bug#5849).
15214 2011-04-10 Leo Liu <sdl.web@gmail.com>
15216 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15219 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15221 * image-mode.el (image-toggle-display-image): Signal an error if
15223 (image-transform-mode, image-transform-resize)
15224 (image-transform-set-rotation): Doc fix.
15225 (image-transform-set-resize): Delete.
15226 (image-transform-set-scale, image-transform-fit-to-height)
15227 (image-transform-fit-to-width): Handle image-toggle-display-image
15228 and image-transform-resize directly.
15230 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15232 * doc-view.el (doc-view-fit-width-to-window)
15233 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15234 New functions for fitting the shown image to the Emacs window size.
15235 (doc-view-mode-map): Add bindings for the new functions.
15237 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15239 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15240 Fix typo in docstring.
15242 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15244 * files.el (file-size-human-readable): Produce one digit after
15245 decimal, like "ls -lh" does.
15247 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15248 the file size representation.
15250 * simple.el (list-processes): If async subprocesses are not
15251 available, error out with a clear error message.
15253 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15255 * help.el (help-form-show): New function, to be called from C.
15256 Put help-form output in a buffer named differently than *Help*.
15258 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15260 * files.el (file-size-human-readable): New function.
15262 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15263 computing the representation inline. Don't require `cl'.
15265 2011-04-08 Glenn Morris <rgm@gnu.org>
15267 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15269 * net/browse-url.el (browse-url-firefox):
15270 Test system-type, not system-configuration.
15272 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15273 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15274 Use log-edit-empty-buffer-p. (Bug#7598)
15276 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15277 (rlogin-mode-map): Initialize in the defvar.
15278 (rlogin): Use ignore-errors.
15280 * replace.el (occur-mode-map): Some fixes for menu items.
15282 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15284 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15286 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15288 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15289 issuing unused warnings.
15291 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15294 * simple.el: Lisp reimplement of list-processes. Based on an
15295 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15296 (process-menu-mode): New major mode.
15297 (list-processes--refresh, list-processes):
15298 (process-menu-visit-buffer): New functions.
15300 * files.el (save-buffers-kill-emacs): Don't assume any return
15301 value of list-processes, which is undocumented anyway.
15303 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15305 * emacs-lisp/tabulated-list.el: New file.
15307 * emacs-lisp/package.el: Use Tabulated List mode.
15308 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15309 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15310 table format using Tabulated List mode variables.
15311 (package--push): New macro, replacing package-list-maybe-add.
15312 (package-menu--generate): Use package--push. Renamed from
15313 package--generate-package-list.
15314 (package-menu-refresh, list-packages): Use it.
15315 (package-menu--print-info): Rename from package-print-package.
15316 Return insertion data instead of inserting it directly.
15317 (package-menu-describe-package, package-menu-execute):
15318 Use tabulated-list-get-id.
15319 (package-menu-mark-delete, package-menu-mark-install)
15320 (package-menu-mark-unmark, package-menu-backup-unmark)
15321 (package-menu-mark-obsolete-for-deletion):
15322 Use tabulated-list-put-tag.
15323 (package--list-packages, package-menu-revert)
15324 (package-menu-get-package, package-menu-get-version)
15325 (package-menu-sort-by-column): Functions deleted.
15326 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15327 (package-menu--status-predicate, package-menu--version-predicate)
15328 (package-menu--name-predicate)
15329 (package-menu--description-predicate): Handle arguments in the
15330 Tabulated List format.
15331 (package-list-packages-no-fetch): Call list-packages.
15333 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15335 * files.el (after-find-file-from-revert-buffer): Remove variable.
15336 (after-find-file): Don't bind it.
15337 (revert-buffer-in-progress-p): New variable.
15338 (revert-buffer): Bind it.
15339 Pass nil for `after-find-file-from-revert-buffer'.
15341 * saveplace.el (save-place-find-file-hook): Use new variable
15342 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15344 2011-04-06 Glenn Morris <rgm@gnu.org>
15346 * Makefile.in (AUTOGEN_VCS): New variable.
15347 (autoloads): Use $AUTOGEN_VCS.
15349 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15350 * calendar/calendar.el (calendar-mode-map):
15351 Check for toolkit scroll bars. (Bug#8305)
15353 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15355 * minibuffer.el (completion-in-region--postch)
15356 (completion-in-region-mode): Remove unnecessary messages.
15358 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15360 * font-lock.el (font-lock-refresh-defaults):
15361 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15362 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15364 * info.el (Info-directory-list, Info-read-node-name-2)
15365 (Info-split-parameter-string): Doc fixes.
15366 (Info-virtual-nodes): Reflow docstring.
15367 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15368 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15369 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15370 Fix typos in docstrings.
15371 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15372 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15373 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15374 (Info-restore-desktop-buffer): Mark unused parameters.
15375 (Info-directory-find-file, Info-directory-find-node)
15376 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15377 (Info-virtual-index-find-node, Info-apropos-find-file)
15378 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15379 Mark unused parameters; fix typos in docstrings.
15380 (Info-virtual-index): Remove unused local variable `nodename'.
15382 2011-04-05 Deniz Dogan <deniz@dogan.se>
15384 * net/rcirc.el: Update my e-mail address.
15385 (rcirc-mode-map): Remove M-o binding.
15387 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15389 * startup.el (command-line): Save the cursor's theme-face
15390 directly, instead of using face-override-spec.
15392 * custom.el (load-theme): Minor optimization in assigning faces.
15394 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15396 * help-fns.el (describe-variable): Complete all variables having
15397 documentation, including keywords.
15398 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15400 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15402 Convert to lexical-binding.
15404 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15405 (bs--get-marked-string, bs--get-modified-string)
15406 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15407 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15408 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15410 * ehelp.el (electric-help-execute-extended)
15411 (electric-help-ctrl-x-prefix):
15412 * hexl.el (hexl-revert-buffer-function):
15413 * linum.el (linum-after-change, linum-after-scroll):
15414 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15416 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15418 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15425 * epg.el: Use lexical binding.
15427 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15429 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15431 * textmodes/flyspell.el (flyspell-word): Recognize default
15432 dictionary case for flyspell-mark-duplications-exceptions.
15433 Use regexp matching for languages.
15434 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15435 default dictionary (Bug#7926).
15437 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15439 * emacs-lisp/package.el (package--with-work-buffer):
15440 Recognize https URLs.
15442 * net/network-stream.el: Move from gnus/proto-stream.el.
15443 Change prefix to network-stream throughout.
15444 (open-protocol-stream): Merge into open-network-stream, leaving
15445 open-protocol-stream as an alias. Handle nil BUFFER args.
15447 * subr.el (open-network-stream): Move to net/network-stream.el.
15449 2011-04-02 Glenn Morris <rgm@gnu.org>
15451 * find-dired.el (find-exec-terminator): New option.
15452 (find-ls-option): Test for -ls support.
15453 (find-ls-subdir-switches): Test for -b in find-ls-option.
15454 (find-dired, find-grep-dired): Doc fixes.
15455 (find-dired): Use find-exec-terminator.
15457 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15458 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15459 (find-name-arg): Remove purecopy.
15461 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15462 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15463 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15464 accordingly. Don't add the null-device if not needed.
15466 * files.el (save-some-buffers): Doc fix.
15468 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15470 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15472 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15474 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15475 Use `dolist' rather than `mapcar'.
15477 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15479 Add lexical binding.
15481 * subr.el (apply-partially): Use new closures rather than CL.
15482 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15483 (dolist, dotimes): Use slightly different expansion for lexical code.
15484 (functionp): Move to C.
15485 (letrec): New macro.
15486 (with-wrapper-hook): Use it and apply-partially instead of CL.
15487 (eval-after-load): Preserve lexical-binding.
15488 (save-window-excursion, with-output-to-temp-buffer): Turn them
15491 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15493 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15495 (help-add-fundoc-usage): Don't add `Not documented'.
15496 (help-function-arglist): Handle closures, subroutines, and new
15497 byte-code-functions.
15498 (help-make-usage): Remove leading underscores.
15499 (describe-function-1): Handle closures.
15500 (describe-variable): Use special-variable-p for completion.
15502 * files.el (lexical-binding): Declare safe.
15504 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15505 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15506 (pcase): Add `let' pattern.
15507 Change memoization so it actually works.
15508 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15509 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15512 * emacs-lisp/macroexp.el: Use lexical binding.
15513 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15514 Don't convert ' to #' without checking that it's indeed quoting
15517 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15518 Use eval-sexp-add-defvars.
15519 (eval-sexp-add-defvars): New fun.
15521 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15523 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15525 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15526 than the internal `byte-compile-lambda'.
15527 (defmethod): Don't hide code under quotes.
15528 (eieio-defmethod): New `code' argument.
15530 * emacs-lisp/eieio-comp.el: Remove.
15532 * emacs-lisp/edebug.el (edebug-eval-defun)
15533 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15534 (edebug-toggle): Avoid `eval'.
15536 * emacs-lisp/disass.el (disassemble-internal): Handle new
15538 (disassemble-1): Handle new byte codes.
15540 * emacs-lisp/cl.el (pushnew): Silence warning.
15542 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15543 (cl-byte-compile-throw): Remove.
15544 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15546 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15549 * emacs-lisp/cconv.el: New file.
15551 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15552 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15553 (byte-compile-initial-macro-environment):
15554 Handle declare-function here.
15555 (byte-compile--lexical-environment): New var.
15556 (byte-stack-ref, byte-stack-set, byte-discardN)
15557 (byte-discardN-preserve-tos): New lap codes.
15558 (byte-interactive-p): Don't use any more.
15559 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15561 (byte-compile-lapcode): Use them and handle new lap codes.
15562 (byte-compile-obsolete): Remove.
15563 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15564 (byte-compile-arglist-warn): Check late def of inlinable funs.
15565 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15566 since they should have been expanded by now.
15567 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15568 (byte-compile-from-buffer): Remove unused second arg.
15569 (byte-compile-preprocess): New function.
15570 (byte-compile-toplevel-file-form): New function to distinguish
15571 file-form calls from outside from file-form calls from hunk-handlers.
15572 (byte-compile-file-form): Simplify.
15573 (byte-compile-file-form-defsubst): Remove.
15574 (byte-compile-file-form-defmumble): Simplify now that
15575 byte-compile-lambda always returns a byte-code-function.
15576 (byte-compile): Preprocess.
15577 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15578 Remove, not used any more.
15579 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15580 (byte-compile-make-args-desc): New funs.
15581 (byte-compile-lambda): Handle lexical functions. Always return
15582 a byte-code-function.
15583 (byte-compile-reserved-constants): New var, to make up room for
15584 closed-over variables.
15585 (byte-compile-constants-vector): Obey it.
15586 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15587 (byte-compile-macroexpand-declare-function): New function.
15588 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15589 byte-code-functions.
15590 (byte-compile-form): Check obsolescence here.
15591 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15592 (byte-compile-variable-ref): Remove.
15593 (byte-compile-dynamic-variable-op): New fun.
15594 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15595 (byte-compile-variable-set): New funs.
15596 (byte-compile-discard): Add 2 args.
15597 (byte-compile-stack-ref, byte-compile-stack-set)
15598 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15599 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15600 macroexpand-all instead.
15601 (byte-compile-quote-form): Remove.
15602 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15603 (byte-compile-bind, byte-compile-unbind): New funs.
15604 (byte-compile-let): Handle let* and lexical binding.
15605 (byte-compile-let*): Remove.
15606 (byte-compile-catch, byte-compile-unwind-protect)
15607 (byte-compile-track-mouse, byte-compile-condition-case):
15608 Handle a new :fun-body form, used for lexical scoping.
15609 (byte-compile-save-window-excursion)
15610 (byte-compile-with-output-to-temp-buffer): Remove.
15611 (byte-compile-defun): Simplify.
15612 (byte-compile-stack-adjustment): New fun.
15613 (byte-compile-out): Use it.
15614 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15616 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15619 * emacs-lisp/byte-opt.el: Use lexical binding.
15620 (byte-inline-lapcode): Remove (to bytecomp).
15621 (byte-compile-inline-expand): Pay attention to inlining to/from
15622 lexically bound code.
15623 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15625 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15626 any more and don't call compiler-macros.
15627 (byte-compile-splice-in-already-compiled-code): Remove.
15628 (byte-code): Don't inline any more.
15629 (disassemble-offset): Receive `bytes' as argument rather than via
15631 (byte-compile-tag-number): Declare before first use.
15632 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15633 `return' even if make-spliceable.
15634 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15635 obsolete interactive-p.
15636 (byte-optimize-lapcode): Optimize new lap-codes.
15637 Don't trip up on new form of `byte-constant' lap code.
15639 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15641 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15643 * custom.el (custom-initialize-default, custom-declare-variable):
15646 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15648 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15649 (COMPILE_FIRST): Add macroexp and cconv.
15650 * makefile.w32-in: Mirror changes in Makefile.in.
15652 * vc/cvs-status.el:
15656 * vc/smerge-mode.el:
15657 * textmodes/bibtex-style.el:
15658 * textmodes/css-mode.el:
15666 * emacs-lisp/smie.el:
15669 * abbrev.el: Use lexical binding.
15671 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15673 * info.el (info-display-manual): New function.
15675 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15677 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15679 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15681 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15682 an entry for that server in rcirc-authinfo. (Bug#8385)
15684 2011-03-31 Glenn Morris <rgm@gnu.org>
15686 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15688 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15690 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15692 * progmodes/python.el (python-default-interpreter)
15693 (python-python-command-args, python-jython-command-args)
15694 (python-which-shell, python-which-args, python-which-bufname)
15695 (python-file-queue, python-comint-output-filter-function)
15696 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15697 variables and functions.
15699 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15701 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15702 (completion-in-region-mode): New minor mode.
15703 (completion-in-region): Use it.
15704 (completion-in-region--data, completion-in-region-mode-map): New vars.
15705 (completion-in-region--postch): New function.
15706 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15708 (completion--capf-wrapper): New function.
15709 (completion-at-point): Use it to track well-behavedness of
15711 (completion-help-at-point): New command.
15713 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15715 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15716 syntax class to search for whitespace on a single line
15717 (Message-ID: <4D938140.4030905@redhat.com>).
15719 2011-03-30 Leo Liu <sdl.web@gmail.com>
15721 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15723 (edit-abbrevs-map): Bind them here.
15724 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15726 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15728 * allout.el (allout-hide-by-annotation, allout-flag-region):
15729 Reduce possibility of overlay leakage by making them volatile.
15731 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15732 hash is not shared between buffers. Mode initialization is
15733 responsible for giving it a useful starting value.
15734 (allout-item-span): Reduce possibility of overlay leakage by
15735 making them volatile.
15736 (allout-widgets-count-buttons-in-region): Add diagnostic function
15737 for tracking down button overlay leaks.
15739 2011-03-29 Leo Liu <sdl.web@gmail.com>
15741 * ido.el (ido-read-internal): Use the default history var
15742 minibuffer-history if no HISTORY is specified.
15744 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15746 * net/imap.el (imap-shell-open, imap-process-connection-type):
15747 Use imap-process-connection-type for 'shell' streams as well as
15748 Kerberos, SSL, other subprocesses.
15750 2011-03-28 Leo Liu <sdl.web@gmail.com>
15752 * abbrev.el (abbrev-table-empty-p): New function.
15753 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15754 nonempty ones. (Bug#5937)
15756 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15758 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15760 2011-03-27 Leo Liu <sdl.web@gmail.com>
15762 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15763 for foreground and background colors.
15764 (ansi-color-make-color-map): Adapt.
15766 2011-03-25 Leo Liu <sdl.web@gmail.com>
15768 * midnight.el (midnight-time-float): Remove. Note it calculates
15769 the microsecond component incorrectly and seconds-to-time does the
15771 Remove redundant (require 'timer).
15773 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15774 (ido-completions): Remove unused arguments. (Bug#8329)
15776 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15778 * minibuffer.el (completion--flush-all-sorted-completions):
15779 Remove itself from hook.
15780 (completion-at-point): Let the functions perform the completion
15781 immediately and return nil or t.
15782 * comint.el (comint-dynamic-complete-functions): Now identical to
15783 completion-at-point-functions.
15784 (comint-dynamic-list-input-ring): Remove unused var `index'.
15785 (comint--match-partial-filename, comint--unquote&expand-filename):
15786 New funs, split from comint-match-partial-filename.
15787 (comint-dynamic-complete): Use completion-at-point.
15788 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15790 2011-03-24 Drew Adams <drew.adams@oracle.com>
15792 * thingatpt.el: Support `defun'.
15794 2011-03-23 Leo Liu <sdl.web@gmail.com>
15796 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15798 * help-mode.el (help-mode-finish): Tweak regexp.
15800 2011-03-23 Glenn Morris <rgm@gnu.org>
15802 * eshell/esh-opt.el (eshell-eval-using-options):
15803 Do not bind unused local variable `eshell-option-stub'.
15805 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15807 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15809 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15810 keymap variable in `with-no-warnings' to avoid a warning when the
15811 keymap has been already `defconst'ed.
15813 2011-03-22 Leo Liu <sdl.web@gmail.com>
15815 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15816 encode all chars in abbrevs; otherwise use emacs-mule or
15817 utf-8-emacs. (Bug#8308)
15819 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15821 * simple.el (backward-delete-char-untabify):
15822 Avoid warning about using `delete-backward-char'.
15824 * image.el (image-type-file-name-regexps): Make it variable.
15825 `imagemagick-register-types' modifies it, and the user may want
15826 to add new extensions for known image types.
15827 (imagemagick-register-types): Throw error if not using ImageMagick.
15829 2011-03-22 Leo Liu <sdl.web@gmail.com>
15831 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15832 located before rcirc-prompt-end-marker.
15833 (rcirc-complete): Error if point is not after rcirc prompt.
15834 Handle the case when table is nil.
15835 (rcirc-user-authenticated): Define to fix compiler warning.
15837 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15839 * custom.el (custom--inhibit-theme-enable): Make it affect only
15840 custom-theme-set-variables and custom-theme-set-faces.
15841 (provide-theme): Ignore custom--inhibit-theme-enable.
15842 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15843 (custom-enabling-themes): Delete variable.
15844 (enable-theme): Accept only loaded themes as arguments.
15845 Ignore the special custom-enabled-themes variable.
15846 (custom-enabled-themes): Forbid themes from setting this.
15847 Eliminate use of custom-enabling-themes.
15848 (custom-push-theme): Quote "changed" custom var entry.
15850 2011-03-21 Leo Liu <sdl.web@gmail.com>
15852 * ido.el (ido-read-internal): Add ido-selected to history instead
15855 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * subr.el (deferred-action-list, deferred-action-function):
15860 2011-03-21 Leo Liu <sdl.web@gmail.com>
15862 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15863 change on 2011-02-13 (bug#8309).
15865 * minibuffer.el (read-file-name-function): Change default value.
15866 (read-file-name--defaults): Rename from read-file-name-defaults.
15867 (read-file-name-default): Rename from read-file-name.
15868 (read-file-name): Call read-file-name-function.
15870 2011-03-21 Glenn Morris <rgm@gnu.org>
15872 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15875 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15877 * cus-theme.el: Add missing provide statement.
15878 (customize-create-theme): Extract theme value correctly.
15879 (custom-theme-visit-theme): Autoload.
15880 (customize-create-theme): Prompt before inserting default faces.
15882 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15884 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15885 units and musical notes.
15887 2011-03-20 Leo Liu <sdl.web@gmail.com>
15889 * ido.el (ido-read-internal): Use completing-read-default.
15890 (ido-completing-read): Fix compatibility with completing-read.
15892 2011-03-20 Christian Ohler <ohler@gnu.org>
15894 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15895 (ert-delete-all-tests): Use `called-interactively-p' rather than
15897 (ert--make-xrefs-region): Respect END.
15899 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15901 * dired-aux.el (dired-create-directory): Signal an error if the
15902 directory already exists (Bug#8246).
15904 * facemenu.el (list-colors-display): Call list-faces-display
15905 inside with-help-window.
15906 (list-colors-print): Use display property to align the final
15907 column, instead of checking window-width.
15909 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15911 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15912 windows-nt systems.
15913 (emerge-protect-metachars): Quote correctly for ms-dos and
15914 windows-nt systems.
15916 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15918 * info.el (info-initialize): Replace all uses of `:' with
15919 path-separator for compatibility with non-Unix systems.
15920 Cache quoting of path-separator. (Bug#8258)
15922 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15924 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15925 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15926 (mouse-avoidance-mode): Fix typos in docstrings.
15928 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15930 * startup.el (package-subdirectory-regexp): Move from package.el.
15931 Omit \\` and \\', and let callers add them.
15933 * emacs-lisp/package.el (package-strip-version)
15934 (package-load-all-descriptors): Add \\` and \\' to
15935 package-subdirectory-regexp before using it.
15936 (package-untar-buffer): New arg DIR; ensure that file untars only
15937 into this expected directory. Remove superfluous delete-region.
15938 (package-unpack): Caller changed.
15939 (package-tar-file-info): Use package-subdirectory-regexp.
15941 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15943 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15944 diff-mode-shared-map (bug#8284).
15945 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15947 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15949 * calendar/time-date.el (format-seconds): Use assoc instead of
15950 assoc-string, since assoc-string doesn't exist in XEmacs.
15952 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15954 * custom.el (custom-known-themes): Reflow docstring.
15955 (custom-theme-load-path): Fix typo in docstring.
15956 (load-theme): Fix typo in error message.
15957 (custom-available-themes, custom-variable-theme-value):
15958 Use `let', not `let*'.
15960 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15962 * calc/README: Mention inclusion of musical notes.
15964 * calc/calc-units.el (calc-lu-quant): Rename from
15965 `calc-logunits-quantity'.
15966 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15967 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15968 (calc-db): Rename from `calc-dblevel'.
15969 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15970 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15971 (calc-np): Rename from `calc-nplevel'.
15972 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15973 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15974 (calc-lu-plus): Rename from `calc-logunits-add'.
15975 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15976 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15977 (calc-lu-minus): Rename from `calc-logunits-sub'.
15978 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15979 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15980 (calc-lu-times): Rename from `calc-logunits-mul'.
15981 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15982 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15983 (calc-lu-divide): Rename from `calc-logunits-div'.
15984 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15985 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15987 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15988 functions being autoloaded.
15990 * calc/calc.el (calc-lu-power-reference): Rename from
15991 `calc-logunits-power-reference'.
15992 (calc-lu-field-reference): Rename from
15993 `calc-logunits-field-reference'.
15995 * calc/calc-help.el (calc-l-prefix-help):
15996 Mention musical note functions.
15998 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * minibuffer.el (completion-all-sorted-completions):
16001 Use :completion-cycle-penalty text property if present.
16003 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16005 * allout.el (allout-yank-processing): Adjust for new rebulleting
16006 regime so bullet being yanked is used without prompting the user
16009 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16011 * startup.el (command-line): Warn the user that _emacs is deprecated.
16013 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16015 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16016 (delphi-verbose, delphi-comment-face, delphi-string-face)
16017 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16018 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16019 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16020 (delphi-new-comment-line, delphi-font-lock-defaults)
16021 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16022 Fix typos in docstrings.
16024 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16026 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16027 Invert the roles of character and string values for INSTEAD, so a
16028 string is used for the more common case of a defaulting prompt.
16030 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16032 * progmodes/ruby-mode.el (ruby-backward-sexp):
16033 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16034 * play/gamegrid.el (gamegrid-make-face):
16035 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16036 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16037 * notifications.el (notifications-notify):
16038 * net/xesam.el (xesam-search-engines):
16039 * net/quickurl.el (quickurl-list-insert):
16040 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16042 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16044 * startup.el (command-line): Update package subdirectory regexp.
16046 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16048 * allout.el (allout-abbreviate-flattened-numbering)
16049 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16051 * subr.el (read-char-choice): Only show the cursor after the prompt,
16052 not after the answer.
16054 2011-03-15 Kevin Ryde <user42@zip.com.au>
16056 * help-fns.el (variable-at-point): Skip leading quotes, if any
16059 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16061 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16064 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16066 * shell.el (shell): When called interactively, offer to change the
16067 shell file name on remote hosts.
16069 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16071 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16072 integration for LDAP parameters. The host, base, user or binddn,
16073 and secret tokens can be specified in a netrc file, for instance.
16074 This is optional because an `auth-source' parameter must be
16075 specified in the search attributes.
16077 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16079 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16081 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16083 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16084 into declaration. Remove redundant and harmful binding.
16086 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16088 * files.el (file-ownership-preserved-p): Pass `integer' as an
16089 explicit 2nd argument to `file-attributes'. If the file's owner
16090 is the Administrators group on Windows, and the current user is
16091 Administrator, consider that a match.
16093 * server.el (server-ensure-safe-dir): Consider server directory
16094 safe on MS-Windows if its owner is the Administrators group while
16095 the current Emacs user is Administrator. Use `=' to compare
16096 numerical UIDs, since they could be integers or floats.
16098 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16100 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16102 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16104 Sync with Tramp 2.2.1.
16106 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16108 * net/trampver.el: Update release number.
16110 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16112 * progmodes/compile.el (compilation--previous-directory): Fix up
16113 various nil/dead-marker mismatches (bug#8014).
16114 (compilation-directory-properties, compilation-error-properties):
16115 Don't call it at a position past the one we're about to change.
16117 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16118 Disable obsolescence warnings in the file that declares it.
16120 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16122 * allout-widgets.el (allout-widgets-tally):
16123 Initialize allout-widgets-tally as a hash table rather than nil to
16124 prevent mode-line redisplay warnings. Also, clarify the module
16125 description and fix a comment typo.
16127 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16129 * help-fns.el (describe-variable): Don't complete keywords.
16130 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16132 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16134 * emacs-lisp/package.el (package-version-join): Impose a standard
16135 string representation for pre/alpha/beta version lists.
16136 (package-unpack-single): Standardize the directory name by passing
16137 it through package-version-join.
16138 (package-strip-rcs-id): Accept any version string that does not
16139 signal an error in version-to-list.
16141 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16143 * simple.el (delete-trailing-whitespace): Return nil for the
16144 benefit of `write-file-functions'.
16146 2011-03-10 Glenn Morris <rgm@gnu.org>
16148 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16150 * vc/vc-git.el (vc-git-program): New option.
16151 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16152 (vc-git--call): Use it.
16154 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16156 * cus-edit.el (Custom-newline): If no button at point, look
16157 for a subgroup button at start-of-line. (Bug#2298)
16159 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16161 2011-03-10 Julien Danjou <julien@danjou.info>
16163 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16164 `cursor-type' is nil.
16166 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16168 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16170 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16172 * allout.el: Change so yank of distinctive-bullet items
16173 preserves the existing header prefix, rebulleting it if necessary,
16174 rather than replacing it. This is necessary for proper operation
16175 of cooperative addons like allout-widgets.
16176 (allout-make-topic-prefix, allout-rebullet-heading):
16177 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16178 value as alternate bullet to be used, instead of prompting the user
16179 for a bullet character.
16181 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16184 Do not use `tramp-file-name-port', because this returns also
16185 `tramp-default-port'.
16187 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16189 * net/rcirc.el (rcirc-handler-001): Remove useless
16190 with-rcirc-process-buffer.
16191 (rcirc-check-auth-status): Swap arguments to string-match.
16193 2011-03-09 Glenn Morris <rgm@gnu.org>
16195 * shell.el (shell-mode):
16196 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16198 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16199 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16201 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16203 * emacs-lisp/package.el (package-refresh-contents)
16204 (package-menu-execute): Use condition-case-no-debug.
16206 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16208 * simple.el (shell-command-to-string): Use `process-file'.
16210 * emacs-lisp/package.el (package-tar-file-info): Handle also
16213 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16214 Use `equal' for upload base check.
16216 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16218 * textmodes/texinfo.el (texinfo-environments):
16219 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16221 2011-03-08 Glenn Morris <rgm@gnu.org>
16223 * cus-start.el (cursor-in-non-selected-windows):
16224 Fix :set quoting oddness. (Bug#8192)
16226 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16227 in some setf expressions. (Bug#2159)
16229 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16231 * custom.el (custom-available-themes): Return themes in
16232 alphabetical order.
16234 See ChangeLog.15 for earlier changes.
16236 ;; Local Variables:
16240 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16242 This file is part of GNU Emacs.
16244 GNU Emacs is free software: you can redistribute it and/or modify
16245 it under the terms of the GNU General Public License as published by
16246 the Free Software Foundation, either version 3 of the License, or
16247 (at your option) any later version.
16249 GNU Emacs is distributed in the hope that it will be useful,
16250 but WITHOUT ANY WARRANTY; without even the implied warranty of
16251 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16252 GNU General Public License for more details.
16254 You should have received a copy of the GNU General Public License
16255 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.