1 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3 * window.el (get-lru-window, get-mru-window, get-largest-window):
4 New argument NOT-SELECTED to avoid picking the selected window.
5 (window--display-buffer-1, window--display-buffer-2): Replace by
6 new function window--display-buffer
7 (display-buffer-same-window, display-buffer-reuse-window)
8 (display-buffer-pop-up-frame, display-buffer-pop-up-window): Use
9 window--display-buffer.
10 (display-buffer-use-some-window): Remove temporary dedication
11 hack by calling get-lru-window and get-largest-window with
12 NOT-SELECTED argument non-nil. Call window--display-buffer.
14 2012-06-05 Glenn Morris <rgm@gnu.org>
16 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
17 Replace external vcdiff script.
19 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
23 2012-06-04 Chong Yidong <cyd@gnu.org>
25 * image.el (imagemagick-types-inhibit): Revert last change.
27 (imagemagick-enabled-types): Remove CIN and EPS*.
29 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
31 * emacs-lisp/cl-lib.el: Rename from cl.el.
32 * emacs-lisp/cl.el: New compatibility file.
33 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
34 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
35 to obey the "cl-" prefix.
36 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
38 2012-06-03 Glenn Morris <rgm@gnu.org>
40 * emacs-lisp/authors.el (authors-aliases): Addition.
42 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
45 2012-06-03 Stefan Merten <smerten@oekonux.de>
47 * textmodes/rst.el: Add comments.
48 (rst-transition, rst-adornment): New faces.
49 (rst-adornment-faces-alist): Make default safe to reevaluate.
51 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
52 Improve customization tags.
53 (rst-define-level-faces): Clarify meaning.
55 2012-06-03 Chong Yidong <cyd@gnu.org>
57 * progmodes/compile.el (compilation-mode-line-fail)
58 (compilation-mode-line-run, compilation-mode-line-exit):
60 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
62 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
64 * progmodes/which-func.el (which-func-update-ediff-windows):
65 New function. Use it in ediff-select-hook (Bug#11478).
67 2012-06-03 Chong Yidong <cyd@gnu.org>
69 * bindings.el: Remove explicit help text from format-mode-line.
70 It is now supplied by mode-line-default-help-echo.
71 (mode-line-front-space, mode-line-end-spaces)
72 (mode-line-misc-info): New variables.
73 (mode-line-modes, mode-line-position): Move the default value to
74 the variable definition.
75 (mode-line-default-help-echo): New defcustom.
76 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
77 (mode-line-modified-help-echo): New functions.
78 (mode-line-mule-info, mode-line-modified): Use them.
79 (mode-line-eol-desc, propertized-buffer-identification):
80 Consistency fixes for help text.
81 (mode-line-coding-system-map): Allow using mouse-3 to invoke
82 set-buffer-file-coding-system (Bug#289).
83 (mode-line-mule-info-help-echo): Update help text.
85 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
87 * simple.el (execute-extended-command): Set real-this-command
90 2012-06-02 Chong Yidong <cyd@gnu.org>
92 Remove incorrect uses of "modeline" in comments, docstrings, and
93 function/variable names (Bug#10329).
95 * cus-edit.el (mode-line):
96 * dframe.el (dframe-mouse-hscroll):
97 * emacs-lisp/re-builder.el:
98 * emacs-lisp/easy-mmode.el (define-minor-mode):
99 * frame.el (set-frame-name):
100 * help.el (lookup-minor-mode-from-indicator):
101 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
102 * progmodes/cc-cmds.el (c-toggle-auto-newline)
103 (c-toggle-hungry-state):
104 * progmodes/antlr-mode.el (antlr-language-alist):
105 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
106 * progmodes/vhdl-mode.el (vhdl-mode):
107 * progmodes/which-func.el (which-func, which-func-cleanup-function):
108 * term/ns-win.el (ns-face-at-pos):
109 * term/sup-mouse.el (sup-mouse-report):
110 * textmodes/flyspell.el (flyspell-mode-line-string):
111 * textmodes/ispell.el (ispell-highlight-face):
112 * textmodes/reftex-global.el:
113 * vc/vc-arch.el (vc-arch-mode-line-string):
114 * vc/vc-cvs.el (vc-cvs-mode-line-string):
115 * vc/vc-git.el (vc-git-mode-line-string):
116 * vc/vc-hooks.el (vc-display-status)
117 (vc-default-mode-line-string):
118 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
120 * ansi-color.el (ansi-color-faces-vector): Change default faces.
122 * dired.el (dired-sort-set-mode-line): Rename from
123 dired-sort-set-modeline. All callers changed.
125 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
126 eshell-status-in-modeline.
128 * foldout.el (foldout-mode-line-string): Rename from
129 foldout-modeline-string. All callers changed.
130 (foldout-update-mode-line): Rename from foldout-update-modeline.
132 * subr.el (redraw-modeline): Make into obsolete alias.
134 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
135 timeclock-modeline-display. Make old name an alias.
136 (timeclock-update-mode-line): Likewise. All callers changed.
137 (timeclock-mode-line-display): No need to check before using
139 (timeclock-relative, timeclock-day-over-hook)
140 (timeclock-use-elapsed, timeclock-mode-string)
141 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
143 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
144 crisp-mode-modeline-string.
146 * play/solitaire.el (solitaire-build-mode-line): Rename from
147 solitaire-build-modeline. All callers changed.
149 * play/zone.el (zone-hiding-mode-line): Rename from
150 zone-hiding-modeline. All callers changed.
151 (zone): Remove unusued `modeline-hidden-level' property.
153 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
154 xscheme-modeline-initialize. All callers changed.
156 * strokes.el (strokes-lighter): Rename from
157 strokes-modeline-string.
159 * textmodes/sgml-mode.el (html-face-tag-alist)
160 (html-tag-face-alist): Use mode-line face instead of obsolete
163 2012-06-02 Stefan Merten <smerten@oekonux.de>
165 * textmodes/rst.el: Always require `cl'.
166 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
168 2012-06-02 Chong Yidong <cyd@gnu.org>
170 * image.el (imagemagick-enabled-types): Rename from
171 imagemagick-types-enable. Add many more types.
172 (imagemagick-types-inhibit): Change default to nil.
173 (imagemagick-filter-types): Caller changed.
175 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
177 * emacs-lisp/cl-macs.el: Use backquotes.
178 (cl-transform-function-property): Use eval-and-compile rather than
180 (defstruct): Use declare-function instead of with-no-warnings.
182 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
183 (byte-compile-output-docform): Re-add the print-circle bindings.
184 (byte-compile-fix-header): Use #$ just because it's shorter.
185 (byte-compile-output-file-form): Remove defun/defmacro.
187 2012-06-01 Martin Rudalics <rudalics@gmx.at>
189 * simple.el (choose-completion): Remove now obsolete binding for
192 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
194 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
195 in order to avoid "Stack overflow in regexp matcher".
197 2012-05-31 Glenn Morris <rgm@gnu.org>
199 * image.el: For clarity, call imagemagick-register-types at
200 top-level, rather than relying on a custom :initialize.
201 (imagemagick-types-enable): New option. (Bug#11557)
202 (imagemagick-filter-types): New function. (Bug#7406)
203 (imagemagick-register-types): Use imagemagick-filter-types.
204 If disabling support, remove elements altogether rather
205 than using an impossible regexp.
206 (imagemagick-types-inhibit): Give it the default init function.
208 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
210 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
211 Handle arbitrary file name lengths (Bug#11585).
213 2012-05-31 Martin Rudalics <rudalics@gmx.at>
215 * desktop.el (desktop-read): Clear previous and next buffers for
216 all windows and bury *Messages* buffer (bug#11556).
218 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
220 Add `declare' for `defun'. Align `defmacro's with it.
221 * emacs-lisp/easy-mmode.el (define-minor-mode)
222 (define-globalized-minor-mode): Don't autoload the var definitions.
223 * emacs-lisp/byte-run.el: Use lexical-binding.
224 (defun-declarations-alist, macro-declarations-alist): New vars.
225 (defmacro, defun): Use them.
226 (make-obsolete, define-obsolete-function-alias)
227 (make-obsolete-variable, define-obsolete-variable-alias):
229 (macro-declaration-function): Mark obsolete.
230 * emacs-lisp/autoload.el: Use lexical-binding.
231 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
233 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
235 * textmodes/ispell.el (ispell-with-no-warnings):
237 (ispell-kill-ispell, ispell-change-dictionary):
238 Use `called-interactively-p' for Emacs instead of obsolete
241 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
243 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
244 (macro-declaration-function): Move var from C code.
245 (macro-declaration-function): Define function with defalias.
246 * emacs-lisp/macroexp.el (macroexpand-all-1):
247 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
248 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
249 defun/defmacro any more.
250 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
251 Provide fallback for unknown arglist.
252 (byte-compile-arglist-warn): Change calling convention.
253 (byte-compile-output-file-form): Move print-vars binding.
254 (byte-compile-output-docform): Simplify accordingly.
255 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
256 (byte-compile-defmacro-declaration): Remove.
257 (byte-compile-file-form-defmumble): Generalize to defalias.
258 (byte-compile-output-as-comment): Return byte-positions.
259 Simplify callers accordingly.
260 (byte-compile-lambda): Use `assert'.
261 (byte-compile-defun, byte-compile-defmacro): Remove.
262 (byte-compile-file-form-defalias):
263 Use byte-compile-file-form-defmumble.
264 (byte-compile-defalias-warn): Remove.
266 2012-05-29 Stefan Merten <smerten@oekonux.de>
268 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
269 possible. Fix authors. Improve comments. Improve loading of `cl'.
271 (rst-mode-abbrev-table): Merge definition.
272 (rst-mode): Make sure `font-lock-defaults' is buffer local.
273 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
275 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
277 * calendar/icalendar.el
278 (icalendar-export-region): Export UID properly.
280 2012-05-29 Leo <sdl.web@gmail.com>
281 * calendar/icalendar.el (icalendar-import-format):
282 Add `icalendar-import-format-uid' (Bug#11525).
283 (icalendar-import-format-uid): New.
284 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
287 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
289 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
290 different alternative patterns.
291 (pcase-codegen): Be more careful to preserve identity.
292 (pcase--u1): Don't forget to mark vars as used.
294 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
295 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
296 (byte-compile-from-buffer): ...rather than here.
298 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
299 functions from byte-compile-function-environment.
301 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
303 * window.el (window-deletable-p): Avoid deleting the root window
304 of a frame with an active minibuffer.
306 2012-05-29 Martin Rudalics <rudalics@gmx.at>
308 * simple.el (choose-completion): Use quit-window (Bug#11567).
310 2012-05-29 Chong Yidong <cyd@gnu.org>
312 * whitespace.el (whitespace-cleanup): Fix usage of
313 whitespace-empty-at-bob-regexp (Bug#11492).
315 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
317 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
320 2012-05-29 Juri Linkov <juri@jurta.org>
322 * isearch.el (isearch-mode-map): Bind `M-s _' to
323 `isearch-toggle-symbol'. Bind `M-s c' to
324 `isearch-toggle-case-fold'.
325 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
326 (isearch-forward): Add `M-s _' to the docstring.
327 (isearch-forward-symbol, isearch-toggle-case-fold)
328 (isearch-symbol-regexp): New functions. (Bug#11381)
330 2012-05-29 Juri Linkov <juri@jurta.org>
332 * isearch.el (isearch-word): Add docstring. (Bug#11381)
333 (isearch-occur, isearch-search-and-update): If `isearch-word' is
334 a function, call it to get the regexp.
335 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
336 property `isearch-message-prefix' instead of the string "word ".
337 (isearch-search-fun-default): For the case of `isearch-word',
338 return a lambda that calls re-search-forward/re-search-backward
339 with a regexp returned by `word-search-regexp' or by the function
342 2012-05-29 Juri Linkov <juri@jurta.org>
344 * isearch.el (isearch-search-fun-default): New function.
345 (isearch-search-fun): Move default part to the new function
346 `isearch-search-fun-default'.
347 (isearch-search-fun-function): Set the default value to
348 `isearch-search-fun-default'. (Bug#11381)
350 * comint.el (comint-history-isearch-end):
351 Use `isearch-search-fun-default'.
352 (comint-history-isearch-search): Use `isearch-search-fun-default'
353 and remove spacial case for `isearch-word'.
354 (comint-history-isearch-wrap): Remove spacial case for
357 * hexl.el (hexl-isearch-search-function):
358 Use `isearch-search-fun-default'.
360 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
361 Use `word-search-regexp' for `isearch-word'.
363 * misearch.el (multi-isearch-search-fun):
364 Use `isearch-search-fun-default'.
366 * simple.el (minibuffer-history-isearch-search):
367 Use `isearch-search-fun-default' and remove spacial case for
369 (minibuffer-history-isearch-wrap): Remove spacial case for
372 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
373 Remove spacial case for `isearch-word'.
374 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
376 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
378 Decrease XEmacs incompatibilities.
379 * textmodes/flyspell.el (flyspell-check-pre-word-p):
381 (flyspell-delete-region-overlays): Use alternative definition for
383 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
384 (flyspell-word): Use `process-kill-without-query' if XEmacs.
385 (flyspell-mode-on): Use `interactive-p' if XEmacs.
386 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
387 `define-obsolete-face-alias' under XEmacs, but old method.
389 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
390 `with-no-warnings' definition or Emacs alias.
391 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
392 (ispell-word): Do not use `region-p' if XEmacs.
394 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
396 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
397 Check for `ispell-dictionary-base-alist' instead of full
398 `ispell-dictionary-alist'.
399 (ispell-init-process): Show spellchecker when starting new Ispell
402 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
404 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
405 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
407 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
409 * version.el (motif-version-string, gtk-version-string)
410 (ns-version-string): Declare.
412 2012-05-27 Juri Linkov <juri@jurta.org>
414 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
415 after the `eval-defun-1' specialcaseing
416 like in `edebug-eval-defun' (bug#10181).
418 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
419 like in `eval-defun-1'.
421 2012-05-27 Eli Zaretskii <eliz@gnu.org>
423 * mail/sendmail.el (mail-yank-region):
424 Recognize rmail-yank-current-message in addition to insert-buffer.
425 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
426 a *mail* buffer created through rmail-start-mail with sendmail as
429 2012-05-27 Chong Yidong <cyd@gnu.org>
431 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
432 Default to 256 (Bug#11267).
434 * help.el (describe-mode): Doc fix.
436 2012-05-26 Glenn Morris <rgm@gnu.org>
438 * w32-fns.el (w32-init-info): Remove.
439 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
441 * info.el (info-initialize): For self-contained NS builds, put the
442 included info/ directory at the front. (Bug#2791)
444 * paths.el (Info-default-directory-list): Make it a defcustom,
445 mainly so that we can use custom-initialize-delay.
447 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
449 * subr.el (buffer-has-markers-at): Mark obsolete.
451 * subr.el (lambda): Use declare.
453 * emacs-lisp/lisp-mode.el (lambda):
454 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
456 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
458 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
460 2012-05-26 Glenn Morris <rgm@gnu.org>
462 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
464 2012-05-25 Glenn Morris <rgm@gnu.org>
466 * paths.el: Remove no-byte-compile.
467 * loadup.el: No need to load paths.el uncompiled.
469 * image.el (imagemagick-types-inhibit): Doc fix.
471 * version.el: Remove no-byte-compile and associated formatting.
472 * loadup.el: No need to load version.el uncompiled. AFAICS, this
473 is ancient code from when there was an "inc-vers.el".
475 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
477 * progmodes/gdb-mi.el: Minor style changes.
478 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
479 Turn into minor modes.
480 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
481 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
482 (gdb-shell): Remove unneeded let-binding.
483 (gdb-get-many-fields): Eliminate O(n²) behavior.
485 2012-05-25 Eli Zaretskii <eliz@gnu.org>
487 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
488 platforms that don't link in fontset.c.
490 2012-05-25 Juri Linkov <juri@jurta.org>
492 Use the same diff color scheme as in modern VCSes (bug#10181).
494 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
495 to avoid confusion with `diff-added' that now uses green colors.
496 (diff-removed): Use shades of red.
497 (diff-added): Use shades of green.
498 (diff-changed): Leave just the yellow color.
499 (diff-use-changed-face): New variable.
500 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
501 how to highlight context diff changes.
502 (diff-refine-change): Use shades of yellow.
503 (diff-refine-removed): New face that uses shades of red.
504 (diff-refine-added): New face that uses shades of green.
505 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
506 `diff-refine-removed' in the call to `smerge-refine-subst'
507 depending on the value of `diff-use-changed-face'.
509 * vc/smerge-mode.el (smerge-mine): Use shades of red.
510 (smerge-other): Use shades of green.
511 (smerge-base): Use shades of yellow.
512 (smerge-refined-change): Empty face.
513 (smerge-refined-removed): New face that uses shades of red.
514 (smerge-refined-added): New face that uses shades of green.
515 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
516 args `props-r' and `props-a', and use them. Doc fix.
517 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
518 on its value use different faces `smerge-refined-change',
519 `smerge-refined-removed', `smerge-refined-added' in the call to
520 `smerge-refine-subst'.
522 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
523 Add face condition `min-colors 88' with shades of red.
524 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
525 `min-colors 88' with shades of green.
526 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
527 `min-colors 88' with shades of yellow.
529 2012-05-24 Glenn Morris <rgm@gnu.org>
531 * paths.el (prune-directory-list, remote-shell-program): Move to...
532 * files.el (prune-directory-list, remote-shell-program): ...here.
533 For the latter, delay initialization, prefer ssh, just search PATH.
535 * paths.el (term-file-prefix): Move to faces.el (the only user).
536 * faces.el (term-file-prefix): Move here, make it a defcustom.
538 * paths.el (news-directory, news-path, news-inews-program):
539 Move to gnus/nnspool.el.
541 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
543 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
544 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
545 Make the latter a defcustom, with a delayed initialization.
547 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
548 These were deleted from Gnus itself late 2010.
550 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
552 * progmodes/which-func.el (which-func-ff-hook):
553 Check against user-error, not error.
555 * emacs-lisp/edebug.el (top): Do not load or set up loading of
556 cl-specs.el, which no longer exists.
558 2012-05-22 Glenn Morris <rgm@gnu.org>
560 * info.el (info-emacs-bug): New command.
561 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
562 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
564 2012-05-21 Glenn Morris <rgm@gnu.org>
566 * makefile.w32-in (update-subdirs-SH):
567 * Makefile.in (update-subdirs): Update for moved update-subdirs.
569 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
571 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
574 Simplify Maven regexp, and make sure the file can't start with a space
577 2012-05-21 Glenn Morris <rgm@gnu.org>
579 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
580 Scrap superfluous subshells.
582 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
584 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
585 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
587 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
589 * calc/calc.el (calc-ensure-consistent-units): New variable.
591 * calc/calc-units.el (math-consistent-units-p)
592 (math-check-unit-consistency): New functions.
593 (calc-quick-units, calc-convert-units):
594 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
596 (calc-extract-units): Fix typo.
598 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
600 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
602 * textmodes/flyspell.el: Commenting style, plus code simplifications.
603 (flyspell-default-deplacement-commands): Don't spell check after
604 repeated window/frame switches (e.g. triggered by mouse-movement).
605 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
606 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
607 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
608 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
610 (flyspell-get-casechars, flyspell-get-not-casechars):
611 Simplify; Don't bother removing a ] just to add it back.
612 * textmodes/ispell.el (ispell-program-name): Use executable-find.
614 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
616 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
618 (math-function-table): Add support for more C functions.
620 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
622 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
623 (flyspell-debug-signal-word-checked): Protect delay handling for
624 otherchars against empty otherchars.
626 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
628 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
629 their respective macro declarations.
630 * skeleton.el (define-skeleton):
631 * progmodes/compile.el (define-compilation-mode):
632 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
633 (define-ibuffer-filter):
634 * emacs-lisp/generic.el (define-generic-mode):
635 * emacs-lisp/easy-mmode.el (define-minor-mode)
636 (define-globalized-minor-mode):
637 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
638 * emacs-lisp/byte-run.el (defsubst):
639 * custom.el (deftheme): Add doc-string metadata.
641 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
643 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
645 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
647 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
649 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
650 * emacs-lisp/cl-macs.el: Idem.
651 * emacs-lisp/cl-specs.el: Remove.
653 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
655 Minor renaming of internal CL functions and variables.
656 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
657 (cl--position): Rename from cl-position.
658 (cl--delete-duplicates): Rename from cl-delete-duplicates.
659 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
660 (cl--random-state): Rename from *random-state*.
662 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
664 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
665 parens around the arg list (bug#11499).
667 2012-05-17 Juri Linkov <juri@jurta.org>
669 * isearch.el (word-search-regexp, word-search-backward)
670 (word-search-forward, word-search-backward-lax)
671 (word-search-forward-lax): Move functions from search.c
672 (bug#10145, bug#11381).
674 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
676 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
677 (flyspell-debug-signal-word-checked): Delay for otherchars as for
678 normal word components.
680 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
682 * minibuffer.el (completion--sifn-requote): Fix last change.
683 (minibuffer-local-must-match-filename-map):
684 Move define-obsolete-variable-alias before its var.
686 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
688 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
690 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
692 (completion--string-equal-p): New function.
693 (completion--twq-all): Use it to get better assertion failure data.
695 Only handle ".." and '..' quoting in shell-mode (bug#11466).
696 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
697 (shell--requote-argument): New functions.
698 (shell-completion-vars): Use them.
699 (shell--parse-pcomplete-arguments): Rename from
700 shell-parse-pcomplete-arguments.
701 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
702 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
703 Obey comint-file-name-quote-list.
705 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
706 (smie-indent-keyword): Use it.
708 2012-05-14 Stefan Merten <smerten@oekonux.de>
710 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
712 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
714 * net/rlogin.el (rlogin-mode-map): Fix last change.
716 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
718 * mail/smtpmail.el (smtpmail-send-command): Send the command and
719 the following \r\n using a single `process-send-string', since the
720 Lotus SMTP server refuses to accept any commands if they are sent
721 with two `process-send-string's (Bug#11444).
723 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
725 * shell.el (shell-parse-pcomplete-arguments):
726 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
728 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
730 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
731 (image-transform-scale, image-transform-right-angle-fudge): New vars.
732 (image-transform-width, image-transform-fit-width): New functions.
733 (image-transform-properties): Use them.
734 (image-transform-check-size): New function.
735 (image-toggle-display-image): Use it (for testing).
736 (image-transform-set-rotation): Reduce angle mod 360.
737 Delete obsolete comment.
739 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
741 * image-mode.el: Fix scaling (bug#11399).
742 (image-transform-resize): Doc fix.
743 (image-transform-properties): Default scale is 1 and height should
746 2012-05-13 Johan Bockgård <bojohan@gnu.org>
748 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
749 than hard-coding `car', to fix misbehavior when moving forward.
751 2012-05-13 Chong Yidong <cyd@gnu.org>
753 * emacs-lisp/tabulated-list.el (tabulated-list-format)
754 (tabulated-list-entries, tabulated-list-padding)
755 (tabulated-list-sort-key): Make permanent-local.
757 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
758 (electric-buffer-list): Put electric buffer menu
759 command descriptions in this docstring, instead of the docstring
760 of electric-buffer-menu-mode. Code cleanups.
761 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
762 Electric-buffer-menu-mode.
763 (electric-buffer-update-highlight): Minor code cleanup.
765 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
767 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
770 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
772 Move define-obsolete-variable-alias before the var's definition.
773 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
774 * tooltip.el (tooltip-hook):
775 * textmodes/reftex-toc.el (reftex-toc-map):
776 * textmodes/reftex-sel.el (reftex-select-label-map)
777 (reftex-select-bib-map):
778 * textmodes/reftex-index.el (reftex-index-map)
779 (reftex-index-phrases-map):
780 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
781 * progmodes/meta-mode.el (meta-mode-map):
782 * novice.el (disabled-command-hook):
783 * loadhist.el (unload-hook-features-list):
784 * frame.el (blink-cursor):
785 * files.el (find-file-not-found-hooks, write-file-hooks)
786 (write-contents-hooks):
787 * emulation/tpu-edt.el (GOLD-map):
788 * emacs-lock.el (emacs-lock-from-exiting):
789 * emacs-lisp/generic.el (generic-font-lock-defaults):
790 * emacs-lisp/chart.el (chart-map):
791 * dos-fns.el (register-name-alist):
792 * dired-x.el (dired-omit-files-p):
793 * desktop.el (desktop-enable):
794 * cus-edit.el (custom-mode-hook):
795 * buff-menu.el (buffer-menu-mode-hook):
796 * bookmark.el (bookmark-read-annotation-text-func)
797 (bookmark-exit-hooks):
798 * allout.el (allout-mode-deactivate-hook)
799 (allout-exposure-change-hook, allout-structure-added-hook)
800 (allout-structure-deleted-hook, allout-structure-shifted-hook):
801 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
802 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
803 comes before the corresponding variable's definition.
805 2012-05-12 Chong Yidong <cyd@gnu.org>
807 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
808 (Buffer-menu-mouse-select): Restore function (Bug#11459).
809 (Buffer-menu-mode-map): Bind it.
810 (Buffer-menu--pretty-name): Add a mouse-face property.
812 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
814 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
815 (prolog-upper-case-string, prolog-lower-case-string)
816 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
817 (prolog-use-smie, prolog-smie-grammar): New vars.
818 (prolog-smie-forward-token, prolog-smie-backward-token)
819 (prolog-smie-rules): New funs.
820 (prolog-comment-indent): Remove.
821 (prolog-mode-variables): Use default comment indentation instead.
823 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
824 (prolog-mode): Don't call them any more.
825 (prolog-electric-colon, prolog-electric-dash)
826 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
828 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
830 * minibuffer.el (completion--twq-all): Again, allow case differences.
832 * term.el: Move keymap initialization code to be more idiomatic.
833 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
834 (term-terminal-menu): Move initialization into declaration.
835 (term-escape-char): Let the user set it in her .emacs.
837 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
838 Provide SMIE-based indentation (not enabled by default yet).
839 (sh-mode-map): Don't bind electric keys.
840 Use electric-pair-mode instead of skeleton-pair.
841 (sh-assignment-regexp): Fit within 80 columns.
842 (sh-indent-supported): Specify actual shell name instead of boolean.
843 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
844 (sh-maybe-here-document): Use it. Make obsolete.
845 (sh-electric-here-document-mode) New minor mode.
846 (sh-mode): Use it. Don't set sh-indent-supported-here here.
847 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
848 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
849 (sh-smie-rc-grammar, sh-use-smie): New vars.
850 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
851 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
852 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
853 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
854 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
855 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
856 (sh-set-shell): Use smie-setup if requested.
858 * term.el (term-set-escape-char): Properly set term-escape-char.
859 See http://stackoverflow.com/questions/10524656.
861 2012-05-10 Chong Yidong <cyd@gnu.org>
863 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
864 Use url-generic-parse-url, and handle host names and Windows
866 (ffap-url-unwrap-remote): Use url-generic-parse-url.
867 (ffap-url-unwrap-remote): Accept list values, specifying a list of
868 URL schemes to work on.
869 (ffap--toggle-read-only): New function.
870 (ffap-read-only, ffap-read-only-other-window)
871 (ffap-read-only-other-frame): Use it.
872 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
873 necessary for ffap-url-unwrap-remote.
875 2012-05-10 Dave Abrahams <dave@boostpro.com>
877 * cus-start.el (create-lockfiles): Add it.
879 2012-05-09 Chong Yidong <cyd@gnu.org>
881 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
882 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
884 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
886 * shell.el (shell-completion-vars): Fix last change (bug#11348).
888 2012-05-09 Chong Yidong <cyd@gnu.org>
890 * ansi-color.el (ansi-color-process-output): Check for validity of
891 comint-last-output-start before using it. This avoids a bad
892 interaction with gdb-mi's input/output buffer.
894 2012-05-09 Glenn Morris <rgm@gnu.org>
896 * files.el (dir-locals-read-from-file):
897 Mention dir-locals in any error message.
899 2012-05-09 Chong Yidong <cyd@gnu.org>
901 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
904 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
905 variables into description.
907 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
909 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
910 shell-delimiter-argument-list (bug#11348).
911 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
913 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
915 * textmodes/rst.el: Silence byte-compiler warnings.
916 (rst-re-alist, rst-reset-section-caches): Move around.
917 (rst-re): Use `characterp', not `char-valid-p'.
918 (font-lock-beg, font-lock-end): Declare.
920 * progmodes/idlw-shell.el (specs): Remove reference to deleted
921 variable `idlwave-shell-activate-alt-keybindings' and simplify.
923 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
925 2012-05-08 Glenn Morris <rgm@gnu.org>
927 * files.el (auto-mode-alist): Treat ".make" like ".mk".
929 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
931 * vc/log-edit.el: Add GNU coding standards highlighting.
932 (log-edit-font-lock-gnu-style)
933 (log-edit-font-lock-gnu-keywords): New vars.
934 (log-edit-font-lock-keywords): New fun.
935 (log-edit-mode): Don't fold case in font-lock.
936 (log-edit-font-lock-keywords): Do not assume case-folding.
938 * imenu.el: Misc cleanup. Make docstrings out of comments.
940 (imenu--index-alist, imenu--last-menubar-index-alist)
941 (imenu-menubar-modified-tick): Use defvar-local.
942 (imenu--split-menu): Remove unused var.
943 (imenu--cleanup-seen): Declare as global.
944 (imenu--cleanup): Use dolist.
946 * subr.el (defvar-local): Add debug spec and doc-string position.
948 2012-05-08 Glenn Morris <rgm@gnu.org>
950 * lisp/language/burmese.el, language/cham.el, language/czech.el:
951 * language/english.el, language/georgian.el, language/greek.el:
952 * language/japanese.el, language/khmer.el, language/korean.el:
953 * language/lao.el, language/misc-lang.el, language/romanian.el:
954 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
955 * language/thai.el, language/utf-8-lang.el:
956 Remove no-byte-compile setting.
958 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
960 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
962 * progmodes/make-mode.el (makefile-browse):
963 Remove unnecessary interactive. (Bug#11324)
965 2012-05-07 Glenn Morris <rgm@gnu.org>
967 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
969 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
971 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
973 * loadup.el: Preload newcomment.el.
974 * newcomment.el: Move autoload-only code to toplevel.
976 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
977 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
978 Handle new :right-align column property.
979 (tabulated-list-print-col): Idem, plus use `display' text-property to
980 try and preserve alignment for variable pitch fonts.
982 2012-05-07 Chong Yidong <cyd@gnu.org>
984 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
985 (tabulated-list-use-header-line): New var.
986 (tabulated-list-init-header): Use it.
987 (tabulated-list-print-fake-header): New function.
988 (tabulated-list-print): Use it.
989 (tabulated-list-sort-button-map): Add non-header-line commands.
990 (tabulated-list-init-header): Add column name property to basic
992 (tabulated-list-col-sort): Handle non-header-line button case.
993 (tabulated-list--sort-by-column-name): Fix a corner case.
995 * buff-menu.el (list-buffers--refresh):
996 Handle Buffer-menu-use-header-line.
998 2012-05-06 Chong Yidong <cyd@gnu.org>
1000 * buff-menu.el: Convert to Tabulated List mode.
1001 (Buffer-menu-buffer+size-width): Make obsolete.
1002 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1003 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1004 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1005 documentation into docstring of buffer-menu.
1006 (Buffer-menu-toggle-files-only): Add an informative message.
1007 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1008 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1009 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1010 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1011 (Buffer-menu-execute, Buffer-menu-select)
1012 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1013 (Buffer-menu-bury): Use Tabulated List machinery.
1014 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1015 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1017 (list-buffers--refresh): New function.
1018 (list-buffers-noselect): Use it.
1019 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1020 (Buffer-menu--pretty-file-name): New helper functions.
1022 * loadup.el: Preload tabulated-list.
1024 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1025 tabulated-list-sort-column.
1026 (tabulated-list-init-header): Add the initial aligning space even
1027 if tabulated-list-padding is zero.
1029 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1031 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1032 whose cdr is not a cons cell correctly (bug#11038).
1034 2012-05-06 Chong Yidong <cyd@gnu.org>
1036 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1037 Accept additional plist in column descriptors.
1038 (tabulated-list-init-header): Obey it.
1039 (tabulated-list-get-entry): New function.
1040 (tabulated-list-put-tag): Use it. Use string-width instead of
1042 (tabulated-list--column-number): New function.
1043 (tabulated-list-print): Use it.
1044 (tabulated-list-print-col): New function.
1045 Set `tabulated-list-column-name' property on each column's text.
1046 (tabulated-list-print-entry): Use it.
1047 (tabulated-list-delete-entry, tabulated-list-set-col):
1049 (tabulated-list-sort-column): New command (Bug#11337).
1051 * buff-menu.el (list-buffers): Move C-x C-b binding from
1052 buff-menu.el to bindings.el.
1054 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1055 :advertised-binding feature.
1057 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1059 * progmodes/compile.el (compilation-internal-error-properties):
1060 Calculate start position correctly when end-col is set but
1061 end-line is not (Bug#11382).
1063 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1065 * man.el (Man-unindent): Use text-property-default-nonsticky to
1066 prevent untabify from inheriting face properties (Bug#11408).
1068 2012-05-05 Stefan Merten <smerten@oekonux.de>
1070 * textmodes/rst.el: Major merge with upstream development up to
1071 Docutils SVN r7399 / rst.el V1.2.1.
1073 Clarify maintainership and authors.
1075 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1076 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1077 (rst-official-version, rst-official-cvs-rev, rst-version)
1078 (rst-package-emacs-version-alist): New functions and variables
1079 for version information.
1081 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1082 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1083 (rst-mode-syntax-table, rst-mode): New and corrected functions
1084 and variables representing reStructuredText features.
1086 (rst-re): New function for reStructuredText regexes. Use in
1089 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1090 (rst-mode-map): Rebind keys.
1092 (rst-mode-lazy, rst-font-lock-keywords)
1093 (rst-font-lock-extend-region)
1094 (rst-font-lock-extend-region-internal)
1095 (rst-font-lock-extend-region-extend)
1096 (rst-font-lock-find-unindented-line-limit)
1097 (rst-font-lock-find-unindented-line-match)
1098 (rst-adornment-level, rst-font-lock-adornment-level)
1099 (rst-font-lock-adornment-match)
1100 (rst-font-lock-handle-adornment-pre-match-form)
1101 (rst-font-lock-handle-adornment-matcher): Major revision of
1102 font-locking. Integrate with other code. Use `jit-lock-mode'.
1104 (rst-preferred-adornments, rst-adjust-hook)
1105 (rst-new-adornment-down, rst-preferred-bullets)
1106 (rst-preferred-bullets, rst-indent, rst-indent-width)
1107 (rst-indent-field, rst-indent-literal-normal)
1108 (rst-indent-literal-minimized, rst-indent-comment): Change,
1109 extend and improve customization.
1111 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1112 (rst-normalize-cursor-position, rst-get-decoration)
1113 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1114 (rst-rstrip, rst-toc-insert-find-delete-contents)
1115 (rst-shift-fill-region, rst-compute-bullet-tabs)
1116 (rst-debug-print-tabs, rst-debug-mark-found)
1117 (rst-shift-region-guts, rst-shift-region-right)
1118 (rst-shift-region-left, rst-use-char-classes)
1119 (rst-font-lock-keywords-function)
1120 (rst-font-lock-indentation-point)
1121 (rst-font-lock-find-unindented-line-begin)
1122 (rst-font-lock-find-unindented-line-end)
1123 (rst-font-lock-find-unindented-line)
1124 (rst-font-lock-adornment-point, rst-font-lock-level)
1125 (rst-adornment-level-alist): Remove functions and variables.
1127 (rst-compare-adornments, rst-get-adornment-match)
1128 (rst-suggest-new-adornment, rst-get-adornments-around)
1129 (rst-adornment-complete-p, rst-get-next-adornment)
1130 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1131 (rst-straighten-adornments): Standardize function names to
1132 use "adornment" instead of "decoration". Correct callers.
1133 Similar standardizing in many places.
1135 (rst-update-section, rst-adjust, rst-promote-region)
1136 (rst-enumerate-region, rst-bullet-list-region)
1137 (rst-repeat-last-character): Correct use of `interactive'.
1139 (rst-classify-adornment, rst-find-all-adornments)
1140 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1141 (rst-find-leftmost-column, rst-repeat-last-character):
1144 (rst-find-title-line, rst-reset-section-caches)
1145 (rst-get-adornments-around, rst-adjust-adornment-work)
1146 (rst-arabic-to-roman, rst-roman-to-arabic)
1147 (rst-insert-list-pos, rst-insert-list-new-item)
1148 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1151 (rst-all-sections, rst-section-hierarchy)
1152 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1155 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1156 configuration instead of only buffer. Change where necessary.
1158 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1159 (rst-shift-region, rst-adaptive-fill): New functions for
1160 indentation and filling.
1162 (rst-comment-line-break, rst-comment-indent)
1163 (rst-comment-insert-comment, rst-comment-region)
1164 (rst-uncomment-region): New functions for handling comments.
1166 (rst-compile): Quote shell arguments.
1168 (rst-compile-pdf-preview, rst-compile-slides-preview):
1169 Delete temporary files after use.
1171 2012-05-05 Glenn Morris <rgm@gnu.org>
1173 * calendar/cal-html.el: Optionally include holidays in the output.
1174 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1175 (cal-html-holidays): New option.
1176 (cal-html-css-default): Add holiday entry.
1177 (holiday-in-range): Autoload it.
1178 (cal-html-htmlify-entry): Add optional class argument.
1179 (cal-html-htmlify-list): Add optional holidays argument.
1180 (cal-html-insert-agenda-days): Include holidays in the output.
1181 (cal-html-one-month): Maybe include holidays.
1183 * calendar/holidays.el (holiday-in-range):
1184 Move here from cal-tex-list-holidays.
1185 * calendar/cal-tex.el (cal-tex-list-holidays):
1186 Make it an obsolete alias for holiday-in-range. Update all callers.
1188 2012-05-05 Chong Yidong <cyd@gnu.org>
1190 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1193 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1195 * files.el (file-auto-mode-skip): New var.
1196 (set-auto-mode-1): Use it.
1198 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * repeat.el: Use lexical-binding.
1201 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1202 (repeat-undo-count): Remove.
1204 * progmodes/octave-mod.el (octave-abbrev-start):
1205 * progmodes/f90.el (f90-abbrev-start):
1206 * face-remap.el (text-scale-adjust):
1207 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1209 * emacs-lisp/pcase.el (pcase--let*): New function.
1210 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1212 (pcase--split-pred): Be more clever about ruling out overlap between
1213 a predicate and some constant pattern.
1214 (pcase--q1): Use `null' instead of (eq foo nil).
1216 * subr.el (setq-local, defvar-local): New macros.
1217 (kbd): Redefine as an alias.
1218 (with-selected-window): Leave unrelated frames alone.
1219 (set-temporary-overlay-map): New function.
1221 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * subr.el (user-error): New function.
1224 * window.el (switch-to-buffer):
1225 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1226 (smerge-match-conflict):
1227 * simple.el (previous-matching-history-element)
1228 (next-matching-history-element, goto-history-element, undo-more)
1230 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1231 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1232 (next-file, tags-loop-scan, list-tags, complete-tag):
1233 * progmodes/compile.el (compilation-loop):
1234 * mouse.el (mouse-minibuffer-check):
1235 * man.el (Man-bgproc-sentinel, Man-goto-page):
1236 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1237 (Info-history-forward, Info-follow-reference, Info-menu)
1238 (Info-extract-menu-item, Info-extract-menu-counting)
1239 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1240 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1241 (Info-next-reference, Info-prev-reference, Info-index)
1242 (Info-index-next, Info-follow-nearest-node)
1243 (Info-copy-current-node-name):
1244 * imenu.el (imenu--make-index-alist)
1245 (imenu-default-create-index-function, imenu-add-to-menubar):
1246 * files.el (basic-save-buffer, recover-file):
1247 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1248 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1249 (checkdoc-message-text, checkdoc-defun):
1250 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1251 * cus-edit.el (customize-changed-options, customize-rogue)
1252 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1253 (custom-variable-mark-to-reset-standard)
1254 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1256 * completion.el (check-completion-length):
1257 * comint.el (comint-search-arg)
1258 (comint-previous-matching-input-string-position)
1259 (comint-previous-matching-input)
1260 (comint-replace-by-expanded-history-before-point, comint-send-input)
1261 (comint-copy-old-input, comint-backward-matching-input)
1262 (comint-goto-process-mark, comint-set-process-mark):
1263 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1264 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1266 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * dabbrev.el (dabbrev--ignore-case-p): New function.
1269 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1272 * files.el (automount-dir-prefix): Mark as obsolete.
1274 2012-05-04 Glenn Morris <rgm@gnu.org>
1276 * patcomp.el, play/bruce.el: Move to obsolete/.
1278 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1280 Fix minor Y10k bugs.
1281 * arc-mode.el (archive-unixdate):
1282 * autoinsert.el (auto-insert-alist):
1283 * calc/calc-forms.el (math-this-year):
1284 * emacs-lisp/copyright.el (copyright-current-year)
1285 (copyright-update-year, copyright):
1286 * tar-mode.el (tar-clip-time-string):
1287 * time.el (display-time-update):
1288 Don't assume years have 4 digits.
1290 2012-05-04 Chong Yidong <cyd@gnu.org>
1292 * dos-w32.el (file-name-buffer-file-type-alist)
1293 (direct-print-region-use-command-dot-com):
1294 * ffap.el (ffap-menu-regexp):
1295 * find-file.el (ff-special-constructs):
1296 * follow.el (follow-debug):
1297 * forms.el (forms--debug):
1298 * iswitchb.el (iswitchb-all-frames):
1299 * ido.el (ido-all-frames):
1300 * emacs-lisp/timer.el (timer-max-repeats):
1301 * mail/feedmail.el (feedmail-mail-send-hook)
1302 (feedmail-mail-send-hook-queued):
1303 * mail/footnote.el (footnote-signature-separator):
1304 * mail/mailabbrev.el (mail-alias-separator-string)
1305 (mail-abbrev-mode-regexp):
1306 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1307 * progmodes/idlwave.el (idlwave-libinfo-file)
1308 (idlwave-default-completion-case-is-down)
1309 (idlwave-library-routines): Convert defvars to defcustoms.
1311 * mail/rmail.el (rmail-decode-mime-charset):
1312 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1313 (idlwave-shell-fix-inserted-breaks)
1314 (idlwave-shell-activate-alt-keybindings)
1315 (idlwave-shell-use-breakpoint-glyph):
1316 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1318 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1322 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1324 * progmodes/verilog-mode.el (font-lock-keywords):
1325 Fix mis-highligting auto. Reported by Craig Barner.
1326 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1327 defines from global name space. Reported by Dan Dever.
1328 (verilog-auto-reset, verilog-auto-reset-widths)
1329 (verilog-auto-tieoff): Support using unbased numbers for
1330 AUTORESET and AUTOTIEOFF.
1331 (verilog-submit-bug-report): Update variable list.
1332 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1333 parenthesis from not matching. Reported by Michael Rytting.
1334 (verilog-auto-template-lint): Fix hash error when linting modules
1335 with no used templates.
1336 (verilog-warn, verilog-warn-error)
1337 (verilog-warn-fatal): When non-interactive report multiple
1338 warnings before exiting. Suggested by Brad Dobbie.
1339 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1340 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1341 to report unused template errors. Reported by Brad Dobbie.
1342 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1343 nets, bug438. Reported by Vns Blore.
1344 (verilog-auto-inout-module, verilog-auto-reg)
1345 (verilog-read-decls, verilog-read-sub-decls-sig)
1346 (verilog-signals-edit-wire-reg, verilog-signals-with):
1347 Fix passing of Verilog data types in ANSI input/output ports
1348 such as "output logic" into the AUTOs. Special case "wire" and
1349 "reg" for backwards compatibility presuming Verilog 2001.
1350 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1351 (verilog-preprocess): Fix replication of preprocess output.
1352 Reported by Brad Dobbie.
1353 (verilog-auto-inst-interfaced-ports):
1354 Create verilog-auto-inst-interfaced-ports, bug429.
1355 Reported by Julian Gorfajn.
1356 (verilog-after-save-font-hook)
1357 (verilog-before-save-font-hook): New variable.
1358 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1359 (verilog-save-font-mods): Wrap disabling fontification, reported
1361 (verilog-do-indent, verilog-pretty-declarations-auto)
1362 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1363 Reported by Pierre-David Pfister.
1364 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1365 of class declarations, bug292. Reported by Kevin Heilman.
1366 (verilog-read-decls): Fix 'parameter type' not appearing in
1367 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1368 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1369 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1370 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1371 Reported by David Kravitz.
1373 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1375 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1376 assignment with tests in ifs and for loops.
1377 (verilog-extended-complete-re, verilog-complete-reg): Change so
1378 that DPI inport functions don't look like fuction declarations.
1379 (verilog-pretty-expr): Don't line up assignment
1380 operations to the test and increment in if and for loops
1381 (verilog-extended-complete-re, verilog-complete-reg): Change so
1382 that DPI inport functions don't look like fuction declarations
1384 2012-05-03 Kenichi Handa <handa@m17n.org>
1386 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1387 decoding, and show a warning message without signaling an error
1390 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * emacs-lisp/bytecomp.el
1393 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1394 since cconv.el might have introduced :fun-body, internal-make-closure,
1395 and friends for bytecomp to handle (bug#11391).
1396 * custom.el (defcustom): Avoid ((λ ..) ..).
1398 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1402 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1404 * notifications.el (dbus-debug):
1405 * term/linux.el (gpm-mouse-enable):
1406 * term/screen.el (xterm-register-default-colors): Declare.
1408 2012-05-02 Chong Yidong <cyd@gnu.org>
1410 * cus-start.el (gc-cons-percentage, exec-suffixes)
1411 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1412 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1413 (make-cursor-line-fully-visible, void-text-area-pointer)
1414 (font-list-limit): Add customization data.
1416 * allout.el (allout-exposure-change-functions)
1417 (allout-structure-added-functions)
1418 (allout-structure-deleted-functions)
1419 (allout-structure-shifted-functions): Rename abnormal hooks from
1420 *-hook, and convert to defcustoms.
1421 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1422 Convert to defcustoms.
1423 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1425 * allout-widgets.el: Hook callers changed.
1427 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1429 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1430 the yanked message in preference to the default value of
1431 buffer-file-coding-system.
1433 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1435 * window.el (display-buffer--action-function-custom-type):
1438 2012-05-02 Alan Mackenzie <acm@muc.de>
1440 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1442 2012-05-01 Glenn Morris <rgm@gnu.org>
1444 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1446 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1448 * cus-edit.el (custom-variable-documentation): Simplify with format.
1450 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1451 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * simple.el (suggest-key-bindings, execute-extended-command):
1454 Move from keyboard.c.
1456 2012-05-01 Chong Yidong <cyd@gnu.org>
1458 * follow.el: Eliminate advice.
1459 (set-process-filter, process-filter, sit-for): Advice deleted.
1460 (follow-mode-off-hook): Obsolete hook removed.
1461 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1463 (follow-auto): Use a :set function.
1464 (follow-mode): Rewritten. Don't advise process filters.
1465 (follow-switch-to-current-buffer-all, follow-scroll-up)
1466 (follow-scroll-down): Assume follow-mode is bound.
1467 (follow-comint-scroll-to-bottom)
1468 (follow-align-compilation-windows): New functions.
1469 (follow--window-sorter): New function.
1470 (follow-all-followers): Use it to explicitly sort windows by their
1471 positions; don't make assumptions about next-window order.
1472 (follow-windows-start-end, follow-delete-other-windows-and-split)
1473 (follow-calc-win-start): Doc fix.
1474 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1475 vertical-motion unnecessarily.
1476 (follow-adjust-window): New function.
1477 (follow-post-command-hook): Use it.
1478 (follow-call-set-process-filter, follow-call-process-filter)
1479 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1480 (follow-stop-intercept-process-output, follow-generic-filter):
1482 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1483 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1484 New functions, replacing advice on scroll-bar-* commands.
1485 (follow-mwheel-scroll): New function (Bug#4112).
1487 * comint.el (comint-adjust-point): New function.
1488 (comint-postoutput-scroll-to-bottom): Use it.
1489 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1491 2012-05-01 Glenn Morris <rgm@gnu.org>
1493 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1494 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1495 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1496 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1497 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1498 Remove no-byte-compile setting.
1500 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1503 all-completions code to not return a number in the last cdr.
1505 2012-04-30 Leo Liu <sdl.web@gmail.com>
1507 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1510 2012-04-29 Chong Yidong <cyd@gnu.org>
1512 * follow.el (follow-calc-win-end): Rewrite to handle partial
1513 screen lines correctly (Bug#8390).
1514 (follow-avoid-tail-recenter): Minor cleanup.
1516 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1518 Avoid the obsolete `assoc' package.
1519 * speedbar.el (speedbar-refresh): Avoid adelete.
1520 (speedbar-file-lists): Simplify and avoid aput.
1521 * man.el (Man--sections, Man--refpages): New vars, replacing
1522 Man-sections-alist and Man-refpages-alist.
1523 (Man-build-section-alist, Man-build-references-alist):
1524 Use them; avoid aput.
1525 (Man--last-section, Man--last-refpage): New vars.
1526 (Man-follow-manual-reference): Use them.
1527 Use the `default' arg of completing-read.
1528 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1530 2012-04-27 Chong Yidong <cyd@gnu.org>
1532 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1534 * startup.el (x-apply-session-resources): New function.
1536 * term/ns-win.el (ns-initialize-window-system):
1537 * term/w32-win.el (w32-initialize-window-system):
1538 * term/x-win.el (x-initialize-window-system): Use it to properly
1539 set menu-bar-mode and other vars from X resources, even if the
1540 initial frame is not a window-system frame (Bug#2299).
1542 * subr.el (read-key): Avoid running filter function when setting
1543 up temporary tool bar entries (Bug#9922).
1545 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1547 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1550 2012-04-27 Chong Yidong <cyd@gnu.org>
1552 * select.el (xselect--encode-string): New function, split from
1553 xselect-convert-to-string.
1554 (xselect-convert-to-string): Use it.
1555 (xselect-convert-to-filename, xselect-convert-to-os)
1556 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1557 returned strings are properly encoded (Bug#11315).
1559 2012-04-27 Chong Yidong <cyd@gnu.org>
1561 * simple.el (delete-active-region): Move to killing custom group.
1563 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1565 * progmodes/which-func.el (which-func-current): Quote %
1566 characters for mode-line processing.
1568 2012-04-27 Chong Yidong <cyd@gnu.org>
1570 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1571 reaching eob (Bug#11286).
1573 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1575 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1576 (gdb): Make it buffer-local and init to zero.
1577 (gdb-control-commands-regexp): New variable.
1578 (gdb-send): Don't wrap in "-interpreter-exec console" if
1579 gdb-control-level is positive. Increment gdb-control-level
1580 whenever the command matches gdb-control-commands-regexp, and
1581 decrement it each time the command is "end". (Bug#11279)
1583 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1585 * window.el (adjust-window-trailing-edge, enlarge-window)
1586 (shrink-window, window-resize):
1587 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1588 windows (Bug#11276).
1590 2012-04-27 Chong Yidong <cyd@gnu.org>
1592 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1593 fix "missing prefix" warning. All callers changed.
1595 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * emacs-lisp/assoc.el: Move to obsolete/.
1599 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1603 * term/ns-win.el (ns-define-service):
1604 * progmodes/pascal.el (pascal-goto-defun):
1605 * progmodes/js.el (js--read-tab):
1606 * progmodes/etags.el (tags-lazy-completion-table):
1607 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1608 * emacs-lisp/ewoc.el (ewoc--wrap):
1609 * emacs-lisp/assoc.el (aput, adelete, amake):
1610 * doc-view.el (doc-view-convert-current-doc):
1611 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1613 2012-04-26 Chong Yidong <cyd@gnu.org>
1615 * image.el (image-type-from-buffer): Only return supported image
1618 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1619 value, for symmetry with diff-end-of-hunk.
1620 (diff-split-hunk, diff-find-source-location)
1621 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1622 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1623 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1624 compute the relevant hunk or file properly (Bug#6005).
1625 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1627 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1636 * vc/vc.el: Replace lexical-let by lexical-binding.
1637 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1638 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1639 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1641 2012-04-26 Chong Yidong <cyd@gnu.org>
1643 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1644 (diff-mode-shared-map): Bind it to / and [remap undo].
1646 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1647 (ediff-window-setup-function): Use it as the default, to set up
1648 windows based on whether the current frame is graphical (Bug#2138).
1649 (ediff-choose-window-setup-function-automatically): Make obsolete.
1651 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1653 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * ffap.el: Remove old code for obsolete package.
1656 (ffap-complete-as-file-p): Remove.
1658 Use completion-table-with-quoting for comint and pcomplete.
1659 * comint.el (comint--unquote&requote-argument)
1660 (comint--unquote-argument, comint--requote-argument): New functions.
1661 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1662 (comint-quote-filename): Use regexp-opt-charset.
1663 (comint--common-suffix, comint--common-quoted-suffix)
1664 (comint--table-subvert): Remove.
1665 (comint-unquote-function, comint-requote-function): New vars.
1666 (comint--complete-file-name-data): Use them with
1667 completion-table-with-quoting.
1668 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1669 * pcomplete.el (pcomplete-arg-quote-list)
1670 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1671 (pcomplete-unquote-argument-function): Default to non-nil.
1672 (pcomplete-unquote-argument): Simplify.
1673 (pcomplete--common-quoted-suffix): Remove.
1674 (pcomplete-requote-argument-function): New var.
1675 (pcomplete--common-suffix): New function.
1676 (pcomplete-completions-at-point): Use completion-table-with-quoting
1677 and completion-table-subvert.
1679 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1680 (minibuffer--double-dollars): Preserve properties.
1681 (completion--sifn-requote): New function.
1682 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1684 * minibuffer.el: Add support for completion of quoted/escaped data.
1685 (completion-table-with-quoting, completion-table-subvert): New funs.
1686 (completion--twq-try, completion--twq-all): New functions.
1687 (completion--nth-completion): New function.
1688 (completion-try-completion, completion-all-completions): Use it.
1690 2012-04-25 Leo Liu <sdl.web@gmail.com>
1692 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1693 Use compilation-message if available to find real filename.
1695 2012-04-25 Chong Yidong <cyd@gnu.org>
1697 * vc/diff-mode.el (diff-setup-whitespace): New function.
1698 (diff-mode): Use it.
1700 * vc/diff.el (diff-sentinel):
1701 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1702 Whitespace mode variables based on diff style (Bug#8612).
1704 2012-04-25 Leo Liu <sdl.web@gmail.com>
1706 * progmodes/python.el (python-send-region): Add suffix .py to the
1709 * files.el (auto-mode-alist): Use javascript-mode instead.
1711 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1713 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1715 * soap-client.el (soap-resolve-references-for-sequence-type)
1716 (soap-resolve-references-for-array-type): Hack to prevent self
1717 references, see Bug#9.
1718 (soap-parse-envelope): Report the contents of the 'detail' node
1719 when receiving a fault reply.
1720 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1722 * soap-inspect.el (soap-sample-value-for-simple-type)
1723 (soap-inspect-simple-type): New function.
1725 * soap-client.el (soap-simple-type): New struct.
1726 (soap-default-xsd-types, soap-default-soapenc-types)
1727 (soap-decode-basic-type, soap-encode-basic-type):
1728 support unsignedInt and double basic types.
1729 (soap-resolve-references-for-simple-type)
1730 (soap-parse-simple-type, soap-encode-simple-type): New function.
1731 (soap-parse-schema): Parse xsd:simpleType declarations.
1733 * soap-client.el (soap-default-xsd-types)
1734 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1735 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1736 the local name of "soapenc:Array".
1737 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1738 decoding integer, byte and anyURI xsd types.
1740 2012-04-25 Chong Yidong <cyd@gnu.org>
1742 * cus-edit.el (custom-buffer-create-internal): Update header text.
1744 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1746 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1747 settings on 'system-type', not on 'window-system'. On MS-Windows,
1748 set interactive-mode on in GDB.
1750 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1753 (ruby-syntax-propertize-regexp): Remove.
1754 (ruby-syntax-propertize-function): Split regexp into chunks.
1755 Match following code directly.
1757 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1759 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1760 (ruby-syntax-propertize-regexp): New function.
1761 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1762 by a special keyword.
1764 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1765 (ruby-syntax-general-delimiters-goto-beg)
1766 (ruby-syntax-propertize-general-delimiters): New functions.
1767 (ruby-syntax-propertize-function): Use them to handle GDL.
1768 (ruby-font-lock-keywords): Move old handling of GDL...
1769 (ruby-font-lock-syntactic-keywords): .. to here.
1770 (ruby-calculate-indent): Adjust indentation for GDL.
1772 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1774 * notifications.el (top): Remove unneeded declarations.
1775 (notifications-specification-version): Change to "1.2".
1776 (notifications-interface, notifications-notify-method)
1777 (notifications-close-notification-method): Fix docstring.
1778 (notifications-get-capabilities-method): New defconst.
1779 (notifications-notify): Add :action-items, :resident and
1780 :transient hints. Change "image_data" to "image-data" and
1781 "image_path" to "image-path".
1782 (notifications-get-capabilities): New defun.
1784 2012-04-24 Leo Liu <sdl.web@gmail.com>
1786 * progmodes/python.el: Move hideshow setup to the end.
1788 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1790 * window.el (handle-select-window): Clear echo area since this is
1791 no more done by read_char (Bug#11304).
1793 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1795 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1796 and `/ M' to filter-derived-mode.
1797 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1798 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1799 (ibuffer-mark-by-mode): Use default rather than initial-input.
1800 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1802 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1804 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1805 (ibuffer-filter-by-derived-mode): New filter.
1806 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1808 2012-04-23 Andreas Politz <politza@fh-trier.de>
1810 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1812 2012-04-23 Chong Yidong <cyd@gnu.org>
1814 * cus-edit.el (customize-apropos, customize-apropos-options):
1815 Disable matching of non-option variables (Bug#11176).
1816 (customize-option, customize-option-other-window)
1817 (customize-changed-options): Doc fix.
1818 (customize-apropos-options, customize-apropos-faces)
1819 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1821 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1822 Fix word list splitting (Bug#11132).
1823 (apropos-symbol, apropos-keybinding, apropos-label)
1824 (apropos-property, apropos-function-button)
1825 (apropos-variable-button, apropos-misc-button): New faces.
1826 (apropos-symbol-face, apropos-keybinding-face)
1827 (apropos-label-face, apropos-property-face, apropos-match-face):
1828 Variables removed (Bug#8396).
1829 (apropos-library-button, apropos-format-plist, apropos-print)
1830 (apropos-print-doc, apropos-describe-plist): Callers changed.
1832 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1834 * net/xesam.el (xesam-mode-map): Use let-bound map in
1835 initialization. (Bug#11292)
1837 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1839 Preserve ispell session localwords when switching back to
1842 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1843 variable to hold buffer session localwords.
1844 (ispell-kill-ispell): add option 'clear to delete session
1846 (ispell-command-loop, ispell-change-dictionary)
1847 (ispell-buffer-local-words): Preserve session localwords when
1850 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1851 Preserve session localwords when needed.
1853 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1855 * ispell.el (ispell-insert-word) Remove unneeded function using
1856 obsolete `translation-table-for-input'.
1857 (ispell-word, ispell-process-line, ispell-complete-word):
1858 Use plain `insert' instead of removed `ispell-insert-word'.
1860 2012-04-22 Chong Yidong <cyd@gnu.org>
1862 * cus-edit.el (custom-variable-menu)
1863 (custom-variable-reset-saved, custom-face-menu)
1864 (custom-face-reset-saved): If there is no saved value, make the
1865 "reset-saved" operation bring back the default (Bug#9509).
1866 (custom-face-state): Properly detect themed faces.
1868 * faces.el (face-spec-set): Stop supporting deprecated form of
1871 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1873 Move functions from C to Lisp. Make non-blocking method calls
1874 the default. Implement further D-Bus standard interfaces.
1876 * net/dbus.el (dbus-message-internal): Declare function.
1877 Remove unneeded function declarations.
1878 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1879 (dbus-message-type-method-return, dbus-message-type-error)
1880 (dbus-message-type-signal): Declare variables. Remove local
1882 (dbus-interface-dbus, dbus-interface-peer)
1883 (dbus-interface-introspectable, dbus-interface-properties)
1884 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1886 (dbus-interface-objectmanager): New defconst.
1887 (dbus-call-method, dbus-call-method-asynchronously)
1888 (dbus-send-signal, dbus-method-return-internal)
1889 (dbus-method-error-internal, dbus-register-service)
1890 (dbus-register-signal, dbus-register-method): New defuns, moved
1892 (dbus-call-method-handler, dbus-setenv)
1893 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1895 (dbus-call-method-non-blocking): Make it an obsolete function.
1896 (dbus-unregister-object, dbus-unregister-service)
1897 (dbus-handle-event, dbus-register-property)
1898 (dbus-property-handler): Obey the new structure of
1899 `bus-registered-objects'.
1900 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1901 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1902 Use `dbus-call-method'.
1904 2012-04-22 Chong Yidong <cyd@gnu.org>
1906 * cus-edit.el (custom-commands, custom-reset-menu)
1907 (Custom-reset-standard): Tweak labels.
1908 (custom-reset-button-menu): Change default to t.
1909 (custom-buffer-create-internal): For the custom-reset-button-menu
1910 case, put the revert button first.
1911 (custom-group-subtitle): New face.
1912 (custom-group-value-create): Align docstring to a specific column.
1914 * wid-edit.el (widget-documentation-link-add): Don't handle
1915 indentation in this function.
1916 (widget-documentation-string-indent-to): New function.
1917 (widget-documentation-string-value-create): Use it.
1919 * autorevert.el (auto-revert):
1920 * epg-config.el (epg):
1921 * ibuffer.el (ibuffer):
1924 * eshell/eshell.el (eshell):
1925 * net/ange-ftp.el (ange-ftp):
1926 * progmodes/ebnf2ps.el (postscript):
1927 * progmodes/flymake.el (flymake):
1928 * progmodes/prolog.el (prolog):
1929 * progmodes/verilog-mode.el (verilog-mode):
1930 * progmodes/which-func.el (which-func):
1931 * term/xterm.el (xterm):
1932 * textmodes/picture.el (picture):
1933 * textmodes/tildify.el (tildify):
1934 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1935 customization buffers.
1937 2012-04-22 Alan Mackenzie <acm@muc.de>
1939 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1940 Adding a ) can hide the resulting (..) from searches. Fix it.
1941 Bound the backward search to the position of the existing (.
1943 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1945 * progmodes/verilog-mode.el (verilog-mode): Check whether
1946 which-func-modes is t before adding verilog-mode.
1947 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1949 2012-04-21 Leo Liu <sdl.web@gmail.com>
1951 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1953 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1955 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1956 filling of the last column of a table (Bug#5635).
1957 (woman-find-next-control-line): New arg, specifying an additional
1958 regexp component for the control line.
1959 (woman2-roff-buffer): Use it.
1960 (woman-break-table): New function.
1961 (woman2-TS): Use it.
1963 2012-04-21 Chong Yidong <cyd@gnu.org>
1965 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1966 (woman-horizontal-escapes, woman-negative-vertical-space)
1967 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1968 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1970 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * minibuffer.el (completion-file-name-table): Complete user names.
1974 2012-04-20 Leo Liu <sdl.web@gmail.com>
1976 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1979 2012-04-20 Chong Yidong <cyd@gnu.org>
1981 * server.el (server-execute): Respect initial-buffer-choice if it
1982 is a string and there are no files to open (Bug#2825).
1983 (server-create-window-system-frame, server-create-tty-frame):
1984 Don't switch buffers here.
1985 (server-process-filter): Only try to open a window system frame if
1986 compiled with graphical support (Bug#8314).
1988 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1990 * battery.el (battery-echo-area-format): Display remaining time
1991 for sysfs backend too (Bug#11269).
1992 (battery-linux-sysfs): Fix conditional for the charge.
1994 2012-04-20 Chong Yidong <cyd@gnu.org>
1996 * progmodes/gdb-mi.el (gdb): Revert previous change.
1997 (gdb-inferior-io--init-proc): New function.
1998 (gdb-init-1): Use it.
1999 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2000 responsible for allocating a new pty and hooking it to gdb when
2001 the old pty gets an EIO due to process exit.
2002 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2003 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2004 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2006 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2008 * window.el (window-min-size, window-sizable, window-min-delta)
2009 (window-max-delta, window--resizable, window-resizable)
2010 (window-total-size, window-full-height-p, window-full-width-p)
2011 (window-in-direction, window--resize-mini-window, window-resize)
2012 (window--resize-child-windows-normal)
2013 (window--resize-child-windows, window--resize-siblings)
2014 (window--resize-this-window, adjust-window-trailing-edge)
2015 (enlarge-window, shrink-window): Doc fixes.
2017 2012-04-20 Chong Yidong <cyd@gnu.org>
2019 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2020 New function to call delete-process on the gdb-inferior buffer's pty.
2021 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2022 pty process (Bug#11273).
2023 (gdb-update): New arg to suppress talking to the gdb process.
2024 (gdb-done-or-error): Use it.
2025 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2026 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2027 sentinel not being called.
2029 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2031 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2033 2012-04-20 Glenn Morris <rgm@gnu.org>
2035 * net/network-stream.el (open-network-stream): Doc fix.
2037 2012-04-20 Chong Yidong <cyd@gnu.org>
2039 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2041 2012-04-20 Alan Mackenzie <acm@muc.de>
2043 Ensure searching for keywords is case sensitive.
2045 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2046 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2047 (c-defun-name, c-mark-function, c-cpp-define-name)
2048 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2049 (c-context-line-break): Bind case-fold-search to nil.
2051 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2052 Bind case-fold-search to nil.
2054 2012-04-20 Chong Yidong <cyd@gnu.org>
2056 * mail/sendmail.el (mail-bury): Call return action with the right
2057 Rmail buffer (Bug#11242).
2059 * server.el (server-process-filter): Handle corner case where both
2060 tty and nowait options are present (Bug#11102).
2062 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2064 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2065 (top level): Put into the executable the ident-style '$Id:' tag on
2068 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2070 * electric.el (electric-indent-post-self-insert-function): Check that
2071 electric-indent-mode is enabled in current buffer.
2073 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2075 * imenu.el (imenu-progress-message): Restore; it is "used" in
2076 erc/erc-imenu.el and net/snmp-mode.el.
2078 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2080 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2081 (mouse-avoidance-nudge-mouse): Remove unused binding.
2083 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2085 * descr-text.el (describe-char):
2086 * progmodes/python.el (python-describe-symbol):
2087 Don't call `toggle-read-only', set `buffer-read-only'.
2089 * imenu.el (imenu-default-goto-function): Mark unused args.
2090 (imenu-progress-message): Remove obsolete macro; all callers changed.
2092 * subr.el (keymap-canonicalize): Remove unused binding.
2093 (read-passwd): Mark unused arg.
2095 * tutorial.el (tutorial--display-changes): Remove unused binding.
2096 (tutorial--save-tutorial-to): Remove unused variable.
2098 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2099 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2100 (package-generate-autoloads, package-menu--generate)
2101 (package-menu--find-upgrades): Remove unused bindings.
2103 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2104 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2105 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2106 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2107 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2108 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2109 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2110 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2111 (cua-delete-char-rectangle): Mark unused args.
2112 (cua-align-rectangle): Remove unused binding.
2114 * mail/rmail.el (compilation--message->loc)
2115 (epa--find-coding-system-for-mime-charset): Declare.
2117 * net/dbus.el (dbus-register-service): Declare.
2118 (dbus-name-owner-changed-handler): Remove unused binding.
2120 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2121 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2122 (nxml-scan-backward-within): Mark unused arg.
2123 (nxml-dynamic-markup-word): Remove unused binding.
2125 * mouse.el (mouse-menu-major-mode-map):
2126 * emacs-lisp/authors.el (authors-scan-change-log)
2127 (authors-add-to-author-list):
2128 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2129 * emacs-lisp/smie.el (smie-auto-fill):
2130 * mail/sendmail.el (mail-bury):
2131 * mail/unrmail.el (unrmail):
2132 * net/tls.el (open-tls-stream):
2133 * textmodes/picture.el (picture-mouse-set-point):
2134 Remove unused bindings.
2136 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2138 * net/tramp.el (tramp-action-password): Let-bind
2139 `enable-recursive-minibuffers' to t.
2141 2012-04-18 Sam Steingold <sds@gnu.org>
2143 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2144 instead of 'string to accommodate values like [f11].
2145 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2146 * progmodes/gdb-mi.el: Likewise.
2148 2012-04-18 Leo Liu <sdl.web@gmail.com>
2150 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2152 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2155 2012-04-18 Chong Yidong <cyd@gnu.org>
2157 * simple.el (line-move): Use forward-line if in batch mode
2160 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2162 * files.el (after-find-file): Do not try to add a final newline if
2163 the buffer is read-only (Bug#11156).
2165 2012-04-17 Richard Stallman <rms@gnu.org>
2167 * mail/rmail.el (rmail-start-mail):
2168 Pass (rmail-mail-return...) for the return-action.
2169 Pass (rmail-yank-current-message...) for the yank-action.
2170 (rmail-yank-current-message): New function.
2171 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2172 (rmail-reply): Likewise.
2173 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2175 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2176 buffer, not the last. Reject temp buffers. Use the rmail-mode
2179 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2181 * server.el (server-ensure-safe-dir): Simplify.
2183 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2185 * emacs-lisp/smie.el: Provide smarter auto-filling.
2186 (smie-auto-fill): New function.
2187 (smie-setup): Use it.
2189 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2191 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2193 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2194 (comment-indent): Use it.
2196 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2198 * ses.el: The overall change is to add cell renaming, that is
2199 setting fancy names for cell symbols other than name matching
2200 "\\`[A-Z]+[0-9]+\\'" regexp .
2201 (ses-localvars): Add ses--renamed-cell-symb-list.
2202 (ses-create-cell-variable): New defun.
2203 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2204 (ses-relocate-formula): Relocate formulas only for cells the
2205 symbols of which are not renamed, i.e. symbols whose names do not
2206 match regexp "\\`[A-Z]+[0-9]+\\'".
2207 (ses-relocate-all): Relocate values only for cells the symbols of
2208 which are not renamed.
2209 (ses-load): Create cells variables as the (ses-cell ...) are read,
2210 in order to check row col consistency with cell symbol name only
2211 for cells that are not renamed.
2212 (ses-replace-name-in-formula): New defun.
2213 (ses-rename-cell): New defun.
2215 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2217 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2218 New option (bug#11118).
2219 (perl-calculate-indent): Respect it.
2221 2012-04-17 Glenn Morris <rgm@gnu.org>
2223 * dired-aux.el (dired-mark-read-string): Doc fix.
2225 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2227 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2228 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2230 2012-04-17 Glenn Morris <rgm@gnu.org>
2232 * mouse.el (mouse-drag-track):
2233 * speedbar.el (speedbar-frame-mode):
2234 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2236 2012-04-16 Leo Liu <sdl.web@gmail.com>
2238 * progmodes/python.el: Trivial cleanup.
2240 2012-04-16 Glenn Morris <rgm@gnu.org>
2242 * vc/vc.el (vc-string-prefix-p):
2243 * vc/pcvs-util.el (cvs-string-prefix-p):
2244 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2245 * mpc.el (mpc-string-prefix-p):
2246 Make all of these into obsolete aliases for string-prefix-p.
2248 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2250 * textmodes/two-column.el: Move custom options to the start.
2251 (frame-width): Remove compat definition.
2252 (2C-associate-buffer, 2C-dissociate):
2253 Use with-current-buffer rather than save-excursion.
2254 (2C-dissociate): Force a mode-line update.
2255 (2C-autoscroll): Use ignore-errors.
2257 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2260 * emacs-lisp/cl-extra.el (*random-state*):
2261 Remove unnecessary declaration.
2263 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2265 * play/cookie1.el (cookie-snarf):
2266 Give an explicit error if input file cannot be read.
2268 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2270 * progmodes/perl-mode.el (c-macro-expand):
2271 Remove unnecessary autoload (it is in loaddefs.el).
2273 * textmodes/picture.el (picture-desired-column)
2274 (picture-update-desired-column): Convert comments to doc-strings.
2275 (picture-substitute): Remove function.
2276 (picture-mode-map): Initialize in the defvar.
2278 * woman.el: Remove eval-after-load for tar-mode.
2279 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2280 (woman-tar-extract-file): Autoload it.
2282 * frame.el (automatic-hscrolling): Make this alias obsolete.
2284 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2286 * ispell.el (ispell-set-spellchecker-params): Post-process
2287 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2288 (ispell-dictionary-base-alist): Revert to original XEmacs
2289 friendly version for default. [:alpha:] will be added in
2290 `ispell-set-spellchecker-params' if needed
2292 2012-04-16 Chong Yidong <cyd@gnu.org>
2294 * image.el (imagemagick--extension-regexp): New variable.
2295 (imagemagick-register-types): Use it.
2296 (imagemagick-types-inhibit): Add :set function. Allow new value
2297 of t to inhibit all types.
2299 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2300 so we can preload it.
2302 * loadup.el (fboundp): Preload regexp-opt, needed by
2303 imagemagick-register-types.
2305 2012-04-15 Chong Yidong <cyd@gnu.org>
2307 * frame.el (scrolling): Remove nearly unused customization group.
2309 * scroll-all.el (scroll-all-mode): Move to windows group.
2311 2012-04-15 Chong Yidong <cyd@gnu.org>
2313 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2315 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2317 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2318 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2320 2012-04-15 Glenn Morris <rgm@gnu.org>
2322 * simple.el (process-file-side-effects): Doc fix.
2324 2012-04-15 Glenn Morris <rgm@gnu.org>
2326 * international/mule-cmds.el (set-language-environment): Doc fix.
2328 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2330 * server.el (server-auth-key, server-generate-key): Doc fixes.
2331 (server-get-auth-key): Doc fix. Use `string-match-p'.
2332 (server-start): Reflow docstring.
2334 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2336 * server.el (server-generate-key): `called-interactively-p'
2337 requires a parameter.
2339 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2341 * server.el (server-auth-key): New variable.
2342 (server-generate-key, server-get-auth-key): New function.
2343 (server-start): Use the new variable and functions to allow
2344 setting a permanent server key (bug#9423).
2346 2012-04-14 Leo Liu <sdl.web@gmail.com>
2348 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2350 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2353 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2354 Emacs uses American spelling.
2356 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2358 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2359 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2360 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2361 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2363 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2365 * progmodes/which-func.el (which-func-modes): Change default.
2367 2012-04-14 Kim F. Storm <storm@cua.dk>
2369 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2370 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2372 2012-04-14 Chong Yidong <cyd@gnu.org>
2374 * custom.el (custom-theme-set-variables): Doc fix.
2376 2012-04-14 Glenn Morris <rgm@gnu.org>
2378 * international/mule.el (set-auto-coding-for-load): Doc fix.
2380 2012-04-14 Alan Mackenzie <acm@muc.de>
2382 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2383 imenu work again for Objective C Mode. Correct the *-index values,
2384 these having been disturbed by a previous change in 2011-08.
2386 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2387 Correct two search limits.
2389 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2393 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2395 * international/characters.el: Fix sorting.
2397 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2399 * international/characters.el: Add more missing Latin case pairs.
2401 2012-04-14 Glenn Morris <rgm@gnu.org>
2403 * files.el (dir-locals-set-class-variables): Doc fix.
2405 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2407 * international/characters.el: Add set-case-syntax-pair call for
2408 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2409 counterpart. (Bug#11209)
2411 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2413 2012-04-14 Glenn Morris <rgm@gnu.org>
2415 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2417 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2419 * textmodes/ispell.el (ispell-dictionary-base-alist):
2420 Add data for Hebrew.
2422 2012-04-14 Chong Yidong <cyd@gnu.org>
2424 * net/rcirc.el (rcirc-cmd-quit):
2425 Revert 2012-03-18 change (Bug#11192).
2427 2012-04-14 Glenn Morris <rgm@gnu.org>
2429 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2431 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2433 * minibuffer.el (completion-in-region-mode-map):
2434 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2436 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2438 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2440 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2442 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2443 to allow `C-M-f' and `C-M-b' to move to the nearest path
2444 separator (bug#9511).
2446 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2448 * avoid.el: Require cl when compiling. And also move the
2449 `provide' to the end.
2451 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2453 * avoid.el (mouse-avoidance-banish-position): New variable.
2454 (mouse-avoidance-banish-destination): Use it (bug#10165).
2456 2012-04-13 Leo Liu <sdl.web@gmail.com>
2458 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2460 2012-04-13 Ken Brown <kbrown@cornell.edu>
2462 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2463 this is no longer needed now that cygstart understands file:// URLs.
2464 (browse-url-filename-alist): For the same reason, don't modify
2465 file:// URLs on Cygwin.
2467 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2469 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2470 the region on shift if the binding is already shifted (bug#11221).
2472 2012-04-12 Glenn Morris <rgm@gnu.org>
2474 * mail/mailpost.el: Move to obsolete/.
2476 2012-04-12 Drew Adams <drew.adams@oracle.com>
2478 * imenu.el (imenu--generic-function): Ignore invisible definitions
2481 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2483 * hexl.el (hexl-bits): New variable.
2484 (hexl-options): Mention the variable in the doc string.
2485 (hexl-rulerise, hexl-line-displen): New functions.
2486 (hexl-mode): Mention the new variable.
2487 (hexl-mode, hexl-current-address, hexl-current-address):
2489 (hexl-ascii-start-column): New function.
2490 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2491 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2493 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2495 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2496 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2497 the encoding, as expected by hunspell.
2499 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2501 * battery.el (battery--linux-sysfs-regexp): New const.
2502 (battery-status-function): Use it. Remove yeeloong special case.
2503 (battery-yeeloong-sysfs): Remove.
2504 (battery-echo-area-format): Remove yeeloong special case.
2506 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2509 Reported by Noah Friedman.
2511 * subr.el (read-passwd): Use read-string.
2513 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2515 * vcursor.el (vcursor-move): Increase the priority of the overlay
2518 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2520 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2521 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2523 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2525 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2526 define-minor-mode (bug#10760).
2528 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2530 * progmodes/grep.el (rgrep): Tweak the find command line so
2531 that directories matching `grep-find-ignored-files' won't be
2534 2012-04-11 Chong Yidong <cyd@gnu.org>
2536 * startup.el (command-line): Remove support for long-obsolete
2537 variable font-lock-face-attributes.
2539 2012-04-11 Glenn Morris <rgm@gnu.org>
2541 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2543 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * window.el (window--state-get-1): Obey window-point-insertion-type.
2547 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2549 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2550 to previous function when point is on the first character of a
2551 function. Take care of that in `narrow-to-defun' (bug#6157).
2553 2012-04-11 Glenn Morris <rgm@gnu.org>
2555 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2556 not just file-errors.
2558 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2559 (vc-bzr-sha1): Use internal sha1.
2561 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2565 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2567 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2568 that start in the middle of the line (bug#10496).
2570 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2572 * battery.el (battery-linux-proc-acpi): Only one battery is
2573 discharged at a time, but that seems to confuse battery.el when
2574 computing `rate-type' for the battery not being discharged
2577 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2581 * international/quail.el: Use dolist and simplify.
2582 (quail-define-package, quail-update-keyboard-layout)
2583 (quail-define-rules): Use dolist.
2584 (quail-insert-kbd-layout, quail-get-translation): CSE.
2586 * tmm.el: Use dolist, remove left over hook.
2587 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2589 (calendar-load-hook): Don't mess with it.
2591 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2592 Use derived-mode-p. Run the diff asynchronously.
2594 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2596 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2598 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2600 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2601 (list-dynamic-libraries--loaded): New function.
2602 (list-dynamic-libraries--refresh): Use it.
2604 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2606 * progmodes/python.el (python-fill-paragraph):
2607 Make python-fill-region in a multiline string work when font-lock is
2608 disabled (bug#7018).
2610 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2612 * language/european.el (cp775): Add oem/legacy (en)coding on
2613 DOS/MS Windows for the Baltic languages. There are still plenty
2614 of texts written in this encoding/codepage (bug#6519).
2616 2012-04-10 Glenn Morris <rgm@gnu.org>
2618 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2619 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2621 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2623 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2624 next-line "n" and previous-line "p" in order to make recentf more
2625 consistent with ibuffer, dired or org-mode (bug#9387).
2627 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2629 * image.el (put-image): Return the overlay created instead of the
2630 optional input string (bug#7834). Note that this may break code
2631 that is (for some reason or other) depending on `put-image'
2632 returning the string.
2634 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2636 * simple.el (zap-to-char): Allow zapping using input methods
2639 * textmodes/fill.el (fill-region): Leave point and mark where they
2640 were before filling (bug#5399).
2642 2012-04-09 Glenn Morris <rgm@gnu.org>
2644 * version.el (emacs-bzr-get-version):
2645 Handle lightweight checkouts of local branches.
2647 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2649 * international/characters.el: Recover lost case pairs. (Bug#11209)
2651 2012-04-09 Chong Yidong <cyd@gnu.org>
2653 * custom.el (custom-variable-p): Return nil for non-symbol
2654 arguments instead of signaling an error.
2655 (user-variable-p): Obsolete alias for custom-variable-p.
2657 * apropos.el (apropos-variable):
2658 * files-x.el (read-file-local-variable):
2659 * simple.el (set-variable):
2660 * woman.el (woman-mini-help):
2661 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2663 2012-04-09 Glenn Morris <rgm@gnu.org>
2665 * startup.el (normal-top-level): Don't look for leim-list.el
2666 in places where it will not be found. (Bug#910)
2668 * international/mule-cmds.el (set-default-coding-systems):
2669 * files.el (normal-mode):
2670 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2671 This function was removed with ucs-tables.el in 2008.
2673 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2675 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2676 ispell-encoding8-command to "-i", without a trailing space.
2677 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2678 separate command-line arguments, to specify the encoding, since
2679 that's how hunspell expects it.
2681 2012-04-08 Glenn Morris <rgm@gnu.org>
2683 * loadup.el: Load bindings before cus-start.
2684 This reduces somewhat the number of "rogue" settings in emacs -Q.
2686 2012-04-07 Glenn Morris <rgm@gnu.org>
2688 * version.el (emacs-bzr-get-version): New function.
2689 (emacs-bzr-version): New variable.
2690 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2691 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2693 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2695 * international/uni-bidi.el, international/uni-category.el:
2696 * international/uni-combining.el, international/uni-decimal.el:
2697 * international/uni-decomposition.el, international/uni-digit.el:
2698 * international/uni-lowercase.el, international/uni-mirrored.el:
2699 * international/uni-name.el, international/uni-numeric.el:
2700 * international/uni-titlecase.el, international/uni-uppercase.el:
2701 Update for Unicode 6.1.
2703 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2705 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2707 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2709 * window.el (shrink-window): Mention the `window-min-height'
2710 variable in the doc string.
2712 2012-04-05 Bastien Guerry <bzg@altern.org>
2714 * color.el (color-lighten-name): Fix typo.
2716 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * server.el (server--on-display-p): New function.
2719 (server--on-display-p): Use it.
2721 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2723 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2726 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2728 * comint.el (comint--common-quoted-suffix): Check string boundary
2729 before comparing (bug#11158).
2730 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2732 2012-04-04 Chong Yidong <cyd@gnu.org>
2734 * minibuffer.el (completion-extra-properties): Doc fix.
2736 * subr.el (delayed-warnings-hook): Doc fix.
2738 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2740 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2741 selection (Bug#11159).
2742 (epa-insert-keys): Inform that the default public key will be
2743 exported if no key is selected.
2745 2012-04-04 Richard Stallman <rms@gnu.org>
2747 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2749 2012-04-03 Chong Yidong <cyd@gnu.org>
2751 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2752 mail-insert-file, not its obsolete alias mail-attach-file.
2754 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2756 * notifications.el (notifications-notify): Fix docstring.
2758 2012-04-02 Glenn Morris <rgm@gnu.org>
2760 * emacs-lisp/authors.el (authors-aliases): Another addition.
2762 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2764 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2765 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2766 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2768 2012-04-01 Chong Yidong <cyd@gnu.org>
2770 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2771 Handle root directory properly.
2772 (copy-directory): Caller changed.
2774 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2775 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2777 2012-03-31 Glenn Morris <rgm@gnu.org>
2779 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2781 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2783 * calendar/calendar.el (calendar-window-list)
2784 (calendar-hide-window): Restore. (Bug#11140)
2785 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2787 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2789 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2791 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2792 Check if file is a symlink (Bug#10489).
2794 * files.el (copy-directory): Likewise.
2796 2012-03-30 Chong Yidong <cyd@gnu.org>
2798 * image.el (imagemagick-types-inhibit)
2799 (imagemagick-register-types): Doc fix.
2801 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2803 * ispell.el (ispell-get-extended-character-mode):
2804 Disable extended-char-mode for hunspell. hunspell does not support it
2805 and treats ~word as ordinary words in pipe mode.
2807 2012-03-30 Glenn Morris <rgm@gnu.org>
2809 * tutorial.el (help-with-tutorial): Ensure local variables don't
2810 happen to make the buffer read-only. (Bug#11127)
2812 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2815 (perl-calculate-indent): Return `noindent' in strings.
2817 2012-03-28 Sam Steingold <sds@gnu.org>
2819 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2820 instead of the broken adhockery which does not prevent calendar
2821 buffers from being displayed at random after exit.
2822 (calendar-window-list, calendar-hide-window): Remove the broken
2825 2012-03-28 Glenn Morris <rgm@gnu.org>
2827 * replace.el (query-replace-map): Doc fix.
2829 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2831 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2832 contents. (Bug#11109)
2834 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2838 (avl-tree--check, avl-tree--check-node): New funs.
2840 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2842 * window.el (switch-to-visible-buffer): New option.
2843 (switch-to-prev-buffer, switch-to-next-buffer):
2844 Observe switch-to-visible-buffer. Make sure that checking for a window
2845 showing a buffer already is done on the same frame.
2847 2012-03-27 Glenn Morris <rgm@gnu.org>
2849 * startup.el (mail-host-address): Doc fix.
2851 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2856 2012-03-26 Ami Fischman <ami@fischman.org>
2858 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2860 2012-03-26 Glenn Morris <rgm@gnu.org>
2862 * files.el (save-buffers-kill-emacs): Doc fix.
2864 * startup.el (normal-top-level, command-line, command-line-1):
2865 Give them doc strings.
2867 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2869 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2870 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2872 2012-03-25 Chong Yidong <cyd@gnu.org>
2874 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2875 theme if it was previously enabled before (Bug#11031).
2877 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2878 spec with custom-face-get-current-spec if its :shown-value is not
2879 determined yet (Bug#9337).
2880 (customize-create-theme, custom-theme-revert): Doc fixes.
2882 * button.el (button-at): Minor addition to docstring.
2884 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2886 * vc/vc.el (vc-merge): Fix a prompt.
2888 2012-03-24 Chong Yidong <cyd@gnu.org>
2890 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2893 * button.el (button-at): Minor addition to docstring.
2895 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * newcomment.el (comment-choose-indent): No space after BOL.
2899 2012-03-22 Sam Steingold <sds@gnu.org>
2901 * window.el (switch-to-prev-buffer): Revert last patch because the
2902 bug turned out to be an advertised feature (Elisp manual 28.14).
2904 2012-03-22 Glenn Morris <rgm@gnu.org>
2906 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2907 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2909 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2911 * net/network-stream.el (network-stream-open-starttls): Make error
2912 message under Windows be less misleading.
2914 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2916 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2917 understands (bug#9942).
2919 2012-03-22 Chong Yidong <cyd@gnu.org>
2921 * simple.el (end-of-visible-line): Handle return value of
2922 next-single-property-change properly (Bug#9371).
2924 2012-03-22 Kenichi Handa <handa@m17n.org>
2926 * international/quail.el (quail-insert-kbd-layout): Fix previous
2927 change. To avoid unwanted bidi reordering, use
2928 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2930 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2932 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2933 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2934 (ruby-beginning-of-indent): Be more careful with the difference
2935 between word-boundary and symbol boundary.
2936 (ruby-mode-syntax-table): Make : a symbol constituent.
2938 2012-03-21 Andreas Politz <politza@fh-trier.de>
2940 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2942 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * progmodes/etags.el (tags-completion-at-point-function):
2947 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2949 2012-03-21 Sam Steingold <sds@gnu.org>
2951 * progmodes/etags.el (tags-completion-at-point-function):
2952 Avoid the error when point is inside the pattern.
2954 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2956 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2959 2012-03-21 Drew Adams <drew.adams@oracle.com>
2961 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2963 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2965 * ido.el (ido-set-current-directory, ido-read-internal)
2966 (ido-choose-completion-string, ido-completion-help): Handle nil
2967 value of ido-completion-buffer (Bug#11008).
2969 2012-03-21 Sam Steingold <sds@gnu.org>
2971 * window.el (switch-to-prev-buffer): Do not switch to a visible
2972 window previous buffer, just like with the frame previous buffers.
2974 2012-03-21 Chong Yidong <cyd@gnu.org>
2976 * faces.el (make-face, make-empty-face, copy-face):
2977 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2980 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2982 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2983 (widget-complete): Remove broken use of it.
2985 2012-03-20 Chong Yidong <cyd@gnu.org>
2987 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2988 Use string-width and truncate-string-width to handle arbitrary
2991 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2993 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2994 to draw rectangles, not squares. (Regression introduced by revno
2995 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2997 2012-03-18 Chong Yidong <cyd@gnu.org>
2999 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3000 it is not yet defined (for temacs).
3002 2012-03-18 Leo Liu <sdl.web@gmail.com>
3004 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3006 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3008 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3009 (ispell-choices-win-default-height, ispell-silently-savep)
3010 (ispell-dictionary-alist, ispell-encoding8-command)
3011 (ispell-check-version, ispell-aspell-find-dictionary)
3012 (ispell-valid-dictionary-list, ispell-words-keyword)
3013 (ispell-get-word, ispell-internal-change-dictionary)
3014 (ispell-region, ispell-skip-region-list)
3015 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3016 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3017 (ispell-message-text-end, ispell-message)
3018 (ispell-buffer-local-parsing): Doc fix.
3020 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3022 * htmlfontify.el: Add support for code block fontification for ODT
3024 (hfy-optimisations): Define new option
3026 (hfy-fontify-buffer): Honor above setting.
3027 (hfy-begin-span, hfy-end-span): New routines factored out form
3028 `hfy-fontify-buffer'.
3029 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3030 that permit insertion of custom tags.
3031 (hfy-fontify-buffer): Use above handlers.
3032 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3033 (hfy-face-to-css): Re-defined to be a variable.
3034 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3035 over multiple runs. This is made possible by having the caller let
3036 bind a special variable `hfy-user-sheet-assoc'.
3037 (htmlfontify-string): New defun.
3038 (hfy-compile-face-map): Make sure that the last char in the
3039 buffer is correctly fontified.
3040 (hfy-face-resolve-face): Whitespace only change.
3042 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3044 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3047 2012-03-16 Leo Liu <sdl.web@gmail.com>
3049 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3051 2012-03-16 Alan Mackenzie <acm@muc.de>
3053 Further optimise the handling of large macros.
3055 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3056 limit to a call of `c-literal-limits'.
3057 (c-determine-+ve-limit): New function.
3058 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3059 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3060 In CASE 5B, restrict a search limit to 500.
3061 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3063 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3064 Restrict macro bounds to +-500 from after-change's BEG END.
3066 2012-03-16 Leo Liu <sdl.web@gmail.com>
3068 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3070 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3072 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3073 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3075 2012-03-16 Glenn Morris <rgm@gnu.org>
3077 * view.el (view-buffer, view-buffer-other-window)
3078 (view-buffer-other-frame): Doc fixes re special mode-class.
3080 * subr.el (eval-after-load): If named feature is provided not from
3081 a file, run after-load forms. (Bug#10946)
3083 * calendar/calendar.el (calendar-insert-at-column):
3084 Handle non-unit-width characters a bit better. (Bug#10978)
3086 2012-03-15 Chong Yidong <cyd@gnu.org>
3088 * emacs-lisp/ring.el (ring-extend): New function.
3089 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3091 * comint.el (comint-read-input-ring)
3092 (comint-add-to-input-history): Grow comint-input-ring lazily.
3094 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3096 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3097 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3099 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3100 (imenu-add-to-menubar): Don't add a redundant index.
3101 (imenu-update-menubar): Handle a dynamically composed keymap.
3103 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3105 * mail/sendmail.el (mail-encode-header):
3106 Bind rfc2047-encode-encoded-words to nil.
3108 2012-03-13 Glenn Morris <rgm@gnu.org>
3110 * calendar/calendar.el (calendar-string-spread):
3111 Handle non-unit-width characters a bit better. (Bug#10978)
3113 2012-03-13 Leo Liu <sdl.web@gmail.com>
3115 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3116 directory and file as argument (Bug#10822).
3118 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3120 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3121 For dynamically generated code, follow $PC.
3122 (gdb-disassembly-handler-custom): Handle no function name case.
3124 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3126 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3127 * emulation/ws-mode.el (ws-query-replace):
3128 * sort.el (sort-regexp-fields):
3129 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3131 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3133 * dabbrev.el: Fix cycle completion order (bug#10963).
3134 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3135 (dabbrev-completion): Don't use an obarray; provide
3136 a cycle-sort-function.
3138 2012-03-12 Leo Liu <sdl.web@gmail.com>
3140 * simple.el (kill-new): Use equal-including-properties for comparison.
3141 (kill-do-not-save-duplicates): Doc fix.
3143 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * dabbrev.el: Fix cycle completion (bug#10963).
3146 Use lexical binding and wrap to 80 columns.
3147 (dabbrev-completion): Delay computing the list of completions.
3149 2012-03-12 Kenichi Handa <handa@m17n.org>
3151 * international/quail.el (quail-insert-kbd-layout): Surround each
3152 row by LRO and PDF instead of inserting many LRMs. Pad the left
3153 and right of each non-spacing marks. Insert invisible space
3154 between lower and upper characters to prevent composition.
3156 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * minibuffer.el (minibuffer-complete): Don't get confused when the
3159 function is run twice via different commands (bug#10958).
3160 (complete-with-action): Fix docstring.
3162 2012-03-12 Chong Yidong <cyd@gnu.org>
3164 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3165 (nxml-completion-at-point-function): New function.
3166 (nxml-mode): Use it.
3167 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3169 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3170 Load generated autoloads file before byte compiling (Bug#10970).
3171 (package--make-autoloads-and-compile): New helper fun.
3173 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3175 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3177 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3179 * autorevert.el (auto-revert-handler): Ensure, that
3180 file-readable-p is applied only for local files or in
3181 auto-revert-tail-mode.
3183 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3185 * server.el (server-eval-at): Handle non-tcp connections.
3186 Decode result string.
3188 * server.el (server-msg-size): New constant.
3189 (server-reply-print): New function.
3190 (server-eval-and-print): Use it.
3191 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3194 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3196 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3199 2012-03-11 Chong Yidong <cyd@gnu.org>
3201 * simple.el (goto-line): Doc fix (Bug#9938).
3203 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3205 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3206 when finished (Bug#10963).
3208 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3210 * window.el (split-window-below): Fix bug in case where
3211 split-window-keep-point is nil (Bug#10971).
3213 2012-03-11 Juri Linkov <juri@jurta.org>
3215 * replace.el (replace-highlight): Set isearch-word to nil
3216 unconditionally. (Bug#10887)
3218 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3220 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3221 mairix-replace-illegal-chars; all callers changed. Don't remove
3222 ^, ~, and = characters: they are meaningful in mairix search specs.
3223 (mairix-widget-create-query): Add usage information about mairix
3224 search forms: negating words, searching for substrings, etc.
3226 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3228 * international/fontset.el (font-encoding-alist): Add an entry for
3231 2012-03-10 Richard Stallman <rms@gnu.org>
3233 * mail/sendmail.el (mail-encode-header):
3234 Set rfc2047-encode-encoded-words.
3236 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3238 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3239 view buffer means not swapped.
3240 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3241 (rmail-write-region-annotate): Error if real text has disappeared.
3243 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3245 2012-03-10 Chong Yidong <cyd@gnu.org>
3247 * emulation/cua-rect.el (cua--init-rectangles):
3248 * emulation/cua-base.el (cua--init-keymaps):
3249 Add delete-forward-char to remappings (Bug#9666).
3251 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3253 * speedbar.el (speedbar-unhighlight-one-tag-line):
3254 Avoid unhighlighting due to frame switching (Bug#10275).
3256 2012-03-10 Chong Yidong <cyd@gnu.org>
3258 * minibuffer.el (completion-in-region, completion-help-at-point):
3259 Give the completion field overlay a high priority (Bug#6830).
3261 * dired.el (dired-goto-file): Recognize absolute file name
3262 listings (Bug#7126).
3263 (dired-goto-file-1): New helper function.
3264 (dired-toggle-read-only): Inhibit warnings.
3266 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3268 * net/dbus.el (dbus-property-handler): Return empty array if
3269 there are no properties.
3271 2012-03-09 Leo Liu <sdl.web@gmail.com>
3273 * savehist.el (savehist-printable): Stricter check for string
3276 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3278 * mail/smtpmail.el (smtpmail-send-it):
3279 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3282 2012-03-09 Glenn Morris <rgm@gnu.org>
3284 * files.el (dir-locals-find-file):
3285 Don't check result is regular, readable.
3286 (dir-locals-read-from-file): Demote errors.
3288 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3290 * international/quail.el (quail-insert-kbd-layout):
3291 Insert invisible LRM characters before each character in a keyboard
3292 layout cell, to prevent their reordering by bidi display engine.
3293 For details, see the discussion in
3294 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3296 2012-03-08 Alan Mackenzie <acm@muc.de>
3298 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3299 the starting position; make it extend the marked region when
3300 invoked repeatedly - all under appropriate circumstances.
3301 Fixes bugs #5525, #10906.
3303 2012-03-08 Glenn Morris <rgm@gnu.org>
3305 * files.el (locate-dominating-file, dir-locals-find-file):
3306 Undo 2012-03-06 change.
3308 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3310 * international/quail.el (quail-help):
3311 Force bidi-paragraph-direction be left-to-right. See discussion in
3312 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3315 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3317 Avoid superfluous registering of signals. (Bug#10807)
3319 * notifications.el (notifications-on-action-object)
3320 (notifications-on-close-object): New defvars.
3321 (notifications-on-action-signal, notifications-on-closed-signal):
3322 Unregister the signal if not needed any longer.
3323 (notifications-notify): Register `notifications-action-signal' or
3324 `notifications-closed-signal', if :on-action or :on-close has been
3327 2012-03-07 Chong Yidong <cyd@gnu.org>
3329 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3332 2012-03-06 Glenn Morris <rgm@gnu.org>
3334 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3335 (x-disown-selection-internal, x-get-selection-internal):
3336 Doc fix (add arglist signatures). (Bug#10783)
3338 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3340 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3341 Handle breakpoints with no "type".
3343 2012-03-06 Glenn Morris <rgm@gnu.org>
3345 * files.el (locate-dominating-file): Add optional predicate argument.
3346 (dir-locals-find-file): Make use of above change.
3348 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3350 * info.el (Info-insert-dir): Also try "dir.gz".
3352 2012-03-06 Glenn Morris <rgm@gnu.org>
3354 * files.el (dir-locals-find-file):
3355 Ignore non-readable or non-regular files. (Bug#10928)
3357 * files.el (locate-dominating-file): Doc fix.
3359 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3361 * calendar/calendar.el (calendar-set-mode-line):
3362 `getenv' returns a string. (Bug#10951)
3364 2012-03-05 Leo Liu <sdl.web@gmail.com>
3366 * simple.el (backward-delete-char-untabify): Constrain point to
3369 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3371 2012-03-05 Chong Yidong <cyd@gnu.org>
3373 * simple.el (count-words): If called from Lisp, return the word
3374 count, for symmetry with `count-lines'. Arglist changed.
3375 (count-words--message): Args changed. Consolidate counting code
3376 from count-words and count-words-region.
3377 (count-words-region): Caller changed.
3378 (count-lines-region): Make it an obsolete alias.
3380 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3382 * saveplace.el (save-place-to-alist)
3383 (save-place-ignore-files-regexp): Allow value nil to disable this
3386 2012-03-04 Chong Yidong <cyd@gnu.org>
3388 * faces.el (face-spec-reset-face): For the default face, reset the
3389 attributes to default values (Bug#10748).
3391 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3393 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3394 previous patch: Check `message-send-mail-function', and not the
3395 default function (bug#10897).
3397 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3399 * notifications.el (notifications-on-action-signal)
3400 (notifications-on-closed-signal): Check for unique service name of
3401 incoming event. Fix error in removing entry.
3402 (top): Register for signals with wildcard service name.
3403 (notifications-notify): Use daemon unique service name for map entries.
3405 2012-03-04 Chong Yidong <cyd@gnu.org>
3407 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3409 2012-03-04 Glenn Morris <rgm@gnu.org>
3411 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3412 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3413 (expand-abbrev, define-abbrev-table): Doc fixes.
3415 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3417 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3418 `message-default-send-mail-function' and not `send-mail-function'
3419 when doing the prompting for `sendmail-query-once' before sending
3420 in Message buffers (bug#10897).
3422 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3423 This is inconsistent with all the other stream functions, which leave
3424 the setting up to the higher levels (if so wanted) (bug#10931).
3426 2012-03-02 Alan Mackenzie <acm@muc.de>
3428 Depessimize the handling of very large macros.
3430 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3431 (c-macro-cache-syntactic): New variables to implement a one
3432 element macro cache.
3433 (c-invalidate-macro-cache): New function.
3434 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3435 Adapt to use the new cache.
3436 (c-state-safe-place): Use better the cache of safe positions.
3437 (c-state-semi-nonlit-pos-cache)
3438 (c-state-semi-nonlit-pos-cache-limit):
3439 New variables for...
3440 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3441 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3442 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3443 Use c-state-semi-safe-place.
3445 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3446 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3448 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3450 * jka-compr.el (jka-compr-call-process):
3451 Apply `file-accessible-directory-p' only when the default directory is
3454 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3456 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3457 access of FILE2, if FILE1 does not exist.
3459 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3460 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3462 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3463 Add "PAGER=" to `process-environment'.
3465 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3467 * progmodes/sql.el: Bug fix
3468 (sql-get-login-ext): Save login values in globals.
3469 (sql-get-login): Use new version of `sql-get-login-ext'.
3470 (sql-interactive-mode): Set global `sql-connection' to nil.
3471 (sql-connect): Set global values for connection.
3472 (sql-product-interactive): Save global values as buffer local.
3474 2012-02-29 Leo Liu <sdl.web@gmail.com>
3476 * abbrev.el (define-abbrevs): Reset sys to nil.
3478 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3480 * files.el (file-equal-p): Rename from `files-equal-p'.
3481 Return nil when one or both files don't exist.
3482 (file-subdir-of-p): Now only top directory must exists,
3483 return nil if it doesn't.
3484 (copy-directory): No need to test with `file-subdir-of-p' after
3486 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3489 2012-02-28 Glenn Morris <rgm@gnu.org>
3491 * shell.el (shell-mode):
3492 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3493 * play/landmark.el (landmark-font-lock-face-O):
3494 * play/handwrite.el (handwrite):
3495 * play/gomoku.el (gomoku-O):
3496 * net/browse-url.el (browse-url-browser-display):
3497 * international/mule.el (define-charset):
3498 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3499 * filesets.el (filesets-find-file-delay):
3500 * eshell/em-xtra.el (eshell-xtra):
3501 * eshell/em-unix.el (eshell-grep):
3502 * emulation/viper.el (viper-mode):
3503 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3504 * emacs-lisp/easymenu.el (easy-menu-define):
3505 * calendar/timeclock.el (timeclock-use-display-time):
3507 * bookmark.el (bookmark-save-flag):
3508 Doc fix (standardize possessive apostrophe usage).
3510 2012-02-27 Chong Yidong <cyd@gnu.org>
3512 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3513 Fix key-binding lookup for ESC key (Bug#9146).
3515 * font-lock.el (font-lock-specified-p): Rename from
3516 font-lock-spec-present. Callers changed.
3518 2012-02-27 Daniel Hackney <dan@haxney.org>
3520 * emacs-lisp/package.el (package-compute-transaction):
3521 Handle holding a package version to t in package-load-list.
3523 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3525 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3526 (tramp-get-inode, tramp-get-device): Use cached values.
3528 2012-02-26 Alan Mackenzie <acm@muc.de>
3530 Check there is a font-lock specification before doing initial
3533 * font-core.el (font-lock-mode): Move the conditional from
3534 :after-hook to font-lock-initial-fontify.
3535 (font-lock-default-function): Move the check for a specification
3536 to font-lock-spec-present.
3538 * font-lock.el (font-lock-initial-fontify): Call ...
3539 (font-lock-spec-present): New function.
3541 2012-02-26 Jim Blandy <jimb@red-bean.com>
3543 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3544 (gdb-send): Apply it to the operand of the '-interpreter-exec
3545 console' command, so that we can pass arguments with (say) quotes
3546 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3548 2012-02-26 Chong Yidong <cyd@gnu.org>
3550 * help-fns.el (describe-function-1): Clarify description of
3551 remapping (Bug#10844).
3553 * files.el (files-equal-p): Doc fix.
3554 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3555 and quit the loop once a mismatch is found.
3557 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3559 * bs.el (bs--show-with-configuration): Don't throw an error
3560 if the window cannot be split; otherwise, subsequent calls to
3561 bs-show fail, restoring a stale window config. (Bug#10882)
3563 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3565 * term/ns-win.el (global-map): Bind ns-drag-file to
3566 ns-find-file (Bug#5855, Bug#10050).
3568 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3570 * calendar/parse-time.el (parse-time-string): Allow extractor to
3573 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3575 * net/tramp.el (tramp-file-name-for-operation):
3576 Add `files-equal-p' and `file-subdir-of-p'.
3578 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3579 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3580 Add COPY-CONTENTS argument.
3582 2012-02-25 Chong Yidong <cyd@gnu.org>
3584 Add custom groups for VC backends, for consistency with vc-bzr.
3586 * vc/vc-arch.el (vc-arch):
3587 * vc/vc-cvs.el (vc-cvs):
3588 * vc/vc-git.el (vc-git):
3589 * vc/vc-hg.el (vc-hg):
3590 * vc/vc-mtn.el (vc-mtn):
3591 * vc/vc-rcs.el (vc-rcs):
3592 * vc/vc-sccs.el (vc-sccs):
3593 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3594 All relevant defcustoms reassigned.
3596 2012-02-25 Chong Yidong <cyd@gnu.org>
3598 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3600 * term/x-win.el (x-initialize-window-system): Reduce default for
3601 x-selection-timeout to 5 seconds (Bug#8869).
3603 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3605 * files.el (files-equal-p, file-subdir-of-p): New functions.
3606 (copy-directory): Error when trying to copy a directory on itself.
3607 Add missing copy-contents arg to tramp handler.
3608 * dired-aux.el (dired-copy-file-recursive): Same.
3609 (dired-create-files): Modify destination when source is equal to
3610 dest when copying files.
3611 Return also when dest is a subdir of source. (Bug#10489)
3613 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3615 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3618 2012-02-23 Alan Mackenzie <acm@muc.de>
3620 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3621 parameter "after-hook:" to allow the expansion to run code after
3622 the execution of the mode hooks.
3624 * font-lock.el (font-lock-initial-fontify): New function extracted
3625 from font-lock-mode-internal.
3627 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3630 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3633 (completion--cache-all-sorted-completions): New function.
3634 (completion-all-sorted-completions): Use it.
3635 (completion--do-completion, minibuffer-force-complete):
3636 Use it to re-instate the flush hook.
3638 * icomplete.el (icomplete-completions): Replace last fix with a better
3641 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3643 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3644 when it might call us back infinitely (bug#10797).
3646 2012-02-23 Glenn Morris <rgm@gnu.org>
3648 * minibuffer.el (completion-category-overrides): Doc fix.
3650 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3653 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3655 2012-02-23 Glenn Morris <rgm@gnu.org>
3657 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3658 (authors-obsolete-files-regexps, authors-ignored-files)
3659 (authors-ambiguous-files, authors-renamed-files-alist):
3662 2012-02-23 Juri Linkov <juri@jurta.org>
3664 * isearch.el (isearch-occur): Sync interactive spec with occur's
3665 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3667 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3669 2012-02-22 Juri Linkov <juri@jurta.org>
3671 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3672 (ucs-insert): Doc fix. Check for hex digits in the string.
3673 Don't display `nil' in the error message. (Bug#10857)
3675 2012-02-22 Alan Mackenzie <acm@muc.de>
3677 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3679 2012-02-22 Glenn Morris <rgm@gnu.org>
3681 * ffap.el (ffap-c-path):
3682 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3684 2012-02-22 Chong Yidong <cyd@gnu.org>
3686 * custom.el (load-theme): Doc fix.
3688 2012-02-22 Glenn Morris <rgm@gnu.org>
3690 * dired-x.el (dired-guess-shell-alist-default):
3691 Remove escape sequences from nroff output. (Bug#172)
3693 2012-02-21 Glenn Morris <rgm@gnu.org>
3695 * vc/emerge.el (emerge-defvar-local):
3696 Set `permanent-local' property rather than unused `preserved'.
3698 * textmodes/picture.el (picture-delete-char): New alias.
3699 (picture-mode-map): Use it. (Bug#10860)
3700 (picture-mode): Doc fix.
3702 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3704 * newcomment.el (uncomment-region-default): Remove unused binding.
3706 2012-02-21 Glenn Morris <rgm@gnu.org>
3708 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3709 (picture-self-insert, picture-tab-chars): Doc fix.
3710 (picture-mode-map): Fix C-a, C-e.
3712 2012-02-20 Glenn Morris <rgm@gnu.org>
3714 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3716 2012-02-20 Leo Liu <sdl.web@gmail.com>
3718 * icomplete.el (icomplete-completions): Check FROM arg before
3719 passing to substring (Bug#10850).
3721 2012-02-19 Chong Yidong <cyd@gnu.org>
3723 * comint.el: Require ansi-color.
3724 (comint-output-filter-functions): Add ansi-color-process-output.
3726 * ansi-color.el: Don't set comint-output-filter-functions; it is
3727 now in the initial value defined in comint.el.
3728 (ansi-color-apply-face-function): New variable.
3729 (ansi-color-apply-on-region): Use it.
3730 (ansi-color-apply-overlay-face): New function.
3732 * shell.el (shell): No need to require ansi-color.
3733 (shell-mode): Use ansi-color-apply-face-function to highlight
3734 color escapes using font-lock-face property (Bug#10835).
3736 2012-02-19 Chong Yidong <cyd@gnu.org>
3738 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3739 mode-line formats (Bug#10839).
3741 2012-02-18 Glenn Morris <rgm@gnu.org>
3743 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3745 * mail/undigest.el (unforward-rmail-message): Doc fix.
3747 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3749 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3751 * international/characters.el (script-list): Sync with the latest
3752 Unicode Character Database.
3754 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3756 * international/titdic-cnv.el: Remove duplicate coding tag.
3757 * language/cham.el: Likewise.
3758 * language/tai-viet.el: Likewise.
3760 2012-02-18 Glenn Morris <rgm@gnu.org>
3762 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3763 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3764 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3765 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3766 * calendar/holidays.el (holiday-bahai-holidays)
3767 (calendar-holidays, list-holidays):
3768 Use utf-8 Bahá'í in doc-strings, menus, etc.
3770 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3772 * saveplace.el (save-place-ignore-files-regexp): New variable
3773 allowing for excluding files from saving their location of point.
3774 The default value matches the temporary commit message editing
3775 files from Git, SVN, Bazaar, and Mercurial.
3776 (save-place-to-alist): Use it.
3778 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3779 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * newcomment.el (uncomment-region-default): Don't leave extra space
3782 when an arg is provided (bug#8150).
3784 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3786 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3788 2012-02-17 Glenn Morris <rgm@gnu.org>
3790 * net/socks.el: Require network-stream. (Bug#10599)
3792 2012-02-17 Kenichi Handa <handa@m17n.org>
3794 * international/charprop.el:
3795 * international/uni-name.el:
3796 * international/uni-old-name.el:
3797 * international/uni-comment.el: Regenerate.
3799 2012-02-16 Glenn Morris <rgm@gnu.org>
3801 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3802 Interactively in calendar buffer, give an error if not on a date.
3804 2012-02-15 Glenn Morris <rgm@gnu.org>
3806 * shell.el (shell-delimiter-argument-list):
3807 Revert 2011-02-17 change. (Bug#8027)
3809 2012-02-15 Chong Yidong <cyd@gnu.org>
3811 * minibuffer.el (completion-at-point-functions): Doc fix.
3813 * custom.el (defcustom): Doc fix; note use of defvar.
3815 2012-02-15 Glenn Morris <rgm@gnu.org>
3817 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3820 2012-02-14 Glenn Morris <rgm@gnu.org>
3822 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3824 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3826 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3827 way the ports list is computed.
3828 (smtpmail-query-smtp-server): Prompt the user for a port number if
3829 we can't connect to any of the standard ports (bug#10810).
3831 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3833 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3835 2012-02-13 Glenn Morris <rgm@gnu.org>
3837 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3839 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3841 * net/gnutls.el (gnutls-trustfiles): New variable.
3842 (gnutls-negotiate): Use it.
3844 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3846 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3847 does its stuff if Gnus is running.
3849 2012-02-13 Alan Mackenzie <acm@muc.de>
3851 Fix a loop in c-set-fl-decl-start.
3853 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3854 c-backward-syntactic-ws actually moves backwards.
3856 2012-02-13 Leo Liu <sdl.web@gmail.com>
3858 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3859 beginning so that all \C-o chars are removed.
3861 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3863 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3865 2012-02-12 Alan Mackenzie <acm@muc.de>
3867 Fix infinite loop with long macros.
3868 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3870 2012-02-12 Chong Yidong <cyd@gnu.org>
3872 * window.el (display-buffer): Doc fix (Bug#10785).
3874 2012-02-12 Glenn Morris <rgm@gnu.org>
3876 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3877 (x-disown-selection-internal, x-get-selection-internal):
3878 Sync docs with the xselect.c versions.
3880 * allout-widgets.el: Add missing license notice.
3882 2012-02-11 Glenn Morris <rgm@gnu.org>
3884 * select.el (x-get-selection-internal, x-own-selection-internal)
3885 (x-disown-selection-internal):
3886 * x-dnd.el (x-get-selection-internal): Update declarations.
3888 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3890 * window.el (window-sides-slots):
3891 * tool-bar.el (tool-bar-position):
3892 * term/xterm.el (xterm-extra-capabilities):
3893 * ses.el (ses-self-reference-early-detection):
3894 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3895 (verilog-auto-wire-type)
3896 (verilog-auto-delete-trailing-whitespace)
3897 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3898 (verilog-auto-tieoff-declaration):
3899 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3900 (sql-oracle-statement-starters, sql-oracle-scan-on):
3901 * progmodes/prolog.el (prolog-align-comments-flag)
3902 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3903 (prolog-left-indent-regexp, prolog-paren-indent-p)
3904 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3905 (prolog-types, prolog-mode-specificators)
3906 (prolog-determinism-specificators, prolog-directives)
3907 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3908 (prolog-electric-dot-flag)
3909 (prolog-electric-dot-full-predicate-template)
3910 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3911 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3912 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3913 (prolog-program-switches, prolog-prompt-regexp)
3914 (prolog-debug-on-string, prolog-debug-off-string)
3915 (prolog-trace-on-string, prolog-trace-off-string)
3916 (prolog-zip-on-string, prolog-zip-off-string)
3917 (prolog-use-standard-consult-compile-method-flag)
3918 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3919 (prolog-imenu-max-lines, prolog-info-predicate-index)
3920 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3921 (prolog-char-quote-workaround):
3922 * progmodes/cc-vars.el (c-defun-tactic):
3923 * net/tramp.el (tramp-encoding-command-interactive)
3924 (tramp-local-end-of-line):
3925 * net/soap-client.el (soap-client):
3926 * net/netrc.el (netrc-file):
3927 * net/gnutls.el (gnutls):
3928 * minibuffer.el (completion-category-overrides)
3929 (completion-cycle-threshold)
3930 (completion-pcm-complete-word-inserts-delimiters):
3931 * man.el (Man-name-local-regexp):
3932 * mail/feedmail.el (feedmail-display-full-frame):
3933 * international/characters.el (glyphless-char-display-control):
3934 * eshell/em-ls.el (eshell-ls-date-format):
3935 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3936 (lisp-lambda-list-keyword-parameter-indentation)
3937 (lisp-lambda-list-keyword-parameter-alignment):
3938 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3939 * dired-x.el (dired-omit-verbose):
3940 * cus-theme.el (custom-theme-allow-multiple-selections):
3941 * calc/calc.el (calc-highlight-selections-with-faces)
3942 (calc-lu-field-reference, calc-lu-power-reference)
3943 (calc-note-threshold):
3944 * battery.el (battery-mode-line-limit):
3945 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3946 (archive-7z-update):
3947 * allout.el (allout-prefixed-keybindings)
3948 (allout-unprefixed-keybindings)
3949 (allout-inhibit-auto-fill-on-headline)
3950 (allout-flattened-numbering-abbreviation):
3951 * allout-widgets.el (allout-widgets-auto-activation)
3952 (allout-widgets-icons-dark-subdir)
3953 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3954 (allout-widgets-theme-dark-background)
3955 (allout-widgets-theme-light-background)
3956 (allout-widgets-item-image-properties-emacs)
3957 (allout-widgets-item-image-properties-xemacs)
3958 (allout-widgets-run-unit-tests-on-load)
3959 (allout-widgets-time-decoration-activity)
3960 (allout-widgets-hook-error-post-time)
3961 (allout-widgets-track-decoration):
3962 Add missing :version tags to new defcustoms and defgroups.
3964 * progmodes/sql.el (sql-ansi-statement-starters)
3965 (sql-oracle-statement-starters): Add custom type.
3967 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3968 (prolog-system-version): Give it a type.
3970 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3972 * term/pc-win.el (x-select-text, x-selection-owner-p)
3973 (x-own-selection-internal, x-disown-selection-internal)
3974 (x-get-selection-internal): Sync doc strings and argument lists
3975 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3977 2012-02-11 Leo Liu <sdl.web@gmail.com>
3979 * progmodes/python.el (python-end-of-statement): Fix infinite
3982 2012-02-10 Glenn Morris <rgm@gnu.org>
3984 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3985 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3987 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3989 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3990 about SMTP before checking the From header.
3992 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3993 into own function for reuse by emacsbug.el.
3995 2012-02-10 Leo Liu <sdl.web@gmail.com>
3997 * subr.el (condition-case-unless-debug): Rename from
3998 condition-case-no-debug. All callers changed.
3999 (with-demoted-errors): Fix caller.
4001 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4002 * nxml/rng-valid.el (rng-do-some-validation):
4003 * emacs-lisp/package.el (package-refresh-contents)
4004 (package-menu-execute):
4005 * desktop.el (desktop-create-buffer):
4006 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4008 2012-02-10 Glenn Morris <rgm@gnu.org>
4010 * textmodes/bibtex.el:
4011 Add missing :version tags for new/changed defcustoms.
4013 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4015 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4017 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4018 (smtpmail-via-smtp): Use it, or fall back on the From address.
4019 (smtpmail-send-it): Ditto.
4021 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4024 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4025 (byte-compile-tmp-var): New const.
4026 (byte-compile-defvar): Use it to minimize .elc size.
4027 Just use `defvar' rather than simulate it (bug#10761).
4029 2012-02-09 Glenn Morris <rgm@gnu.org>
4031 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4033 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4036 * progmodes/compile.el (compilation-error-screen-columns)
4037 (compilation-first-column, compilation-filter-start): Doc fixes.
4039 * vc/log-view.el (log-view-toggle-entry-display):
4040 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4042 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4043 (report-emacs-bug-can-use-xdg-email):
4044 (report-emacs-bug-insert-to-mailer): Doc fixes.
4045 (report-emacs-bug): Message fix.
4047 * net/browse-url.el (browse-url-can-use-xdg-open)
4048 (browse-url-xdg-open): Doc fixes.
4050 * electric.el (electric-indent-mode, electric-pair-mode)
4051 (electric-layout-rules, electric-layout-mode): Doc fixes.
4052 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4054 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4056 * server.el (server-unselect-display): Don't inadvertently kill
4057 the current buffer. (Bug#10729)
4059 2012-02-08 Glenn Morris <rgm@gnu.org>
4061 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4062 (sql-list-table): Doc fixes.
4064 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4065 Comment out (does nothing).
4067 * completion.el (dynamic-completion-mode):
4068 * dirtrack.el (dirtrack-debug-mode):
4069 * electric.el (electric-layout-mode):
4070 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4071 * face-remap.el (text-scale-mode, buffer-face-mode):
4072 * iimage.el (iimage-mode):
4073 * image-mode.el (image-transform-mode):
4074 * minibuffer.el (completion-in-region-mode):
4075 * scroll-lock.el (scroll-lock-mode):
4076 * simple.el (next-error-follow-minor-mode):
4077 * tar-mode.el (tar-subfile-mode):
4078 * tooltip.el (tooltip-mode):
4079 * vcursor.el (vcursor-use-vcursor-map):
4080 * wid-browse.el (widget-minor-mode):
4081 * emulation/tpu-edt.el (tpu-edt-mode):
4082 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4083 * international/iso-ascii.el (iso-ascii-mode):
4084 * language/thai-util.el (thai-word-mode):
4085 * mail/supercite.el (sc-minor-mode):
4086 * net/goto-addr.el (goto-address-mode):
4087 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4088 * progmodes/cwarn.el (cwarn-mode):
4089 * progmodes/flymake.el (flymake-mode):
4090 * progmodes/glasses.el (glasses-mode):
4091 * progmodes/hideshow.el (hs-minor-mode):
4092 * progmodes/pascal.el (pascal-outline-mode):
4093 * textmodes/enriched.el (enriched-mode):
4094 * vc/smerge-mode.el (smerge-mode):
4095 Doc fixes (minor mode argument).
4097 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4099 * ls-lisp.el (ls-lisp-sanitize): New function.
4100 (ls-lisp-insert-directory): Use it to fix or remove any elements
4101 in file-alist with missing attributes. (Bug#4673)
4103 2012-02-07 Alan Mackenzie <acm@muc.de>
4105 Fix spurious recognition of c-in-knr-argdecl.
4107 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4108 putative K&R region.
4110 2012-02-07 Alan Mackenzie <acm@muc.de>
4112 * progmodes/cc-engine.el (c-forward-objc-directive):
4113 Prevent looping in "#pragma mark @implementation".
4115 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4117 * notifications.el (notifications-on-closed-signal): Make `reason'
4118 optional. (Bug#10744)
4120 2012-02-07 Glenn Morris <rgm@gnu.org>
4122 * emacs-lisp/easy-mmode.el (define-minor-mode):
4123 Doc fixes for the macro and the mode it defines.
4125 * image.el (imagemagick-types-inhibit): Doc fix.
4127 * cus-start.el (imagemagick-render-type): Add it.
4129 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4131 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4132 Set the default at load time, too, so that `font-lock-fontify-buffer'
4133 can be called without setting up the entire mode first. This fixes
4134 a bug in `mm-inline-text' with C MIME parts.
4136 2012-02-06 Chong Yidong <cyd@gnu.org>
4138 * simple.el (list-processes--refresh): Delete exited processes
4141 * comint.el (comint-next-prompt): next-single-char-property-change
4142 and prev-single-char-property-change never return nil (Bug#8657).
4144 * custom.el (defcustom): Doc fix (Bug#9711).
4146 2012-02-05 Chong Yidong <cyd@gnu.org>
4148 * cus-edit.el (custom-variable-reset-backup): Quote the value
4149 before storing it in the customized-value property (Bug#6712).
4150 (custom-display): Add a customization type tag.
4151 (custom-buffer-create-internal): Improve tooltip message.
4153 * wid-edit.el (widget-field-value-get): New optional arg to
4154 suppress trailing whitespace truncation.
4155 (character): Use it (Bug#2689).
4157 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4159 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4160 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4162 2012-02-05 Chong Yidong <cyd@gnu.org>
4164 * cus-edit.el (custom-variable-value-create): For mismatched
4165 types, show the current value (Bug#7600).
4167 * custom.el (defcustom): Doc fix.
4169 2012-02-05 Glenn Morris <rgm@gnu.org>
4171 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4173 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4175 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4176 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4177 (pp-last-sexp): Use `looking-at-p'.
4179 2012-02-04 Glenn Morris <rgm@gnu.org>
4181 * files.el (revert-buffer):
4182 Doc fix (mention revert-buffer-in-progress-p).
4184 * emacs-lisp/ert-x.el (ert-simulate-command):
4185 Check deferred-action-list (which is obsolete) is bound.
4187 * subr.el (with-wrapper-hook): Doc fixes.
4189 * simple.el (filter-buffer-substring-functions)
4190 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4192 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4194 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4195 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4197 2012-02-04 Leo Liu <sdl.web@gmail.com>
4199 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4201 2012-02-04 Glenn Morris <rgm@gnu.org>
4203 * image.el (image-extension-data): Add obsolete alias.
4205 * isearch.el (isearch-update): Doc fix.
4207 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4209 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4211 2012-02-03 Glenn Morris <rgm@gnu.org>
4213 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4214 (image-animate-timeout): Doc fix.
4216 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4218 2012-02-02 Glenn Morris <rgm@gnu.org>
4220 * server.el (server-auth-dir): Doc fix.
4221 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4223 * subr.el (run-mode-hooks): Doc fix.
4225 2012-02-02 Juri Linkov <juri@jurta.org>
4227 * image-mode.el (image-toggle-display-image): Remove tautological
4228 `major-mode' from the `derived-mode-p' test.
4230 2012-02-02 Kenichi Handa <handa@m17n.org>
4232 * composite.el (compose-region): Cancel previous change.
4234 2012-02-02 Kenichi Handa <handa@m17n.org>
4236 * composite.el (compose-region, compose-string): Signal error for
4237 a null string component (Bug#6988).
4239 2012-02-01 Chong Yidong <cyd@gnu.org>
4241 * view.el (view-buffer-other-window, view-buffer-other-frame):
4242 Handle special modes like view-buffer (Bug#10650).
4243 (view-buffer): Simplify.
4245 * frame.el (set-frame-font): Tweak meaning of third argument.
4247 * dynamic-setting.el (font-setting-change-default-font):
4248 Use set-frame-font (Bug#9982).
4250 2012-02-01 Glenn Morris <rgm@gnu.org>
4252 * progmodes/compile.el (compilation-internal-error-properties):
4253 Respect compilation-first-column in the "*compilation*" buffer.
4255 * emacs-lisp/easy-mmode.el (define-minor-mode):
4256 Relax :variable's test for a named function.
4258 2012-01-31 Alan Mackenzie <acm@muc.de>
4260 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4263 2012-01-31 Chong Yidong <cyd@gnu.org>
4265 * frame.el (set-frame-font): New arg ALL-FRAMES.
4267 * menu-bar.el (menu-set-font): Use set-frame-font.
4269 * faces.el (face-spec-reset-face): Don't apply unspecified
4270 attribute values to the default face.
4272 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4274 * progmodes/cwarn.el (cwarn): Remove dead link.
4275 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4276 Remove * from defcustom docstrings.
4277 (turn-on-cwarn-mode): Make obsolete.
4278 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4279 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4281 2012-01-31 Glenn Morris <rgm@gnu.org>
4283 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4284 Fix :variable handling of mode a symbol not equal to modefun.
4285 Allow named functions to be used as the cdr of :variable.
4287 2012-01-30 Glenn Morris <rgm@gnu.org>
4289 * emacs-lisp/authors.el (authors-fixed-entries):
4290 Remove reference to deleted file rnewspost.el.
4292 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4294 * window.el (window-with-parameter): Remove unused variable `windows'.
4295 (window--side-check): Remove unused variable `code'.
4296 (window--resize-siblings): Remove unused variable `first'.
4297 (adjust-window-trailing-edge): Remove unused variable `failed'.
4298 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4299 Use `let', not `let*'.
4300 (balance-windows-2): Remove unused variable `found'.
4301 (window--state-put-2): Remove unused variable `splits'.
4302 (window-state-put): Remove unused variable `selected'.
4303 (same-window-p): Use `string-match-p'.
4304 (display-buffer-assq-regexp): Remove unused variable `value'.
4305 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4306 Mark argument ALIST as ignored.
4307 (pop-to-buffer): Remove unused variable `old-window'.
4309 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4311 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4312 and .lzma compressed files.
4314 2012-01-29 Chong Yidong <cyd@gnu.org>
4316 * frame.el (window-system-default-frame-alist): Doc fix.
4318 * dynamic-setting.el (font-setting-change-default-font): Don't
4319 change the default face if SET-FONT argument is non-nil (Bug#9982).
4321 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4323 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4325 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4327 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4328 breakpoints in files outside current directory (Bug#6098).
4330 2012-01-29 Chong Yidong <cyd@gnu.org>
4332 * progmodes/python.el: Require ansi-color at top-level.
4334 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4335 Define and use in Emacs Lisp mode (Bug#9360).
4336 (lisp-mode-abbrev-table): Add doc.
4337 (lisp-mode-variables): Don't set local-abbrev-table.
4338 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4340 2012-01-28 Roland Winkler <winkler@gnu.org>
4342 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4344 2012-01-28 Roland Winkler <winkler@gnu.org>
4346 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4347 (bibtex-set-dialect): Use it. Either set global values of
4348 dialect-dependent variables or bind these variables buffer-locally
4350 (bibtex-mode): Call bibtex-set-dialect via
4351 hack-local-variables-hook.
4352 (bibtex-dialect): Update docstring.
4353 Add safe-local-variable predicate.
4354 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4356 (bibtex-mode-map): Define menu for each dialect.
4357 (bibtex-entry): Fix docstring.
4359 2012-01-28 Chong Yidong <cyd@gnu.org>
4361 * eshell/esh-arg.el (eshell-quote-argument): New function.
4363 * eshell/esh-ext.el (eshell-invoke-batch-file):
4364 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4365 first arg to eshell-parse-command (Bug#10523).
4367 2012-01-28 Drew Adams <drew.adams@oracle.com>
4369 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4370 `default-directory' is non-nil.
4372 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4374 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4375 line that displays system-configuration-options. (Bug#9924)
4377 2012-01-28 Drew Adams <drew.adams@oracle.com>
4379 * descr-text.el (describe-char): Show information about POS, in
4380 addition to information about the character at POS. Improve and
4381 update the doc string. Change "code point" to "code point in
4382 charset", to avoid confusion with the character's Unicode code
4383 point shown above that. (Bug#10129)
4385 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4387 * descr-text.el (describe-char): Show the raw character, not only
4388 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4389 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4392 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4394 * emacs-lisp/package.el (package-install):
4395 Run package-refresh-contents if there is no archive yet (Bug#9798).
4397 2012-01-28 Chong Yidong <cyd@gnu.org>
4399 * emacs-lisp/package.el (package-maybe-load-descriptor):
4400 New function, split from package-maybe-load-descriptor.
4401 (package-maybe-load-descriptor): Use it.
4402 (package-download-transaction): Fully load required packages
4403 inside the loop, so that `require' calls work (Bug#10593).
4404 (package-install): No need to call package-initialize now.
4406 2012-01-28 Chong Yidong <cyd@gnu.org>
4408 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4410 * tooltip.el (tooltip-mode): Doc fix.
4411 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4413 * frame.el (set-cursor-color): Doc fix (Bug#352).
4415 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4416 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4418 * cus-edit.el (custom-buffer-create-internal): Fix search button
4420 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4422 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4424 * dired.el (dired-mark-files-regexp):
4425 Include any subdirectory components. (Bug#10445)
4427 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4429 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4430 Handle [host]:port syntax. (Bug#10533)
4432 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4434 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4436 2012-01-26 Glenn Morris <rgm@gnu.org>
4438 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4439 * term.el (term-raw-escape-map): Use Control-X-prefix.
4440 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4442 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4444 * window.el (window-state-get, window--state-get-1): Don't deal
4445 with fixed-sizeness of windows. Simplify code.
4447 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4449 * window.el (window--state-get-1, window--state-put-2):
4450 Don't save and restore the mark.
4452 2012-01-25 Chong Yidong <cyd@gnu.org>
4454 * custom.el (custom-variable-p): Doc fix.
4456 2012-01-25 Glenn Morris <rgm@gnu.org>
4458 * dired.el (dired-goto-file): Handle some of the more common
4459 characters that `ls -b' escapes. (Bug#10596)
4461 * progmodes/compile.el (compilation-next-error-function):
4462 Respect compilation-first-column in the "*compilation*" buffer.
4463 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4465 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4467 2012-01-24 Glenn Morris <rgm@gnu.org>
4469 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4471 2012-01-24 Julien Danjou <julien@danjou.info>
4473 * color.el (color-rgb-to-hsl): Fix value computing.
4474 (color-hue-to-rgb): New function.
4475 (color-hsl-to-rgb): New function.
4476 (color-clamp, color-saturate-hsl, color-saturate-name)
4477 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4478 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4480 2012-01-24 Glenn Morris <rgm@gnu.org>
4482 * vc/vc-rcs.el (vc-rcs-create-tag):
4483 * vc/vc-sccs.el (vc-sccs-create-tag):
4484 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4486 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4488 * eshell/esh-util.el (eshell-read-hosts-file):
4489 Skip comment lines. (Bug#10549)
4491 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4493 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4495 * subr.el (display-delayed-warnings): Doc fix.
4496 (collapse-delayed-warnings): New function to collapse identical
4498 (delayed-warnings-hook): Add it.
4500 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4502 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4504 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4505 properties, when "login-as" is set.
4507 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4508 (tramp-default-user-alist): Don't add "pscp".
4509 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4510 property "login-as", if set. (Bug#10530)
4512 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4514 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4515 "plink1" and "psftp". (Bug#10530)
4517 2012-01-21 Kenichi Handa <handa@m17n.org>
4519 * international/mule-cmds.el (prefer-coding-system): Show a
4520 warning message if the default value of file-name-coding-system
4523 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4525 * windmove.el (windmove-reference-loc):
4526 Fix windmove-reference-loc miscalculation.
4528 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4530 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4533 2012-01-21 Glenn Morris <rgm@gnu.org>
4535 * international/mule.el (auto-coding-alist): Add .tbz.
4537 * files.el (local-enable-local-variables): Doc fix.
4538 (inhibit-local-variables-regexps): Rename from
4539 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4540 Doc fix. Add some extensions from auto-coding-alist.
4541 (inhibit-local-variables-suffixes):
4542 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4543 (inhibit-local-variables-p):
4544 New function, extracted from set-auto-mode-1.
4545 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4546 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4547 (hack-local-variables): Doc fix. Make the mode-only case
4548 respect enable-local-variables and friends.
4549 Respect inhibit-local-variables-regexps for file-locals, but
4550 not for directory-locals.
4551 (set-visited-file-name):
4552 Take account of inhibit-local-variables-regexps.
4553 Whether it applies may change as the file name is changed.
4554 * jka-cmpr-hook.el (jka-compr-install):
4555 * jka-compr.el (jka-compr-uninstall):
4556 Update for inhibit-first-line-modes-suffixes name change.
4558 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4560 * help-macro.el (make-help-screen): Temporarily restore original
4561 binding for minor-mode-map-alist (Bug#10454).
4563 2012-01-19 Julien Danjou <julien@danjou.info>
4565 * color.el (color-name-to-rgb): Use the white color to find the max
4566 color component value and return correctly computed values.
4567 (color-name-to-rgb): Add missing float conversion for max value.
4569 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4571 * window.el (window--state-get-1, window-state-get): Do not use
4572 special state value for window-persistent-parameters.
4573 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4574 (window--state-put-2): Reset all window parameters to nil before
4575 assigning values of persistent parameters.
4577 2012-01-18 Alan Mackenzie <acm@muc.de>
4579 Eliminate sluggishness and hangs in fontification of "semicolon
4582 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4583 Change value 10000 -> 3000.
4584 (c-state-safe-place): Reformulate so it doesn't stack up an
4585 infinite number of wrong entries in c-state-nonlit-pos-cache.
4586 (c-determine-limit-get-base, c-determine-limit): New functions to
4587 determine backward search limits disregarding literals.
4588 (c-find-decl-spots): Amend commenting.
4589 (c-cheap-inside-bracelist-p): New function which detects "={".
4591 * progmodes/cc-fonts.el
4592 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4594 (c-font-lock-declarations): Fix an occurrence of point being
4595 undefined. Check additionally for point being in a bracelist or
4596 near a macro invocation without a semicolon so as to avoid a
4597 fruitless time consuming search for a declarator. Give a more
4598 precise search limit for declarators using the new
4601 2012-01-18 Glenn Morris <rgm@gnu.org>
4603 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4604 (set-auto-mode): Doc fixes.
4606 2012-01-17 Glenn Morris <rgm@gnu.org>
4608 * isearch.el (search-nonincremental-instead): Fix doc typo.
4610 * dired.el (dired-insert-directory): Handle newlines in directory name.
4611 (dired-build-subdir-alist): Unescape newlines in directory name.
4613 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4615 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4616 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4617 (tramp-action-terminal): Use it. (Bug#10530)
4619 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4623 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4625 * window.el (window-state-ignored-parameters): Remove variable.
4626 (window--state-get-1): Rename argument MARKERS to IGNORE.
4627 Handle persistent window parameters. Make copy of clone-of
4628 parameter only if requested. (Bug#10348)
4629 (window--state-put-2): Install a window parameter only if it has
4630 a non-nil value or an existing parameter shall be overwritten.
4632 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4634 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4636 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4638 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4639 don't pass the (nil) value of `upnode' to string-match.
4641 2012-01-14 Chong Yidong <cyd@gnu.org>
4643 * startup.el (command-line): Fix X resource class for cursorColor.
4644 Fix values recognized by the cursorBlink resource.
4646 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4648 * epg.el (epg--make-temp-file): Avoid permission race condition
4649 when running on old Emacs versions (bug#10403).
4651 2012-01-14 Glenn Morris <rgm@gnu.org>
4653 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4655 2012-01-13 Alan Mackenzie <acm@muc.de>
4657 Fix filling for when filladapt mode is enabled.
4659 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4660 c-mask-paragraph, pass in `fill-paragraph' rather than
4661 `fill-region-as-paragraph'. (This is a reversion of a previous
4663 * progmodes/cc-mode.el (c-basic-common-init):
4664 Make fill-paragraph-handle-comment buffer local and set it to nil.
4666 2012-01-13 Glenn Morris <rgm@gnu.org>
4668 * dired.el (dired-switches-escape-p): New function.
4669 (dired-insert-directory): Use dired-switches-escape-p.
4670 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4672 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4674 2012-01-12 Glenn Morris <rgm@gnu.org>
4676 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4677 changes in adaptive-fill-regexp. (Bug#10276)
4679 2012-01-11 Alan Mackenzie <acm@muc.de>
4681 Fix Emacs bug #10463 - put `widen's around the critical spots.
4683 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4684 widen around each invocation of c-state-pp-to-literal. Remove an
4685 unused let variable.
4687 2012-01-11 Glenn Morris <rgm@gnu.org>
4689 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4692 2012-01-10 Chong Yidong <cyd@gnu.org>
4694 * net/network-stream.el (network-stream-open-starttls):
4695 Avoid emitting a confusing error message when the server gives a bad
4696 response to the capability command.
4698 2012-01-10 Glenn Morris <rgm@gnu.org>
4700 * mail/unrmail.el (unrmail): Tweak previous change.
4702 2012-01-09 Chong Yidong <cyd@gnu.org>
4704 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4706 2012-01-08 Alan Mackenzie <acm@muc.de>
4708 Optimise font locking in long enum definitions.
4710 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4711 arm to a cond form to handle enums.
4712 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4713 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4715 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4717 * files.el (move-file-to-trash): Preserve default file modes on error.
4720 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722 * faces.el (set-face-attribute): Clarify the meaning of the nil
4725 * subr.el (with-selected-frame): Mention that the selected frame
4726 is restored (bug#9980).
4728 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4731 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4732 (password-read): Don't autoload unused function.
4734 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4736 * progmodes/which-func.el (which-func-mode): Turn into a
4737 non-interactive function and mark as obsolete (bug#10428).
4739 2012-01-06 Chong Yidong <cyd@gnu.org>
4741 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4742 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4743 functions, along with 1 and -1.
4745 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4747 * time.el (display-time-load-average)
4748 (display-time-default-load-average): Doc fixes. See the thread
4750 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4753 2012-01-06 Glenn Morris <rgm@gnu.org>
4755 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4756 has no messages. (Bug#10377)
4758 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4759 than Info-edit. (Bug#10385)
4761 * time.el (display-time-load-average, display-time-next-load-average):
4764 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4765 local setting of buffer-read-only to the input buffer. (Bug#10419)
4767 * calendar/calendar.el (calendar-mode):
4768 Locally set scroll-margin to 0. (Bug#10379)
4770 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4772 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4774 2012-01-05 Glenn Morris <rgm@gnu.org>
4776 * eshell/em-unix.el (diff-no-select): Autoload it.
4777 (eshell/diff): Use diff-no-select. (Bug#10420)
4779 2012-01-05 Chong Yidong <cyd@gnu.org>
4781 * shell.el (shell-dynamic-complete-functions): Revert last change.
4782 (shell-command-completion-function): New function.
4783 (shell-completion-vars): Use it to implement
4784 shell-completion-execonly (Bug#10417).
4786 * custom.el (enable-theme): Don't set custom-safe-themes.
4788 * cus-theme.el (custom-theme-merge-theme):
4789 Ignore custom-enabled-themes and custom-safe-themes.
4791 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4793 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4794 first prompt in `sql-interacive-mode'.
4795 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4797 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4798 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4799 context of original buffer. Invoke `sql-login-hook'.
4801 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4803 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4804 letters in cite-prefix.
4806 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4810 2012-01-03 Chong Yidong <cyd@gnu.org>
4812 * shell.el (shell-dynamic-complete-functions):
4813 Put pcomplete-completions-at-point, so as to try
4814 comint-filename-completion first (Bug#10417).
4816 2012-01-02 Richard Stallman <rms@gnu.org>
4818 * battery.el (battery-status-function):
4819 Detect when to use battery-yeeloong-sysfs.
4820 (battery-echo-area-format): Add string for Yeeloong.
4821 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4822 (battery-yeeloong-sysfs): New function.
4824 2012-01-02 Chong Yidong <cyd@gnu.org>
4826 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4827 (dirtrack): Merge code for handling relative filenames in prompt
4828 from shell-dir-cookie-watcher.
4829 (dirtrack-debug-message): New arg to avoid excess format calls.
4831 * shell.el (shell-dir-cookie-re): Variable deleted.
4832 (shell-dir-cookie-watcher): Function deleted.
4833 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4836 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4838 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4839 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4842 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4844 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4846 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4848 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4849 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4851 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4853 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4854 also for alternative shells.
4855 (tramp-open-connection-setup-interactive-shell): Check, whether
4856 the shell is a busybox.
4857 (tramp-send-command): Don't suppress multiple prompts for
4858 busyboxes, it hurts.
4860 2011-12-28 Chong Yidong <cyd@gnu.org>
4862 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4863 (gdb-get-source-file): Move mode line update to
4864 gdb-get-source-file (Bug#10087).
4866 2011-12-25 Chong Yidong <cyd@gnu.org>
4868 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4869 gud-gdb-marker-filter without taking it as an argument.
4870 (gud-gdb-run-command-fetch-lines): Caller changed.
4871 (gud-gdb-completion-function): New variable.
4872 (gud-gdb-completion-at-point): Use it.
4873 (gud-gdb-completions-1): Split from gud-gdb-completions.
4875 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4876 function as separate arguments.
4877 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4878 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4879 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4880 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4881 (gdb-stopped, def-gdb-auto-update-trigger)
4882 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4883 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4885 (gud-gdbmi-completions): New function.
4886 (gdb): Use it for generating the completion table.
4888 2011-12-24 Alan Mackenzie <acm@muc.de>
4890 Introduce a mechanism to widen the region used in context font
4891 locking. Use this to protect declarations from losing their contexts.
4893 * progmodes/cc-langs.el (c-before-font-lock-functions):
4894 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4895 (c-before-context-fontification-functions): New defvar, a list of
4896 functions to be run just before context (etc.) font locking.
4898 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4899 New, functionality extracted from
4900 c-neutralize-syntax-in-and-mark-CPP.
4901 (c-in-after-change-fontification): New variable.
4902 (c-after-change): Set c-in-after-change-fontification.
4903 (c-set-fl-decl-start): Rejig its interface, so it can be called
4904 from both after-change and context fontifying.
4905 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4907 (c-standard-font-lock-fontify-region-function): New variable.
4908 (c-font-lock-fontify-region): New function.
4910 2011-12-24 Juri Linkov <juri@jurta.org>
4912 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4915 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4917 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4918 existence of source file. (Bug#10325)
4920 2011-12-23 Alan Mackenzie <acm@muc.de>
4922 Fix unstable fontification inside templates.
4924 * progmodes/cc-langs.el (c-before-font-lock-functions):
4925 Newly created from the singular version. The (c c++ objc) entry now
4926 additionally has c-set-fl-decl-start. The other languages (apart
4927 from AWK) have that as a single entry.
4929 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4930 The functionality for "local" declarations has been extracted to
4931 c-set-fl-decl-start.
4933 * progmodes/cc-mode.el (c-common-init, c-after-change):
4934 Changes due to pluralisation of c-before-font-lock-functions.
4935 (c-set-fl-decl-start): New function, extracted from
4936 c-font-lock-enclosing-decls and enhanced.
4938 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4940 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4942 2011-12-22 Juri Linkov <juri@jurta.org>
4944 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4946 2011-12-22 Chong Yidong <cyd@gnu.org>
4948 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4950 2011-12-21 Drew Adams <drew.adams@oracle.com>
4952 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4954 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4956 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4958 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4960 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4961 highlighting and support. Fix up comments for capitalization.
4962 (cfengine-mode-debug): New var.
4963 (cfengine3-mode): Change the modeline indicator to "CFE3".
4964 (cfengine3-font-lock-keywords): Improve defun highlighting.
4965 (cfengine2-actions): Rename from `cfengine-actions'.
4966 (cfengine2-font-lock-keywords): Rename from
4967 `cfengine-font-lock-keywords'.
4968 (cfengine2-imenu-expression): Rename from
4969 `cfengine-imenu-expression'.
4970 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4971 (cfengine2-beginning-of-defun): Rename from
4972 `cfengine-beginning-of-defun'.
4973 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4974 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4975 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4976 modeline indicator to "CFE2".
4977 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4978 (cfengine-mode-abbrevs): Mark obsolete.
4980 2011-12-21 Chong Yidong <cyd@gnu.org>
4982 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4985 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4987 * window.el (window-normalize-buffer-to-display): Remove.
4988 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4990 2011-12-19 Chong Yidong <cyd@gnu.org>
4992 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4993 Don't signal an error in a predicate function; return non-nil.
4994 (vc-dir-mark-file): Move the error here.
4995 (vc-dir-mark-unmark): If acting on the region, keep going if one
4996 of the entries cannot be marked/unmarked.
4997 (vc-dir-mark-all-files): If current entry is a directory, mark
4998 only child files, as documented.
5000 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5002 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5003 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5006 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5008 * term/ns-win.el (ns-get-selection-internal)
5009 (ns-store-selection-internal): Declare.
5010 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5011 Declare as obsolete.
5012 (ns-get-pasteboard, ns-paste-secondary):
5013 Use ns-get-selection-internal.
5014 (ns-set-pasteboard, ns-copy-including-secondary):
5015 Use ns-store-selection-internal.
5017 2011-12-17 Chong Yidong <cyd@gnu.org>
5019 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5020 (vc-deduce-fileset): Doc fix.
5022 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5024 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5026 2011-12-13 Sam Steingold <sds@gnu.org>
5028 * man.el (Man-getpage-in-background): When running under a
5029 window-system, ignore $MANWIDTH and $COLUMNS.
5031 2011-12-15 Kenichi Handa <handa@m17n.org>
5033 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5034 (setup-ethiopic-environment-internal): Comment out key-binding for
5035 ethio-toggle-punctuation.
5037 2011-12-13 Alan Mackenzie <acm@muc.de>
5039 Add the switch statement to AWK Mode.
5041 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5042 "default" to the keywords regexp.
5044 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5045 expression as the rest.
5046 (c-nonlabel-token-key): Allow string literals for AWK.
5047 Refactor for the other modes.
5049 Large brace-block initialisation makes CC Mode slow: Fix.
5050 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5051 routines. Limit backward searching in c-font-lock-enclosing.decl.
5053 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5054 pp-state and literal type in addition to the limits.
5055 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5056 (c-state-literal-at): Use the above new defun.
5057 (c-slow-in-literal, c-fast-in-literal): Remove.
5058 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5060 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5061 being in a literal. Add a limit for backward searching.
5063 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5066 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5070 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5072 * window.el (delete-other-windows): Use correct frame in call to
5073 window-with-parameter.
5075 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5077 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5078 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5079 (makefile-gmake-statements, makefile-makepp-statements):
5080 Use it and add new makepp keywords.
5081 (makefile-makepp-font-lock-keywords): Add new patterns.
5082 (makefile-match-function-end): Match new [...] and [[...]].
5084 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5086 * ses.el (ses-call-printer-return, ses-cell-property-get)
5087 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5088 (ses-create-cell-variable, ses-reset-header-string)
5089 (ses-cell-set-formula, ses-repair-cell-reference-all)
5090 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5091 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5092 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5093 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5094 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5095 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5096 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5097 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5098 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5099 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5100 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5101 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5103 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5105 * ses.el: The overall change is to add cell renaming, that is
5106 setting fancy names for cell symbols other than name matching
5107 "\\`[A-Z]+[0-9]+\\'" regexp .
5108 (ses-create-cell-variable): New defun.
5109 (ses-relocate-formula): Relocate formulas only for cells the
5110 symbols of which are not renamed, i.e. symbols whose names do not
5111 match regexp "\\`[A-Z]+[0-9]+\\'".
5112 (ses-relocate-all): Relocate values only for cells the symbols of
5113 which are not renamed.
5114 (ses-load): Create cells variables as the (ses-cell ...) are read,
5115 in order to check row col consistency with cell symbol name only
5116 for cells that are not renamed.
5117 (ses-replace-name-in-formula): New defun.
5118 (ses-rename-cell): New defun.
5120 2011-12-11 Chong Yidong <cyd@gnu.org>
5122 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5123 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5125 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5127 * window.el (other-window): Fix docstring.
5129 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5131 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5132 `from' or `to' address before taking its substring.
5133 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5134 encoded name is chopped in the middle of the encoded string, and
5135 thus displayed encoded.
5137 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5139 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5141 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5143 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5144 to use texinfo-update-node and commands that call it if the
5145 Texinfo file uses @node lines without next/prev/up pointers.
5146 Correct outdated description about texinfo-master-menu.
5147 (texinfo-all-menus-update, texinfo-master-menu)
5148 (texinfo-update-node, texinfo-every-node-update)
5149 (texinfo-multiple-files-update): Doc fix. Warn against updating
5150 all the @node lines.
5151 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5152 argument is numeric. Explain better in the doc string what the
5153 function really does.
5154 (texinfo-insert-master-menu-list): Improve the error message
5155 displayed if there's no menu in the Top node.
5156 (Bug#2975) See also this thread:
5157 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5159 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5161 * speedbar.el (speedbar-supported-extension-expressions):
5162 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5164 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5166 * printing.el (pr-mode-alist):
5167 * simple.el (filter-buffer-substring-functions)
5168 (completion-list-insert-choice-function):
5169 * window.el (window-with-parameter, window-atom-root)
5170 (window-sides-slots, window-size-fixed, window-min-delta)
5171 (window-max-delta, window--resize-mini-window)
5172 (window--resize-child-windows-normal, window-tree)
5173 (delete-other-windows, quit-window, split-window)
5174 (display-buffer-record-window, special-display-buffer-names)
5175 (special-display-regexps, special-display-popup-frame)
5176 (same-window-p, split-window-sensibly)
5177 (display-buffer-overriding-action, display-buffer-alist)
5178 (display-buffer-base-action, display-buffer, switch-to-buffer)
5179 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5180 (fit-window-to-buffer, recenter-positions)
5181 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5182 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5183 and remove unneeded backslashes in docstrings.
5185 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5187 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5189 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5190 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5192 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5193 when reading the makefile (bug#10116).
5195 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5197 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5200 2011-12-06 Glenn Morris <rgm@gnu.org>
5202 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5204 2011-12-06 Chong Yidong <cyd@gnu.org>
5206 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5208 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5210 * textmodes/table.el (table-shorten-cell): Fix typo.
5212 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5214 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5216 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5218 * descr-text.el (describe-char): Fix display of strong
5219 right-to-left characters and directional embeddings and overrides.
5221 * simple.el (what-cursor-position): Fix display of codepoints of
5222 strong right-to-left characters.
5224 2011-12-05 Chong Yidong <cyd@gnu.org>
5226 * faces.el (read-color): Doc fix.
5228 2011-12-05 Glenn Morris <rgm@gnu.org>
5230 * align.el (align--set-marker): Add doc-string.
5231 Don't try to move something that is not a marker. (Bug#10216)
5233 2011-12-04 Glenn Morris <rgm@gnu.org>
5235 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5236 overly zealous deletion of trailing whitespace.
5238 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5240 * server.el (server-delete-client): On Windows, do not try to delete
5242 (server-process-filter): On Windows, treat requests for a tty frame as
5243 if they were for a GUI frame if the running server is in GUI mode.
5245 2011-12-03 Glenn Morris <rgm@gnu.org>
5247 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5249 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5251 * electric.el: Streamline electric-indent's hook.
5252 (electric-indent-chars): Revert to simple list.
5253 (electric-indent-functions): New var.
5254 (electric-indent-post-self-insert-function): Use it.
5256 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5257 there's no inferior buffer (bug#10196).
5258 (prolog-consult-compile): Don't use toggle-read-only.
5260 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5262 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5263 interrupt. (Bug#10187)
5265 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5270 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5273 2011-12-02 Juri Linkov <juri@jurta.org>
5275 * info.el (Info-search): Display "end of manual" when Isearch
5276 reaches the end of single-file Info manual. (Bug#9918)
5278 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5280 * isearch.el (isearch-message-prefix): Run the input method part
5281 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5283 2011-12-02 Juri Linkov <juri@jurta.org>
5285 * isearch.el (isearch-occur): Use `word-search-regexp' for
5287 (isearch-search-and-update): Add condition for `isearch-word' and
5288 call `word-search-regexp'. (Bug#10145)
5290 2011-12-01 Glenn Morris <rgm@gnu.org>
5292 * eshell/em-hist.el (eshell-hist-initialize):
5293 Handle eshell-history-size nil and HISTSIZE set or unset.
5294 (eshell-history-file-name, eshell-history-size): Fix custom type.
5296 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5300 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5302 * progmodes/verilog-mode.el (verilog-pretty-expr):
5303 Rework verilog-pretty-expr to handle new assignment operators in system
5304 verilog, such as += *= and the like.
5305 (verilog-assignment-operator-re): Regular expression to find the
5306 assigment operator in a verilog assignment.
5307 (verilog-assignment-operation-re): Regular expression to find an
5308 assignment statement for pretty-expr.
5309 (verilog-in-attribute-p): Query returns true if point is in an
5310 attribute context; used to skip these for expression line up from
5312 (verilog-in-parameter-p): Query returns true if point is in an
5313 parameter definition context; used to skip these for expression
5314 line up from pretty-expr.
5315 (verilog-in-parenthesis-p): Query returns true if point is in a
5316 parenthetical expression, specifically ( ) but not [ ] or { };
5317 used by pretty-expr.
5318 (verilog-just-one-space): If there is no space, don't add one.
5319 (verilog-get-lineup-indent-2): Specifically skip just attribute
5320 contexts for expression lineup, rather than skipping all
5321 parenthetical expressions.
5322 (verilog-calculate-indent): Fix comment, and fix indent.
5323 (verilog-do-indent): Indent declarations in lists (suggested by
5325 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5327 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5330 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5332 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5333 parameters with embedded comments. Reported by Ray Stevens.
5334 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5335 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5336 Reported by Tim Holt.
5337 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5338 instantiated by upper module causing wrong expansion until AUTOed a
5339 second time. Reported by K C Buckenmaier.
5340 (verilog-diff-auto): Fix showing .* as a difference when
5341 `verilog-auto-star-save' off. Reported by Dan Dever.
5342 (verilog-auto-reset, verilog-read-always-signals)
5343 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5344 temporary signals in reset list if
5345 verilog-auto-reset-blocking-in-non is nil, and match assignment
5346 style to each signal's assignment type, bug381.
5347 Reported by Thomas Esposito.
5348 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5349 (verilog-uvm-statement-re): Support UVM indentation and
5350 highlighting, with old OVM keywords only.
5351 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5352 Support AUTOTIEOFF creating non-wire data types.
5353 Suggested by Jonathan Greenlaw.
5354 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5355 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5356 (verilog-inject-sense, verilog-read-inst-pins)
5357 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5358 Fix mismatching parenthesis inside commented out code when deleting
5359 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5360 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5361 non-numeric vector width. Reported by Alex Reed.
5362 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5363 detecting signals with parameter widths. Reported by Alex Reed.
5364 (verilog-auto-delete-trailing-whitespace):
5365 With `verilog-auto-delete-trailing-whitespace' remove trailing
5366 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5367 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5368 Fix verilog-scan-cache corruption when running user AUTO expansion
5369 hooks that call indentation routines.
5370 (verilog-simplify-range-expression): Fix typo ignoring lower case
5372 (verilog-delete-auto): Fix delete-autos to also remove user created
5373 automatics, as long as they start with AUTO.
5374 (verilog-batch-diff-auto, verilog-diff-auto)
5375 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5376 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5377 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5378 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5379 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5380 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5381 is disabled and its cache will get corrupt, causing AUTOS not to
5382 expand. Instead use only -quick functions.
5383 (verilog-scan-region): Fix scanning over escaped quotes.
5384 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5385 (verilog-re-search-backward-quick)
5386 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5387 related functions now ignore strings, to fix misparsing of strings
5388 with magic comments embedded in them.
5389 (verilog-read-auto-template):
5390 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5391 Reported by Brad Dobbie.
5392 (verilog-read-auto-template):
5393 Fix 'verilog-auto-inst-template-numbers' with comments.
5394 Reported by Brad Dobbie.
5395 (verilog-auto-inst, verilog-auto-inst-param)
5396 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5397 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5398 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5399 debugging templates without merge conflicts, bug357.
5400 Reported by Brad Dobbie.
5401 (verilog-read-auto-template):
5402 Fix verilog-auto-inst-template-numbers with multiple templates.
5403 Reported by Brad Dobbie.
5404 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5405 abbrevs so user won't be asked to save.
5406 (verilog-read-auto-lisp-present): Fix to start at beginning of
5407 buffer in case called outside of verilog-auto.
5408 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5409 to "X-2". Reported by Matthew Myers.
5410 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5411 all inputs from module templates. Reported by Leith Johnson.
5412 (verilog-module-inside-filename-p): Fix locating programs as with
5414 (verilog-auto-inst-port): Fix vl-width expressions when using
5415 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5416 (verilog-decls-get-regs, verilog-decls-get-signals,
5417 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5418 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5419 verilog-read-decls): Combine reg and wire structures into one var
5420 structure to represent SystemVerilog concepts.
5421 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5422 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5423 (verilog-auto-wire-type, verilog-insert-definition):
5424 Add verilog-auto-wire-type and AUTOLOGIC to support using
5425 SystemVerilog "logic" keyword instead of "wire"/"reg".
5426 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5427 to declares outputs that also have assignments (presumably in an
5428 ifdef or generate if so there's not a driver conflict).
5429 Reported by Matthew Myers.
5430 (verilog-auto-declare-nettype, verilog-insert-definition):
5431 Add verilog-auto-declare-nettype to fix declarations using
5432 `default_nettype none. Reported by Julian Gorfajn.
5433 (verilog-read-always-signals-recurse, verilog-read-decls)
5434 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5435 malformed end statement, bug325. Reported by Joshua Wise and
5437 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5438 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5439 when expanding .* in interfaces, bug320.
5440 Reported by Pierre-David Pfister.
5441 (verilog-read-module-name): Fix import statements between module
5442 name and open parenthesis, bug317.
5443 Reported by Pierre-David Pfister.
5444 (verilog-simplify-range-expression): Fix simplification of
5445 multiplications inside AUTOWIRE connections, bug303.
5446 (verilog-auto-inst-port): Support parameter expansion in
5447 multidimensional arrays.
5448 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5449 after "assert property". Reported by Julian Gorfajn.
5450 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5451 with multiplication, bug303.
5452 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5453 Reported by Jan Frode Lonnum.
5455 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5457 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5458 (hfy-shell-file-name, hfy-shell):
5459 * international/fontset.el (x-decompose-font-name): Fix typos.
5461 2011-11-29 Ken Brown <kbrown@cornell.edu>
5463 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5464 (gdb-version): Remove defvar.
5465 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5466 (gdb-gud-context-command, gdb-non-stop-handler)
5467 (gdb-current-context-command, gdb-stopped): Use it.
5468 (gdb-init-1): Enable pretty printing here.
5469 (gdb-non-stop-handler): Don't enable pretty-printing here.
5470 Check to see if the target supports non-stop mode; if not, turn off
5471 non-stop mode. Use the following.
5472 (gdb-check-target-async): New defun.
5473 (gud-watch, gdb-stopped): Fix whitespace.
5474 (gdb-get-source-file): Don't try to display the source file if
5475 `gdb-main-file' is nil.
5477 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * align.el: Try to generate fewer markers (bug#10047).
5480 (align--set-marker): New macro.
5481 (align-region): Use it.
5483 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5487 2011-11-29 Chong Yidong <cyd@gnu.org>
5489 * indent.el (indent-for-tab-command, indent-according-to-mode):
5491 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5493 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5495 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5496 aware of remote file names. (Bug#10124)
5498 2011-11-29 Chong Yidong <cyd@gnu.org>
5500 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5502 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5504 * files.el (find-file): Don't use force-same-window (bug#10144).
5505 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5506 use pop-to-buffer if the selected window can't be used.
5507 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5509 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5511 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5514 2011-11-28 Chong Yidong <cyd@gnu.org>
5516 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5518 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5520 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5521 gdb-get-source-file-list on gdb-create-source-file-list.
5523 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5525 * whitespace.el (whitespace-newline): Use a different foreground
5526 color for 16-color light-background displays.
5528 2011-11-24 Chong Yidong <cyd@gnu.org>
5530 * window.el (display-buffer--special-action): Doc fix.
5532 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5534 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5535 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5536 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5537 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5538 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5539 (avl-tree-stack-first):
5540 * emacs-lisp/cconv.el (cconv--analyse-use):
5541 * net/gnutls.el (gnutls-negotiate): Fix typos.
5543 2011-11-24 Glenn Morris <rgm@gnu.org>
5545 * lpr.el (lpr-windows-system, lpr-lp-system):
5546 * mail/binhex.el (binhex-begin-line):
5547 * progmodes/grep.el (grep-history, grep-find-history):
5548 * textmodes/flyspell.el:
5549 * vc/pcvs-defs.el (cvs-global-menu):
5550 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5551 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5552 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5554 * net/tls.el: Fix case of "GnuTLS".
5556 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5558 * version.el (emacs-build-system): Give it a doc-string.
5560 2011-11-24 Juri Linkov <juri@jurta.org>
5562 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5564 2011-11-24 Glenn Morris <rgm@gnu.org>
5566 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5567 if called on a non-mime message just toggle the headers. (Bug#8006)
5569 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5571 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5572 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5573 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5574 (allout-rebullet-heading, allout-open-sibtopic)
5575 (allout-toggle-current-subtree-encryption)
5576 (allout-toggle-subtree-encryption, allout-encrypt-string)
5577 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5578 (allout-distinctive-bullets-string, allout-auto-activation):
5579 * window.el (window-normalize-buffer-to-display):
5580 * progmodes/verilog-mode.el (verilog-batch-indent):
5581 * textmodes/bibtex.el (bibtex-field-braces-opt)
5582 (bibtex-field-strings-opt):
5583 * vc/cvs-status.el (cvs-tree-merge):
5586 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5588 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5589 `non-essential' to t, in order to avoid remote connections.
5591 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5593 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5594 On MS-DOS and MS-Windows, compare with loaddefs.el
5597 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5599 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5601 2011-11-23 Glenn Morris <rgm@gnu.org>
5603 * paths.el (rmail-file-name): Reformat the doc-string so that it
5606 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5607 (rmail-auto-file): Ignore case in the "special" field names,
5608 as mail-fetch-field does for all others.
5610 * mail/rmail.el (rmail-forward):
5611 * mail/rmailkwd.el (rmail-set-label):
5612 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5613 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5615 * mail/rmail.el (rmail-current-message): Doc fix.
5617 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5619 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5623 2011-11-22 Glenn Morris <rgm@gnu.org>
5625 * mail/rmailmm.el (test-rmail-mime-handler)
5626 (test-rmail-mime-bulk-handler)
5627 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5629 2011-11-21 Juri Linkov <juri@jurta.org>
5631 * calc/calc.el (calc-read-key-sequence):
5632 Let-bind `input-method-function' to nil. (Bug#10018)
5634 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5636 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5637 Tell the caller that the next line needs recomputation, even
5638 though it doesn't start a sexp (bug#10094).
5640 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5644 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5647 Use force-same-window.
5649 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5651 * descr-text.el (describe-char-unicode-data):
5652 * json.el (json-string-escape):
5653 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5654 (Footnote-unicode, Footnote-style-p):
5655 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5657 2011-11-20 Chong Yidong <cyd@gnu.org>
5659 * window.el (replace-buffer-in-windows): Restore interactive spec.
5661 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5663 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5665 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5666 (byte-compile-global-not-obsolete-vars): New var.
5667 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5669 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5671 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5673 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5674 * progmodes/pascal.el (electric-pascal-equal):
5675 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5676 * xml.el (xml-substitute-special): Fix typos.
5678 2011-11-20 Glenn Morris <rgm@gnu.org>
5680 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5681 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5683 (rmail-decode-mime-charset): Mark as obsolete.
5685 * mail/rmailsum.el (rmail-message-regexp-p-1):
5686 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5687 Before using mime functions, check they are set. (Bug#10077)
5689 2011-11-19 Juri Linkov <juri@jurta.org>
5691 * info.el (Info-finder-find-node): Use `package--builtins' instead
5692 of `package-alist'. Use node names formed by the pattern "Keyword "
5693 and the keyword name.
5695 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5697 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5699 2011-11-19 Juri Linkov <juri@jurta.org>
5701 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5702 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5703 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5704 `old-history', `old-history-forward'. Add let-binding
5705 `window-selected'. Remove calls to `kill-buffer',
5706 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5707 before calling `Info-find-node', so `Info-find-node-2' will reread
5708 the Info file. Restore window positions only when `window-selected'
5711 2011-11-19 Juri Linkov <juri@jurta.org>
5713 * isearch.el (isearch-lazy-highlight-new-loop):
5714 Remove condition `(not isearch-error)'. (Bug#9918)
5716 * misearch.el (multi-isearch-search-fun): Add condition
5717 `(not bound)' to ignore lazy-highlighting search.
5718 Add the search-failed message "end of multi" when the end of
5719 multi-sequence is reached. Uncapitalize the search-failed
5720 message "Repeat for next buffer".
5722 * info.el (Info-search): Add the search-failed message
5723 "end of the manual" when the end of the manual is reached
5726 2011-11-19 Juri Linkov <juri@jurta.org>
5728 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5729 Use non-destructive `remove' instead of `delete' because
5730 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5731 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5733 2011-11-19 Juri Linkov <juri@jurta.org>
5735 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5736 to nil instead of binding `search-ring' and `regexp-search-ring'.
5739 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5741 * simple.el (line-move): Force movement by logical lines for any
5742 hscrolled window, not only when auto-hscroll-mode is on.
5743 (line-move-visual): Update doc string to that effect. (Bug#10076)
5745 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5747 * language/european.el (macintosh): Define as alias for mac-roman.
5749 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5751 * mail/rmailmm.el (rmail-mime-display-header)
5752 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5753 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5754 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5755 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5756 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5758 (rmail-mime-entity-segment): To get past the tagline, move forward
5759 2 more lines, to account for the 2 empty lines that precede and
5760 follow the line with the buttons.
5761 (rmail-mime-update-tagline): Move one more line, to get past the
5762 empty line that follows the buttons in the tagline. (Bug#9520)
5764 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5766 * window.el (window-max-delta-1, window-min-delta-1)
5767 (window-min-size-1, window-state-get-1, window-state-put-1)
5768 (window-state-put-2): Use "window--" prefix.
5770 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5773 (smie-warning-count): New var.
5774 (smie-set-prec2tab): Use it.
5775 (smie-bnf->prec2): Improve warnings. Add docstring.
5776 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5777 (smie-bnf--set-class): New function.
5778 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5781 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5782 (compilation-error-properties, compilation-move-to-column):
5783 Handle compilation-first-column while in the target buffer.
5785 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5786 Don't hardcode point-min==1.
5788 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5789 (eshell-rewrite-for-command): Remove workaround.
5790 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5791 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5792 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5794 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5796 2011-11-17 Glenn Morris <rgm@gnu.org>
5798 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5799 Ignore buffer-local generated-autoload-file if it is the same
5800 as the global value. (Bug#10049)
5802 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5804 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5805 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5806 (reftex-toc-previous-heading, reftex-toc-max-level)
5807 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5808 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5809 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5810 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5811 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5812 (reftex-toc-rename-label, reftex-toc-visit-location)
5813 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5814 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5815 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5816 leaving "*toc*" only for references to the buffer.
5818 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5820 * window.el (window-resize, delete-window, split-window):
5821 Replace window-splits by window-combination-resize.
5822 * cus-start.el (window-splits): Replace by window-combination-resize.
5824 2011-11-17 Glenn Morris <rgm@gnu.org>
5826 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5827 Make bash entry derive from sh entry, not shell entry.
5829 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5831 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5832 properties of linked files. (Bug#9879)
5834 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5837 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5839 * menu-bar.el (menu-bar-file-menu):
5840 * printing.el (pr-ps-utility):
5841 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5842 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5843 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5844 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5845 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5846 (icalendar--convert-cyclic-to-ical)
5847 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5848 (icalendar--convert-ical-to-diary)
5849 (icalendar--convert-recurring-to-diary)
5850 (icalendar--convert-non-recurring-all-day-to-diary)
5851 (icalendar-import-format-sample):
5852 * progmodes/idlw-shell.el (idlwave-shell-mode):
5853 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5854 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5855 (vhdl-ps-print-init): Fix typos.
5857 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5859 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5860 FSF and collapse date sequence, obscure author/maintainer email address
5861 better, remove extra version line, track relocation of author's webpage.
5863 * progmodes/python.el (python-pdbtrack-input-prompt)
5864 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5865 regular python pdb prompts. Adjustments shamelessly taken exactly as
5866 suggested in EmacsWiki page (tiny change):
5867 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5869 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5871 * expand.el (expand-pos, expand-index, expand-point):
5872 Remove redundant info from docstring.
5873 (expand-add-abbrevs): Doc fix.
5874 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5875 (expand-sample-perl-mode-expand-list): Fix typos.
5877 * net/dbus.el (dbus-event-member-name):
5878 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5879 * term/pc-win.el (msdos-create-frame-with-faces):
5880 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5882 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5884 * window.el (split-window, window-state-get-1)
5885 (window-state-put-1, window-state-put-2): Rename occurrences of
5886 window-nest to window-combination-limit.
5887 * cus-start.el (window-nest): Rename to window-combination-limit.
5889 2011-11-16 Chong Yidong <cyd@gnu.org>
5891 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5894 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5897 `completing-read' will remove *Completions* and will preserve
5898 current-buffer for us.
5899 (tmm-add-prompt): Users of *Completions* will always (re)set its
5901 (tmm-old-comp-map): Remove.
5903 2011-11-16 Glenn Morris <rgm@gnu.org>
5905 * mail/rmailedit.el: Require rmailmm when compiling.
5906 (rmail-old-mime-state): New declaration.
5907 (rmail-edit-current-message): If editing a mime message,
5908 edit the "raw" message from the mbox buffer.
5909 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5911 2011-11-15 Glenn Morris <rgm@gnu.org>
5913 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5914 which wasn't being used. Add optional arg to force given state.
5915 (rmail-mime): Add optional arg to force given state.
5917 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5919 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5920 * frame.el (display-mm-dimensions-alist):
5921 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5922 (outline-move-subtree-down):
5923 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5924 (newsticker--treeview-do-get-node):
5925 * net/quickurl.el (quickurl-list-buffer-name):
5926 * progmodes/dcl-mode.el (dcl-mode):
5927 * progmodes/gdb-mi.el (gdb-mapcar*):
5928 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5930 2011-11-15 Glenn Morris <rgm@gnu.org>
5932 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5933 in a boolean sense, so just make it a boolean, and fix the doc.
5934 (rmail-show-mime-function, rmail-mime-feature)
5935 (rmail-require-mime-maybe): Doc fixes.
5936 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5938 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5940 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5942 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5943 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5944 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5945 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5947 2011-11-15 Glenn Morris <rgm@gnu.org>
5949 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5950 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5951 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5952 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5953 (rmail-mime, rmail-show-mime): Doc fixes.
5955 * term/ns-win.el (mode-line-frame-identification):
5956 Leave it alone. (Bug#10051)
5958 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5960 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5961 Handle empty buffers. (Bug#9978)
5963 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5965 * international/mule.el (define-charset):
5966 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5967 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5968 * progmodes/verilog-mode.el (verilog-backward-token):
5969 * textmodes/ispell.el (lookup-words):
5970 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5972 2011-11-14 Glenn Morris <rgm@gnu.org>
5974 * progmodes/executable.el
5975 (executable-make-buffer-file-executable-if-script-p):
5976 Handle file-modes returning nil.
5978 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5979 message - not necessary, and causes problems. (Bug#9831)
5981 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5983 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5985 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5986 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5987 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5989 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5991 * window.el (window-resize, delete-window): Use window-splits
5992 variable instead of function.
5993 (window-state-get-1, window-state-put-2, window-state-put):
5994 Don't deal with windows' splits status.
5996 2011-11-12 Glenn Morris <rgm@gnu.org>
5998 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5999 (apropos-documentation): Doc fixes.
6001 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6003 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6004 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6006 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * electric.el (electric-indent-post-self-insert-function): Make it
6009 possible for a char to only indent in some circumstances.
6010 (electric-indent-mode): Simplify.
6012 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6014 * window.el (windows-with-parameter): Remove unused function.
6015 (windows-at-side): Rename to window-at-side-list.
6016 (window-check, window-atom-check, window-atom-check-1)
6017 (window-side-check, window-size-ignore, window-size-fixed-1)
6018 (window-in-direction-2): Prefix with "window--".
6019 (window-tree-1): Rename to window--subtree, fix doc-string.
6021 2011-11-11 Glenn Morris <rgm@gnu.org>
6023 * subr.el (eval-after-load): If FILE is already loaded,
6024 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6026 2011-11-10 Glenn Morris <rgm@gnu.org>
6028 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6029 Call svn via vc-svn-command rather than vc-do-command.
6030 (vc-svn-command): Add --non-interactive. (Bug#9993)
6031 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6033 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6034 Add toggle-read-only. (Bug#7292)
6035 * files.el (toggle-read-only): Mention that it should only
6036 be used interactively. (Bug#10006)
6038 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6041 Adjust regexp for OCaml warnings.
6043 * electric.el (electric-pair-post-self-insert-function): Let user
6044 turn it off buffer-locally (bug#9932).
6046 * progmodes/python.el (python-beginning-of-statement):
6049 * progmodes/compile.el: Better handle TABs (bug#9749).
6050 (compilation-internal-error-properties)
6051 (compilation-next-error-function): Obey the target buffer's
6052 compilation-error-screen-columns.
6054 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6056 * progmodes/meta-mode.el: Remove obsolete comments.
6057 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6058 Fix typos in docstrings.
6060 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6062 * window.el (window-size-fixed-p): Rewrite doc-string.
6063 (window-resizable-p): Rename to window--resizable-p. Update callers.
6064 (window--resizable): New function. Make all callers of
6065 window-resizable call window--resizable instead.
6066 (window-resizable): Rewrite in terms of window--resizable.
6068 2011-11-08 Glenn Morris <rgm@gnu.org>
6070 * progmodes/delphi.el (delphi-mode-syntax-table):
6071 Let define-derived-mode define a proper syntax table. (Bug#9994)
6073 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6075 * window.el: Stay away from defsubst.
6076 (window-list-no-nils): Remove.
6077 (window-state-get-1, window-state-get): Use backquote instead.
6079 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6081 * emacs-lisp/find-func.el (find-function-read):
6082 Fix incorrect use of default argument in `completing-read'.
6084 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6086 * window.el (display-buffer-function, special-display-function):
6087 Mention display-buffer-record-window but do not mention
6088 help-setup parameter in doc-strings.
6089 (window-min-delta): Fix doc-string typo.
6091 2011-11-08 Chong Yidong <cyd@gnu.org>
6093 * window.el (window-total-height, window-total-width): Doc fix.
6094 (window-body-size): Move from C.
6095 (window-body-height, window-body-width): Move to C.
6097 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * window.el: Make special-display like display-buffer-alist (bug#9532).
6100 (display-buffer--special-action): New function, morphed
6101 from display-buffer--special.
6102 (display-buffer): Use it to handle special-display-buffers at higher
6103 priority (just after display-buffer-alist).
6104 (display-buffer-fallback-action, display-buffer--other-frame-action)
6105 (pop-to-buffer-same-window): Remove display-buffer--special.
6107 2011-11-07 Glenn Morris <rgm@gnu.org>
6109 * calendar/cal-menu.el (cal-menu-set-date-title):
6110 Do nothing if not in a calendar. (Bug#9976)
6112 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * files.el (find-file): Always use selected-window.
6116 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6118 * window.el (window-combinations): Make WINDOW argument
6119 mandatory. Rewrite doc-string.
6120 (walk-window-subtree, window-atom-check, window-min-delta)
6121 (window-max-delta, window--resize-this-window)
6122 (window--resize-root-window-vertically, window-tree)
6123 (balance-windows, window-state-put): Rewrite doc-strings as to
6124 not mention the term "subwindow".
6125 (window--resize-subwindows-skip-p): Rename to
6126 window--resize-child-windows-skip-p.
6127 (window--resize-subwindows-normal): Rename to
6128 window--resize-child-windows-normal.
6129 (window--resize-subwindows): Rename to
6130 window--resize-child-windows.
6131 (window-or-subwindow-p): Rename to window--in-subtree-p.
6133 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6135 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6136 Ensure that mbox format messages end in two newlines (Bug#9974).
6138 2011-11-06 Chong Yidong <cyd@gnu.org>
6140 * window.el (window-combination-p): Function deleted; its
6141 side-effect is not used in any existing code.
6142 (window-combinations, window-combined-p): Call window-*-child
6145 2011-11-05 Chong Yidong <cyd@gnu.org>
6147 * window.el (window-valid-p): Rename from window-any-p.
6148 (window-size-ignore, window-state-get): Callers changed.
6149 (window-normalize-window): Rename from window-normalize-any-window.
6150 New arg LIVE-ONLY, replacing window-normalize-live-window.
6151 (window-normalize-live-window): Delete.
6152 (window-combination-p, window-combined-p, window-combinations)
6153 (walk-window-subtree, window-atom-root, window-min-size)
6154 (window-sizable, window-sizable-p, window-size-fixed-p)
6155 (window-min-delta, window-max-delta, window-resizable)
6156 (window-resizable-p, window-full-height-p, window-full-width-p)
6157 (window-current-scroll-bars, window-point-1, set-window-point-1)
6158 (window-at-side-p, window-in-direction, window-resize)
6159 (adjust-window-trailing-edge, maximize-window, minimize-window)
6160 (window-deletable-p, delete-window, delete-other-windows)
6161 (record-window-buffer, unrecord-window-buffer)
6162 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6163 (quit-window, split-window, window-state-put)
6164 (set-window-text-height, fit-window-to-buffer)
6165 (shrink-window-if-larger-than-buffer): Callers changed.
6167 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6169 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6170 rfc2047-decode-string.
6171 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6174 * window.el (window-body-height, window-body-width): Mention in
6175 the doc string that the return values are in frame's canonical
6178 2011-11-03 Alan Mackenzie <acm@muc.de>
6180 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6181 change in cc-engine.el.
6183 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6187 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6189 * window.el (quit-window): Call unrecord-window-buffer after
6190 showing another buffer in the window. (Bug#9937)
6191 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6193 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6195 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6196 Accept status with more than 9 shelves. (Bug#9935)
6197 Reported by Colin D Bennett <colin@gibibit.com>.
6199 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6201 * help.el (with-help-window): Don't reference
6202 temp-buffer-show-specifiers in doc-string.
6204 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6206 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6209 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6211 * whitespace.el: New version 13.2.2.
6212 (whitespace-newline-mode): Disable properly. Reported by Sarah
6215 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6217 * net/newst-treeview.el: Remove "Time-stamp".
6218 (newsticker--group-manage-orphan-feeds): Do not call
6219 newsticker--treeview-tree-update.
6220 (newsticker-treeview-update, newsticker-treeview):
6221 Call newsticker--treeview-tree-update if necessary.
6223 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6225 * window.el (window-iso-combination-p, window-iso-combined-p)
6226 (window-iso-combinations): Remove "iso-" infix.
6227 Suggested by Chong Yidong.
6228 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6229 (window-max-delta-1, window-resize, window--resize-siblings)
6230 (window--resize-this-window, adjust-window-trailing-edge)
6231 (split-window, balance-windows-1)
6232 (shrink-window-if-larger-than-buffer):
6233 * calendar/calendar.el (calendar-generate-window):
6234 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6236 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6238 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6239 in place (bug#9907).
6240 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6241 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6242 (eshell-structure-basic-command, eshell-rewrite-while-command)
6243 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6244 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6245 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6246 (eshell-do-pipelines-synchronously, eshell-eval-command):
6247 Use backquotes and prefer setq to set.
6248 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6249 (eshell-macrop): Use functionp.
6250 (eshell-do-eval): Handle multiple expressions in `while' body.
6252 2011-10-30 Chong Yidong <cyd@gnu.org>
6254 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6255 instead of set-mark (Bug#9810).
6257 2011-10-30 Chong Yidong <cyd@gnu.org>
6259 * window.el (split-window-below, split-window-right): Rename from
6260 split-window-above-each-other and split-window-side-by-side
6261 respectively. All callers changed.
6262 (split-window-sensibly, split-window-sensibly): Use them.
6263 (split-window-keep-point): Doc fix.
6265 * isearch.el: Add isearch-scroll property to split-window-below
6266 and split-window-right.
6268 * follow.el (follow-mode):
6269 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6270 * progmodes/ada-xref.el (ada-gdb-application):
6271 * emulation/vip.el (vip-buffer-in-two-windows):
6272 * image-dired.el (image-dired-dired-with-window-configuration):
6273 * dired-x.el (dired-do-find-marked-files):
6274 * dired.el (dired-pop-to-buffer):
6275 * bs.el (bs--show-with-configuration):
6276 * vc/emerge.el (emerge-setup-windows):
6277 * textmodes/two-column.el (2C-two-columns):
6278 * textmodes/reftex-toc.el (reftex-toc):
6279 * progmodes/gdb-mi.el (gdb-setup-windows):
6280 * progmodes/fortran.el (fortran-window-create):
6281 * net/newst-treeview.el (newsticker--treeview-window-init):
6282 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6283 * emulation/tpu-edt.el (tpu-gold-map):
6284 * emulation/crisp.el (crisp-mode-map):
6285 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6287 2011-10-29 Chong Yidong <cyd@gnu.org>
6289 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6291 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6293 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6294 forged Ispell output (Bug#7904).
6296 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6298 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * doc-view.el: Avoid ugly errors about not finding nil.
6301 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6302 (doc-view-dvipdf-program, doc-view-unoconv-program)
6303 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6304 Avoid nil or absolute file name as default value.
6305 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6307 2011-10-28 Alan Mackenzie <acm@muc.de>
6309 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6311 2011-10-28 Alan Mackenzie <acm@muc.de>
6313 Amend the handling of c-beginning/end-of-defun in nested declaration
6316 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6317 cc-langs.el. Change it to a defcustom.
6319 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6322 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6323 Prevent "class foo : bar" being spuriously recognized as a label.
6325 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6326 Add parameter `inclusive' (to include enclosing braces in the region).
6327 (c-widen-to-enclosing-decl-scope): New function.
6328 (c-while-widening-to-decl-block): New macro.
6329 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6330 outward for defun boundaries, and correspondingly change symbol
6331 `respect-enclosure' to `go-outward'.
6332 (c-declaration-limits): Change algorithm to report only the "innermost"
6335 2011-10-28 Deniz Dogan <deniz@dogan.se>
6337 * net/rcirc.el (rcirc-mode): Use hard newlines.
6339 2011-10-28 Alan Mackenzie <acm@muc.de>
6341 Amend to indent and fontify macros "which include their own semicolon"
6342 correctly, using the "virtual semicolon" mechanism.
6344 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6346 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6347 Recode to scan one line at a time rather than having \n and \r
6348 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6349 (c-forward-label): Amend for virtual semicolons.
6350 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6352 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6353 of the new C macros.
6355 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6356 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6357 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6358 (c-opt-cpp-macro-define): Make into a full language variable.
6359 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6360 AWK Mode (including \n, \r) removed, no longer needed.
6362 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6363 Invoke c-make-macro-with-semi-re.
6365 * progmodes/cc-vars.el (c-macro-with-semi-re):
6366 (c-macro-names-with-semicolon): New variables.
6367 (c-make-macro-with-semi-re): New function.
6369 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * vc/log-edit.el: Fill empty field rather than adding new one.
6372 (log-edit-add-field): New function.
6373 (log-edit-insert-changelog): Use it.
6375 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6377 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6379 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6381 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6382 (gdb--check-interpreter): New function.
6385 2011-10-27 Glenn Morris <rgm@gnu.org>
6387 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6388 (least-positive-float, least-negative-float)
6389 (least-positive-normalized-float, least-negative-normalized-float)
6390 (float-epsilon, float-negative-epsilon):
6391 Remove unnecessary declarations.
6393 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6394 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6395 (least-positive-float, least-negative-float)
6396 (least-positive-normalized-float, least-negative-normalized-float)
6397 (float-epsilon, float-negative-epsilon): Add doc-strings,
6398 based on those in cl.texi.
6400 * files.el (set-visited-file-name): If the major-mode changed,
6401 reload the local variables. (Bug#9796)
6403 2011-10-27 Chong Yidong <cyd@gnu.org>
6405 * subr.el (change-major-mode-after-body-hook): New hook.
6406 (run-mode-hooks): Run it.
6408 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6409 Use change-major-mode-before-body-hook.
6411 * simple.el (fundamental-mode):
6412 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6413 change introducing fundamental-mode-hook.
6415 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6417 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6419 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6421 * ido.el (ido-file-name-all-completions-1): Do not require
6422 tramp.el explicitly. (Bug#7583)
6424 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * progmodes/octave-mod.el:
6427 * progmodes/octave-inf.el: Update maintainer.
6429 2011-10-26 Chong Yidong <cyd@gnu.org>
6431 * subr.el (with-wrapper-hook): Rewrite doc.
6433 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6435 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6436 filenames "/method:foo:". (Bug#9793)
6438 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6443 2011-10-24 Glenn Morris <rgm@gnu.org>
6445 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6447 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6449 * notifications.el: Add the requirement of a running D-Bus session
6450 bus to the Commentary.
6452 2011-10-24 Juri Linkov <juri@jurta.org>
6454 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6455 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6458 2011-10-24 Juri Linkov <juri@jurta.org>
6460 * info.el (Info-following-node-name-re): Add newline to the list
6461 of allowed characters for leading space. (Bug#9824)
6463 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * progmodes/octave-inf.el (inferior-octave-mode-map):
6466 Fix C-c C-h binding.
6467 * progmodes/octave-mod.el (octave-help): Remove.
6469 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6471 Sync with Tramp 2.2.3.
6473 * net/tramp-cache.el (top): Pacify byte-compiler using
6474 `init-file-user' and `site-run-file'.
6476 * net/trampver.el: Update release number.
6478 2011-10-23 Chong Yidong <cyd@gnu.org>
6480 * files.el (toggle-read-only): Remove obsolete comment about
6483 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6484 for toggle-read-only. Note that this hasn't called vc-next-action
6485 since 2008-05-02, though it wasn't documented at the time.
6487 * vc/ediff-init.el (ediff-toggle-read-only-function):
6488 Use toggle-read-only.
6490 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6492 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6495 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6496 correct faulty logical expression.
6497 (c-parse-state-state, c-record-parse-state-state):
6498 (c-replay-parse-state-state): New defvar/defuns.
6499 (c-debug-parse-state): Use new functions.
6501 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6503 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6504 last fix. Use window-in-direction correctly.
6506 2011-10-21 Chong Yidong <cyd@gnu.org>
6508 * progmodes/idlwave.el (idlwave-mode):
6509 * progmodes/vera-mode.el (vera-mode): No need to set
6510 require-final-newline; that's done in prog-mode.
6511 Suggested by Stefan Monnier.
6513 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6515 * mouse.el (mouse-drag-window-above)
6516 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6517 (mouse-drag-mode-line-1, mouse-drag-header-line)
6518 (mouse-drag-vertical-line-rightward-window): Remove.
6519 (mouse-drag-line): New function.
6520 (mouse-drag-mode-line, mouse-drag-header-line)
6521 (mouse-drag-vertical-line): Call mouse-drag-line.
6522 * window.el (window-at-side-p, windows-at-side): New functions.
6524 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6526 * tar-mode.el (tar-grind-file-mode):
6527 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6529 2011-10-21 Chong Yidong <cyd@gnu.org>
6531 * progmodes/idlwave.el (idlwave-mode):
6532 * progmodes/vera-mode.el (vera-mode):
6533 Use mode-require-final-newline.
6535 2011-10-20 Glenn Morris <rgm@gnu.org>
6537 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6539 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6541 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6543 2011-10-20 Chong Yidong <cyd@gnu.org>
6545 * emulation/cua-base.el (cua-mode):
6546 * mail/footnote.el (footnote-mode):
6547 * mail/mailabbrev.el (mail-abbrevs-mode):
6548 * net/xesam.el (xesam-minor-mode):
6549 * progmodes/bug-reference.el (bug-reference-mode):
6550 * progmodes/cap-words.el (capitalized-words-mode):
6551 * progmodes/compile.el (compilation-minor-mode)
6552 (compilation-shell-minor-mode):
6553 * progmodes/gud.el (gud-tooltip-mode):
6554 * progmodes/hideif.el (hide-ifdef-mode):
6555 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6556 * progmodes/subword.el (subword-mode):
6557 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6558 * progmodes/which-func.el (which-function-mode):
6559 * term/tvi970.el (tvi970-set-keypad-mode):
6560 * term/vt100.el (vt100-wide-mode):
6561 * textmodes/flyspell.el (flyspell-mode):
6562 * textmodes/ispell.el (ispell-minor-mode):
6563 * textmodes/nroff-mode.el (nroff-electric-mode):
6564 * textmodes/paragraphs.el (use-hard-newlines):
6565 * textmodes/refill.el (refill-mode):
6566 * textmodes/reftex.el (reftex-mode):
6567 * textmodes/rst.el (rst-minor-mode):
6568 * textmodes/sgml-mode.el (html-autoview-mode)
6569 (sgml-electric-tag-pair-mode):
6570 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6571 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6572 * emulation/crisp.el (crisp-mode):
6573 * emacs-lisp/eldoc.el (eldoc-mode):
6574 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6575 minor mode behavior.
6577 2011-10-19 Juri Linkov <juri@jurta.org>
6579 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6580 the list of hard-coded chars with escape-glyph face.
6582 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6586 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6588 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6591 2011-10-19 Glenn Morris <rgm@gnu.org>
6593 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6594 Ignore ignored files. (Bug#9726)
6596 2011-10-19 Chong Yidong <cyd@gnu.org>
6598 Doc fix for minor modes, stating that an omitted argument enables
6599 the mode unconditionally when called from Lisp.
6601 * abbrev.el (abbrev-mode):
6602 * allout.el (allout-mode):
6603 * autoinsert.el (auto-insert-mode):
6604 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6605 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6606 (global-auto-revert-mode):
6607 * battery.el (display-battery-mode):
6608 * composite.el (global-auto-composition-mode)
6609 (auto-composition-mode):
6610 * delsel.el (delete-selection-mode):
6611 * desktop.el (desktop-save-mode):
6612 * dired-x.el (dired-omit-mode):
6613 * dirtrack.el (dirtrack-mode):
6614 * doc-view.el (doc-view-minor-mode):
6615 * double.el (double-mode):
6616 * electric.el (electric-indent-mode, electric-pair-mode):
6617 * emacs-lock.el (emacs-lock-mode):
6618 * epa-hook.el (auto-encryption-mode):
6619 * follow.el (follow-mode):
6620 * font-core.el (font-lock-mode):
6621 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6622 * help.el (temp-buffer-resize-mode):
6623 * hilit-chg.el (highlight-changes-mode)
6624 (highlight-changes-visible-mode):
6625 * hi-lock.el (hi-lock-mode):
6626 * hl-line.el (hl-line-mode, global-hl-line-mode):
6627 * icomplete.el (icomplete-mode):
6628 * ido.el (ido-everywhere):
6629 * image-file.el (auto-image-file-mode):
6630 * image-mode.el (image-minor-mode):
6631 * iswitchb.el (iswitchb-mode):
6632 * jka-cmpr-hook.el (auto-compression-mode):
6633 * linum.el (linum-mode):
6634 * longlines.el (longlines-mode):
6635 * master.el (master-mode):
6636 * mb-depth.el (minibuffer-depth-indicate-mode):
6637 * menu-bar.el (menu-bar-mode):
6638 * minibuf-eldef.el (minibuffer-electric-default-mode):
6639 * mouse-sel.el (mouse-sel-mode):
6640 * msb.el (msb-mode):
6641 * mwheel.el (mouse-wheel-mode):
6642 * outline.el (outline-minor-mode):
6643 * paren.el (show-paren-mode):
6644 * recentf.el (recentf-mode):
6645 * reveal.el (reveal-mode, global-reveal-mode):
6646 * rfn-eshadow.el (file-name-shadow-mode):
6647 * ruler-mode.el (ruler-mode):
6648 * savehist.el (savehist-mode):
6649 * scroll-all.el (scroll-all-mode):
6650 * scroll-bar.el (scroll-bar-mode):
6651 * server.el (server-mode):
6652 * shell.el (shell-dirtrack-mode):
6653 * simple.el (auto-fill-mode, transient-mark-mode)
6654 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6655 (line-number-mode, column-number-mode, size-indication-mode)
6656 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6657 * strokes.el (strokes-mode):
6658 * time.el (display-time-mode):
6659 * t-mouse.el (gpm-mouse-mode):
6660 * tool-bar.el (tool-bar-mode):
6661 * tooltip.el (tooltip-mode):
6662 * type-break.el (type-break-mode-line-message-mode)
6663 (type-break-query-mode):
6664 * view.el (view-mode):
6665 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6666 (global-whitespace-mode, global-whitespace-newline-mode):
6667 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6669 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6670 Fix autogenerated docstring.
6672 2011-10-19 Juri Linkov <juri@jurta.org>
6674 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6675 by checking environment variables "DESKTOP_SESSION" and
6676 "XDG_CURRENT_DESKTOP". (Bug#9779)
6678 2011-10-19 Juri Linkov <juri@jurta.org>
6680 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6681 (browse-url-chromium-program, browse-url-chromium-arguments):
6683 (browse-url-default-browser): Check for `browse-url-chromium' and
6684 call `browse-url-chromium-program'.
6685 (browse-url-chromium): New command. (Bug#9779)
6687 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6689 * facemenu.el (list-colors-duplicates): On Windows, detect more
6690 duplicates by assuming that only colors matching "^System" are
6691 special "system colors". (Bug#9722)
6693 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6695 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6696 to distinguish the author from the committer.
6698 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6700 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6702 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6704 * international/mule.el (sgml-html-meta-auto-coding-function):
6705 Add support for detecting encoding in HTML5 specified only as
6706 <meta charset="UTF-8">. Implementation just makes http-equiv and
6707 content-type parts from HTML4 encoding string optional. (Bug#9716)
6709 2011-10-18 Glenn Morris <rgm@gnu.org>
6711 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6713 2011-10-18 Chong Yidong <cyd@gnu.org>
6715 * faces.el (cursor): Doc fix.
6717 2011-10-17 Chong Yidong <cyd@gnu.org>
6719 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6721 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6723 * dirtrack.el (dirtrack): Support shell buffers with path
6724 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6726 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6728 * json.el: Bump version to 1.3 and note change in History.
6729 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6731 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6733 * comint.el (comint-insert-input, comint-send-input)
6734 (comint-get-old-input-default, comint-backward-matching-input)
6735 (comint-next-prompt): Use nil instead of `input' for field property of
6736 past user input (bug#114).
6738 * minibuffer.el (completion--replace): Inherit surrounding properties
6740 (minibuffer-complete-and-exit): Use it.
6742 * comint.el (comint--table-subvert): Quote the all-completions output
6745 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6747 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6749 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6750 window on right of selected. (Bug#9350) Reword other window
6751 entries and separate them from frame entries.
6753 2011-10-15 Glenn Morris <rgm@gnu.org>
6755 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6758 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6760 * net/network-stream.el (network-stream-open-starttls):
6761 Improve detection of failure due to lack of TLS support.
6763 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6764 putting the input text in front and in bold.
6766 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6770 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6773 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6774 unread-command-events rather than pushing yet-another event.
6776 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6778 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6779 the explanation of the possible choices. Make the options passed
6780 to completing-read shorter.
6782 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6784 * textmodes/flyspell.el (flyspell-large-region): Make sure
6785 extended character mode is used if defined (Bug#1339).
6787 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6789 * simple.el (what-cursor-position): Fix the display of the
6790 character info for LRE, LRO, RLE, and RLO characters by appending
6793 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6796 even in case of error; add debug spec; simplify data flow.
6797 (with-timeout-handler): Remove.
6799 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6801 Fix Bug#6019, Bug#9315.
6803 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6804 complete `buffer-file-name', the local file name part could look
6805 remotely (for example on VMS).
6807 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6808 `tramp-run-real-handler'.
6809 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6810 already quoted by '"'.
6812 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6813 Let `file-name-handler-alist' be nil, the local file name part
6814 could look remotely (for example on VMS).
6816 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6820 (flyspell-post-command-hook): ...to here.
6822 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6826 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6827 using completion. Protect against "slow" callers.
6828 Remove the "message hack".
6830 2011-10-11 Juri Linkov <juri@jurta.org>
6832 * isearch.el (isearch-lazy-highlight-word): New variable.
6833 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6836 2011-10-11 Glenn Morris <rgm@gnu.org>
6838 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6839 like f90-previous-statement does.
6841 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6843 * eshell/eshell.el (eshell-command): History should be saved
6844 only in interactive use, to avoid error.
6846 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * minibuffer.el (completion-file-name-table): Fix last change,
6849 i.e. ignore normal errors but not the other ones.
6851 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6853 * window.el (special-display-buffer-names)
6854 (special-display-regexps): Remove some remnants of earlier
6855 changes from doc-strings.
6856 (quit-windows-on): New function.
6858 * vc/vc.el (vc-revert, vc-rollback):
6859 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6860 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6861 (Bug#6183) (Bug#7074) (Bug#7447)
6863 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6865 * window.el (frame-auto-hide-function): Add version tag.
6868 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6870 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6873 2011-10-09 Leo Liu <sdl.web@gmail.com>
6875 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6878 2011-10-08 Glenn Morris <rgm@gnu.org>
6880 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6881 before the first code statement zero indent. (Bug#9690)
6883 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6885 * simple.el (count-words-region): Always count in the region.
6886 Report the number of lines and characters too.
6887 (count-words): New command, which counts in the buffer if the
6888 region is inactive, as count-words-region used to.
6889 (count-words--message): New function. Handle plurals.
6890 (count-lines-region): Make it an alias for count-words-region.
6892 * bindings.el (esc-map): Replace count-lines-region with
6895 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6897 * window.el (window--delete): Delete dedicated frame
6898 unconditionally when argument KILL is non-nil. (Bug#9699)
6899 (switch-to-buffer): Fix doc-string typo.
6901 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6903 * eshell/eshell.el (eshell-command): Avoid using hooks.
6905 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6907 * bindings.el ([M-left],[M-right]): Bind to left-word and
6908 right-word respectively.
6910 2011-10-07 Glenn Morris <rgm@gnu.org>
6912 * cus-start.el (debug-on-quit): Fix custom type.
6914 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6916 * subr.el (define-key-after): Clarify that the function is not
6917 useful for non-menu keymaps.
6919 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6921 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6923 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6924 in current minibuffer (Fix bug with recursive minibuffers).
6926 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6928 * progmodes/gdb-mi.el (gdb): Doc fix.
6930 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6932 * window.el (frame-auto-hide-function): New option replacing
6933 frame-auto-delete. Suggested by Stefan Monnier.
6934 (window--delete): Call frame-auto-hide-function instead of
6935 investigating frame-auto-delete.
6936 (window-point-1, set-window-point-1): New functions.
6937 (window-in-direction, record-window-buffer, window-state-get-1)
6938 (display-buffer-record-window): Use window-point-1 instead of
6940 (set-window-buffer-start-and-point): Use set-window-point-1.
6942 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6946 2011-10-05 Glenn Morris <rgm@gnu.org>
6948 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6949 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6951 2011-10-05 Leo Liu <sdl.web@gmail.com>
6953 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6954 works with buffer object.
6956 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * mpc.el (mpc-tool-bar-map): Add labels.
6960 2011-10-04 Glenn Morris <rgm@gnu.org>
6962 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6964 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6966 * window.el (window--delete): New function.
6967 (frame-auto-delete): Resuscitate option.
6968 (bury-buffer, replace-buffer-in-windows)
6969 (quit-window): Rewrite using window--delete.
6970 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6971 Pass display-buffer-mark-dedicated to window--display-buffer-2
6974 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6977 returns a list (bug#9554). Add remote file name completion.
6978 * comint.el (comint--table-subvert): Curry and get quote&unquote
6979 functions as arguments.
6980 (comint--complete-file-name-data): Adjust call accordingly.
6981 * pcomplete.el (pcomplete--table-subvert): Remove.
6982 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6984 * minibuffer.el (completion-table-case-fold): Use currying.
6985 (completion--styles-type, completion--cycling-threshold-type):
6987 (completion-styles, completion-category-overrides)
6988 (completion-cycle-threshold): Use them.
6989 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6990 completion-table-case-fold.
6992 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6994 * minibuffer.el (completion-category-overrides): Fix type of styles
6995 and add more user friendly tags (bug#9660).
6997 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6999 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7000 (mule-input-method-string): New widget.
7001 (default-input-method, language-info-custom-alist): Use it.
7003 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7005 * pcomplete.el: Require comint.
7006 (pcomplete--common-suffix): Remove.
7007 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7008 (pcomplete--table-subvert): Sync with comint--table-subvert.
7009 (pcomplete--entries): Use comint-completion-file-name-table.
7010 * comint.el (comint-unquote-filename): Simplify.
7011 (comint-completion-file-name-table): New function (bug#9616).
7012 (comint--complete-file-name-data): Use it.
7014 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7015 (pcmpl-gnu-tar-buffer): Remove.
7016 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7017 around. Make sure pcomplete-suffix-list is only changed temporarily.
7018 Don't look inside the tar's file if it's too large.
7020 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7022 * cus-edit.el (custom-mode-map):
7023 * epa.el (epa-key-list-mode-map):
7024 * man.el (Man-mode-map):
7025 * startup.el (splash-screen-keymap):
7026 * simple.el (special-mode-map): Use scroll-up-command and
7027 scroll-down-command.
7029 * progmodes/idlw-help.el (idlwave-help-mode-map):
7030 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7031 * net/newst-plainview.el (newsticker-mode-map):
7032 * emulation/ws-mode.el (wordstar-mode-map):
7033 * emulation/vi.el (vi-com-map):
7034 * calc/calc-graph.el (calc-graph-show-dumb):
7035 * term/sun.el (terminal-init-sun):
7036 * term/ns-win.el (global-map):
7037 * progmodes/grep.el (grep-mode-map):
7038 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7039 * mail/rmail.el (rmail-mode-map):
7040 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7042 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7043 custom-safe-themes as special.
7045 2011-10-01 Julien Danjou <julien@danjou.info>
7047 * notifications.el (notifications-notify): Fix docstring.
7049 2011-10-01 Per Starbäck <per@starback.se>
7051 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7053 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7055 * startup.el (command-line-1): Fix last fix by inserting
7056 initial-scratch-message into *scratch* before displaying it.
7057 (Bug#9605) and (Bug#9636)
7059 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7061 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7062 window is hscrolled, move by logical lines. (Bug#9607)
7063 (line-move-visual): Update the doc string to the above effect.
7065 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7067 * window.el (display-buffer-record-window): When WINDOW is the
7068 selected window use `point' instead of `window-point'. (Bug#9626)
7070 * startup.el (command-line-1): Use insert-before-markers when
7071 inserting initial-scratch-message. (Bug#9605)
7073 * help.el (help-window): Remove variable.
7075 2011-09-29 Glenn Morris <rgm@gnu.org>
7077 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7079 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7081 * descr-text.el (describe-char-categories): Accept category
7082 descriptions more than one line long.
7084 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * simple.el (delete-trailing-whitespace): Fix last change.
7088 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7089 Don't confuse "y => 3" as the beginning of a `y' operation.
7091 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7092 object has more than 4 slots (bug#9613).
7094 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7096 * subr.el (with-output-to-temp-buffer):
7097 * net/quickurl.el (quickurl, quickurl-browse-url):
7098 Fix typos in docstrings.
7100 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7102 * minibuffer.el (completion-styles)
7103 (completion-category-overrides): Cross reference each other in doc
7106 2011-09-27 Glenn Morris <rgm@gnu.org>
7108 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7109 to split-string. (Bug#9606)
7111 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7116 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7118 * emacs-lisp/package.el (list-packages): Fix echo area message.
7120 2011-09-27 Leo Liu <sdl.web@gmail.com>
7122 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7124 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7126 * net/dbus.el (dbus-unregister-object): Don't release services for
7127 registered signals. (Bug#9581)
7129 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7131 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7132 function that picks between cfengine 2 and 3 support
7133 automatically. Update docs accordingly.
7135 2011-09-22 Kenichi Handa <handa@m17n.org>
7137 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7139 (indian-itrans-v5-table-for-tamil): New variable.
7140 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7142 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7144 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7145 that's true if the current command involved collapsing of text.
7146 It's reset to false at the beginning of the next command.
7147 (allout-post-command-business): Move the cursor to the beginning
7148 of entry if the cursor is hidden and collapsing activity just
7151 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7153 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7154 tracking (Bug#9541).
7156 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7158 * net/newst-reader.el (newsticker-html-renderer)
7159 (newsticker-show-news): Automatically load html rendering package
7160 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7161 because w3m-fill-column is let-bound" and the error "Symbol's value
7162 as variable is void: w3m-fill-column".
7164 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7166 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7167 Release services only if they are defined. (Bug#9581)
7169 2011-09-23 Richard Stallman <rms@gnu.org>
7171 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7172 distinguish start of paragraph from start of its text.
7174 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7176 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7177 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7178 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7180 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7182 * international/mule-diag.el (mule-diag): Insert a newline after
7183 each fontset description.
7185 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7187 * simple.el (delete-trailing-whitespace):
7188 Document last change; simplify.
7190 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7192 * simple.el (delete-trailing-whitespace): Also delete
7193 extra newlines at the end of the buffer.
7195 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7196 (picture-newline): Use forward-line so as to ignore fields.
7198 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * subr.el (with-wrapper-hook): Fix edebug spec.
7202 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7207 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7209 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7210 Fix nasty bug using wrong cached values.
7212 2011-09-23 Alan Mackenzie <acm@muc.de>
7214 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7216 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7218 * window.el (pop-to-buffer): Ensure right window is selected if we
7219 chose another frame.
7221 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7223 * simple.el (what-cursor-position): Use get-char-property-change
7224 and next-single-char-property-change, to be able to show display
7225 properties that come from overlays as well as text properties.
7227 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7229 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7231 * cmuscheme.el (run-scheme, switch-to-scheme):
7232 * cus-edit.el (customize-group, custom-buffer-create)
7236 * mail/sendmail.el (mail):
7237 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7239 2011-09-22 Richard Stallman <rms@gnu.org>
7241 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7242 move back only to line beg, don't move back over blank lines.
7244 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7246 * files.el (copy-directory): Set directory attributes only in case
7247 they could be retrieved from the source directory. (Bug#9565)
7249 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7251 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7252 (hs-find-block-beginning, hs-hide-level-recursive):
7253 Ignore strings as well as comments. (Bug#9502)
7255 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7257 * progmodes/sql.el (sql-comint-postgres):
7258 Convert port number to a string. (Bug#9566)
7260 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7262 * window.el (quit-window): Undedicate window when switching to
7263 previous buffer. Reported by Thierry Volpiatto
7264 <thierry.volpiatto@gmail.com>.
7265 (special-display-popup-frame): When popping up a new frame reset
7266 its previous buffers to nil. Simplify code.
7268 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7270 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7271 and process filter, as done also in `shell-command'.
7273 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7275 * window.el (set-window-buffer-start-and-point):
7276 Call set-window-start with NOFORCE argument t.
7277 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7278 (quit-window): Reword doc-string. Handle new format of
7279 quit-restore parameter. Don't delete window if it has a
7280 previous buffer we can show instead of the present one.
7281 (display-buffer-record-window): Rewrite using a new format for
7282 the quit-restore window parameter
7283 (special-display-popup-frame, display-buffer-same-window)
7284 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7285 (display-buffer-pop-up-window, display-buffer-use-some-window):
7286 Adapt symbol passed to display-buffer-record-window.
7287 * help.el (help-window-setup): Handle new format of quit-restore
7290 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * faces.el (face-list): Fix docstring (bug#9564).
7294 * window.el (display-buffer--action-function-custom-type):
7295 Don't include internal functions in the Custom interface.
7297 2011-09-20 Juri Linkov <juri@jurta.org>
7299 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7300 (Info-forward-node, Info-backward-node, Info-next-preorder)
7301 (Info-last-preorder): Use it. (Bug#9528)
7303 2011-09-20 Juri Linkov <juri@jurta.org>
7305 * info.el (Info-last-preorder): Visit last menu item only when
7306 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7308 2011-09-20 Julien Danjou <julien@danjou.info>
7310 * password-cache.el (password-cache-remove): Remove entries even if the
7311 value is nil, so that password with a nil value (negative caching) is
7312 possible to invalidate.
7314 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7316 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7317 all whitespace around breakpoint. (Bug#9553)
7318 (f90-find-breakpoint): Only break at whitespace inside a comment.
7320 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7322 * minibuffer.el (completion-file-name-table): Keep track of errors.
7323 (completion-table-with-predicate): Handle the case where pred1 is nil.
7324 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7326 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7328 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7329 (debugger-return-value): Signal an error if the debugging context does
7330 not await any return value.
7332 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7333 * image-mode.el (image-toggle-display-text)
7334 (image-toggle-display-image): Stay away from evil `intangible'.
7336 2011-09-19 Leo Liu <sdl.web@gmail.com>
7338 * replace.el (occur-revert-arguments): Make it permanent-local.
7339 (occur-mode): Don't call font-lock-defontify.
7341 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7343 * net/ldap.el (ldap-search-internal): Don't push empty search
7346 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7350 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7352 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7353 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7355 2011-09-18 Juri Linkov <juri@jurta.org>
7357 * buff-menu.el (Buffer-menu-mode-map):
7358 * dired.el (dired-mode-map):
7359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7360 (lisp-interaction-mode-map):
7361 * emacs-lisp/package.el (package-menu-mode-map):
7362 * epa.el (epa-key-list-mode-map):
7363 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7364 (menu-bar-options-menu):
7365 * outline.el (outline-mode-menu-bar-map):
7366 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7367 * vc/vc-dir.el (vc-dir-menu-map):
7368 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7369 Capitalize non-function content words in menu item strings.
7371 * dired.el (dired-mode-map): Add menu item for
7372 `image-dired-dired-toggle-marked-thumbs'.
7374 2011-09-18 Juri Linkov <juri@jurta.org>
7376 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7377 to `isearch-case-fold-search' and restore its original value
7378 after the `isearch-mode' call.
7380 2011-09-18 Juri Linkov <juri@jurta.org>
7382 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7383 because `zgrep' returns 1 for successful matches (bug#9226).
7385 2011-09-18 Juri Linkov <juri@jurta.org>
7387 * info.el (Info-extract-menu-node-name): Check the second match
7388 for empty string (second test-case of bug#9528).
7389 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7390 intermediate nodes to the history (first test-case of bug#9528).
7392 2011-09-18 Juri Linkov <juri@jurta.org>
7394 * info.el (Info-mode-syntax-table): New variable.
7395 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7397 2011-09-18 Juri Linkov <juri@jurta.org>
7399 * info.el (Info-file-supports-index-cookies):
7400 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7401 outputs one more line for long file names (bug#4142).
7403 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7405 * newcomment.el (comment-normalize-vars): If prompting for
7406 comment-start, set comment-start-skip too (Bug#8424).
7408 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7410 * icomplete.el: Fix previous fix of Bug#5849.
7411 (icomplete-mode): Don't set completion-show-inline-help.
7412 (icomplete-minibuffer-setup): Set completion-show-inline-help
7413 locally during icompletion.
7415 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7417 * woman.el (woman2-process-escapes): Don't delete unrecognized
7420 * files.el (inhibit-first-line-modes-regexps): Add image files.
7421 (hack-local-variables-prop-line): Return nil for malformed
7422 prop-lines (Bug#9044).
7424 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7426 * net/tramp.el (top): Don't require 'shell.
7427 (tramp-methods): Fix docstring.
7428 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7429 Return complete remote file name. Handle "smb" case.
7430 Use `tramp-tmpdir', if defined for the respective method.
7431 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7433 * net/tramp-compat.el (top): Require 'shell.
7435 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7436 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7437 `tramp-current-host'.
7438 (tramp-get-remote-tmpdir): Remove.
7440 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7441 `tramp-tmpdir' entries.
7442 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7443 (tramp-smb-handle-file-attributes): Ignore errors.
7444 (tramp-smb-wait-for-output): Check also for process end.
7446 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7448 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7449 when sending QUIT (bug#9312).
7451 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7453 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7454 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7455 occur-mode-display-occurrence.
7456 (occur-edit-mode): Add usage message.
7457 (occur-cease-edit): New command.
7458 (occur-after-change-function): Use text properties to find the
7459 position of the prefix text.
7460 (occur-engine): Set stickiness of prefix text properties.
7462 2011-09-17 Glenn Morris <rgm@gnu.org>
7464 * progmodes/etags.el (complete-tag):
7465 Fix call to completion-in-region. (Bug#9526)
7467 2011-09-17 Juri Linkov <juri@jurta.org>
7469 * textmodes/ispell.el (ispell-word): Add to the error message
7470 the word, ispell program name and current dictionary (bug#9121).
7471 (ispell-tex-arg-end): Capitalize "error" in the error message.
7473 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7475 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7478 2011-09-17 Juri Linkov <juri@jurta.org>
7480 * window.el (window-safe-min-height, window-safe-min-width):
7481 Fix typos (followup to bug#9522).
7483 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7485 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7487 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7489 * simple.el (line-move): If goal-column is set, move by logical
7490 lines, not by display lines. (Bug#971)
7491 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7492 to reflect the above change.
7494 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * image.el (imagemagick-register-types): Use regexp-opt.
7498 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7500 * window.el (display-buffer-base-action): Rename from
7501 display-buffer-default-action. Make default value empty.
7502 (display-buffer-overriding-action): Convert to defvar.
7503 (display-buffer-fallback-action): New var.
7505 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7507 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7509 (package--add-to-archive-contents): If there is a duplicate entry
7510 with an older version, remove it.
7511 (package-menu-mark-delete, package-menu-mark-install)
7512 (package-menu-mark-unmark): Make unused args optional.
7513 (package-menu-mark-obsolete-for-deletion):
7514 Use package-menu-get-status instead of a regexp search.
7515 (package-menu-get-status): Use tabulated-list-entry.
7516 (package-menu-mark-upgrades): New command.
7517 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7518 (package-menu-execute): Do installation before deletion.
7519 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7520 instead of checking major-mode.
7521 (package-menu--find-upgrades): New function.
7523 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7525 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7526 passwords in the log buffer.
7527 (smtpmail-process-filter): Update the process marker so that the
7528 "broken by peer" status message is inserted in the right place.
7530 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7533 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7534 bibtex-completion-at-point-function.
7535 (bibtex-completion-at-point-function): Use them.
7537 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7539 * mpc.el (mpc-constraints-tag-lookup): New function.
7540 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7541 also to browser "album|playlist".
7543 2011-09-14 Juri Linkov <juri@jurta.org>
7545 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7546 (isearch-edit-string): Use length of `isearch-string' when
7547 `isearch-fail-pos' returns nil.
7548 (isearch-message): Remove duplicate code and call
7549 `isearch-fail-pos' with arg `t'.
7551 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7553 * replace.el (occur-mode-goto-occurrence): Don't force using other
7556 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7558 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7560 * window.el (display-buffer-window): Remove.
7561 (display-buffer-record-window): Use help-setup window parameter
7562 instead of variable display-buffer-window.
7563 (display-buffer-function, special-display-buffer-names)
7564 (special-display-function): Mention help-setup parameter instead
7565 of display-buffer-window in doc-string.
7566 * help.el (help-window-setup): New argument help-window.
7567 Use help-window-setup parameter instead of display-buffer-window.
7568 Reword some messages.
7569 (with-help-window): Pass window used for displaying the buffer
7570 to help-window-setup. Don't set display-buffer-window.
7572 2011-09-13 Glenn Morris <rgm@gnu.org>
7574 * emacs-lisp/debug.el (debugger-make-xrefs):
7575 Preserve point. (Bug#9462)
7577 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7579 * window.el (window-deletable-p): Use next-frame.
7581 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7583 * window.el (window-auto-delete): Remove.
7584 (window-deletable-p): Remove argument FORCE. Don't deal with
7585 dedication and previous buffers.
7586 (switch-to-prev-buffer): Don't delete window.
7587 (delete-windows-on): Delete a window's frame if and only if the
7588 window is dedicated.
7589 (replace-buffer-in-windows): Delete buffer's window or frame if
7590 and only if window is dedicated.
7591 (quit-window): Handle quit-restore as before last change.
7592 (bury-buffer): Delete window only if window-deletable-p returns t.
7594 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7596 * window.el (window-deletable-p): Never delete the last frame on a
7599 2011-09-13 Glenn Morris <rgm@gnu.org>
7601 * help.el (describe-key-briefly): Copy previous standard-output change.
7603 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7605 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7607 2011-09-13 Glenn Morris <rgm@gnu.org>
7609 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7610 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7612 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7614 * dired-aux.el (dired-mark-read-string): Don't return default
7615 value on empty input (Bug#9361).
7616 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7617 Omit initial minibuffer contents.
7618 (dired-do-chmod): Signal an error on empty input.
7619 (dired-mark-read-string): Don't return default on empty input.
7621 * files.el (file-modes-symbolic-to-number): Doc fix.
7623 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * international/mule-cmds.el (ucs-completions): Remove.
7626 (read-char-by-name): Use complete-with-action instead; add metadata.
7628 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7630 * window.el (display-buffer--action-function-custom-type)
7631 (display-buffer--action-custom-type): New vars.
7632 (display-buffer-alist, display-buffer-default-action)
7633 (display-buffer-overriding-action): Add defcustom types.
7635 * frame.el (delete-other-frames): Doc fix (Bug#276).
7637 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7639 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7641 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7643 Change modes that used same-window-* vars to use switch-to-buffer.
7645 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7646 Use switch-to-buffer.
7648 * cus-edit.el (customize-group, custom-buffer-create)
7649 (customize-browse, custom-buffer-create-other-window):
7650 Use switch-to-buffer or switch-to-buffer-other-window.
7652 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7653 (Info-prev, Info-up, Info-speedbar-goto-node)
7654 (info-display-manual): Use switch-to-buffer.
7655 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7657 * mail/sendmail.el (mail): Use switch-to-buffer.
7658 (mail-recover): Use switch-to-buffer-other-window.
7660 * cmuscheme.el (run-scheme, switch-to-scheme):
7663 * net/rlogin.el (rlogin):
7664 * net/telnet.el (telnet, rsh):
7665 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7667 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7669 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7671 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7674 so don't mention it (bug#9301).
7675 (dired-sort-toggle-or-edit): Clarify string further.
7677 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7678 match `x', `w32' and `ns', like the manual says (bug#9029).
7680 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7681 (process-kill-buffer-query-function): Mention the buffer name in
7684 * image-mode.el (image-next-line): The line parameter is mandatory
7687 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7688 which can be useful (bug#9301).
7690 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7692 * subr.el (match-string): Mention that the current buffer should
7693 be the same as the search was done in (bug#9282).
7695 * facemenu.el: Disable the remove-* commands if the mark isn't
7698 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7700 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7702 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7704 * replace.el (occur-mode-goto-occurrence)
7705 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7708 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7711 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7712 special-display and same-window variables.
7713 (mail-other-window): Use switch-to-buffer-other-window.
7714 (mail-other-frame): USe switch-to-buffer-other-frame.
7716 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7717 Use display-buffer-other-frame.
7718 (gdb-display-gdb-buffer): Use pop-to-buffer.
7720 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7722 * progmodes/python.el: Don't set same-window-buffer-names.
7724 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7726 * window.el (display-buffer-alist): Add *Python*.
7728 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7730 * window.el (display-buffer-alist): Add entry for buffers
7731 previously handled same-window-*.
7732 (display-buffer-alist, display-buffer-default-action)
7733 (display-buffer-overriding-action): Mark as risky.
7734 (display-buffer-alist): Document action function changes.
7735 (display-buffer--same-window-action)
7736 (display-buffer--other-frame-action): New variables.
7737 (switch-to-buffer, display-buffer-other-frame): Use them.
7738 (display-buffer): Rename reuse-frame entry to reusable-frames.
7739 (display-buffer-reuse-selected-window): Function deleted.
7740 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7741 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7742 (display-buffer-special): New function.
7743 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7744 display-buffer-reuse-or-pop-window. Split off special-display
7745 part into display-buffer-special.
7746 (display-buffer-use-some-window): Don't perform any special
7747 pop-up-frames handling.
7748 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7749 (display-buffer--maybe-same-window): Rename from
7750 display-buffer-maybe-same-window.
7752 * info.el: Don't set same-window-regexps.
7753 (info-setup): New function.
7754 (info-other-window, info): Call it.
7756 * cus-edit.el: Don't set same-window-regexps.
7757 (customize-group): New argument.
7758 (customize-group-other-window): Use it.
7759 (customize-face, customize-face-other-window): Likewise.
7760 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7764 * progmodes/gud.el: Don't set same-window-regexps.
7770 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7772 2011-09-10 Juri Linkov <juri@jurta.org>
7774 * isearch.el (isearch-edit-string): Remove obsolete mention of
7775 `C-w' (`isearch-yank-word-or-char') from docstring.
7776 (isearch-query-replace): Fix typo in docstring (bug#9466).
7778 2011-09-10 Juri Linkov <juri@jurta.org>
7780 * paren.el (show-paren-function): Don't show escaped parens.
7781 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7783 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7785 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7786 (mm-default-file-encoding): Remove autoload forms, they are
7787 replaced with autoload cookies in mml.el and mm-encode.el.
7788 (mail-add-attachment): New command.
7789 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7790 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7792 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7794 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7796 * simple.el (count-words-region): Use buffer if there's no region
7799 2011-09-09 Juri Linkov <juri@jurta.org>
7801 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7802 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7803 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7805 2011-09-09 Alan Mackenzie <acm@muc.de>
7807 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7808 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7810 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7812 Fix for Savannah bug#9392.
7813 * simple.el (mail-encode-mml): New defvar.
7815 * mail/rmail.el (mail-encode-mml): Add a defvar.
7816 (rmail-enable-mime-composing): Default to t.
7817 (rmail-forward): Use MIME method of forwarding only if both
7818 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7819 Set mail-encode-mml non-nil if the MIME method was used.
7821 * mail/sendmail.el (mml-to-mime): Add autoload form.
7822 (mail-encode-mml): Add a defvar.
7823 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7825 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7826 message through mml-to-mime, and reset mail-encode-mml to nil.
7828 2011-09-09 Glenn Morris <rgm@gnu.org>
7830 * woman.el (woman-if-body): When processing an .el block,
7831 do not delete the next .el block as well. (Bug#9447)
7832 (woman-special-characters): Add oq, cq, and hy characters.
7834 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7836 * window.el (window-deletable-p): Make sure window is live before
7837 invoking window-prev-buffers.
7839 2011-09-08 Leo Liu <sdl.web@gmail.com>
7841 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7843 2011-09-08 Juri Linkov <juri@jurta.org>
7845 * progmodes/compile.el (compilation-environment): Make it
7846 a defcustom (bug#8340).
7848 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7850 * window.el (frame-auto-delete): Rename to window-auto-delete.
7851 Make it control auto-deletion of windows and/or frames.
7852 (window-deletable-p): New argument FORCE. Rewrite conditions
7853 for deleting window/frame. (Bug#9419)
7854 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7855 Rewrite handling of case when window/frame can be deleted.
7856 (delete-windows-on): Call window-deletable-p with new FORCE
7857 argument t. (Bug#9456)
7859 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7861 * help-mode.el (help-mode): Restore autoload.
7863 2011-09-07 Juri Linkov <juri@jurta.org>
7865 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7866 `compilation-environment'. Set buffer-local
7867 `compilation-environment' to `thisenv' later after (funcall mode).
7870 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7871 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7872 instead of replacing its value. (Bug#8340)
7874 2011-09-07 Juri Linkov <juri@jurta.org>
7876 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7877 based on text properties put by `grep-filter' instead of matching
7879 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7880 to the value of `grep-error-screen-columns' (bug#9438).
7882 2011-09-07 Juri Linkov <juri@jurta.org>
7884 * simple.el (next-error-highlight, next-error-highlight-no-select):
7887 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7889 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7890 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7892 2011-09-07 Leo Liu <sdl.web@gmail.com>
7894 * net/rcirc.el (rcirc-mode): Conditionally initialize
7897 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7899 * emacs-lisp/find-func.el (find-function-C-source): Only set
7900 find-function-C-source-directory after checking that we found a source
7901 file there (bug#9440).
7903 2011-09-06 Alan Mackenzie <acm@muc.de>
7905 * isearch.el (isearch-other-meta-char): Wherever a key list is
7906 unread, "unread" the prefix arg, too. This fixes bug #8901.
7908 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7910 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7912 2011-09-05 Juri Linkov <juri@jurta.org>
7914 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7916 2011-09-05 Juri Linkov <juri@jurta.org>
7918 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7919 keeping point where processing of grep matches begins, and
7920 continue to delete remaining escape sequences from the same point.
7921 (grep-filter): Make leading zero optional in "0?1;31m" because
7922 git-grep emits "\033[1;31m" escape sequences unlike expected
7923 "\033[01;31m" as GNU Grep does (bug#9408).
7924 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7926 2011-09-05 Juri Linkov <juri@jurta.org>
7928 * subr.el (y-or-n-p): Capitalize "yes".
7930 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7932 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7933 `tramp-cache-unload-hook' where appropriate.
7934 (tramp-methods): Rename `tramp-remote-sh' to
7935 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7936 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7938 * net/tramp-sh.el (top): Don't require 'shell.
7939 (tramp-methods): Add `tramp-remote-shell' and
7940 `tramp-remote-shell-args' entries.
7941 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7942 (tramp-sh-handle-shell-command): Remove.
7943 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7944 Use `tramp-remote-shell'.
7946 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7948 * mail/sendmail.el (sendmail-query-once-function): Delete.
7949 (sendmail-query-once): Save directly to send-mail-function.
7950 Update message-send-mail-function too.
7952 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7954 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7956 * progmodes/python.el (python-mode-map): Use correct function to
7957 start python interpreter from menu-bar (as reported by Geert
7959 (inferior-python-mode-map): Fix typo.
7960 (python-shell-map): Remove.
7962 2011-09-03 Deniz Dogan <deniz@dogan.se>
7964 * net/rcirc.el (rcirc-print): Simplify code for
7965 rcirc-scroll-show-maximum-output. There is no need to walk
7966 through all windows to find the right one.
7968 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7970 * help.el (help-return-method): Doc fix.
7972 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7974 * window.el (window-deletable-p): Don't return a non-nil value
7975 when there's a buffer that was shown in the window before.
7977 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7978 Set window's previous buffers to nil.
7980 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7982 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7983 newline before and after the tag line, so it doesn't interfere
7984 with determining the paragraph direction of bidirectional text.
7986 2011-09-03 Leo Liu <sdl.web@gmail.com>
7988 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7990 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7992 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7993 (pop-to-buffer): Change interactive spec. Pass second argument
7994 directly to display-buffer.
7995 (display-buffer): Fix interactive spec. Use functionp to
7996 distinguish between a function and a list of functions.
7998 * abbrev.el (edit-abbrevs):
7999 * arc-mode.el (archive-extract):
8000 * autoinsert.el (auto-insert):
8001 * bookmark.el (bookmark-bmenu-list):
8002 * files.el (find-file):
8003 * view.el (view-buffer):
8004 * progmodes/compile.el (compilation-goto-locus):
8005 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8007 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8009 * window.el (display-buffer-alist): Doc fix.
8010 (display-buffer): Add docstring. Don't treat
8011 display-buffer-default specially.
8012 (display-buffer-reuse-selected-window)
8013 (display-buffer-same-window, display-buffer-maybe-same-window)
8014 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8015 (display-buffer-pop-up-window)
8016 (display-buffer-reuse-or-pop-window)
8017 (display-buffer-use-some-window): New functions.
8018 (display-buffer-default-action): Use them.
8019 (display-buffer-default): Delete.
8020 (pop-to-buffer-1): Fix choice of actions.
8022 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8024 * minibuffer.el (completion--insert-strings): Don't get confused by
8025 completion entries that end with an LF char.
8027 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8029 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8031 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8033 * window.el (display-buffer): Restore interactive spec.
8034 (display-buffer-same-window, display-buffer-other-window):
8036 (pop-to-buffer-1): New function. Use the above.
8037 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8038 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8040 * view.el (view-buffer-other-window, view-buffer-other-frame):
8041 Just use pop-to-buffer.
8043 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8045 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8047 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8049 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8051 2011-08-31 Richard Stallman <rms@gnu.org>
8053 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8054 of the separation of rmail-view-buffer from rmail-buffer.
8055 If you say no to "replace original", the decrypt is in the
8056 view buffer. If you say yes, the decrypt goes into the
8059 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8061 * window.el (display-buffer-window): Rewrite doc-string.
8062 (display-buffer-record-window): New function.
8063 (display-buffer-macro-specifiers)
8064 (display-buffer-even-window-sizes, display-buffer-set-height)
8065 (display-buffer-set-width, display-buffer-in-window)
8066 (display-buffer-reuse-window, display-buffer-split-specifiers)
8067 (display-buffer-side-specifiers, display-buffer-split-window-1)
8068 (display-buffer-split-window, display-buffer-split-atom-window)
8069 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8070 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8071 (display-buffer-other-window-means-other-frame)
8072 (display-buffer-normalize-special)
8073 (display-buffer-normalize-default)
8074 (display-buffer-normalize-argument)
8075 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8076 (display-buffer-normalize-specifiers, display-buffer-frame)
8077 (display-buffer-same-window, display-buffer-same-frame)
8078 (display-buffer-other-window)
8079 (display-buffer-same-frame-other-window)
8080 (display-buffer-other-frame, pop-to-buffer-same-window)
8081 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8082 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8083 (switch-to-buffer-same-frame)
8084 (switch-to-buffer-other-window-same-frame)
8085 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8086 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8087 (display-buffer-alist-set): Remove.
8088 (display-buffer-function, special-display-buffer-names)
8089 (special-display-regexps, special-display-function):
8090 In doc-string refer to display-buffer-window and quit-restore
8092 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8093 (special-display-frame-alist, special-display-popup-frame)
8094 (same-window-buffer-names, same-window-regexps, same-window-p)
8095 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8096 (split-window-preferred-function, split-height-threshold)
8097 (split-width-threshold, window-splittable-p)
8098 (split-window-sensibly, window--try-to-split-window)
8099 (window--frame-usable-p, even-window-heights)
8100 (window--even-window-heights, window--display-buffer-1)
8101 (window--display-buffer-2, display-buffer-other-frame):
8102 Restore old Emacs 23 code, order and doc-strings where applicable.
8103 (display-buffer-default, display-buffer-assq-regexp): New functions.
8104 (display-buffer-alist): Rewrite doc-string.
8105 (display-buffer-default-action)
8106 (display-buffer-overriding-action): New variables.
8107 (display-buffer, switch-to-buffer): Rewrite.
8108 (pop-to-buffer): Restore Emacs 23 behavior but use
8109 window-normalize-buffer-to-display.
8110 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8111 Restore Emacs 23 behavior but use
8112 window-normalize-buffer-to-switch-to.
8113 (pop-to-buffer-same-window): Rewrite.
8114 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8115 Rewrite using Emacs 23 options.
8117 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8119 * net/tramp.el (tramp-root-regexp): Remove.
8120 (tramp-completion-file-name-regexp-unified)
8121 (tramp-completion-file-name-regexp-separate)
8122 (tramp-completion-file-name-regexp-url): Don't use leading volume
8123 letter on win32 systems. (Bug#5303, Bug#9311)
8124 (tramp-drop-volume-letter): Simplify definition.
8125 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8127 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8129 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8132 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8134 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8136 2011-08-29 Juri Linkov <juri@jurta.org>
8138 * isearch.el (isearch-done): Don't display message "Mark saved"
8139 when arg `edit' is non-nil to prevent its flicker in the echo area.
8141 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8143 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8144 obsolete packages for deletion.
8146 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8148 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8149 (help-mode): Derive help-mode from special-mode. Don't invoke
8150 view-mode from help-mode.
8151 (help-xref-override-view-map): Remove.
8152 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8153 view-mode is not used anymore.
8155 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8157 * server.el (server-port): Doc fix.
8159 * cus-theme.el (custom-theme-choose-mode): Inherit from
8160 special-mode (Bug#9124).
8161 (custom-theme-choose-mode-map): Add special-mode to parent.
8163 2011-08-28 Alan Mackenzie <acm@muc.de>
8165 * progmodes/cc-fonts.el
8166 (c-make-font-lock-BO-decl-search-function): New function.
8167 (c-basic-matchers-after - "Fontify the clauses after various
8168 keywords"): Extract the three keyword lists for the 3 erroneous
8169 constructs from the list of four, and use the new function above
8170 in place of an old one.
8172 2011-08-28 Deniz Dogan <deniz@dogan.se>
8174 * net/rcirc.el (rcirc-insert-prev-input)
8175 (rcirc-insert-next-input): Remove unused argument.
8177 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8179 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8181 2011-08-27 Alan Mackenzie <acm@muc.de>
8183 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8184 handle function pointer parameters properly.
8186 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8188 * window.el (display-buffer-reuse-window): Fix case where
8189 selected window was reused with non-nil OTHER-WINDOW argument.
8192 2011-08-27 Deniz Dogan <deniz@dogan.se>
8194 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8195 oftc's NickServ messages.
8197 2011-08-27 Glenn Morris <rgm@gnu.org>
8199 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8201 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8203 * emacs-lisp/package.el (package-install): Call package-initialize
8204 if called interactively.
8206 2011-08-26 Leo Liu <sdl.web@gmail.com>
8208 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8210 2011-08-25 Juri Linkov <juri@jurta.org>
8212 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8213 `search-whitespace-regexp' (bug#9364).
8215 2011-08-25 Juri Linkov <juri@jurta.org>
8217 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8218 `regexp-search-ring' to their global values to protect from
8219 updating by `read-from-minibuffer' (bug#9185).
8221 2011-08-25 Juri Linkov <juri@jurta.org>
8223 * textmodes/ispell.el (ispell-command-loop): Add newline
8224 at the end of the "Use option `i'..." line.
8226 2011-08-25 Juri Linkov <juri@jurta.org>
8228 * battery.el (display-battery-mode): If `battery-status-function'
8229 or `battery-mode-line-format' is nil, display the message and set
8230 `display-battery-mode' to nil (bug#9363).
8232 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8234 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8235 bidi-string-mark-left-to-right; they are unnecessary now.
8237 2011-08-25 Deniz Dogan <deniz@dogan.se>
8239 * net/quickurl.el: Documentation typo fixes.
8241 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8243 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8245 2011-08-25 Glenn Morris <rgm@gnu.org>
8247 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8249 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8250 (smtpmail-via-smtp): Handle nil response from smtp.
8252 2011-08-24 Juri Linkov <juri@jurta.org>
8254 * proced.el (proced-marked): Inherit from `error' instead of
8255 `font-lock-warning-face'.
8257 * ibuffer.el (ibuffer-marked-face): Change default face from
8258 `font-lock-warning-face' to `warning'.
8259 (ibuffer-deletion-face): Change default face from
8260 `font-lock-type-face' to `error'.
8262 * battery.el (battery-update): Use the face `error' instead of
8263 `font-lock-warning-face' (bug#6117).
8265 2011-08-24 Juri Linkov <juri@jurta.org>
8267 * faces.el (success): Change face color from "Green3" to
8268 "ForestGreen" on light background (bug#9353).
8270 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8272 * window.el (quit-window): Rename from quit-restore-window.
8273 Use same arglist as old quit-window.
8274 (frame-auto-delete): Doc fix.
8276 * view.el (view-mode-exit): Use quit-window.
8278 2011-08-24 Juri Linkov <juri@jurta.org>
8280 * isearch.el (isearch-ring-adjust1): Start visiting previous
8281 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8282 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8283 for empty search string (when the last search string is reused
8284 automatically) to adjust the isearch ring to the last element and
8285 prepare the correct index for further M-p commands (bug#9185).
8287 2011-08-24 Kenichi Handa <handa@m17n.org>
8289 * international/ucs-normalize.el: If decomposition property of
8290 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8292 (nfd, nfkd): Likewise.
8294 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8296 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8297 from process filters aren't reliably transmitted to the surrounding
8298 accept-process-output.
8299 (mpc-proc-check): New function.
8300 (mpc-proc-sync): Use it (bug#8293)
8302 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8304 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8305 Add compatibility functions (bug#9313).
8307 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8309 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8311 * international/uni-bidi.el: Regenerate.
8313 2011-08-23 Kenichi Handa <handa@m17n.org>
8315 * international/charprop.el:
8316 * international/uni-bidi.el:
8317 * international/uni-category.el:
8318 * international/uni-combining.el:
8319 * international/uni-comment.el:
8320 * international/uni-decimal.el:
8321 * international/uni-decomposition.el:
8322 * international/uni-digit.el:
8323 * international/uni-lowercase.el:
8324 * international/uni-mirrored.el:
8325 * international/uni-name.el:
8326 * international/uni-numeric.el:
8327 * international/uni-old-name.el:
8328 * international/uni-titlecase.el:
8329 * international/uni-uppercase.el: Regenerate.
8331 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8333 * help.el (help-window-setup): Fix message displayed when other
8334 window is reused. (Bug#9341)
8336 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8339 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8341 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8343 * shell.el (shell-parse-pcomplete-arguments): New function.
8344 (shell-completion-vars): Use it instead (bug#9160).
8346 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8348 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8349 strings and comments (bug#9333).
8351 * emacs-lisp/debug.el (debug-arglist): New function.
8352 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8353 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8355 2011-08-22 Juri Linkov <juri@jurta.org>
8357 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8358 Revert regexp that highlights output switches to its old
8359 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8361 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8362 to check for empty output (bug#9226).
8364 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8366 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8367 symbol-constituent as the default, as that stops font-lock from
8368 working properly (Bug#8843).
8370 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8373 `coding-system-for-*' around the process open call to avoid
8374 auth-source side effects.
8375 (smtpmail-try-auth-methods): Expand the secret password.
8376 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8379 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8381 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8383 * emacs-lisp/find-func.el (find-function-noselect): New arg
8386 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8387 signal an error for built-in functions (Bug#6664).
8389 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8392 (smtpmail-try-auth-methods): Use it.
8394 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8396 * font-lock.el (font-lock-fontify-region)
8397 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8398 (font-lock-default-unfontify-buffer)
8399 (font-lock-default-fontify-region)
8400 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8402 * progmodes/compile.el (compilation-error-properties):
8403 Fix confusion between file struct and message struct (Bug#9319).
8404 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8407 * net/browse-url.el (browse-url-firefox): Don't call
8408 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8410 2011-08-20 Glenn Morris <rgm@gnu.org>
8412 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8414 * tutorial.el (tutorial--default-keys): Update some default bindings.
8416 * files.el (hack-local-variables): Fully ignore case for "mode:".
8418 2011-08-20 Alan Mackenzie <acm@muc.de>
8420 Resolve invalid use of a regexp in regexp-opt.
8422 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8423 detection for a java annotation.
8425 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8426 detection for a java annotation.
8428 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8430 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8432 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8434 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8437 2011-08-20 Alan Mackenzie <acm@muc.de>
8439 Fontify CPP expressions correctly when starting in the middle of
8440 such a construct. Mainly for when jit-lock etc. starts a chunk
8443 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8445 (c-make-font-lock-search-form): New function, extracted from
8446 c-make-font-lock-search-function.
8447 (c-make-font-lock-search-function): Use the above function.
8448 (c-make-font-lock-context-search-function): New function.
8449 (c-cpp-matchers): Enhance the preprocessor expression case with
8451 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8452 which takes an expression.
8454 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8456 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8458 * window.el (display-buffer-reuse-window)
8459 (display-buffer-pop-up-window): Don't reuse or split a side
8462 2011-08-19 Glenn Morris <rgm@gnu.org>
8464 * files.el (hack-local-variables-prop-line, hack-local-variables):
8465 Downcase "Mode:". (Bug#9331)
8467 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8469 * international/characters.el: Add L and R categories.
8471 * subr.el (bidi-string-mark-left-to-right): Rename from
8472 string-mark-left-to-right. Use category search.
8474 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8476 2011-08-18 Juri Linkov <juri@jurta.org>
8478 * faces.el (error, warning, success): New faces with definitions
8479 copied from old default values of `font-lock-warning-face',
8480 `compilation-warning', `compilation-info' (bug#6117).
8482 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8484 * progmodes/compile.el (compilation-error): Inherit from `error'.
8485 (compilation-warning): Inherit from `warning'.
8486 (compilation-info): Inherit from `success'.
8488 * dired.el (dired-marked): Inherit from `warning'.
8489 (dired-flagged): Inherit from `error'.
8491 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8493 * mail/smtpmail.el (auth-source): Require to avoid problems with
8494 binding variables (bug#9298). Also clean up some unused
8497 * net/network-stream.el (network-stream-open-starttls):
8498 Support using starttls.el without using gnutls-cli.
8500 2011-08-17 Juri Linkov <juri@jurta.org>
8502 * progmodes/grep.el (rgrep): Handle the case when
8503 `grep-find-command' is a cons cell (bug#9278).
8505 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8507 * window.el (display-buffer-pop-up-frame): Run frame creation
8508 function with BUFFER current (as special-display-popup-frame
8509 does). Reported by Drew Adams.
8511 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8513 * epa-mail.el: Simplify GnuPG group expansion using
8515 (epa-mail-group-alist, epa-mail-group-modtime)
8516 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8517 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8518 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8521 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8523 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8525 2011-08-16 Alan Mackenzie <acm@muc.de>
8527 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8528 Correct, to avoid the inside of macros.
8530 2011-08-16 Richard Stallman <rms@gnu.org>
8532 * epa-mail.el: Handle GnuPG group definitions.
8533 (epa-mail-group-alist, epa-mail-group-modtime)
8534 (epa-mail-gnupg-conf-file): New variables.
8535 (epa-mail-parse-groups, epa-mail-sync-groups)
8536 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8537 (epa-mail-expand-recipients): New functions.
8538 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8540 * mail/rmail.el (rmail-epa-decrypt): New command.
8542 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8543 Don't bind buffer-read-only, just inhibit-read-only.
8544 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8545 (epa-decrypt-armor-in-region): Make error message clearer.
8547 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8550 and "a2b" to "ab" for `prefix'.
8552 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8554 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8556 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8557 Fourquet (Bug#8804).
8559 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8561 * startup.el (argi): Declare as global variable (bug#9275).
8563 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8565 * subr.el (string-mark-left-to-right): Search the entire string
8566 for RTL script, not just the terminating character. Doc fix.
8568 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8572 (js--regexp-literal, js-syntax-propertize-function): Remove.
8573 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8574 (js-mode-map): Don't rebind electric keys.
8575 (js-insert-and-indent): Remove.
8576 (js-mode): Setup electric-layout and electric-indent instead.
8578 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8580 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8582 * epa.el (epa-progress-callback-function): Fix the logic of
8583 displaying progress.
8584 * epa-file.el (epa-file-insert-file-contents): Make progress
8585 display more user-friendly.
8586 (epa-file-write-region): Ditto.
8588 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8590 * subr.el (string-mark-left-to-right): New function.
8592 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8593 Use string-mark-left-to-right.
8594 (list-buffers-noselect): Caller changed.
8596 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8597 Use string-mark-left-to-right.
8598 (tabulated-list-print): Recenter after moving point.
8600 2011-08-10 Juri Linkov <juri@jurta.org>
8602 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8603 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8604 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8606 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8608 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8611 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8613 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8614 character. (Bug#6594)
8616 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8618 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8619 (image-dired--with-db-file): New macro.
8620 (image-dired-write-tags, image-dired-remove-tag)
8621 (image-dired-create-gallery-lists, image-dired-write-comments)
8622 (image-dired-get-comment, image-dired-mark-tagged-files)
8623 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8624 (image-dired-gallery-generate): Use insert-file-contents.
8626 * time.el (display-time-world-list, display-time-world-display):
8627 * time-stamp.el (time-stamp-string):
8628 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8629 set-time-zone-rule (Bug#7337).
8631 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8633 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8634 (epg-error-to-string, epg-errors-to-string): New function.
8635 (epg-wait-for-completion): Reverse errors list.
8636 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8637 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8638 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8639 (epg-sign-keys, epg-generate-key-from-file)
8640 (epg-generate-key-from-string): Format errors by using
8641 epg-errors-to-string (bug#9255).
8642 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8644 2011-08-07 Juri Linkov <juri@jurta.org>
8646 * faces.el (list-faces-display): Remove extra angle bracket
8647 from `help-mode-map'.
8649 * info.el (Info-history-toc-nodes): Doc fix.
8651 * longlines.el (longlines-mode): Doc fix.
8653 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8656 of statements and in a few more cases (bug#9183).
8658 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8660 (cl-transform-lambda): Use them (bug#9239).
8662 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8664 * window.el (display-buffer-same-window)
8665 (display-buffer-same-frame, display-buffer-other-window)
8666 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8667 (pop-to-buffer-other-window)
8668 (pop-to-buffer-same-frame-other-window)
8669 (pop-to-buffer-other-frame): Make them defuns.
8670 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8672 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * subr.el (make-composed-keymap): Move from C. Change calling
8675 convention, and improve docstring to bring attention to a subtle point.
8676 * minibuffer.el (completing-read-default): Adjust accordingly.
8678 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8680 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8681 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8683 * net/trampver.el: Update release number.
8685 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8687 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8690 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692 * mail/sendmail.el (sendmail-query-once): Restore the current
8693 buffer after querying (bug#9074).
8695 * dired.el (dired-flagged): Use different faces for marked and
8696 flagged files (bug#6117).
8698 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8701 * ido.el (ido-mode): Switch off the message if called
8704 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8705 before 587, since it appears that that's more likely to work for
8708 * cus-edit.el (custom-file): When running under emacs -q, always
8709 refuse to save the customizations, even if the .emacs file doesn't
8712 * info.el: Remove the `Info-beginning-of-buffer' function
8715 * net/network-stream.el (network-stream-open-starttls):
8716 Use `starttls-available-p' to see whether starttls.el can be used.
8718 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8720 * window.el (display-buffer-in-window): Don't set dedicated status
8721 of window here (Bug#9215).
8722 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8723 (display-buffer-pop-up-side-window)
8724 (display-buffer-in-side-window): Set dedicated status of window here.
8726 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8729 before binding generated-autoload-file.
8731 2011-08-01 Deniz Dogan <deniz@dogan.se>
8733 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8735 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8737 Sync with Tramp 2.2.2.
8739 * net/trampver.el: Update release number.
8741 2011-07-30 Juri Linkov <juri@jurta.org>
8743 * dired-aux.el (dired-touch-initial): Remove function.
8744 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8745 current time, and `default' to the last modification time of the
8746 current marked file (bug#6887).
8748 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8750 * simple.el (goto-line): Use string-to-number to provide a
8751 numeric argument to read-number (bug#9163).
8753 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8755 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8756 connection process, it could be nil.
8758 2011-07-27 Leo Liu <sdl.web@gmail.com>
8760 Simplify url handling in rcirc-mode.
8762 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8763 (rcirc-browse-url-at-mouse): Remove.
8764 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8766 2011-07-26 Alan Mackenzie <acm@muc.de>
8768 Fontify bitfield declarations properly.
8770 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8771 (c-symbol-chars): Now exported as a lang variable.
8772 (c-not-primitive-type-keywords): New lang variable.
8774 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8775 QT keyword "more" to prevent "more slots: ...." being spuriously
8776 parsed as a bitfield declaration.
8778 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8779 Refactor and enhance to handle bitfield declarations.
8780 (c-punctuation-in): New function.
8781 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8782 declarations properly.
8784 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8786 * calendar/icalendar.el (icalendar--all-events): Take care of
8787 multiple vcalendars in a single file.
8788 (icalendar--convert-float-to-ical): Checkdoc fixes.
8790 2011-07-25 Deniz Dogan <deniz@dogan.se>
8792 * image.el (insert-image): Clarifying docstring.
8794 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8796 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8797 `tramp-send-command-and-check' if there is no error.
8798 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8800 2011-07-22 Alan Mackenzie <acm@muc.de>
8802 Prevent cc-langs.elc being loaded at run time.
8804 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8807 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8808 "(require 'cc-langs)". Quote a form so it will evaluate at
8809 (cc-mode's) compilation time.
8811 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8813 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8816 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8818 * window.el (display-buffer-pop-up-window)
8819 (display-buffer-pop-up-side-window)
8820 (display-buffer-in-side-window): Call display-buffer-set-height
8821 and display-buffer-set-width after setting the new window's
8822 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8824 2011-07-20 Sam Steingold <sds@gnu.org>
8826 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8827 (etags-tags-included-tables): Call `convert-standard-filename' on
8828 the file names contained in TAGS so that windows Emacs can handle
8829 TAGS files created by cygwin ctags.
8831 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8833 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8834 which apparently didn't work.
8836 2011-07-19 Roland Winkler <winkler@gnu.org>
8838 * proced.el (proced-send-signal): For *Marked Processes* buffer
8839 put point at beginning of buffer.
8841 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8843 * proced.el (proced-format): Make header lines align with the text
8846 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8848 * view.el (view-buffer): Allow running in `special' modes if we're
8849 visiting a file (bug#8615).
8851 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8853 * window.el (display-buffer-alist-of-strings-p)
8854 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8856 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8859 2011-07-18 Alan Mackenzie <acm@muc.de>
8861 Fontify declarators properly when, e.g., a jit-lock chunk begins
8862 inside a declaration.
8864 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8866 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8868 (c-complex-decl-matchers): Insert reference to
8869 c-font-lock-enclosing-decls.
8871 * progmodes/cc-engine.el (c-backward-single-comment):
8872 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8873 to nil around calls to (forward-comment -1).
8875 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8877 * image.el (put-image): Doc typo fix.
8879 * progmodes/etags.el (tags-search): Doc typo fix.
8881 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8882 password if we get errors 550 to 554.
8884 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886 * net/gnutls.el (gnutls-log-level): Remove.
8888 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8889 indentation character (bug#6380).
8891 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8893 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8894 to clarify what the problem is (bug#4291).
8896 * simple.el (current-kill): Clarify what
8897 `interprogram-paste-function' does (bug#7500).
8898 (auto-fill-mode): Document `auto-fill-function' in relation to
8899 `auto-fill-mode' (bug#2470).
8901 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8903 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8904 method if slot is read-only (bug#9035).
8906 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8908 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8909 * window.el (pop-to-buffer): Select window used even if it was
8910 selected before, see discussion of (Bug#8615), (Bug#6954).
8911 Pass argument NORECORD on to select-frame-set-input-focus.
8913 2011-07-15 Glenn Morris <rgm@gnu.org>
8915 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8918 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8920 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8921 (gnutls-negotiate): Use it.
8923 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8925 * net/gnutls.el (gnutls-negotiate):
8926 Upcase `gnutls-algorithm-priority'.
8928 2011-07-15 Glenn Morris <rgm@gnu.org>
8930 * jka-compr.el (jka-compr-verbose): Move from here...
8931 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8932 Add missing :version tag.
8933 * info.el: No need to require jka-compr when compiling.
8935 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8937 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8938 (gnutls-negotiate): Use it.
8940 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8942 * info.el (Info-beginning-of-buffer): New command.
8943 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8944 announcing `b' as the key (bug#8325).
8945 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8947 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8949 * international/mule-cmds.el
8950 (describe-specified-language-support): Make the error message
8953 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8955 * isearch.el (isearch-barrier): Add a doc string, since it's
8956 mentioned in a function doc string (bug#8678).
8958 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8960 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8961 buffer argument (Bug#9083) and self-identifying label argument.
8963 2011-07-15 Glenn Morris <rgm@gnu.org>
8965 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8967 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969 * man.el (Man-fontify-manpage): Fix message when formatting the
8970 man page (bug#7929).
8972 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8974 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8975 argument LRM; if non-nil, append an invisible LRM character to the
8977 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8978 last argument non-nil, when formatting buffer names.
8979 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8980 paragraph direction.
8982 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8984 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8985 the man page name (bug#7929).
8987 * image.el (put-image): Mention the `put-image' overlay property
8990 * scroll-bar.el (set-scroll-bar-mode): Mention that
8991 `scroll-bar-mode' lists the values (bug#7772).
8993 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8996 * rect.el (apply-on-rectangle): Return the point after the last
8998 (string-rectangle): Go to the point after the last operation
9001 * printing.el (pr-toggle-region): Clarify the documentation
9002 slightly (bug#7493).
9004 * time.el (display-time-update):
9005 Allow `display-time-mail-function' to return nil (bug#7158).
9006 Fix suggested by Detlev Zundel.
9008 * vc/diff.el (diff): Clarify the order the file names are read
9011 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9012 the doc string (bug#7015).
9014 * font-lock.el (font-lock-maximum-decoration): Mention what
9015 numeric levels mean (bug#6935).
9017 * startup.el (initial-buffer-choice): Don't mention the `none'
9018 selection, which is against policy.
9020 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9022 * window.el (display-buffer-normalize-special):
9023 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9025 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9027 * subr.el (version<, version<=, version=): Mention "-CVS" and
9028 "-12345" alpha version numbers.
9030 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9032 * bindings.el: Add advertised binding for set-mark-command
9035 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9037 * bindings.el (mode-line-other-buffer):
9038 * bookmark.el (bookmark-bmenu-2-window):
9039 * bs.el (bs-cycle-next, bs-cycle-previous):
9040 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9043 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9046 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9048 * follow.el (follow-debug-message, follow-redisplay):
9049 * jka-cmpr-hook.el (with-auto-compression-mode):
9050 Fix typos in docstrings.
9052 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9054 * subr.el (with-silent-modifications): Clarify somewhat what the
9055 macro inhibits (bug#6525).
9057 * simple.el (eval-expression): Note what it does if called
9058 interactively (bug#6495).
9060 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9062 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9063 Use pop-to-buffer buffer-or-name if it is nil.
9065 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9066 Remove switch-to-buffer.
9068 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9070 * files.el (make-directory): Clarify that an error will be raised
9071 if there's an error (bug#6397).
9073 * startup.el (initial-buffer-choice): Add `none' as a choice
9076 * subr.el (add-hook): Clarify section about buffer-local hooks
9079 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9081 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9083 * tabify.el (untabify): Preserve the current column so that point
9084 doesn't move (bug#6032).
9086 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9089 Rewrite to avoid awkward possessive "s" (bug#5986).
9091 2011-07-13 Glenn Morris <rgm@gnu.org>
9093 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9094 (dired-insert-directory): Give a message the first time
9095 if ls is found not to support --dired.
9097 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099 * simple.el (toggle-truncate-lines): Clarify what is toggled
9100 (bug#5580). Text by Drew Adams.
9102 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9104 * simple.el (blink-matching-open): Make the error message from the
9105 last change less verbose.
9107 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9109 * font-lock.el (font-lock-comment-face): Use the high contrast
9110 "yellow" color for font-lock-comment-face on low color terminals
9111 using a dark background color (bug#4221).
9113 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9115 * dired.el (dired-insert-set-properties): Make the doc string
9116 reflect what it does now (bug#5325).
9118 * simple.el (blink-matching-open): Say that we were unable to find
9119 the match within the limit, if we're limited (bug#5122).
9121 * international/mule-cmds.el (prefer-coding-system): Add an
9124 * progmodes/etags.el (tags-search): Document `file-list-form'
9127 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9129 * net/browse-url.el (browse-url-default-browser)
9130 (browse-url-browser-function): Make the default browser choice a
9131 bit more logical (bug#4300). Also clean up the doc string.
9133 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9135 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9136 binary endings (bug#4440).
9138 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9140 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9141 which can be pretty annoying (bug#8971).
9143 * jka-compr.el (jka-compr-verbose): New variable, and use
9144 throughout (bug#8971).
9146 * info.el (Info-find-file): Fall back on the installation
9147 directory if we can't find the info node anywhere else.
9149 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9151 * vc/vc.el (vc-revert-file):
9152 Don't set file time-stamp in the past. (Bug#5181)
9154 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9156 * files.el (after-find-file): Give a better error message when
9157 trying to find a symlink that points to a file that doesn't exist
9160 * progmodes/cc-vars.el: Remove (probably) misleading comment
9163 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9165 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9167 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9169 * mouse-sel.el: Hack restoring functionality, while keeping
9170 compatibility with 2010-07-03 changes to mouse selection.
9171 (mouse-sel-primary-overlay): New var.
9172 (mouse-sel-selection-alist): Use it.
9173 (mouse-sel-mode): Doc fix; remove points that are default features
9176 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9178 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9179 Fix previous fix (bug#2490).
9181 2011-07-12 Roland Winkler <winkler@gnu.org>
9183 * textmodes/bibtex.el (bibtex-initialize):
9184 Use pop-to-buffer-same-window.
9185 (bibtex-search-entries): Fix interactive call.
9187 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9189 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9190 Fontise bytecomp Error lines more correctly (bug#2490).
9191 Fix suggested by Johan Bockgård.
9193 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9195 * dired-x.el (dired-guess-default): Use `delete-dups'.
9197 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9199 * dired.el (dired-mark-prompt):
9200 * dired-aux.el (dired-read-shell-command): Doc fix.
9202 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9204 * mail/sendmail.el (sendmail-query-once):
9205 Use `customize-save-variable' unconditionally, now that it works under
9208 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9210 * cus-edit.el (custom-file): Take an optional no-error variable.
9211 (customize-save-variable): Set the variable, and give a warning if
9212 running under "emacs -q".
9214 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9216 * loadhist.el (unload-feature-special-hooks):
9217 Add `auto-coding-functions', `fill-nobreak-predicate' and
9218 `find-directory-functions' (bug#5327).
9220 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9222 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9224 * cus-edit.el (custom-guess-name-alist): -alist variables should
9225 use the `alist' type (bug#3120). Suggested by Drew Adams.
9227 * printing.el: Add documentation to all the `pr-toggle-' commands.
9229 2011-07-11 Leo Liu <sdl.web@gmail.com>
9231 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9232 backends where it makes sense (bug#2623).
9234 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9236 * dired-x.el (dired-guess-default): Remove duplicate shell command
9238 (dired-guess-default): Fix grammar in doc string (bug#2028).
9239 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9241 * subr.el (remove-duplicates): New conveniency function.
9243 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9245 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9248 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9250 * window.el (display-buffer-normalize-default): Don't invert
9251 meaning of even-window-heights. Reported by Eli Zaretskii
9254 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9256 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9258 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9260 * window.el (display-buffer): Fix arguments to
9261 display-buffer-reuse-window in last change.
9263 * faces.el (link): Use a less saturated blue on light backgrounds.
9265 * startup.el (fancy-startup-text, fancy-about-text)
9266 (fancy-startup-tail): Use font-lock faces, for background safety.
9268 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9270 * emulation/viper-cmd.el (viper-change-state-to-vi):
9271 Limit triggering of abbrev expansion (Bug#9038).
9273 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9275 * window.el (display-buffer-default-specifiers): Remove.
9276 (display-buffer-macro-specifiers): Remove default specifiers.
9277 (display-buffer-alist): Default to nil.
9278 (display-buffer-reuse-window): New optional argument other-window.
9279 (display-buffer-pop-up-window): Allow splitting internal
9280 windows. Check whether a live window was created.
9281 (display-buffer-other-window-means-other-frame)
9282 (display-buffer-normalize-arguments): Rename to
9283 display-buffer-normalize-argument and rewrite. Set the
9284 other-window specifier.
9285 (display-buffer-normalize-special): New function.
9286 (display-buffer-normalize-options): Rename to
9287 display-buffer-normalize-default and rewrite.
9288 (display-buffer-normalize-options-inhibit): Remove.
9289 (display-buffer-normalize-specifiers): Rewrite.
9290 (display-buffer): Process other-window specifier and call
9291 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9293 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9294 (display-buffer-alist-set): Don't handle 'unset default values.
9295 (display-buffer-in-window, display-buffer-alist-set):
9296 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9297 <tassilo@member.fsf.org>.
9299 2011-07-09 Leo Liu <sdl.web@gmail.com>
9301 * register.el (insert-register): Restore accidental change on
9302 2011-06-26. (Bug#9028)
9304 2011-07-09 Glenn Morris <rgm@gnu.org>
9306 * subr.el (remq): Handle the empty list. (Bug#9024)
9308 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9310 * mail/sendmail.el (send-mail-function): No longer delay custom
9312 * custom.el (custom-initialize-delay): Doc fix.
9314 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9316 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9318 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9320 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9321 human-friendly prompt.
9323 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9325 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9326 provided by a particular plugin.
9328 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9330 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9331 save customizations (with "emacs -Q"), just set the variable
9332 instead of erroring out.
9334 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9336 2011-07-08 Juri Linkov <juri@jurta.org>
9338 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9339 (archive-zip-update-case): Use 7z if found by `executable-find'.
9340 The order of searching the available programs is the same as in
9341 `archive-zip-extract' (bug#8968).
9343 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9345 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9346 (menu-bar-options-menu): Tweak descriptions.
9348 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9351 menu items into verb phrases (bug#1421). Also refill to fit under
9354 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9356 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9357 (Info-read-node-name): Doc fix (Bug#1084).
9359 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9360 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9361 (end-of-sexp, beginning-of-sexp)
9362 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9363 (forward-symbol, forward-same-syntax, word-at-point)
9364 (sentence-at-point): Doc fix (Bug#1144).
9366 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9369 should cover it (bug#1281).
9371 * cus-edit.el (custom-show): Mark as obsolete.
9373 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9374 negotiation fails, then possibly try again with a non-encrypted
9375 connection (bug#9017).
9377 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9380 2011-07-07 Richard Stallman <rms@gnu.org>
9382 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9383 property, and handle its changed format.
9384 Look for the correct line number.
9385 Use file's line contents (but not past first =) to find
9386 correct line in message.
9388 2011-07-07 Kenichi Handa <handa@m17n.org>
9390 * international/characters.el (build-unicode-category-table):
9392 (unicode-category-table): Set it by unicode-property-table-internal.
9394 * international/mule-cmds.el (char-code-property-alist): Move to
9396 (get-char-code-property): Call unicode-property-table-internal to
9397 load a file. Call get-unicode-property-internal where necessary.
9398 (put-char-code-property): Call unicode-property-table-internal to
9399 load a file. Call put-unicode-property-internal where necessary.
9400 put-unicode-property-internal where necessary.
9401 (char-code-property-description):
9402 Call unicode-property-table-internal to load a file.
9404 * international/charprop.el:
9405 * international/uni-bidi.el:
9406 * international/uni-category.el:
9407 * international/uni-combining.el:
9408 * international/uni-comment.el:
9409 * international/uni-decimal.el:
9410 * international/uni-decomposition.el:
9411 * international/uni-digit.el:
9412 * international/uni-lowercase.el:
9413 * international/uni-mirrored.el:
9414 * international/uni-name.el:
9415 * international/uni-numeric.el:
9416 * international/uni-old-name.el:
9417 * international/uni-titlecase.el:
9418 * international/uni-uppercase.el: Regenerate.
9420 * loadup.el: Load international/charprop.el before
9421 international/characters.
9423 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9425 * window.el (next-buffer, previous-buffer): Signal an error if
9426 called from a minibuffer window.
9428 * bindings.el: Revert 2011-07-04 change.
9430 2011-07-06 Richard Stallman <rms@gnu.org>
9432 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9433 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9434 Treat markers like ints.
9435 (rmail-mime-entity): Doc fix.
9437 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9439 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9440 defcustom again for backwards compatibility.
9442 * simple.el (shell-command-on-region): Fill.
9444 * dired-aux.el (dired-kill-line): Add a doc string.
9446 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9447 to "\\sw\\|\\s_" (bug#358).
9449 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9450 (dired-unmark-backward): Ditto.
9451 (dired-flag-backup-files): Ditto.
9453 * dired-x.el (dired-mark-sexp): Ditto.
9455 2011-07-06 Richard Stallman <rms@gnu.org>
9457 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9458 (rmail-mime-entity): New arg TRUNCATED.
9459 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9461 (rmail-mime-save): Warn if entity is truncated.
9462 (rmail-mime-toggle-hidden): Likewise, for showing.
9463 (rmail-mime-process-multipart): Record when an entity is truncated.
9465 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9466 if ENTITY is a string.
9468 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9470 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9471 of faces when `M-C-x'-ing their definitions (bug#8378).
9472 Also clean up the code slightly.
9474 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9475 because that makes the colors go away.
9477 * mail/sendmail.el (send-mail-function): Change the default to
9478 `sendmail-query-once'.
9479 (sendmail-query-once): Add an autoload cookie.
9481 * net/network-stream.el (network-stream-open-starttls): Try using
9482 a plain connection even if the server offered STARTTLS, and we
9483 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9484 capability. This should make smtpmail.el work in slightly more
9487 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9489 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9491 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9493 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9495 * progmodes/sql.el: Version 3.0
9496 (sql-product-alist): Add product :completion-object,
9497 :completion-column, and :statement attributes.
9498 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9499 (sql-mode-syntax-table): Mark all punctuation.
9500 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9502 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9503 (sql-mode-oracle-font-lock-keywords): Improve.
9504 (sql-oracle-show-reserved-words): New function for development.
9505 (sql-product-font-lock): Simplify for source code buffers.
9506 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9508 (sql-highlight-product): Set product specific syntax table.
9509 (sql-mode-map): Add statement movement functions.
9510 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9512 (sql-statement-regexp, sql-beginning-of-statement)
9513 (sql-end-of-statement, sql-signum): New functions.
9514 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9515 (sql-show-sqli-buffer): Bug fix.
9516 (sql-interactive-mode): Store connection data as buffer local.
9517 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9518 with sql-interactive-mode.
9519 (sql-save-connection): Save buffer local settings.
9520 (sql-connection-menu-filter): Change menu entry name.
9521 (sql-product-interactive): Bug fix.
9522 (sql-preoutput-hold): New variable.
9523 (sql-interactive-remove-continuation-prompt): Bug fixes.
9524 (sql-debug-redirect): New variable.
9525 (sql-str-literal): New function.
9526 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9528 (sql-oracle-save-settings, sql-oracle-restore-settings)
9529 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9530 (sql-completion-object, sql-completion-column)
9531 (sql-completion-sqlbuf): New variables.
9532 (sql-build-completions-1, sql-build-completions)
9533 (sql-try-completion): New functions.
9534 (sql-read-table-name): Use them.
9535 (sql-contains-names): New buffer local variable.
9536 (sql-list-all, sql-list-table): Use it.
9537 (sql-oracle-completion-types): New variable.
9538 (sql-oracle-completion-object, sql-sqlite-completion-object)
9539 (sql-postgres-completion-object): New functions.
9541 2011-07-06 Glenn Morris <rgm@gnu.org>
9543 * window.el (pop-to-buffer): Doc fix.
9545 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9547 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9549 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9551 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9553 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9555 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9557 * button.el (button): Inherit from link face. Suggested by Dan
9560 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9562 * progmodes/gdb-mi.el: Fit in 80 columns.
9563 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9566 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9567 if imenu is simply not configured (bug#8941).
9569 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9571 * allout.el (allout-post-undo-hook): New allout outline-change
9572 event hook to signal undo activity.
9573 (allout-post-command-business): Run allout-post-undo-hook if an
9575 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9576 * allout-widgets.el (allout-widgets-after-undo-function):
9577 Ensure the integrity of the current item's decoration after it has been
9578 in the vicinity of an undo.
9579 (allout-widgets-mode): Include allout-widgets-after-undo-function
9580 on the new allout-post-undo-hook.
9582 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9585 Let define-derived-mode define it.
9586 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9587 cycles of abbrev-table inheritance (bug#8998).
9589 2011-07-05 Roland Winkler <winkler@gnu.org>
9591 * textmodes/bibtex.el: Add support for biblatex.
9592 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9593 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9594 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9595 (bibtex-entry-alist, bibtex-field-alist): New variables.
9596 (bibtex-entry-field-alist): Obsolete alias for
9597 bibtex-BibTeX-entry-alist.
9598 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9599 (bibtex-set-dialect): New command.
9600 (bibtex-entry-type, bibtex-entry-head)
9601 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9602 Bind via bibtex-set-dialect.
9603 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9604 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9605 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9606 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9607 Define via bibtex-set-dialect.
9608 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9609 Obey bibtex-no-opt-remove-re.
9610 (bibtex-vec-push, bibtex-vec-incr): New functions.
9611 (bibtex-format-entry, bibtex-field-list)
9612 (bibtex-print-help-message, bibtex-validate)
9613 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9615 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9617 * progmodes/compile.el (compilation-goto-locus):
9618 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9619 * bs.el (bs-cycle-next, bs-cycle-previous):
9620 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9621 * bindings.el (mode-line-other-buffer):
9622 * autoinsert.el (auto-insert):
9623 * arc-mode.el (archive-extract):
9624 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9626 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9628 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9629 Fix check of `emacs-lock-unlockable-modes'.
9630 Coerce true values of `emacs-lock--try-unlocking' to t.
9632 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9634 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9635 * emacs-lock.el: New file.
9637 2011-07-05 Julien Danjou <julien@danjou.info>
9639 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9640 than `boundp' to check if face is set.
9642 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9644 * register.el (registerv-make):
9645 * window.el (window-min-height): Fix typos in docstrings.
9647 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9649 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9652 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9654 * server.el (server-execute): Catch quit and call
9655 `server-return-error' to pass the error back to emacsclient and
9656 close the connection (bug#8942).
9658 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9660 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9661 insecure exception for current topic. Also note that auto-saves
9662 are handled differently.
9664 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9665 State variables for tracking auto-save inhibition situation.
9667 (allout-write-contents-hook-handler): Rename from
9668 'allout-write-file-hook-handler', and describe how it depends on
9669 write-contents-functions sensitivity to non-nil value to prevent
9672 (allout-auto-save-hook-handler): Remove. auto-save does not check
9673 this in individual buffers, only in the starting buffer, so this
9674 is not the right way for us to inhibit auto-save in a buffer
9675 according to its condition.
9677 (allout-mode): Use new allout-write-contents-hook-handler, and
9678 only with write-contents-functions. Remove auto-save provisions -
9679 they're implemented elsewhere.
9681 (allout-before-change-handler): If undo is in progress, note that
9682 for attention of allout-post-command-business.
9684 (allout-post-command-business): If the command we're following was
9685 an undo, check for change in the status of encrypted items and
9686 adjust auto-save inhibitions accordingly.
9688 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9689 according to whether there are or aren't any plain-text topics
9692 (allout-inhibit-auto-save-info-for-decryption):
9693 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9694 if there are plain-text topics pending encryption.
9696 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9697 buffer-saved-size and some allout state to not inhibit auto-saves
9698 if there are no longer any plain-text topics pending encryption.
9700 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9701 No longer provide for exemption of the current topic.
9703 2011-07-04 Juri Linkov <juri@jurta.org>
9705 Add 7z operations to delete and save changed members (bug#8968).
9706 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9708 (archive-7z-write-file-member): New function.
9709 (archive-7z-summarize): Fix the number of dashes in the
9712 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9714 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9717 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9719 * bindings.el: Ignore next-buffer and previous-buffer in
9720 minibuffer-local-map.
9722 * font-lock.el (font-lock-builtin-face): Change light background
9723 color to dark slate blue (Bug#6693).
9725 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9727 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9729 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9731 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9732 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9733 Add switch-to-buffer.
9735 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9737 * isearch.el (isearch-search-fun-function): Clarify further the
9738 meaning of the function returned.
9740 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9742 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9744 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9745 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9747 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9748 `tramp-default-remote-path' does not exist.
9749 (tramp-send-command-and-read): New optional argument NOERROR.
9750 (tramp-open-connection-setup-interactive-shell)
9751 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9752 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9753 (tramp-process-sentinel): Flush also process' connection property.
9754 (tramp-sh-handle-start-file-process): Do not set process
9755 sentinel. It is done now ...
9756 (tramp-maybe-open-connection): ... here. (Bug#8929)
9758 2011-07-04 MON KEY <monkey@sandpframing.com>
9760 * play/animate.el (animate-string): Doc fixes and allow changing
9761 the buffer name (bug#5417).
9763 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9765 * play/animate.el (animation-buffer-name): Rename from *animate*.
9767 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9769 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9770 This is simpler and helps future-proof the code.
9771 (timer-until): Use time-subtract and float-time.
9772 (timer--time-less-p): Use time-less-p.
9774 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9776 * type-break.el (timep): Use the value of `float-time' to avoid a
9777 byte-compiler warning.
9779 * server.el (server-eval-and-print): Return any result, even nil.
9781 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9783 * type-break.el: Accept time formats that the builtins accept.
9784 (timep, type-break-time-difference): Accept any format that
9785 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9786 This is simpler and helps future-proof the code.
9787 (type-break-time-difference): Round rather than ignoring
9788 subseconds components.
9790 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9792 * info.el (Info-apropos-matches): Make non-interactive, since it
9793 doesn't seem to do anything useful as a command (bug#8829).
9795 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9797 * frame.el (frame-background-mode, frame-set-background-mode):
9799 (frame-default-terminal-background): New function.
9801 * custom.el (custom-push-theme): Don't record faces in `changed'
9802 theme; this doesn't work correctly for per-frame face settings.
9803 (disable-theme): Use face-set-after-frame-default to reset faces.
9804 (custom--frame-color-default): New function.
9806 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9808 * dired.el (dired-flagging-regexp): Remove unused variable
9811 2011-03-29 Kevin Ryde <user42@zip.com.au>
9813 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9814 `perl-Test2' extend to match possible "fail #N" rep count
9817 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9819 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9820 `smtpmail-via-smtp' now returns the error instead of nil.
9822 * isearch.el (isearch-search-fun-function): Clarify the doc string
9825 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9827 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9828 unnecessary spaces (bug#8987).
9830 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832 * net/network-stream.el (open-network-stream): Use the
9833 :end-of-capability command thoughout.
9835 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9837 * net/network-stream.el (open-network-stream): Add the
9838 :end-of-capability command parameter, used by pop3.el.
9840 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9842 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9844 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9845 for list)" (bug#6475).
9847 * files.el (file-expand-wildcards): Ignore non-readable
9848 sub-directories while trying to find matches instead of signaling
9849 an error (bug#6297).
9851 * man.el (Man-reference-regexp): Allow matching possible
9852 word-wrapped references (bug#6289).
9854 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9855 for consistency with the other vc buffers (bug#6197).
9856 (vc-checkin): Ditto.
9858 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9860 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9862 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864 * custom.el (defcustom): Clarify that :set is only used in the
9865 Customize user interface (bug#6089).
9867 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9868 associated with a file, refuse to run instead of erroring out
9871 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9872 the doc string, since it appears that using `fill-column' always
9873 controls the width (bug#7845).
9875 * simple.el (shell-command-on-region): Say where the error output
9876 went if `shell-command-default-error-buffer' is set (bug#6857).
9878 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9880 * allout.el (allout-yank-processing): Adjust cursor position for
9881 backwards-deleted space.
9883 (allout-rebullet-heading): Register changes with
9884 allout-exposure-changed-hook, so the modified topic is properly
9887 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9889 * minibuffer.el (completion-in-region): Document PREDICATE
9892 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9893 of keyword/argument pairs (bug#6904).
9895 * replace.el (multi-occur):
9896 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9898 2011-07-02 Drew Adams <drew.adams@oracle.com>
9900 * dired.el (dired-mark-if): Make the message about whether it's
9901 marking or unmarking clearer (bug#8523).
9903 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905 * disp-table.el (display-table-print-array): New function.
9906 (describe-display-table): Use it to print the vectors more pretty
9909 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9911 * window.el (window-state-get-1): Don't assign clone numbers.
9912 Add clone-of item to list of window parameters.
9913 (window-state-put-2): Don't process clone numbers.
9914 (display-buffer-alist): Fix doc-string.
9916 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9918 * subr.el (remq): Don't allocate if it's not needed.
9919 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9920 (keymap--merge-bindings): New functions.
9921 (keymap-canonicalize): Use them to refine the canonicalization.
9922 * minibuffer.el (minibuffer-local-completion-map)
9923 (minibuffer-local-must-match-map): Move initialization from C.
9924 (minibuffer-local-filename-completion-map): Move initialization from C;
9925 don't inherit from anything here.
9926 (minibuffer-local-filename-must-match-map): Make obsolete.
9927 (completing-read-default): Use make-composed-keymap to combine
9928 minibuffer-local-filename-completion-map with either
9929 minibuffer-local-must-match-map or
9930 minibuffer-local-filename-completion-map.
9932 2011-07-01 Glenn Morris <rgm@gnu.org>
9934 * type-break.el (type-break-time-sum): Use dolist.
9936 * textmodes/flyspell.el (flyspell-word-search-backward):
9937 Replace CL function.
9939 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * mouse.el (mouse--strip-first-event): New function.
9942 (function-key-map): Use it to map fringe clicks to normal clicks
9945 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9946 (vc-bzr-revision-completion-table): Add support for annotate and date.
9948 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9949 inherit from parent.
9951 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9953 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9954 (dired-show-file-type): Doc fixup (bug#8818).
9956 * dired.el (dired-mode): Fix up the doc string as suggested by
9957 Drew Adams (bug#8817).
9959 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9960 cookie, since the manual says that it should be possible to add
9961 this function to `find-file-hook' (bug#8709).
9963 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9965 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9966 here. Noted Ted Zlatanov as the maintainer.
9967 (cfengine-common-settings, cfengine-common-syntax): New functions
9968 to set up common things between `cfengine-mode' and
9970 (cfengine3-mode): New mode.
9971 (cfengine3-defuns cfengine3-defuns-regex
9972 (cfengine3-class-selector-regex cfengine3-category-regex)
9973 (cfengine3-vartypes cfengine3-font-lock-keywords)
9974 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9975 (cfengine3-indent-line): Add from cfengine3.el.
9977 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9979 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9981 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9983 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9985 * window.el (same-window-buffer-names, same-window-regexps)
9986 (same-window-p, special-display-frame-alist)
9987 (special-display-popup-frame, special-display-function)
9988 (special-display-buffer-names, special-display-regexps)
9989 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9990 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9991 (split-window-preferred-function, split-height-threshold)
9992 (split-width-threshold, even-window-heights)
9993 (display-buffer-mark-dedicated, window-splittable-p)
9994 (split-window-sensibly, window-safely-shrinkable-p):
9996 (display-buffer): Don't spread args with function specifier
9997 because special-display-popup-frame won't like it.
9999 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10001 Time-stamp simplifications and fixes.
10002 These improve accuracy slightly, and future-proof the code
10003 against some potential changes to current-time format.
10005 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10006 by using time-since and float-time.
10008 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10009 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10010 + NNN microseconds".
10012 * type-break.el (type-break-time-sum): Rewrite using time-add.
10014 * play/hanoi.el (hanoi-current-time-float): Remove.
10015 All uses replaced by float-time.
10017 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10018 This yields a more-accurate answer.
10019 (rng-time-to-float): Remove; no longer needed.
10021 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10023 * calendar/timeclock.el (timeclock-seconds-to-time):
10024 Defalias to seconds-to-time, since they're the same thing.
10026 * emacs-lisp/elp.el (elp-elapsed-time):
10027 * emacs-lisp/benchmark.el (benchmark-elapse):
10028 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10030 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * window.el (bury-buffer): Don't iconify the only frame.
10033 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10034 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10036 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10038 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10039 Add mouse-yank-primary.
10041 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10043 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10045 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10048 (find-library-name): Use it to find relative load names when provided
10049 absolute file name (bug#8803).
10051 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10053 * textmodes/flyspell.el (flyspell-word): Consider words that
10054 differ only in case as potential doublons (bug#5687).
10056 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10057 Remove two rather uninteresting debugging-like messages to make
10058 debbugs.el more silent.
10060 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10061 a password-like phrase.
10063 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10065 * progmodes/cc-guess.el: New file.
10067 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10069 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10070 derived from `c-basic-common-init'.
10072 * progmodes/cc-mode.el (top-level): Require cc-guess.
10073 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10075 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10077 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10079 2011-06-30 Alan Mackenzie <acm@muc.de>
10081 * progmodes/cc-engine.el (c-guess-continued-construct):
10082 Correct the handling of template-args-cont, particularly for when font
10083 lock is disabled. Name this case as "CASE G".
10085 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10087 * allout.el (allout-yank-processing): Fix injection of extra space
10088 between bullet and non-whitespace character in first topic when
10089 pasting, ensuring that the actual spacing in the pasted topic
10090 following the bullet char is preserved. This extra space was
10091 causing pasted encrypted topics to get a decrypted status even
10092 when the content was actually still encrypted. Now the decryption
10093 status from before the paste is preserved.
10095 (allout-flag-region): Set all allout overlays so they evaporate
10096 when reduced to zero length (evanescent), to prevent overlay
10099 2011-06-30 Glenn Morris <rgm@gnu.org>
10101 * w32-fns.el (w32-charset-info-alist): Declare.
10103 * find-dired.el (find-grep-options): Simplify.
10105 * term/ns-win.el (ns-set-resource): Declare.
10107 * ses.el (row, col): Declare dynamic variables honestly.
10109 * textmodes/reftex-parse.el (index-tags): Declare.
10111 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10113 * cus-edit.el (customize-push-and-save): New function.
10115 * files.el (hack-local-variables-confirm): Use it.
10117 * custom.el (load-theme): New arg NO-CONFIRM.
10118 Use customize-push-and-save (Bug#8720).
10119 (custom-enabled-themes): Doc fix.
10121 * cus-theme.el (customize-create-theme)
10122 (custom-theme-merge-theme): Callers to load-theme changed.
10124 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10126 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10127 short URLs have at least one dot in them (bug #7614).
10129 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10130 nil, because using a pty is apparently too slow (bug #895).
10132 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134 * mail/sendmail.el (sendmail-query-once): New function.
10135 (sendmail-query-once-function): New variable.
10137 2011-06-29 Glenn Morris <rgm@gnu.org>
10139 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10141 * ses.el (top-level): Require cl when compiling.
10142 (ses-set-localvars): Fix error statement.
10143 Call it at compile time to silence a storm of warnings.
10145 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10147 * window.el (normalize-live-buffer): Rename to
10148 window-normalize-buffer.
10149 (normalize-live-frame): Rename to window-normalize-frame.
10150 (normalize-any-window): Rename to window-normalize-any-window.
10151 (normalize-live-window): Rename to window-normalize-live-window.
10152 (make-window-atom): Rename to window-make-atom.
10153 (window-resize-reset): Rename to window--resize-reset.
10154 (window-resize-reset-1): Rename to window--resize-reset-1.
10155 (resize-mini-window): Rename to window--resize-mini-window.
10156 (resize-subwindows-skip-p): Rename to
10157 window--resize-subwindows-skip-p.
10158 (resize-subwindows-normal): Rename to
10159 window--resize-subwindows-normal.
10160 (resize-subwindows): Rename to window--resize-subwindows.
10161 (resize-other-windows): Rename to window--resize-siblings.
10162 (resize-this-window): Rename to window--resize-this-window.
10163 (resize-root-window): Rename to window--resize-root-window.
10164 (resize-root-window-vertically): Rename to
10165 window--resize-root-window-vertically.
10166 (normalize-buffer-to-display): Rename to
10167 window-normalize-buffer-to-display.
10168 (normalize-buffer-to-switch-to): Rename to
10169 window-normalize-buffer-to-switch-to.
10170 Correspondingly update all callers of the functions listed
10172 (display-buffer-alist, display-buffer-normalize-arguments)
10173 (display-buffer-normalize-options, display-buffer)
10174 (display-buffer-alist-set): Use "function" instead of
10177 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10179 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10180 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10181 debbugs.gnu.org. Mention acknowledgment email.
10183 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10186 buffer multibyteness, since it shouldn't matter.
10188 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10190 * window.el (display-buffer-in-side-window): Handle dedicated
10191 windows as in display-buffer-reuse-window.
10192 (display-buffer-normalize-alist): Use value of override
10194 (display-buffer-normalize-specifiers): Use value of
10195 other-window-means-other-frame specifier.
10196 (display-buffer-alist): Rewrite some texts in widgets.
10197 (display-buffer): Spread arguments when calling function
10198 specified by fun-with-args.
10200 2011-06-28 Deniz Dogan <deniz@dogan.se>
10202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10205 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10206 selectors (Bug#5732).
10207 (css-proprietary-nmstart-re): Use `regexp-opt'.
10209 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10211 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10212 (eshell-ls-date-format): New defcustom.
10213 (eshell-ls-file): Use it.
10215 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10217 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10219 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10221 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10222 (ange-ftp-make-tmp-name): New arg.
10223 (ange-ftp-file-local-copy): Use it.
10225 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10227 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10228 no-conversion (Bug#8870).
10230 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10232 * window.el (window-right, window-left, window-child)
10233 (window-child-count, window-last-child)
10234 (window-iso-combination-p, walk-window-tree-1)
10235 (window-atom-check-1, window-tree-1, delete-window)
10236 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10237 new naming conventions - window-vchild, window-hchild,
10238 window-next and window-prev are now called window-top-child,
10239 window-left-child, window-next-sibling and window-prev-sibling
10241 (resize-window-reset): Rename to window-resize-reset.
10242 (resize-window-reset-1): Rename to window-resize-reset-1.
10243 (resize-window): Rename to window-resize.
10244 (window-min-height, window-min-width)
10245 (resize-mini-window, resize-this-window, resize-root-window)
10246 (resize-root-window-vertically, adjust-window-trailing-edge)
10247 (enlarge-window, shrink-window, maximize-window)
10248 (minimize-window, delete-window, quit-restore-window)
10249 (split-window, balance-windows, balance-windows-area-adjust)
10250 (balance-windows-area, window-state-put-2)
10251 (display-buffer-even-window-sizes, display-buffer-set-height)
10252 (display-buffer-set-width, set-window-text-height)
10253 (fit-window-to-buffer): Rename all "resize-window" prefixed
10254 calls to use the "window-resize" prefix convention.
10255 (display-buffer-alist): Fix symbol for label specifier.
10256 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10257 corresponding specifier.
10258 Reported by Juanma Barranquero <lekktu@gmail.com>.
10260 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10262 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10264 (ses-call-printer): Does not pass an empty string to formatter when the
10265 cell is empty to keep from barking printer Calc math-format-value.
10267 2011-06-27 Richard Stallman <rms@gnu.org>
10269 * battery.el (battery-mode-line-limit): New variable.
10270 (battery-update): Handle it.
10272 * mail/rmailmm.el (rmail-mime-process-multipart):
10273 Handle truncated messages.
10275 2011-06-27 Glenn Morris <rgm@gnu.org>
10277 * progmodes/flymake.el (flymake-err-line-patterns):
10278 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10280 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10282 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10283 (ses--clean-!, ses--clean-_): New functions.
10284 (ses-range): Add configurability of readout order, and conversion
10287 * ses.el (ses-repair-cell-reference-all): New function.
10288 (ses-cell-symbol): Set macro as safe, so that it can be used in
10291 * ses.el: Update cycle detection algorithm.
10292 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10293 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10294 (ses-set-localvars): New function.
10295 (ses-make-cell): Add property-list as a cell element.
10296 (ses-cell-property-get-fun, ses-cell-property-get)
10297 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10298 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10300 (ses-cell-property-set, ses-cell-property-pop)
10301 (ses-cell-property-get-handle): New macro.
10302 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10303 New aliases, used for code readability.
10304 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10306 (ses-self-reference-early-detection): New defcustom.
10307 (ses-formula-references): Robustify against self-referring cells.
10308 (ses-mode): Use ses-set-localvars.
10309 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10310 before lauching the update processing.
10311 (ses-initialize-Dijkstra-attempt): New function.
10312 (ses-recalculate-cell): Update for cycle detection based on
10313 Dijkstra algorithm.
10315 * ses.el: Fix commenting and indenting convention.
10317 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * bs.el (bs-cycle-next): Complete last change.
10321 2011-06-27 Drew Adams <drew.adams@oracle.com>
10323 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10325 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10327 * net/network-stream.el (network-stream-open-starttls):
10328 Don't re-get capabilities unless we've reestablished connection.
10329 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10331 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10332 to binary to possibly avoid line encoding issues on Windows (among
10335 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10337 * net/network-stream.el (open-network-stream): Return an :error
10338 saying what the problem was, if possible.
10340 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10343 * net/network-stream.el (network-stream-open-starttls): If we
10344 wanted to use STARTTLS, and the server offered it, but we weren't
10345 able to because we had no STARTTLS support, then close the connection.
10346 (open-network-stream): Return an :error element, if present.
10348 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10350 * hl-line.el (hl-line-sticky-flag): Doc fix.
10351 (global-hl-line-sticky-flag): New option (Bug#8323).
10352 (global-hl-line-highlight): Obey it.
10354 * vc/vc.el (vc-revert-show-diff): Default to t.
10356 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10358 * allout-widgets.el (allout-widgets-post-command-business):
10359 Stop decorating intermediate isearch matches. They're not being
10360 undecorated when an isearch is continued past, and isearch
10361 automatically collapses them. This leads to "widget leaks", where
10362 decorated items accumulate in collapsed areas. Lines with lots of
10363 hidden widgets can slow down cursor travel, substantially.
10364 Too much complicated machinery would be needed to ensure undecoration,
10365 so we're doing without this nicety.
10367 (allout-widgets-tally-string): Don't try to do a hash-table-count
10368 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10369 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10370 *Messages* when allout-widgets-maintain-tally is t.
10372 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10374 * window.el (display-buffer-normalize-argument): Rename to
10375 display-buffer-normalize-arguments. Handle special meaning of
10376 LABEL argument. Respect special-display-function when popping up
10377 a new frame. Fix code searching for a window showing the buffer
10379 (display-buffer-normalize-specifiers):
10380 Call display-buffer-normalize-arguments.
10381 (display-buffer-in-window): Don't undedicate the window if its
10382 buffer remains the same.
10383 Reported by Drew Adams <drew.adams@oracle.com>.
10384 (display-buffer-alist): Add choice for same-window macro
10386 (display-buffer): Mention special meaning of LABEL argument in
10387 doc-string. Fix quoting. Don't pop up a new frame even as
10390 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10392 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10393 avoid deleting the current window in some cases (bug#8911).
10395 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10397 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10400 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10402 * net/network-stream.el (network-stream-open-starttls):
10403 Use built-in TLS support if `gnutls-available-p' is true.
10404 (network-stream-open-tls): Ditto.
10406 2011-06-26 Leo Liu <sdl.web@gmail.com>
10408 * register.el (registerv): New struct.
10409 (registerv-make): New function.
10410 (jump-to-register, describe-register-1, insert-register):
10411 Support the jump-func, print-func and insert-func slot of a registerv
10414 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10416 * vc/vc.el (vc-revert-show-diff): New defcustom.
10417 (vc-diff-internal): New arg specifying diff buffer.
10418 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10419 reuse an existing *vc-diff* buffer (Bug#8927).
10421 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10423 2011-06-26 Glenn Morris <rgm@gnu.org>
10425 * progmodes/f90.el (f90-critical-indent): New option.
10426 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10427 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10428 (f90-mode): Doc fix.
10429 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10430 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10431 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10432 (f90-match-end): Handle block, critical.
10434 2011-06-25 Glenn Morris <rgm@gnu.org>
10436 * calendar/diary-lib.el (diary-included-files): Doc fix.
10437 (diary-include-files): New function, extracted from
10438 diary-include-other-diary-files and diary-mark-included-diary-files.
10439 (diary-include-other-diary-files, diary-mark-included-diary-files):
10440 Just call diary-include-files.
10441 (diary-mark-entries): Reset diary-included-files on first call.
10443 * calendar/diary-lib.el (diary-mark-entries)
10444 (diary-mark-included-diary-files):
10445 Visit included diary-files in temp buffers.
10447 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10448 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10449 (f90-start-block-re, f90-imenu-generic-expression)
10450 (f90-looking-at-program-block-start, f90-no-block-limit):
10451 Add support for submodules.
10453 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10454 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10456 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10458 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10459 buffer-file-type before setting its value, to avoid disastrous
10460 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10462 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10464 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10466 * ses.el (ses-unload-function):
10467 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10469 * proced.el (proced-unload-function):
10470 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10472 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10474 * server.el (server-create-window-system-frame): Add parameters arg.
10475 (server-process-filter): Doc fix. Handle frame-parameters.
10477 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10479 Fix bug#8730, bug#8781.
10481 * loadhist.el (unload--set-major-mode): New function.
10482 (unload-feature): Use it.
10484 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10485 (python-unload-function): New function.
10487 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10491 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10493 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10494 the candidates list.
10496 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10498 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10500 2011-06-23 Richard Stallman <rms@gnu.org>
10502 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10503 (rmail-variables): Set next-error-move-function.
10504 (rmail-what-message): Take argument POS.
10505 (rmail-next-error-move): New function.
10507 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10509 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10510 messages for adjacent non-terminals.
10512 2011-06-23 Richard Stallman <rms@gnu.org>
10514 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10515 (rmail-show-message-1): Preserve buffer modified flag.
10516 (rmail-start-mail): Don't specify use of rmail-mail-return;
10517 that's done by mail-bury now.
10518 (rmail-mail-return): Handle arg NEWBUF.
10520 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10522 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10525 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10527 * window.el (get-lru-window, get-mru-window)
10528 (get-largest-window): Never return a minibuffer window.
10529 (display-buffer-pop-up-window): Fix a bug that could lead to
10530 reusing the minibuffer window.
10531 (display-buffer): Pass original specifier argument to
10532 display-buffer-function instead of the normalized one.
10533 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10535 2011-06-22 Leo Liu <sdl.web@gmail.com>
10537 * minibuffer.el (completing-read-function)
10538 (completing-read-default): Move from minibuf.c
10540 2011-06-22 Richard Stallman <rms@gnu.org>
10542 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10543 to Rmail even if not started by a special Rmail command.
10545 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10546 Copy the buffer currently showing just one message.
10548 2011-06-22 Roland Winkler <winkler@gnu.org>
10550 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10551 (bibtex-clean-entry): First delete the old key so that a
10552 customized algorithm for generating the new key does not get
10553 confused by the old key.
10554 (bibtex-url): Obey regexp of first step.
10555 (bibtex-search-entries): Do not use add-to-list with local
10558 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10560 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10561 stored a user name, then query for the password first, instead of
10562 waiting for SMTP to give an error message and the trying again.
10564 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10566 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10567 BUFFER in call-process.
10569 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10573 (smtpmail-try-auth-methods): Require user name and password from
10576 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10578 * window.el (display-buffer-default-specifiers)
10579 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10580 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10581 (split-window): Normalize SIDE argument (Bug#8916).
10583 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10584 (special-display-frame-alist, special-display-popup-frame):
10585 Remove duplicate declarations. These are now in window.el.
10587 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10589 * mail/smtpmail.el (smtpmail-via-smtp):
10590 Set :use-starttls-if-possible so that we always use STARTTLS if the
10591 server supports it. SMTP servers that support STARTTLS commonly
10594 * net/network-stream.el (network-stream-open-starttls): Support
10595 upgrading to STARTTLS always, even if we don't have built-in support.
10596 (open-network-stream): Add the :always-query-capabilities keyword.
10598 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10599 upgrades with `open-network-stream', and rely solely on
10600 auth-source for all credentials. Big changes throughout the file,
10602 (smtpmail-auth-credentials): Remove.
10603 (smtpmail-starttls-credentials): Remove.
10604 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10607 * net/network-stream.el (network-stream-open-starttls):
10608 Provide support for client certificates both for external and built-in
10610 (auth-source): Require.
10611 (open-network-stream): Document the :client-certificate keyword.
10612 (network-stream-certificate): Change cert-cert to cert and
10615 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10617 * net/tramp-cache.el (top): Don't load the persistency file when
10618 "emacs -Q" has been called.
10620 2011-06-21 Tim Harper <timcharper@gmail.com>
10622 * term/ns-win.el (ns-initialize-window-system):
10623 Set application-specific `ApplePressAndHoldEnabled' system
10624 resource to NO as it is not yet supported by the NS port.
10626 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10628 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10629 (list-dynamic-libraries): ...not here.
10631 2011-06-21 Leo Liu <sdl.web@gmail.com>
10633 * subr.el (sha1): Implement sha1 using secure-hash.
10635 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10637 * window.el (display-buffer-alist): In default value do not
10638 enforce searching a window on any but the selected frame.
10639 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10640 (display-buffer-select-window): Remove function.
10641 (display-buffer-in-window): When a window on another frame gets
10642 reused, do not select it any more but just raise its frame if
10643 necessary (Bug#8851) and (Bug#8856).
10644 (display-buffer-normalize-options): Handle pop-up-frames related
10645 options more faithfully.
10646 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10647 window if it is on another frame.
10648 (display-buffer-alist, display-buffer-default-specifiers):
10649 Don't make new frame unsplittable by default.
10650 (display-buffer-normalize-argument): Fix doc-string typo and use
10651 'same-frame-other-window instead of 'other-window when associating
10652 with display-buffer-macro-specifiers.
10654 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10656 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10658 (5x5-mode-map, 5x5-mode-menu): Bind them.
10659 (5x5-draw-grid): Tweak the solver's rendering.
10661 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10663 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10664 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10666 2011-06-21 Drew Adams <drew.adams@oracle.com>
10668 * menu-bar.el: Use function variable instead of switch-to-buffer.
10669 (menu-bar-select-buffer-function): New variable.
10670 (menu-bar-update-buffers): Use it (bug#8876).
10672 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10677 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10679 * x-dnd.el (x-dnd-version-from-flags)
10680 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10681 and long as number (Bug#8899).
10682 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10684 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10687 (completion-try-completion, completion-all-completions): Compute the
10688 metadata argument if it's missing; make it optional (bug#8795).
10690 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10691 (widget-complete): Use new :completion-function property.
10692 (widget-completions-at-point): New function.
10693 (default): Use :completion-function instead of :complete.
10694 (widget-default-completions): Rename from widget-default-complete;
10696 (widget-string-complete, widget-file-complete, widget-color-complete):
10698 (file, symbol, function, variable, coding-system, color):
10699 * international/mule-cmds.el (default-input-method, charset)
10700 (language-info-custom-alist):
10701 * cus-edit.el (face): Use new property :completions.
10703 * progmodes/pascal.el (pascal-completions-at-point): New function.
10704 (pascal-mode): Use it.
10705 (pascal-mode-map): Use completion-at-point.
10706 (pascal-toggle-completions): Make obsolete.
10707 (pascal-complete-word, pascal-show-completions):
10708 * progmodes/octave-mod.el (octave-complete-symbol):
10709 Redefine as obsolete alias.
10710 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10711 Signal absence of completion info for old Octave,
10712 (inferior-octave-complete): Redefine as obsolete alias.
10713 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10714 (meta-completions-at-point): Rename from meta-complete-symbol and
10715 adapt it for use on completion-at-point-functions.
10716 (meta-common-mode): Use it.
10717 (meta-looking-at-backward, meta-match-buffer): Remove.
10718 (meta-complete-symbol): Redefine as obsolete alias.
10719 (meta-common-mode-map): Use completion-at-point.
10720 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10721 (makefile-mode-map): Use completion-at-point.
10722 (makefile-completions-at-point): Rename from makefile-complete and
10723 adapt it for use on completion-at-point-functions.
10724 (makefile-mode): Use it.
10725 (makefile-complete): Redefine as obsolete alias.
10727 2011-06-20 Deniz Dogan <deniz@dogan.se>
10729 * net/rcirc.el: Delete trailing whitespaces once and for all.
10731 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10733 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10735 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10737 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10739 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10741 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10743 * window.el (display-buffer-other-window-means-other-frame):
10744 Call display-buffer-normalize-alist.
10745 (display-buffer-normalize-specifiers-1): Rename to
10746 display-buffer-normalize-argument. New argument other-frame.
10748 (display-buffer-normalize-specifiers-2): Rename to
10749 display-buffer-normalize-options.
10750 (display-buffer-normalize-alist-1): New function.
10751 (display-buffer-normalize-specifiers-3): Rename to
10752 display-buffer-normalize-alist.
10753 Call display-buffer-normalize-alist-1.
10754 (display-buffer-normalize-options-inhibit): New variable.
10755 (display-buffer-normalize-specifiers): Rewrite calling
10756 display-buffer-normalize-alist,
10757 display-buffer-normalize-argument, and
10758 display-buffer-normalize-options. Don't call the latter if
10759 display-buffer-normalize-options-inhibit is non-nil.
10760 (frame-auto-delete): New option.
10761 (window-deletable-p): Use frame-auto-delete.
10762 (window-list-no-nils, window-state-ignored-parameters)
10763 (window-state-get-1, window-state-get, window-state-put-list)
10764 (window-state-put-1, window-state-put-2, window-state-put):
10766 (display-buffer-normalize-options): Move special-display-p group
10767 after pop-up-frame group (Bug#8851) and (Bug#8856).
10769 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10771 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10773 (rx-submatch-n): New function.
10776 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10779 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10781 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10783 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10784 anytime existing face settings are present (Bug#8889).
10786 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10787 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10788 Remove unused argument.
10790 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10792 * window.el (display-buffer-default-specifiers):
10793 Remove pop-up-frame. Add pop-up-window-min-height,
10794 pop-up-window-min-width, and another reuse-window specifier
10795 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10796 (display-buffer-normalize-specifiers-2):
10797 Handle split-height-threshold and split-width-threshold also when
10798 pop-up-windows is unset. Add a reuse-window specifier for the
10799 case popping up a new window fails.
10800 (special-display-popup-frame): Remove double quoting.
10801 (display-buffer-normalize-specifiers-1): Fix thinko.
10803 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10806 according to comint-completion-addsuffix.
10808 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10809 (pcomplete-suffix-list): Mark as obsolete.
10810 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10811 pcomplete-seen in the closure.
10812 (pcomplete-comint-setup): Setup completion-at-point as well.
10813 (pcomplete--entries): New function.
10814 (pcomplete--env-regexp): New var.
10815 (pcomplete-entries): Rewrite to work with partial-completion and
10816 without relying on pcomplete-suffix-list.
10817 (pcomplete-pare-list): Remove, unused.
10819 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10821 * window.el (display-buffer-alist): Set pop-up-window-min-height
10822 and pop-up-window-min-width in default value. Reported by
10823 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10824 other-window-means-other-frame.
10825 (display-buffer-macro-specifiers): Comment out entry for
10826 other-window specifier.
10827 (display-buffer-other-window-means-other-frame): New function.
10828 (display-buffer-normalize-specifiers-1): New arguments
10829 buffer-name and label. Treat other-window case specially.
10830 (display-buffer-normalize-specifiers-2): Treat other-window case
10832 (display-buffer-normalize-specifiers-3): New function.
10833 (display-buffer-normalize-specifiers):
10834 Call display-buffer-normalize-specifiers-3.
10836 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10838 * window.el (same-window-p): Fix two typos introduced when
10839 adding with-no-warnings.
10840 (display-buffer-normalize-specifiers-1): Don't check
10841 pop-up-frames for 'unset initialization.
10842 (display-buffer-normalize-specifiers-2): Major rewrite using
10843 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10844 (pop-up-frames, display-buffer-reuse-frames)
10845 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10846 Suggested by David Engster <deng@randomsample.de>.
10847 (even-window-heights): Initialize to 'unset.
10848 (display-buffer-alist-set): Handle new 'unset initializations.
10849 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10852 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10854 * window.el (display-buffer-normalize-specifiers-1):
10855 Respect current value of pop-up-frames for most reasonable values of
10856 second argument of display-buffer (Bug#8865).
10857 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10858 (switch-to-buffer-other-window-same-frame)
10859 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10861 (display-buffer): Don't check noninteractive when calling
10862 display-buffer-pop-up-frame.
10863 (display-buffer-pop-up-frame): Never pop up a frame in
10864 noninteractive mode (Bug#8857).
10865 (enlarge-window, shrink-window): Don't report an error when the
10866 window can't be resized as requested (Bug#8862).
10868 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10872 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10874 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10876 2011-06-15 Alan Mackenzie <acm@muc.de>
10878 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10879 for declarators, disable knr checking to speed up for normal files.
10880 2: Refactor, replacing a sequence of nested if forms by a cond form.
10882 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884 * net/network-stream.el (open-network-stream): Add the keyword
10885 :always-query-capabilities for the case where you want to force a
10886 `plain' network connection, but the protocol still requires the
10887 capabilitiy command (i.e., SMTP and EHLO).
10889 * subr.el (process-live-p): Rename from `process-alive-p' for
10890 consistency with other `-live-p' functions.
10892 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * window.el (same-window-buffer-names, same-window-regexps)
10895 (special-display-frame-alist, special-display-popup-frame)
10896 (special-display-function, special-display-buffer-names)
10897 (special-display-regexps, pop-up-frame-alist)
10898 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10899 (pop-up-windows, split-window-preferred-function)
10900 (split-height-threshold, split-width-threshold, even-window-heights)
10901 (display-buffer-mark-dedicated): Don't encourage the use of
10902 display-buffer-alist from Elisp code.
10904 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10906 * progmodes/python.el (python-mode): Derive from prog-mode.
10907 * progmodes/ps-mode.el (ps-mode):
10908 * progmodes/mixal-mode.el (mixal-mode):
10909 * progmodes/cfengine.el (cfengine-mode):
10910 * progmodes/ld-script.el (ld-script-mode): Likewise.
10912 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10914 * window.el (display-buffer-alist): Trim default value to avoid
10915 popping up a new frame (Bug#8857) or reusing an arbitrary window
10917 (display-buffer): Do not fall back on popping up a new frame in
10918 batch mode (Bug#8857).
10920 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10922 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10923 (custom-theme-summary): New function.
10924 (customize-themes): Use it.
10926 2011-06-13 Glenn Morris <rgm@gnu.org>
10928 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10930 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10932 * help.el (help-window): Remove variable.
10933 (help-window-point-marker, temp-buffer-max-height)
10934 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10935 (help-print-return-message): Don't set help-window.
10936 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10937 (help-window-setup-finish): Remove.
10938 (help-window-display-message, help-window-setup)
10939 (with-help-window): Major rewrite based on new
10940 display-buffer-window variable.
10942 * help-mode.el (help-mode-finish): Remove help-window related
10945 * view.el (view-exits-all-viewing-windows): Remove reference to
10946 view-return-to-alist in doc-string.
10947 (view-return-to-alist): Make obsolete.
10948 (view-buffer): Call pop-to-buffer-same-window and remove
10950 (view-buffer-other-window): Call pop-to-buffer-other-window and
10951 simplify code. Ignore second argument.
10952 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10953 simplify code. Ignore second argument.
10954 (view-return-to-alist-update): Make obsolete.
10955 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10956 Rewrite using quit-restore window parameters.
10957 (view-mode-exit): Rename second argument to EXIT-ONLY.
10958 Rewrite using quit-restore-window.
10959 (View-exit, View-exit-and-edit, View-leave, View-quit)
10960 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10961 appropriate arguments.
10962 (view-end-message): Use quit-restore window parameter.
10964 * window.el (display-buffer-function): Rewrite doc-string.
10965 (display-buffer-window, display-buffer-alist): New variables.
10966 (display-buffer-split-specifiers)
10967 (display-buffer-side-specifiers)
10968 (display-buffer-macro-specifiers): New constants.
10969 (display-buffer-even-window-sizes, display-buffer-set-height)
10970 (display-buffer-set-width, display-buffer-select-window)
10971 (display-buffer-in-window, display-buffer-reuse-window)
10972 (display-buffer-split-window-1, display-buffer-split-window)
10973 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10974 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10975 (display-buffer-in-side-window, normalize-buffer-to-display)
10976 (display-buffer-normalize-specifiers-1)
10977 (display-buffer-normalize-specifiers-2)
10978 (display-buffer-normalize-specifiers, display-buffer-frame):
10980 (display-buffer): Major rewrite.
10981 (display-buffer-other-window, display-buffer-other-frame)
10982 (pop-to-buffer, switch-to-buffer-other-window)
10983 (switch-to-buffer-other-frame): Rewrite.
10984 (display-buffer-same-window, display-buffer-same-frame)
10985 (display-buffer-same-frame-other-window)
10986 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10987 (pop-to-buffer-other-window)
10988 (pop-to-buffer-same-frame-other-window)
10989 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10990 (switch-to-buffer-other-window-same-frame): New functions.
10991 (same-window-p, special-display-p): Rewrite disabling warnings.
10993 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10994 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10996 (same-window-buffer-names, same-window-regexps)
10997 (special-display-frame-alist, special-display-popup-frame)
10998 (special-display-function, special-display-buffer-names)
10999 (special-display-regexps, pop-up-frame-alist)
11000 (pop-up-frame-function, split-window-preferred-function)
11001 (split-height-threshold, split-width-threshold)
11002 (even-window-heights): Make obsolete.
11004 2011-06-12 Glenn Morris <rgm@gnu.org>
11006 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11007 Misc simplifications.
11009 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11011 * window.el (window-safely-shrinkable-p): Restore function which
11012 was inadvertently removed in change from 2011-06-11. Declare as
11015 * calendar/calendar.el (calendar-generate-window):
11016 Use window-iso-combined-p instead of combination of one-window-p and
11017 window-safely-shrinkable-p.
11019 2011-06-12 Glenn Morris <rgm@gnu.org>
11021 * progmodes/fortran.el (fortran-mode-syntax-table):
11022 * progmodes/f90.el (f90-mode-syntax-table):
11023 Set % to punctuation. (Bug#8820)
11024 (f90-find-tag-default): Remove, no longer needed.
11026 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11028 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11030 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11032 * image.el (image-animated-p): Return animation delay in seconds.
11033 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11034 (image-animate-timeout): Remove DELAY argument. Don't assume
11035 every subimage has the same delay; get it from image-animated-p.
11036 (image-animate): Caller changed.
11038 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11040 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11041 to ignored backtrace functions.
11043 2011-06-11 Glenn Morris <rgm@gnu.org>
11045 * calendar/appt.el (appt-disp-window-function): Doc fix.
11046 (appt-check): Handle overlapping appointments. (Bug#8337)
11048 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11050 * window.el (window-tree-1, window-tree): New functions, moving
11051 the latter to window.el.
11052 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11053 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11054 (bw-refresh-edges): Remove.
11055 (balance-windows-1, balance-windows-2): New functions.
11056 (balance-windows): Rewrite in terms of window tree functions,
11057 balance-windows-1 and balance-windows-2.
11058 (bw-adjust-window): Remove.
11059 (balance-windows-area-adjust): New function with functionality of
11060 bw-adjust-window but using resize-window.
11061 (set-window-text-height): Rewrite doc-string.
11062 Use normalize-live-window and resize-window.
11063 (enlarge-window-horizontally, shrink-window-horizontally):
11064 Rename argument to DELTA.
11065 (window-buffer-height): New function.
11066 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11067 Rewrite using new window resize routines.
11068 (kill-buffer-and-window, mouse-autoselect-window-select):
11069 Use ignore-errors instead of condition-case.
11070 (quit-window): Call delete-frame instead of delete-windows-on
11071 for the only buffer on frame.
11073 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11075 * loadup.el (top-level): Load window before files for the sake
11076 of replace-buffer-in-windows.
11078 * files.el (read-buffer-to-switch)
11079 (switch-to-buffer-other-window)
11080 (switch-to-buffer-other-frame, display-buffer-other-frame):
11083 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11084 (previous-buffer): Move to window.el.
11086 * bindings.el (unbury-buffer): Move to window.el.
11088 * window.el (delete-other-windows-vertically): Move after
11089 definition of delete-other-windows.
11090 (other-window, delete-windows-on, replace-buffer-in-windows):
11091 Move here from window.c.
11092 (record-window-buffer, unrecord-window-buffer)
11093 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11094 (switch-to-next-buffer): New functions.
11095 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11096 from simple.el. Call switch-to-next-buffer.
11097 (previous-buffer): Move here from simple.el.
11098 Call switch-to-prev-buffer.
11099 (bury-buffer): Move here from buffer.c. Switch to previous
11100 buffer when window cannot be deleted.
11101 (unbury-buffer): Move here from bindings.el.
11102 (ctl-x-map): Move binding for other-window from window.c to
11104 (read-buffer-to-switch, switch-to-buffer-other-window)
11105 (switch-to-buffer-other-frame): Move here from files.el.
11106 (normalize-buffer-to-switch-to): New functions.
11107 (switch-to-buffer): Move here from buffer.c.
11108 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11110 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11112 * window.el (window-min-height, window-min-width): Move here
11113 from window.c. Add defcustoms and rewrite doc-strings.
11114 (resize-mini-window, resize-window): New functions.
11115 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11116 Move here from window.c.
11117 (maximize-window, minimize-window): New functions.
11118 (delete-window, delete-other-windows, split-window): Move here
11120 (window-split-min-size): New function.
11121 (split-window-keep-point): Mention split-window-above-each-other
11122 instead of split-window-vertically.
11123 (split-window-above-each-other, split-window-vertically):
11124 Rename split-window-vertically to split-window-above-each-other
11125 and provide defalias for old definition.
11126 (split-window-side-by-side, split-window-horizontally):
11127 Rename split-window-horizontally to split-window-side-by-side
11128 and provide defalias for the old definition.
11129 (ctl-x-map): Move bindings for delete-window,
11130 delete-other-windows and enlarge-window here from window.c.
11131 Replace bindings for split-window-vertically and
11132 split-window-horizontally by bindings for
11133 split-window-above-each-other and split-window-side-by-side.
11135 * cus-start.el (all): Remove entries for window-min-height and
11136 window-min-width. Add entries for window-splits and
11139 2011-06-09 Glenn Morris <rgm@gnu.org>
11141 * calendar/appt.el (appt-mode-line): New function.
11142 (appt-check, appt-disp-window): Use it.
11144 * files.el (hack-one-local-variable-eval-safep):
11145 Allow minor-modes with explicit +/-1 arguments.
11147 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11149 * term/xterm.el (xterm): Add defgroup.
11150 (xterm-extra-capabilities): Add defcustom to supply known xterm
11151 capabilities, skip querying them, or query them (default).
11152 (terminal-init-xterm): Use it.
11153 (terminal-init-xterm-modify-other-keys): New function to set up
11154 modifyOtherKeys support to simplify `terminal-init-xterm'.
11156 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11158 * window.el (resize-window-reset, resize-window-reset-1)
11159 (resize-subwindows-skip-p, resize-subwindows-normal)
11160 (resize-subwindows, resize-other-windows, resize-this-window)
11161 (resize-root-window, resize-root-window-vertically)
11162 (window-deletable-p, window-or-subwindow-p)
11163 (frame-root-window-p): New functions.
11165 2011-06-09 Glenn Morris <rgm@gnu.org>
11167 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11168 (ange-ftp-get-files): Use it.
11170 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11172 * mail/sendmail.el (mail-recover-1, mail-recover):
11173 * files.el (recover-file, recover-session):
11174 Handle dired-listing-switches not being just a single short option.
11176 2011-06-09 Glenn Morris <rgm@gnu.org>
11178 * calendar/appt.el (appt-display-message, appt-disp-window):
11179 Handle lists of appointments.
11181 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11183 * window.el (one-window-p): Move down in code.
11184 Rewrite doc-string.
11185 (window-current-scroll-bars): Rewrite doc-string.
11186 Normalize live window argument.
11187 (walk-windows, get-window-with-predicate, count-windows):
11188 Rewrite doc-string. Use window-list-1.
11189 (window-in-direction-2, window-in-direction, get-mru-window):
11192 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11194 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11195 Doc fix (Bug#8713).
11197 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11199 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11201 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11203 * loadhist.el (unload-feature-special-hooks):
11204 Add `comint-output-filter-functions'.
11206 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11208 * calendar/appt.el (appt-check): Move some initializations into the let.
11210 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11212 * window.el (window-height): Defalias to window-total-height.
11213 (window-width): Defalias to window-body-width.
11215 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11217 * image-mode.el (image-toggle-animation): New command.
11218 (image-mode-map): Bind it to RET.
11219 (image-mode): Update message.
11220 (image-toggle-display-image): Avoid a spurious cache flush.
11221 (image-transform-rotation): Doc fix.
11222 (image-transform-properties): Return quickly in the normal case.
11223 (image-animate-loop): Rename from image-animate-max-time.
11225 * image.el (image-animate-max-time): Move to image-mode.el.
11226 (create-animated-image): Remove unnecessary function.
11227 (image-animate): Rename from image-animate-start. New arg.
11228 (image-animate-stop): Remove; just use image-animate-timer.
11229 (image-animate-timer): Use car-safe.
11230 (image-animate-timeout): Rename argument.
11232 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11234 * window.el (get-lru-window, get-largest-window): Move here from
11235 window.c. Rename first argument to ALL-FRAMES.
11236 Rephrase doc-strings.
11237 (get-buffer-window-list): Rewrite using window-list-1.
11238 Rephrase doc-string.
11239 (window-safe-min-height, window-safe-min-width): New constants.
11240 (window-size-ignore, window-min-size, window-min-size-1)
11241 (window-sizable, window-sizable-p, window-size-fixed-1)
11242 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11243 (window-max-delta-1, window-max-delta, window-resizable)
11244 (window-resizable-p, window-total-height, window-total-width)
11245 (window-body-width): New functions.
11246 (window-full-height-p, window-full-width-p): Rewrite using
11248 (window-body-height): Rewrite using window-body-size.
11250 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11252 * window.el (window-right, window-left, window-child)
11253 (window-child-count, window-last-child, window-any-p)
11254 (normalize-live-buffer, normalize-live-frame)
11255 (normalize-any-window, normalize-live-window)
11256 (window-iso-combination-p, window-iso-combined-p)
11257 (window-iso-combinations)
11258 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11259 (windows-with-parameter, window-with-parameter)
11260 (window-atom-root, make-window-atom, window-atom-check-1)
11261 (window-atom-check, window-side-check, window-check):
11263 (ignore-window-parameters, window-sides, window-sides-vertical)
11264 (window-sides-slots): New variables.
11265 (window-size-fixed): Move down in code. Minor doc-string fix.
11267 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11269 * comint.el (comint-dynamic-complete-as-filename)
11270 (comint-dynamic-complete-filename): Correctly call
11271 completion-in-region.
11273 2011-06-05 Deniz Dogan <deniz@dogan.se>
11275 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11278 2011-06-05 Deniz Dogan <deniz@dogan.se>
11280 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11281 (rcirc): Use it to prompt for encryption.
11283 2011-06-05 Roland Winkler <winkler@gnu.org>
11285 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11286 (bibtex-search-entries): New command bound to C-c C-a.
11287 (bibtex-display-entries): New function.
11289 2011-06-05 Roland Winkler <winkler@gnu.org>
11291 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11292 (bibtex-insert-kill): After yanking insert newline if necessary.
11293 (bibtex-initialize): Call bibtex-string-files-init only once.
11294 (bibtex-mode): Do not call easy-menu-add.
11295 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11296 (bibtex-yank): Set arg properly if nil.
11298 2011-06-05 Roland Winkler <winkler@gnu.org>
11300 * textmodes/bibtex.el (bibtex-search-entry-globally):
11302 (bibtex-search-entry): Use it.
11304 2011-06-05 Roland Winkler <winkler@gnu.org>
11306 * textmodes/bibtex.el (bibtex-entry-format): New option
11308 (bibtex-format-entry, bibtex-reformat): Honor this option.
11309 (bibtex-parse-entry): Return fields in proper order.
11311 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11313 * doc-view.el (doc-view-remove-if): Move computation of result out
11314 of `dolist' to silence misleading lexical-binding warning.
11316 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11318 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11319 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11321 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11323 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11326 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11328 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11329 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11330 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11331 (tramp-parse-putty):
11332 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11333 (tramp-completion-function-alist-ssh)
11334 (tramp-completion-function-alist-telnet)
11335 (tramp-completion-function-alist-su)
11336 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11339 * net/tramp-ftp.el:
11341 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11342 load "tramp.el" `tramp-set-completion-function'.
11344 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11346 * shell.el: Require and use pcomplete.
11347 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11348 (shell-completion-vars): Set pcomplete-default-completion-function.
11350 2011-06-04 Deniz Dogan <deniz@dogan.se>
11352 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11355 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11359 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11361 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11362 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11363 * vc/log-view.el (log-view-beginning-of-defun):
11364 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11365 (smerge-refine-forward, smerge-refine-chopup-region):
11366 Silence warning for unused `dotimes' counter variables.
11368 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11370 * net/tramp.el (tramp-with-progress-reporter): Rename from
11371 with-progress-reporter. Use `declare'.
11372 * net/tramp-smb.el:
11374 * net/tramp-gvfs.el: Update all uses.
11376 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11378 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11379 buffer isn't killed before making it current.
11381 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11383 Silence various byte-compiler warnings.
11384 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11385 `access-type' and new obsolescence format.
11386 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11388 (byte-compile-check-variable): New `access-type' argument.
11389 Only warn if the access-type is obsolete.
11390 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11391 (byte-compile-variable-set): Adjust callers.
11392 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11393 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11394 setting it as obsolete.
11395 * simple.el (minibuffer-completing-symbol):
11396 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11397 access as obsolete.
11398 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11400 * international/quail.el (quail-mouse-choose-completion): Remove unused
11401 code referring to obsolete var.
11402 (quail-choose-completion-string): Remove.
11403 * server.el (server-clients-with, server-kill-buffer-query-function)
11404 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11405 * proced.el (proced-send-signal):
11406 * emacs-lisp/lisp.el (lisp-complete-symbol):
11407 Replace completion-annotate-function with completion-extra-properties.
11409 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * simple.el (goto-line): Use read-number.
11412 (overriding-map-is-bound): Remove.
11413 (saved-overriding-map): Change default.
11414 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11415 Take the map as argument.
11416 (universal-argument, negative-argument, digit-argument): Use it.
11417 (restore-overriding-map): Adjust.
11418 (do-auto-fill): Use fill-forward-paragraph.
11419 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11421 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11422 (minibuffer-inactive-mode): New major mode.
11423 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11424 the *Messages* buffer" hack.
11425 (mouse-popup-menubar): Don't burp if the event is a normal key.
11427 Miscellaneous tweaks.
11428 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11429 lexical scoping as in subr.el's dolist and dotimes.
11430 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11431 Silence compiler warning.
11432 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11433 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11434 * international/ccl.el (ccl-compile): Trivial simplification.
11435 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11436 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11437 `printflag' argument.
11438 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11439 Purecopy the whole obsolescence data.
11441 2011-06-01 Leo Liu <sdl.web@gmail.com>
11443 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11444 improve doc-string as suggested by Marco Pessotto
11445 <melmothx@gmail.com>.
11446 (rcirc-print): Fix last change.
11448 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * minibuffer.el (complete-with-action): Return nil for the metadata and
11451 boundaries of non-functional tables.
11452 (completion-table-dynamic): Return nil for the metadata.
11453 (completion-table-with-terminator): Add default case, using
11454 complete-with-action.
11455 (completion--metadata): New function.
11456 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11457 to try and avoid pathological performance problems.
11458 (completion--embedded-envvar-table): Return `category' metadata.
11460 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11462 * subr.el (process-alive-p): New tiny convenience function.
11464 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11466 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11467 content but also its previous major mode.
11469 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11471 * emacs-lisp/debug.el (debug): Restore the previous content of the
11472 *Backtrace* buffer when we exit with C-M-c.
11474 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * minibuffer.el: Add metadata method to completion tables.
11477 (completion-category-overrides): New defcustom.
11478 (completion-metadata, completion--field-metadata)
11479 (completion-metadata-get, completion--styles)
11480 (completion--cycle-threshold): New functions.
11481 (completion-try-completion, completion-all-completions):
11482 Add `metadata' argument to choose completion-styles.
11483 (completion--do-completion): Use metadata to choose cycling.
11484 (completion-all-sorted-completions): Use metadata for sorting.
11485 Remove :completion-cycle-penalty which is not needed any more.
11486 (completion--try-word-completion): Add `metadata' argument.
11487 (minibuffer-completion-help): Check metadata for annotation function
11489 (completion-file-name-table): Return `category' metadata.
11490 (minibuffer-completing-file-name): Make obsolete.
11491 * simple.el (minibuffer-completing-symbol): Make obsolete.
11492 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11493 completion-try-completion.
11495 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11497 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11499 2011-05-30 Leo Liu <sdl.web@gmail.com>
11501 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11502 (rcirc-print): Decode all incoming messages (bug#8744).
11503 (rcirc-decode-coding-system): Allow value nil for automatic coding
11506 2011-06-01 Glenn Morris <rgm@gnu.org>
11508 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11510 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11512 * image.el (image-animate-max-time): Allow nil and t values.
11514 (create-animated-image): Doc fix.
11515 (image-animate-start): Remove second arg; just use
11516 image-animate-max-time.
11517 (image-animate-timeout): Doc fix. Args changed.
11519 * image-mode.el (image-toggle-display-image): Ensure that the
11520 image spec passed to the animate timer is the same object as in
11521 the buffer's display property (Bug#6981).
11522 (image-transform-properties): Doc fix.
11524 * image.el (image-animate-max-time): Default to nil.
11526 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11528 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11529 entire buffer list (Bug#8184).
11531 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11533 * image.el (imagemagick-types-inhibit)
11534 (imagemagick-register-types): Doc fix.
11536 2011-05-29 Deniz Dogan <deniz@dogan.se>
11538 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11541 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11543 * select.el: Don't perform clipboard-manager saving in hooks;
11544 leave the hooks empty.
11546 2011-05-28 Leo Liu <sdl.web@gmail.com>
11548 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11549 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11550 (occur-edit-mode): New major mode (Bug#8463).
11551 (occur-after-change-function): New function.
11552 (occur-engine): Give Occur tags a read-only property.
11554 2011-05-28 Kevin Ryde <user42@zip.com.au>
11556 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11558 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11560 * bindings.el (help-echo): Make the initial non-indicator dash
11561 empty on graphical terminals (Bug#7295).
11563 * files.el (auto-mode-alist): Move config rule after the
11564 in-stripping one (Bug#8547).
11566 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11568 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11569 setting (Bug#8740).
11571 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11573 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11574 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11577 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11579 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11581 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11583 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11584 (hs-hide-block-at-point, hs-find-block-beginning)
11585 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11588 2011-05-28 Glenn Morris <rgm@gnu.org>
11590 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11592 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11594 * help-fns.el (describe-function-1): If the function is a derived
11595 major mode, print the parent mode.
11597 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11598 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11600 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11602 * minibuffer.el (completion--capf-wrapper): Check applicability before
11603 returning non-nil for non-exclusive completion data.
11604 * progmodes/etags.el (tags-completion-at-point-function):
11605 * info-look.el (info-lookup-completions-at-point): Mark as
11607 (info-complete): Adjust accordingly.
11609 * info-look.el: Convert to lexical-binding and completion-at-point.
11610 (info-lookup-completions-at-point): New function.
11611 (info-complete): Use it and completion-in-region.
11613 2011-05-28 Drew Adams <drew.adams@oracle.com>
11615 * isearch.el: Let M-e start with point at the first mismatched char.
11616 (isearch-fail-pos): New function.
11617 (isearch-edit-string): Use it.
11619 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11621 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11623 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11625 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11626 traversal functions for avl-trees.
11627 (avl-tree--stack): New struct.
11628 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11629 (avl-tree-enter): Add optional `updatefun' arg.
11630 (avl-tree--do-enter): Add optional `updatefun' arg.
11631 Change return value.
11632 (avl-tree-delete): Add optional `test' and `nilflag' args.
11633 (avl-tree--do-delete): Add `test' and `nilflag' args.
11634 Change return value.
11635 (avl-tree-member): Add optional `nilflag'
11636 (avl-tree-member-p): New function.
11637 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11638 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11639 (avl-tree-stack-empty-p): New functions.
11641 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11642 avl-tree--del-balance1 and make it work both ways.
11643 (avl-tree--del-balance2): Remove.
11644 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11645 make it work both ways.
11646 (avl-tree--enter-balance2): Remove.
11647 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11649 (avl-tree--mapc, avl-tree-map): Add direction argument.
11651 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11653 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11655 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11657 * select.el: Support clipboard managers with built-in function
11658 x-clipboard-manager-save, via delete-frame-functions and
11660 (xselect-convert-to-targets): Add MULTIPLE target to list.
11661 (xselect-convert-to-save-targets): New function.
11663 2011-05-27 Kenichi Handa <handa@m17n.org>
11665 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11666 let-binding rfc2047-encode-encoded-words to nil.
11668 2011-05-27 Glenn Morris <rgm@gnu.org>
11670 * mail/emacsbug.el: Don't require url-util.
11672 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11674 * files.el (set-auto-mode):
11675 Also respect mode: entries at the end of the file. (Bug#8586)
11677 2011-05-26 Glenn Morris <rgm@gnu.org>
11679 * files.el (hack-local-variables-prop-line, hack-local-variables):
11680 Downcase mode names, as seems to be traditional.
11681 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11683 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11684 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11686 2011-05-25 Julien Danjou <julien@danjou.info>
11688 * textmodes/rst.el (rst-define-level-faces): Do not define face
11689 symbol if it is already defined.
11691 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11693 * play/5x5.el (5x5-new-game, 5x5-randomize):
11694 Reset 5x5-solver-output to nil when a new grid is cast.
11695 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11696 these debugging traces, as defmacro breaks the compiled code.
11698 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11700 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11702 2011-05-24 Leo Liu <sdl.web@gmail.com>
11704 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11705 (vc-bzr-sha1): Adapt.
11707 * sha1.el: Remove. Function `sha1' is now builtin.
11709 * bindings.el: Provide sha1 feature.
11711 2011-05-24 Kenichi Handa <handa@m17n.org>
11713 * mail/sendmail.el: Require `rfc2047'.
11714 (mail-insert-from-field): Do not perform RFC2047 encoding.
11715 (mail-encode-header): New function.
11716 (sendmail-send-it): Set buffer-file-coding-system of the work
11717 buffer to the return value of select-message-coding-system.
11718 Call mail-encode-header.
11720 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11722 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11724 * mail/supercite.el (sc-default-cite-frame):
11725 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11727 2011-05-24 Glenn Morris <rgm@gnu.org>
11729 * progmodes/python.el (brm-menu): Declare.
11731 * emulation/viper.el (viper-set-hooks): Declare.
11733 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11734 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11735 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11736 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11737 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11738 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11740 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11742 Add an :exit-function for completion-at-point.
11744 * minibuffer.el (completion--done): New fun.
11745 (completion--do-completion): Use it. New arg `expect-exact'.
11746 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11747 since completion--do-completion does it for us now.
11748 (minibuffer-force-complete): Use completion--done and
11749 completion--replace. Handle sole-completion case with more care.
11750 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11751 (completion-extra-properties): New var.
11752 (completion-annotate-function): Make obsolete.
11753 (minibuffer-completion-help): Adjust accordingly.
11754 Use completion-list-insert-choice-function.
11755 (completion-at-point, completion-help-at-point):
11756 Bind completion-extra-properties.
11757 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11758 * simple.el (completion-list-insert-choice-function): New var.
11759 (completion-setup-function): Preserve it.
11760 (choose-completion): Pay attention to it, shuffle the code a bit.
11761 (choose-completion-string): New arg `insert-function'.
11763 * textmodes/bibtex.el: Convert to lexical binding.
11764 (bibtex-mode-map): Use completion-at-point.
11765 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11766 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11767 (bibtex-complete): Define as obsolete alias.
11768 (bibtex-complete-internal): Remove.
11769 (bibtex-format-entry): Remove unused sub-group in regexp.
11770 * shell.el (shell--command-completion-data)
11771 (shell-environment-variable-completion):
11772 * pcomplete.el (pcomplete-completions-at-point):
11773 * comint.el (comint--complete-file-name-data): Use :exit-function
11774 instead of completion-table-with-terminator so it also works for
11777 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11781 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11784 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11786 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11788 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11789 customization variable and implement: If non-nil, auto-fill will
11790 be inhibited while on topic's header line.
11792 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11794 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11795 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11796 always have a solution in grid size = 5 cases.
11797 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11798 (5x5-solver-output, 5x5-log-buffer): New vars.
11799 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11800 Make these variables buffer local to achieve 5x5 multi-session-ness.
11801 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11802 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11803 (5x5-solve-suggest): New funs.
11804 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11805 randomize a grid so that we ensure that there is always a solution.
11806 (5x5-make-random-grid): Allow other movement than flipping.
11808 2011-05-23 Kevin Ryde <user42@zip.com.au>
11810 * emacs-lisp/advice.el (ad-read-advised-function):
11811 Use `function-called-at-point' as the default, if it has
11812 advice and passes PREDICATE.
11814 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11817 byte-compile-lambda if it's actually a lambda.
11819 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11820 Fix function quoting. Use backquote better.
11822 2011-05-22 Yuanle Song <sylecn@gmail.com>
11824 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11825 matching (Bug#8516).
11827 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11829 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11830 different face (Bug#8178).
11832 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11834 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11835 defface (Bug#8144).
11837 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11840 funcall as well (bug#8712). Warn when performing those conversions.
11841 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11843 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11845 2011-05-22 Glenn Morris <rgm@gnu.org>
11847 * files.el (hack-local-variables-prop-line): Small simplifications.
11848 (hack-local-variables, hack-local-variables-prop-line):
11849 If MODE-ONLY, return the mode, rather than just `t'.
11851 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11853 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11855 2011-05-21 Glenn Morris <rgm@gnu.org>
11857 * files.el (hack-local-variables-prop-line, hack-local-variables):
11858 If only interested in the mode, don't bother doing the other stuff.
11860 * image-mode.el (image-after-revert-hook):
11861 Redraw all frames on which the image is visible. (Bug#8567)
11863 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11865 * wid-edit.el (widget-checklist-match-inline):
11866 Fix 2011-04-19 change. (Bug#8649)
11868 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11870 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11871 Also allow singlespace after single-letter capitals followed by a dot.
11873 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11874 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11876 2011-05-20 Nix <nix@esperi.org.uk>
11878 * files.el (basic-save-buffer-2):
11879 Fix handling of break-hardlink-on-save with non-existent files.
11881 2011-05-19 Deniz Dogan <deniz@dogan.se>
11883 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11884 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11886 2011-05-19 Glenn Morris <rgm@gnu.org>
11888 * progmodes/f90.el (f90-type-def-re):
11889 Handle "type, bind(c)". (Bug#8691)
11891 * emacs-lisp/autoload.el (batch-update-autoloads):
11892 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11894 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11896 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11897 property for the correct connection in case of multihops.
11899 2011-05-18 Glenn Morris <rgm@gnu.org>
11901 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11902 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11904 Rationalize calendar handling of day and month abbrev-arrays.
11905 * calendar/calendar.el (calendar-customized-p): New function.
11906 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11907 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11909 (calendar-abbrev-length, calendar-day-abbrev-array)
11910 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11911 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11912 Elements may no longer be nil.
11913 (calendar-day-name, calendar-month-name):
11914 Update for changed nature of abbrev arrays.
11915 * calendar/diary-lib.el (diary-name-pattern):
11916 Update for changed nature of abbrev arrays.
11917 (diary-mark-entries-1): Update calendar-make-alist calls.
11918 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11919 * calendar/cal-html.el (cal-html-day-abbrev-array):
11920 Simply inherit from calendar-day-abbrev-array.
11922 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11924 * progmodes/grep.el (grep-mode): Disable default
11925 compilation-directory-matcher setting (bug#8684).
11927 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11929 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11930 instead of "head" and "tail". There were problems with SunOS 5.9,
11931 and it performs better.
11933 2011-05-17 Glenn Morris <rgm@gnu.org>
11935 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11937 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11938 Replace obsolete function.
11940 * shell.el (pcomplete-parse-arguments-function): Declare.
11942 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11943 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11944 (appt-check): Doc fixes.
11945 (appt-disp-window-function, appt-delete-window-function):
11946 Remove needless special case in custom :type.
11947 (appt-display-count): Default to 0, not nil.
11948 (appt-check): Reset appt-display-count to 0, not nil.
11950 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11952 * progmodes/python.el (python-font-lock-keywords):
11953 Add the Python 3.X keyword "nonlocal" (bug#8639).
11955 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11957 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11959 2011-05-16 Kevin Ryde <user42@zip.com.au>
11961 * info-look.el (makefile-automake-mode): New setups, looking in
11962 automake manual, then makefile-mode.
11963 (makefile-mode): Remove automake manual, have it just in
11964 makefile-automake-mode since there's various things different or
11965 not relevant to plain make.
11966 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11967 believe a hypothetical automake-mode would go to makefile-mode,
11968 not the other way around.
11970 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11972 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11973 hunk-end tags (Bug#8672).
11975 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11976 vc-annotate-show-diff-revision-at-line (Bug#8671).
11978 2011-05-14 Glenn Morris <rgm@gnu.org>
11980 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11981 in the middle of an existing one with multiple authors. (Bug#8645)
11982 (change-log-font-lock-keywords): Also handle multiple author lines
11983 with leading tabs. (Bug#8644)
11985 * calendar/appt.el (appt-check): Rename some local variables.
11986 Some simplification/reordering.
11988 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11989 (feedmail-sendmail-f-doesnt-sell-me-out)
11990 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11991 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11992 (feedmail-queue-runner-message-sender): Set :version.
11993 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11994 (bbdb-dwim-net-address, vm-mail): Declare.
11995 (feedmail-binmail-gnulinuxish-template):
11996 Rename from feedmail-binmail-linuxish-template.
11997 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11998 Use insert-buffer-substring.
12000 2011-05-14 Bill Carpenter <bill@carpenter.org>
12002 * mail/feedmail.el (feedmail-patch-level): Increase.
12003 (feedmail-debug): New custom group.
12004 (feedmail-confirm-outgoing-timeout)
12005 (feedmail-sendmail-f-doesnt-sell-me-out)
12006 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12007 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12008 (feedmail-sender-line, feedmail-from-line)
12009 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12010 (feedmail-spray-this-address)
12011 (feedmail-spray-address-fiddle-plex-list)
12012 (feedmail-queue-use-send-time-for-date)
12013 (feedmail-queue-use-send-time-for-message-id)
12014 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12015 (feedmail-buffer-eating-function):
12017 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12018 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12019 (feedmail-message-action-scroll-down): New functions.
12020 (feedmail-queue-directory, feedmail-queue-draft-directory):
12021 Use expand-file-name.
12022 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12023 Remove C-v help entry.
12024 (feedmail-queue-buffer-file-name): New variable.
12025 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12026 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12027 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12028 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12029 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12030 (feedmail-message-action-toggle-spray)
12031 (feedmail-run-the-queue-no-prompts)
12032 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12033 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12034 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12035 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12036 (feedmail-envelope-deducer, feedmail-fiddle-from)
12037 (feedmail-fiddle-sender, feedmail-default-date-generator)
12038 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12039 (feedmail-fiddle-spray-address)
12040 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12041 (feedmail-fiddle-list-of-fiddle-plexes)
12042 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12043 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12044 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12045 Change default. Doc fix.
12046 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12047 (feedmail-binmail-linuxish-template): New constant.
12048 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12049 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12050 (feedmail-send-it): Add debug call.
12051 Use feedmail-queue-buffer-file-name, and
12052 feedmail-send-it-immediately-wrapper.
12053 (feedmail-message-action-send): Add debug call.
12054 Use feedmail-send-it-immediately-wrapper.
12055 (feedmail-queue-express-to-queue): Add debug call.
12056 Run feedmail-queue-express-hook.
12057 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12058 (feedmail-message-action-help-blat):
12059 Rename from feedmail-queue-send-edit-prompt-help-first.
12060 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12061 Check line-endings. Handle errors better.
12062 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12063 Doc fix. Add debug call.
12064 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12065 Use feedmail-queue-send-edit-prompt-inner.
12066 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12067 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12068 from feedmail-queue-send-edit-prompt.
12069 (feedmail-queue-send-edit-prompt-help)
12070 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12071 (feedmail-tidy-up-slug): Add debug call.
12072 Respect feedmail-queue-slug-suspect-regexp.
12073 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12074 (feedmail-dump-message-to-queue): Add debug call.
12075 Expand queue-directory.
12076 (feedmail-dump-message-to-queue): Change message slightly.
12077 Use feedmail-say-chatter.
12078 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12079 (feedmail-send-it-immediately-wrapper): New function.
12080 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12081 Insert empty string rather than newline. Handle full-frame case.
12082 Use catch/throw. Use feedmail-say-chatter.
12083 (feedmail-fiddle-from): Try mail-host-address.
12084 (feedmail-default-message-id-generator): Doc fix.
12085 Bind system-time-locale. Handle missing end.
12086 (feedmail-fiddle-x-mailer): Add debug call.
12087 Handle feedmail-x-mailer-line being nil.
12088 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12089 Add debug call. Use buffer-substring-no-properties.
12090 (feedmail-say-debug, feedmail-say-chatter): New functions.
12091 (feedmail-find-eoh): Give an explicit error.
12093 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12095 * net/newst-treeview.el (newsticker-treeview-face): Change default
12096 family from helvetica to sans.
12097 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12098 etc/images/newsticker.
12100 * net/newst-reader.el (newsticker-feed-face): Change default
12101 family from helvetica to sans.
12103 * net/newst-plainview.el (newsticker-new-item-face)
12104 (newsticker-old-item-face, newsticker-immortal-item-face)
12105 (newsticker-obsolete-item-face, newsticker-date-face)
12106 (newsticker-statistics-face): Change default family from
12108 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12109 etc/images/newsticker.
12111 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12112 (newsticker--process-auto-mark-filter-match): Tell user about
12115 2011-05-13 Didier Verna <didier@xemacs.org>
12117 Common Lisp indentation improvements on defmethod and lambda-lists.
12118 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12120 (lisp-lambda-list-keyword-parameter-indentation)
12121 (lisp-lambda-list-keyword-parameter-alignment)
12122 (lisp-lambda-list-keyword-alignment): New customizable user options.
12123 (lisp-indent-defun-method): Improve docstring.
12124 (extended-loop-p): Fix comment.
12125 (lisp-indent-lambda-list-keywords-regexp): New variable.
12126 (lisp-indent-lambda-list): New function.
12127 (lisp-indent-259): Use it.
12128 (lisp-indent-defmethod): Support for more than one
12129 method qualifier and properly indent methods lambda-lists.
12130 (defgeneric): Provide a missing common-lisp-indent-function property.
12132 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12134 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12135 bounds for the empty string (bug#8667).
12137 2011-05-13 Glenn Morris <rgm@gnu.org>
12139 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12141 * mail/sendmail.el (sendmail-program): Try executable-find first.
12142 (sendmail-send-it): `sendmail-program' cannot be unbound.
12144 * calendar/appt.el (appt-make-list): Simplify.
12145 (appt-time-msg-list): Doc fix.
12146 (appt-check): Change mode-line message at the time of the appointment.
12148 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12150 * progmodes/ld-script.el (ld-script-keywords)
12151 (ld-script-builtins): Update keywords list.
12153 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12155 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12157 * shell.el (shell-completion-vars): New function.
12159 * simple.el (read-shell-command): Use it.
12160 (blink-matching-open): No need for " [...]" in minibuffer-message.
12162 2011-05-12 Glenn Morris <rgm@gnu.org>
12164 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12165 (appt-check): Simplify.
12167 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12169 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12170 literal "/dev/null".
12172 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12174 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12177 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12179 * progmodes/which-func.el (which-function):
12180 Use add-log-current-defun instead of add-log-current-defun-function,
12181 which might not be defined (Bug#8260).
12183 2011-05-12 Glenn Morris <rgm@gnu.org>
12185 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12186 Let byte-compile-initial-macro-environment always take precedence.
12188 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12190 * net/rcirc.el: Add support for SSL/TLS connections.
12191 (rcirc-server-alist): New field `encryption'.
12192 (rcirc): Check `encryption' settings.
12193 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12194 Merge make-local-variable into `set'.
12195 (rcirc--connection-open-p): New function.
12196 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12197 the process is not a network process (e.g. running gnutls-cli).
12198 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12199 Make rcirc-(en|de)code-coding-system local here.
12200 (rcirc-mode): Merge make-local-variable into `set'.
12201 (rcirc-parent-buffer): Make permanent buffer-local.
12202 (rcirc-multiline-minor-mode): Don't do it here.
12203 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12204 there's no server buffer.
12206 2011-05-11 Glenn Morris <rgm@gnu.org>
12208 * newcomment.el (comment-kill): Prefix "unused" local.
12210 * term/w32console.el (get-screen-color): Declare.
12212 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12213 Handle symbol elements of byte-compile-initial-macro-environment.
12215 2011-05-10 Leo Liu <sdl.web@gmail.com>
12217 * bookmark.el (bookmark-bmenu-mode-map):
12218 Bind bookmark-bmenu-search to `/'.
12220 * mail/footnote.el: Convert to utf-8 encoding.
12221 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12222 (Footnote-unicode): New function.
12223 (footnote-style-alist): Add unicode style to the list.
12224 (footnote-style): Doc fix.
12226 2011-05-10 Jim Meyering <meyering@redhat.com>
12228 Fix doubled-word typos.
12229 * international/quail.el (quail-insert-kbd-layout): and and -> and
12230 * kermit.el: and and -> and
12231 * net/ldap.el (ldap-search-internal): to to -> to
12232 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12233 * progmodes/js.el (js-mode): and and -> and
12234 * textmodes/artist.el (artist-move-to-xy): at at -> at
12235 (artist-draw-region-trim-line-endings): if if -> if
12236 And Safetyc -> Safety.
12237 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12239 2011-05-10 Glenn Morris <rgm@gnu.org>
12240 Stefan Monnier <monnier@iro.umontreal.ca>
12242 * files.el (hack-one-local-variable-eval-safep):
12243 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12245 2011-05-10 Glenn Morris <rgm@gnu.org>
12247 * calendar/diary-lib.el (diary-list-entries-hook)
12248 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12249 (diary-nongregorian-marking-hook, diary-list-entries)
12250 (diary-include-other-diary-files, diary-mark-entries)
12251 (diary-mark-included-diary-files): Doc fixes.
12253 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12255 * misc.el: Require tabulated-list.el during compilation.
12257 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12259 * progmodes/compile.el (compilation-start):
12260 Run compilation-filter-hook for the async case too.
12261 (compilation-filter-hook): Doc fix.
12263 2011-05-09 Deniz Dogan <deniz@dogan.se>
12265 * wdired.el: Remove outdated installation comment. Fix usage
12268 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12270 * misc.el: Implement new command `list-dynamic-libraries'.
12271 (list-dynamic-libraries--loaded-only-p): New variable.
12272 (list-dynamic-libraries--refresh): New function.
12273 (list-dynamic-libraries): New command.
12275 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12277 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12278 Fix the ant regexp to handle end-line and end-column info from jikes.
12279 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12280 higher priority to avoid clobbering by gnu.
12282 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12284 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12285 if the face has existing theme settings (Bug#8454).
12287 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12289 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12290 Only match variables declared via `my' or `our' (Bug#8261).
12292 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12293 special file names `.' and `..' (Bug#8259).
12295 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12297 * progmodes/grep.el (grep-mode-font-lock-keywords):
12298 Remove buffer-changing entries.
12299 (grep-filter): New function.
12300 (grep-mode): Add it to compilation-filter-hook.
12302 * progmodes/compile.el (compilation-filter-hook)
12303 (compilation-filter-start): New defvars.
12304 (compilation-filter): Call compilation-filter-hook prior to
12305 updating the process mark.
12307 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12309 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12311 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12313 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12314 mailclient-send-it even if window-system is nil. (Bug#8595)
12316 * term/w32console.el (terminal-init-w32console):
12317 Call get-screen-color and use its output to set the frame
12318 background-mode. (Bug#8597)
12320 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12322 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12323 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12325 (defgeneric, eieio--defmethod): Use them.
12326 (eieio-defgeneric): Remove.
12327 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12329 2011-05-07 Glenn Morris <rgm@gnu.org>
12331 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12332 Use let rather than let*.
12333 (timeclock-find-discrep): Remove unused local.
12335 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12337 * calendar/appt.el (appt-time-msg-list): Doc fix.
12339 2011-05-06 Noah Friedman <friedman@splode.com>
12341 * apropos.el (apropos-print-doc): Only use
12342 emacs-lisp-docstring-fill-column when it is bound to an integer,
12343 per that variable's documentation.
12345 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12347 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12348 and warnings are not silently discarded (e.g. use -d instead of -P).
12350 2011-05-06 Glenn Morris <rgm@gnu.org>
12352 * calendar/appt.el (appt-message-warning-time): Doc fix.
12353 (appt-warning-time-regexp): New option.
12354 (appt-make-list): Respect appt-message-warning-time.
12356 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12358 (diary-add-to-list): Strip comments from the displayed string.
12359 (diary-mode): Set comment-start and comment-end.
12361 * vc/diff-mode.el (smerge-refine-subst): Declare.
12362 (diff-refine-hunk): Don't require smerge-mode when compiling.
12364 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12366 * simple.el (list-processes): Return nil as the docstring says.
12368 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12370 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12372 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12373 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12374 determining of binary transfer. (Bug#7383)
12376 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12378 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12379 Fix port computation bug. (Bug#8618)
12381 2011-05-05 Glenn Morris <rgm@gnu.org>
12383 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12385 * simple.el (shell-dynamic-complete-functions)
12386 (comint-dynamic-complete-functions): Declare.
12388 * net/network-stream.el (gnutls-negotiate):
12389 * simple.el (tabulated-list-print): Fix declarations.
12391 * progmodes/gud.el (syntax-symbol, syntax-point):
12392 Remove unnecessary and incorrect declarations.
12394 * emacs-lisp/check-declare.el (check-declare-scan):
12395 Handle byte-compile-initial-macro-environment in bytecomp.el
12397 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12399 Fix earlier half-done eieio-defmethod change (bug#8338).
12400 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12401 Streamline and change calling convention.
12402 (defmethod): Adjust accordingly and simplify.
12403 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12404 new eieio--defmethod.
12405 (slot-boundp): Minor CSE simplification.
12407 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12409 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12410 (glasses-make-readable): Use glasses-separate-capital-groups.
12412 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12414 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12415 (warning-series): Doc fix.
12416 (display-warning): Don't try to create the buffer if we just found it.
12418 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12420 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12421 (autoload-find-generated-file): New function.
12422 (generate-file-autoloads): Bind generated-autoload-file to
12424 (update-file-autoloads, update-directory-autoloads):
12425 Use autoload-find-generated-file. If called interactively, prompt for
12426 output file (Bug#7989).
12427 (batch-update-autoloads): Doc fix.
12429 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12431 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12433 2011-05-04 Glenn Morris <rgm@gnu.org>
12435 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12436 function, so it follows changes in calendar-date-style.
12437 (diary-fancy-date-matcher): New function.
12438 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12439 (diary-fancy-font-lock-fontify-region-function):
12440 Use diary-fancy-date-pattern as a function.
12442 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12443 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12445 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12447 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12448 instead of positional arguments. Allow :keylist and :crlfiles
12450 (open-gnutls-stream): Call it.
12452 * net/network-stream.el (network-stream-open-starttls): Adjust to
12453 call `gnutls-negotiate' with :process and :hostname arguments.
12455 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12457 * minibuffer.el (completion--message): New function.
12458 (completion--do-completion, minibuffer-complete)
12459 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12460 (completion--do-completion): Don't ignore completion-auto-help when in
12463 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12464 internal encoding (e.g. tibetan zero is not whitespace).
12465 (global-whitespace-mode): Prefer save-current-buffer.
12466 (whitespace-trailing-regexp): Remove useless save-match-data.
12467 (whitespace-empty-at-bob-regexp): Minor simplification.
12469 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12471 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12473 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12475 * textmodes/ispell.el (ispell-add-per-file-word-list):
12476 Use `concat' to create string for insertion.
12478 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12480 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12481 Avoid open-line which runs post-self-insert-hook.
12482 (bibtex-fill-entry): Remove unused `end' var.
12484 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12486 * textmodes/ispell.el (ispell-add-per-file-word-list):
12487 Protect against `nil' value of `comment-start' (Bug#8579).
12489 2011-05-03 Leo Liu <sdl.web@gmail.com>
12491 * isearch.el (isearch-yank-pop): New command.
12492 (isearch-mode-map): Bind it to `M-y'.
12493 (isearch-forward): Mention it.
12495 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12497 * simple.el (minibuffer-complete-shell-command): Remove.
12498 (minibuffer-local-shell-command-map): Use completion-at-point.
12499 (read-shell-command): Setup completion vars here instead.
12500 (read-expression-map): Bind TAB to symbol completion.
12502 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12503 error directly rather via storing it into `results'.
12505 2011-05-02 Leo Liu <sdl.web@gmail.com>
12507 * vc/diff.el: Fix description.
12509 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511 * server.el (server-eval-at): New function.
12513 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515 * net/network-stream.el (open-network-stream): Take a :nowait
12516 parameter and pass it on to `make-network-process'.
12517 (network-stream-open-plain): Ditto.
12519 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12521 * faces.el (face-spec-set-match-display): Don't match toolkit
12522 options on terminal frames.
12524 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12526 * progmodes/pascal.el: Use lexical binding.
12527 (pascal-mode-map): Remove author preferences.
12529 * pcomplete.el (pcomplete-std-complete): Don't abuse
12530 completion-at-point.
12532 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12534 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12535 removing code that has been dead since 1991 or so.
12537 * startup.el (command-line): When warning about "_emacs", use a
12538 delayed warning to allow the user to filter it out.
12540 2011-04-28 Deniz Dogan <deniz@dogan.se>
12542 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12543 user has not joined.
12545 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12548 aren't any completions at point.
12550 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12552 * subr.el (display-delayed-warnings): New function.
12553 (delayed-warnings-hook): New variable.
12555 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * minibuffer.el (completion-at-point, completion-help-at-point):
12558 Don't presume that a given completion-at-point-function will always
12559 use the same calling convention.
12561 * pcomplete.el (pcomplete-completions-at-point):
12562 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12563 pcomplete-seen is non-nil.
12564 (pcomplete-comint-setup): Also recognize the new comint/shell
12565 completion functions.
12566 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12567 pcomplete-seen is non-nil.
12569 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12571 * calendar/icalendar.el (diary-lib): Add require statement.
12572 (icalendar--create-uid): Read out a uid from a text-property on
12573 the first character in the entry. This allows for code to add its
12574 own uid to the entry.
12575 (icalendar--convert-float-to-ical): Add export of
12576 `diary-float'-entries save for those with the optional DAY
12579 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12581 * subr.el (shell-quote-argument): Use alternate escaping strategy
12582 when we spot a variable reference in a string.
12584 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12586 * cus-start.el (all): Define customization for debug-on-event.
12588 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12590 * subr.el (shell-quote-argument): Escape correctly under Windows.
12592 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12594 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12596 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12598 * net/tramp.el (tramp-process-actions): Add POS argument.
12599 Delete region between POS and (pos).
12601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12602 Use `nil' position in `tramp-process-actions' call.
12603 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12605 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12606 position in `tramp-process-actions' call.
12608 * net/trampver.el: Update release number.
12610 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12612 * custom.el (defcustom): Obey lexical-binding.
12614 Fix octave-inf completion problems reported by Alexander Klimov.
12615 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12616 Inherit from octave-mode-syntax-table.
12617 (inferior-octave-mode): Set info-lookup-mode.
12618 (inferior-octave-completion-at-point): New function.
12619 (inferior-octave-complete): Use it and completion-in-region.
12620 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12621 comint-filename-completion.
12622 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12623 symbol elements which shouldn't be word elements.
12624 (octave-font-lock-keywords, octave-beginning-of-defun)
12625 (octave-function-header-regexp): Adjust regexps accordingly.
12626 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12628 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12630 * net/gnutls.el (gnutls-errorp): Declare before first use.
12632 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12634 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12635 verify-error, and verify-hostname-error parameters. Check whether
12636 default trustfile exists before going to use it. Add missing
12637 argument to gnutls-message-maybe call. Return value.
12638 Reported by Claudio Bley <claudio.bley@gmail.com>.
12639 (open-gnutls-stream): Add usage example.
12641 * net/network-stream.el (network-stream-open-starttls): Give host
12642 parameter to `gnutls-negotiate'.
12643 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12644 * subr.el (shell-quote-argument): Escape correctly under Windows.
12646 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12648 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12649 Use correct match group (bug#8438).
12651 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12653 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12654 (package-menu--generate): New arg specifying packages to show.
12655 (package-menu-refresh, package-menu-execute, list-packages):
12657 (package-show-package-list): New function, replacing deleted
12658 package--list-packages (renamed because it is non-internal).
12660 * finder.el (finder-list-matches): Use package-show-package-list
12661 instead of deleted package--list-packages.
12663 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12664 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12665 (vc-annotate-mode-map): Bind it to RET.
12667 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12669 * progmodes/etags.el (next-file): Don't use set-buffer to change
12670 buffers (Bug#8478).
12672 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12674 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12676 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12677 (apropos-accumulator): Doc fix.
12678 (apropos-function, apropos-macro, apropos-command)
12679 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12680 (apropos-plist): Add face property.
12681 (apropos-symbols-internal): Fix indentation.
12682 (apropos-print): Simplify help, and recognize apropos-multi-type.
12683 (apropos-print-doc): Use button-type-get to extract the button's
12684 face property. Fill docstring (Bug#8352).
12686 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12688 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12690 * play/mpuz.el (mpuz-silent): Doc fix.
12691 (mpuz-mode-map): Use mapc.
12692 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12693 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12694 Fix typos in docstrings.
12696 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12697 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12699 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12701 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12703 * minibuffer.el (completion--do-completion): Avoid the "Next char
12704 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12706 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12707 mouse-2 into unread-command-events, it is interpreted correctly.
12709 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12710 (image-toggle-display): Doc fix.
12712 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12714 * textmodes/page.el (what-page): Use line-number-at-pos to
12715 calculate line number (Bug#6825).
12717 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12719 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12720 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12721 Pass argument NO-DEFAULT to `find-tag-interactive'.
12723 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12725 Lexical-binding cleanup.
12727 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12728 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12729 * progmodes/ada-prj.el (ada-prj-initialize-values)
12730 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12731 (ada-prj-show-value):
12732 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12733 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12734 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12735 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12736 * progmodes/bug-reference.el (bug-reference-push-button):
12737 * progmodes/fortran.el (fortran-line-length):
12738 * progmodes/glasses.el (glasses-change):
12739 * progmodes/octave-mod.el (octave-fill-paragraph):
12740 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12741 (python-pdbtrack-grub-for-buffer, python-sentinel):
12742 * progmodes/sql.el (sql-save-connection):
12743 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12744 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12745 Mark unused parameters.
12747 * progmodes/compile.el (compilation--flush-directory-cache)
12748 (compilation--flush-parse, compile-internal): Mark unused parameters.
12749 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12750 (compilation-next-error-function): Remove unused variable `timestamp'.
12752 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12753 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12755 * progmodes/dcl-mode.el (dcl-end-of-command):
12756 Remove unused variable `start'.
12757 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12758 (dcl-option-value-basic, dcl-option-value-offset)
12759 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12760 Mark unused parameters.
12761 (dcl-save-local-variable): Remove unused variable `val'.
12764 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12765 Mark unused parameters.
12766 (delphi-ignore-changes): Move before first use.
12767 (delphi-charset-token-at): Remove unused variable `start'.
12768 (delphi-else-start): Remove unused variable `if-count'.
12769 (delphi-comment-block-start, delphi-comment-block-end):
12770 Remove unused variable `kind'.
12771 (delphi-indent-line): Remove unused variable `new-point'.
12773 * progmodes/ebrowse.el (ebrowse-files-list)
12774 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12775 Mark unused parameters. Don't quote `lambda'.
12776 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12777 Don't quote `lambda'.
12778 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12779 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12780 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12781 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12782 Use `ignore-errors'.
12783 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12784 (ebrowse-view/find-file-and-search-pattern)
12785 (ebrowse-view/find-member-declaration/definition):
12786 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12787 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12788 Rename parameter PREFIX-ARG to PREFIX.
12789 (ebrowse-tags-read-name): Remove unused variables `start' and
12791 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12794 * progmodes/etags.el (local-find-tag-hook): Declare.
12795 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12796 Mark unused parameters.
12798 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12799 (executable-interpret): Mark unused parameter.
12801 * progmodes/flymake.el (flymake-process-sentinel)
12802 (flymake-after-change-function)
12803 (flymake-create-temp-with-folder-structure)
12804 (flymake-get-include-dirs-dot): Mark unused parameters.
12805 (flymake-safe-delete-directory): Remove unused variable `err'.
12807 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12808 (speedbar-timer-fn, speedbar-line-text)
12809 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12810 (speedbar-center-buffer-smartly): Declare functions.
12811 (gdb-find-watch-expression): Remove unused variable `array'.
12812 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12813 (gdb-starting): Mark unused parameters.
12814 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12815 (gdb-table-string): Remove unused variable `res'.
12816 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12817 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12818 (gdb-display-buffer): Remove unused variable `cur-size'.
12820 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12821 allow lexical-binding compilation.
12822 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12823 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12824 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12825 Mark unused parameters.
12826 (gud-gdb-marker-filter): Remove unused variable `match'.
12827 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12828 lambda expressions and funcall them, instead of using `fset'.
12830 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12831 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12833 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12834 variable `header-beg'; use `let'.
12836 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12837 `restart', `last-sexp' and `at-do'.
12839 * progmodes/js.el (js--debug): Mark unused parameter.
12840 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12841 (js--splice-into-items): Remove unused variable `item'.
12842 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12844 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12845 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12846 (makefile-complete): Remove unused variable `try'.
12847 (makefile-fill-paragraph, makefile-match-function-end):
12848 Mark unused parameters.
12850 * progmodes/octave-inf.el (inferior-octave-complete):
12851 Remove unused variable `proc'.
12852 (inferior-octave-output-digest): Mark unused parameter.
12854 * progmodes/perl-mode.el (perl-calculate-indent):
12855 Remove unused variable `err'.
12857 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12858 (prolog-indent-line): Mark unused parameters.
12859 (prolog-indent-line): Remove unused variable `beg'.
12861 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12862 (reporter-dont-compact-list): Declare.
12864 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12865 Remove unused variable `char'.
12866 (sh-debug): Mark unused parameter.
12867 (sh-get-indent-info): Remove unused variable `start'.
12868 (sh-calculate-indent): Remove unused variable `var'.
12870 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12871 (simula-electric-keyword): Remove unused variable `null'.
12872 (simula-search-backward, simula-search-forward): Remove unused
12873 variables `begin' and `end'.
12875 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12876 Remove unused variable `pos'.
12877 (vera-electric-tab, vera-comment-uncomment-region):
12878 Mark unused parameters.
12879 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12881 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12883 * emacs-lisp/package.el (package--builtins, package-alist)
12884 (package-load-descriptor, package-built-in-p, package-activate)
12885 (define-package, package-installed-p)
12886 (package-compute-transaction, package-buffer-info)
12887 (package--push): Doc fix. Distinguish more clearly between
12888 version strings and version lists.
12890 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12892 Lexical-binding cleanup.
12894 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12895 (5x5-make-mutate-best):
12896 * play/fortune.el (fortune-in-buffer):
12897 * play/gomoku.el (gomoku-init-display):
12898 * play/solitaire.el (solitaire, solitaire-do-check):
12899 * play/tetris.el (tetris-default-update-speed-function):
12900 Mark unused parameters.
12902 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12903 (bubbles--shift): Remove unused variable `char-org'.
12904 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12905 (bubbles--show-images): Remove unused variable `char'.
12907 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12908 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12909 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12910 (decipher-analyze-buffer): Use ?\s.
12911 (decipher-make-checkpoint): Remove unused variable `mapping'.
12913 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12915 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12916 Remove unused variable `result'; use `let'.
12918 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12919 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12920 (gametree-children-shown-p, gametree-compute-reduced-score):
12921 Use `ignore-errors'.
12923 * play/handwrite.el (ps-lpr-switches): Declare.
12924 (handwrite): Remove unused variables `pmin' and `lastp'.
12926 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12928 * play/landmark.el (landmark-init-display)
12929 (landmark-update-naught-weights): Mark unused parameters.
12930 (landmark-y): Remove unused variable `noise'. Simplify.
12931 (landmark-human-plays): Remove unused variable `score'.
12933 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12934 (mpuz-try-proposal): Remove unused variable `game'.
12936 * play/zone.el (life-patterns): Declare.
12938 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12940 * vc/vc.el (ediff-vc-internal): Declare function.
12942 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * shell.el: Use lexical-binding and std completion UI.
12945 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12946 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12947 comint-preoutput-filter-functions rather than on
12948 comint-output-filter-functions.
12949 (shell-command-completion, shell--command-completion-data)
12950 (shell-filename-completion, shell-environment-variable-completion)
12951 (shell-c-a-p-replace-by-expanded-directory): New functions.
12952 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12953 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12954 (shell-dynamic-complete-environment-variable): Use them.
12955 (shell-dynamic-complete-as-environment-variable)
12956 (shell-dynamic-complete-as-command): Remove.
12957 (shell-match-partial-variable): Match past point.
12958 * comint.el: Clean up use of completion-at-point-functions.
12959 (comint-completion-at-point): New function.
12960 (comint-mode): Use it completion-at-point-functions.
12961 (comint-dynamic-complete): Make it obsolete.
12962 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12963 (comint-c-a-p-replace-by-expanded-history): New function.
12964 (comint-dynamic-complete-functions)
12965 (comint-replace-by-expanded-history): Use it.
12966 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12967 termination strings. Try harder to avoid second try-completion.
12968 (completion-in-region-mode-map): Disable bindings that don't work yet.
12970 * comint.el: Use lexical-binding. Require CL.
12971 (comint-dynamic-complete-functions): Use comint-filename-completion.
12972 (comint-completion-addsuffix): Tweak custom type.
12973 (comint-filename-completion, comint--common-suffix)
12974 (comint--common-quoted-suffix, comint--table-subvert)
12975 (comint--complete-file-name-data): New functions.
12976 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12977 (comint-dynamic-list-filename-completions): Use them.
12978 (comint-dynamic-simple-complete): Make obsolete.
12980 * minibuffer.el (completion-in-region-mode):
12981 Keep completion-in-region-mode--predicate global.
12982 (completion-in-region--postch):
12983 Assume completion-in-region-mode--predicate is not null.
12985 * progmodes/flymake.el (flymake-start-syntax-check-process):
12986 Obey `dir'. Simplify.
12988 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12989 we're in VC after all.
12991 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12993 * vc/vc.el (vc-diff-build-argument-list-internal)
12994 (vc-version-ediff, vc-ediff): New commands.
12995 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12997 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13002 * obsolete/erc-hecomplete.el: Make obsolete.
13003 * obsolete/: Standardize obsolescence info in the header.
13005 2011-04-20 Glenn Morris <rgm@gnu.org>
13007 * calendar/solar.el (solar-horizontal-coordinates):
13008 Use the longitude argument rather than `calendar-longitude'.
13009 (solar-date-next-longitude): Remove unused locals.
13011 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13013 * whitespace.el: New version 13.2.1.
13015 2011-04-20 felix <EmacsWiki> (tiny change)
13017 * whitespace.el (global-whitespace-mode): Keep highlight when
13018 switching between major modes on a file.
13020 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13022 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13023 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13024 multi-line comments as well.
13026 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13028 Lexical-binding cleanup.
13030 * arc-mode.el (archive-mode-revert):
13031 * cmuscheme.el (scheme-interactively-start-process):
13032 * custom.el (custom-initialize-delay):
13033 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13034 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13035 * emacs-lock.el (emacs-lock-clear-sentinel):
13036 * ezimage.el (defezimage):
13037 * follow.el (follow-avoid-tail-recenter):
13038 * fringe.el (set-fringe-mode-1):
13039 * generic-x.el (bat-generic-mode-compile):
13040 * help-mode.el (help-info-variable, help-do-xref)
13041 (help-mode-revert-buffer):
13042 * help.el (view-emacs-todo):
13043 * iswitchb.el (iswitchb-completion-help):
13044 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13045 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13046 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13047 * locate.el (locate-update):
13048 * longlines.el (longlines-encode-region)
13049 (longlines-after-change-function):
13050 * outline.el (outline-isearch-open-invisible):
13051 * ps-def.el (declare-function, charset-dimension, char-width)
13053 * ps-mule.el (ps-mule-plot-string):
13054 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13055 (recentf-edit-list-select, recentf-edit-list-validate)
13056 (recentf-open-files-action):
13057 * rect.el (delete-whitespace-rectangle-line)
13058 (rectangle-number-line-callback):
13059 * register.el (window-configuration-to-register)
13060 (frame-configuration-to-register):
13061 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13062 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13063 (xselect-convert-to-targets, xselect-convert-to-delete)
13064 (xselect-convert-to-filename, xselect-convert-to-charpos)
13065 (xselect-convert-to-lineno, xselect-convert-to-colno)
13066 (xselect-convert-to-os, xselect-convert-to-host)
13067 (xselect-convert-to-user, xselect-convert-to-class)
13068 (xselect-convert-to-name, xselect-convert-to-integer)
13069 (xselect-convert-to-atom, xselect-convert-to-identity):
13070 * subr.el (declare, ignore, process-kill-without-query)
13071 (text-clone-maintain):
13072 * terminal.el (te-get-char, te-tic-sentinel):
13073 * tool-bar.el (tool-bar-make-keymap):
13074 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13075 * type-break.el (type-break-mode, type-break-noninteractive-query):
13076 * view.el (View-back-to-mark):
13077 * wid-browse.el (widget-browse-action, widget-browse-widget)
13078 (widget-browse-widgets, widget-browse-sexp):
13079 * widget.el (define-widget-keywords):
13080 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13081 Mark unused parameters.
13083 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13084 (align-areas): Remove unused variable `look'.
13085 (align-region): Remove unused variables `real-end' and `pos-list'.
13087 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13089 * bindings.el (mode-line-modified, mode-line-remote):
13090 Mark unused parameters.
13091 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13093 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13094 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13096 * comint.el (comint-history-isearch-pop-state)
13097 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13098 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13099 (comint-substitute-in-file-name): Doc fix.
13101 * completion.el (cmpl-statistics-block): Mark unused parameter.
13102 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13103 (save-completions-to-file, load-completions-from-file):
13104 Remove unused local variable `e'.
13106 * composite.el (compose-chars): Remove unused variable `len'.
13107 (lgstring-insert-glyph): Remove unused variable `g'.
13108 (compose-glyph-string): Remove unused variables `ascent',
13109 `descent', `lbearing' and `rbearing'.
13110 (compose-glyph-string-relative): Remove unused variables
13111 `lbearing', `rbearing' and `wadjust'.
13112 (compose-gstring-for-graphic): Remove unused variables `header',
13113 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13114 (compose-gstring-for-terminal): Remove unused variables `header'
13115 and `nchars'. Use `let', not `let*'.
13117 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13118 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13119 (Custom-buffer-done, custom-buffer-create-internal)
13120 (custom-browse-visibility-action, custom-browse-group-tag-action)
13121 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13122 (widget-magic-mouse-down-action, custom-toggle-parent)
13123 (custom-add-parent-links, custom-toggle-hide-variable)
13124 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13125 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13126 (custom-face-menu-create, custom-variable-menu-create, get)
13127 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13128 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13129 (customize-apropos): Remove unused variable `tests'.
13130 (custom-group-value-create): Remove unused variable `hidden-p'.
13131 (sort-fold-case): Declare.
13133 * cus-theme.el (custom-reset-standard-faces-list)
13134 (custom-reset-standard-variables-list): Declare.
13135 (customize-create-theme, custom-theme-revert, custom-theme-write)
13136 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13137 Mark unused parameters.
13139 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13141 * delim-col.el (delimit-columns-max): Move defvar before first use.
13143 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13144 (describe-char): Don't quote `lambda'. Mark unused parameter.
13146 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13147 (auto-insert): Declare.
13148 (desktop-restore-file-buffer): Rename desktop-* parameters;
13150 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13151 (desktop-buffer): Rename desktop-* parameters.
13153 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13154 (dframe-reposition-frame-xemacs, dframe-help-echo)
13155 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13156 Mark unused parameters.
13158 * dired-aux.el (backup-extract-version-start, overwrite-query)
13159 (overwrite-backup-query, rename-regexp-query)
13160 (rename-non-directory-query): Declare.
13161 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13162 (dired-add-entry): Remove unused variable `orig-file-name'.
13163 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13164 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13165 `dired-copy-preserve-time' directly.
13166 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13167 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13169 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13170 (dired-virtual-revert, dired-make-relative-symlink):
13171 Mark unused parameters.
13172 (manual-program): Declare.
13173 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13174 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13175 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13177 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13179 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13181 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13184 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13186 * electric.el (Electric-command-loop): Rename parameter
13187 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13189 * expand.el (expand-in-literal): Remove unused variable `here'.
13191 * facemenu.el (facemenu-add-new-color):
13192 Remove unused variable `docstring'.
13194 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13195 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13196 (face-attr-construct): Mark unused parameter. Doc fix.
13197 (read-color): Remove unused variable `hex-string'.
13199 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13200 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13201 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13202 (display-buffer-other-frame): Remove unused variable `old-window'.
13203 (kill-buffer-hook): Declare.
13204 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13205 Mark unused parameters.
13206 (after-find-file): Pass 1 to `auto-save-mode', not t.
13208 * files-x.el (auto-insert): Declare.
13209 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13211 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13212 variable `buf'. Mark unused parameter.
13213 (find-lisp-insert-directory): Mark unused parameter.
13215 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13216 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13217 (format-common-tail): Remove, unused.
13218 (format-deannotate-region): Remove unused variable `loc'.
13219 (format-annotate-region): Remove unused variable `p'.
13220 (format-annotate-single-property-change): Remove unused variables
13221 `default' and `tail'.
13223 * forms.el (read-file-filter): Declare.
13224 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13226 * frame.el (frame-creation-function-alist): Mark unused parameter.
13227 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13229 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13230 Remove unused parameters.
13231 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13232 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13234 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13235 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13236 (hfy-prepare-tag-map): Mark unused parameters.
13237 (htmlfontify-buffer): Use `called-interactively-p'.
13239 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13240 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13241 (ibuffer-do-occur): Mark unused parameters.
13242 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13243 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13245 * ibuffer.el: Don't quote `lambda'.
13246 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13247 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13248 Mark unused parameters.
13250 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13251 (ido-completing-read): Mark unused parameters.
13252 (ido-copy-current-word): Mark unused parameters;
13253 remove unused variable `name'.
13254 (ido-sort-merged-list): Remove unused parameter `dirs'.
13256 * ielm.el (ielm-input-sender): Mark unused parameter.
13257 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13258 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13259 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13260 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13261 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13263 * image-dired.el (image-dired-display-thumbs): Remove unused
13264 variables `curr-file' and `count'.
13265 (image-dired-remove-tag): Remove unused variable `start'.
13266 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13267 variable `curr-file'
13268 (image-dired-rotate-original): Remove unused variable `temp-file'.
13269 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13270 Remove unused variable `file'.
13271 (image-dired-gallery-generate): Remove unused variable `curr'.
13272 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13274 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13276 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13278 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13280 * isearch.el (minibuffer-history-symbol): Declare.
13281 (isearch-edit-string): Remove unused variable `err'.
13282 (isearch-message-prefix, isearch-message-suffix):
13283 Mark unused parameters.
13285 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13287 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13289 * makesum.el (double-column): Remove unused variable `cnt'.
13291 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13292 (ido-ignore-item-temp-list): Declare.
13294 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13295 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13296 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13297 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13300 * mouse-sel.el (mouse-extend-internal):
13301 Remove unused variable `orig-window-frame'.
13303 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13304 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13305 Move declarations before first use.
13306 (pcomplete-opt): Mark unused parameters; doc fix.
13308 * proced.el (proced-revert): Mark unused parameter.
13309 (proced-send-signal): Remove unused variable `err'.
13311 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13312 Rename parameter PREFIX-ARG to ARG.
13313 (ps-basic-plot-string, ps-basic-plot-whitespace):
13314 Mark unused parameters.
13316 * replace.el (replace-count): Define.
13317 (occur-revert-function): Mark unused parameters.
13318 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13319 (isearch-case-fold-search, isearch-string): Declare.
13320 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13321 bind `case-fold-search'. Remove unused variables `beg' and `end',
13323 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13324 COUNT and bind `replace-count'.
13325 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13328 * savehist.el (print-readably, print-string-length): Declare.
13330 * shadowfile.el (shadow-expand-cluster-in-file-name):
13331 Remove unused variable `cluster'.
13332 (shadow-copy-file): Remove unused variable `i'.
13333 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13334 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13335 (shadow-define-literal-group, shadow-define-regexp-group)
13336 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13338 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13339 (shell): Use `called-interactively-p'.
13340 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13342 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13343 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13344 (delete-backward-char): Remove unused variable `ocol'.
13345 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13346 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13347 (event-apply-hyper-modifier, event-apply-shift-modifier)
13348 (event-apply-control-modifier, event-apply-meta-modifier):
13349 Mark unused parameters.
13350 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13351 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13353 * speedbar.el (speedbar-ignored-directory-expressions)
13354 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13355 (speedbar-find-file, speedbar-dir-follow)
13356 (speedbar-directory-buttons-follow, speedbar-tag-find)
13357 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13358 (speedbar-buffers-line-directory, speedbar-buffer-click):
13359 Mark unused parameters.
13360 (speedbar-tag-file): Remove unused variable `mode'.
13361 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13363 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13365 * talk.el (talk): Remove unused variable `display'.
13367 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13368 (tar-write-region-annotate): Mark unused parameter.
13370 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13371 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13372 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13373 warning by another.
13375 * time-stamp.el (time-stamp-string-preprocess):
13376 Remove unused variable `require-padding'.
13378 * tree-widget.el (widget-glyph-enable): Declare.
13379 (tree-widget-action): Mark unused parameter.
13381 * w32-fns.el (x-get-selection): Mark unused parameter.
13382 (autoload-make-program, generated-autoload-file): Declare.
13384 * wdired.el (wdired-revert): Mark unused parameters.
13385 (wdired-xcase-word): Remove unused variable `err'.
13387 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13388 (whitespace-help-scroll): Remove unused variable `data-help'.
13390 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13391 (widget-image-insert, widget-after-change, default)
13392 (widget-default-format-handler, widget-default-notify)
13393 (widget-default-prompt-value, widget-info-link-action)
13394 (widget-url-link-action, widget-function-link-action)
13395 (widget-variable-link-action, widget-file-link-action)
13396 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13397 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13398 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13399 (widget-insert-button-action, widget-delete-button-action, visibility)
13400 (widget-documentation-link-action, widget-documentation-string-action)
13401 (widget-const-prompt-value, widget-regexp-match, symbol)
13402 (widget-coding-system-prompt-value)
13403 (widget-key-sequence-value-to-external, sexp)
13404 (widget-sexp-value-to-internal, character, vector, cons)
13405 (widget-choice-prompt-value, widget-boolean-prompt-value)
13406 (widget-color--choose-action): Mark unused parameters.
13407 (widget-item-match-inline, widget-choice-match-inline)
13408 (widget-checklist-match, widget-checklist-match-inline)
13409 (widget-group-match): Rename parameter VALUES to VALS.
13410 (widget-field-value-set): Remove unused variable `size'.
13411 (widget-color-action): Remove unused variables `value' and `start'.
13413 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13414 variable `dir'. Doc fix.
13415 (windmove-find-other-window): Don't pass it.
13417 * window.el (count-windows): Mark unused parameter.
13418 (bw-adjust-window): Remove unused variable `err'.
13420 * woman.el (woman-file-name): Remove unused variable `default'.
13421 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13422 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13423 (global-font-lock-mode): Declare.
13424 (woman-decode-region): Mark unused parameter.
13425 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13427 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13428 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13429 (x-dnd-handle-moz-url): Remove unused variable `title'.
13430 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13432 * xml.el (xml-parse-tag, xml-parse-attlist):
13433 Remove unused variable `pos'.
13435 2011-04-19 Glenn Morris <rgm@gnu.org>
13437 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13438 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13439 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13440 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13441 * calendar/cal-html.el (cal-html-insert-minical):
13442 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13443 (calendar-mark-date-pattern):
13444 Prefix "unused" locals.
13446 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13447 optional argument `style'.
13449 * calendar/appt.el (appt-make-list):
13450 * calendar/cal-china.el (calendar-chinese-date-string):
13451 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13452 (diary-hebrew-yahrzeit):
13453 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13454 * calendar/calendar.el (calendar-generate-window):
13455 * calendar/time-date.el (time-to-days):
13456 Remove unused local variables.
13458 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13460 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13461 glyphless-char-display table.
13462 (tabulated-list-glyphless-char-display): New var.
13464 2011-04-18 Sam Steingold <sds@gnu.org>
13466 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13467 to acknowledgments.
13469 2011-04-17 Glenn Morris <rgm@gnu.org>
13471 * calendar/diary-lib.el (diary-sexp-entry):
13472 * calendar/holidays.el (holiday-sexp):
13473 Set debug-on-error rather than the removed stack-trace-on-error.
13475 2011-04-16 Glenn Morris <rgm@gnu.org>
13477 * progmodes/f90.el: Use lexical-binding.
13478 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13480 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13482 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13483 (mail-mode): Setup mailalias completion here instead.
13484 * mail/mailalias.el: Use lexical-binding.
13485 (pattern, mailalias-done): Declare dynamic.
13486 (mail-completion-at-point-function): New function, from mail-complete.
13487 (mail-complete): Use it.
13488 (mail-completion-expand): New function.
13489 (mail-get-names): Use it.
13490 (mail-directory, mail-directory-process, mail-directory-stream):
13491 Don't use `pattern' for lexically bound arg.
13493 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13495 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13496 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13497 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13499 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13500 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13501 (byte-interactive-p): Define them again, for use when inlining
13504 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13506 * loadup.el: Use `string-to-number', not `string-to-int'.
13508 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13511 gud-gdb-complete-command.
13512 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13513 (gud-gdb-completion-at-point): New function.
13514 (gud-gdb-completions): Remove.
13516 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13518 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13519 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13520 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13521 whether `executable-find' is bound.
13523 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13525 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13527 * minibuffer.el (completion-in-region-mode-predicate)
13528 (completion-in-region-mode--predicate): New vars.
13529 (completion-in-region, completion-in-region--postch)
13530 (completion-in-region-mode): Use them.
13531 (completion--capf-wrapper): Also return the hook function.
13532 (completion-at-point, completion-help-at-point):
13533 Adjust and provide a predicate.
13535 Preserve arg names for advice of subr and lexical functions (bug#8457).
13536 * help-fns.el (help-function-arglist): Consolidate the subr and
13537 new-byte-code cases. Add argument `preserve-names' to extract names
13538 from the docstring when needed.
13539 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13540 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13541 (ad-arglist): Use help-function-arglist's new arg.
13542 (ad-definition-type): Use cond.
13544 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13546 * autorevert.el (auto-revert-handler):
13547 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13548 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13549 Don't quote lambda.
13551 * image-mode.el (image-transform-set-scale):
13552 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13554 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13556 * net/network-stream.el (network-stream-open-starttls): Only do
13557 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13558 Upgrades via gnutls-cli are too slow to be done opportunistically.
13560 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13562 * dframe.el (dframe-current-frame): Remove spurious quote.
13564 2011-04-12 Glenn Morris <rgm@gnu.org>
13566 * calendar/cal-tex.el (cal-tex-end-document):
13567 Try to automatically use latin1 input if needed.
13569 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13570 Don't try to cons a mark onto an empty element.
13572 2011-04-11 Leo Liu <sdl.web@gmail.com>
13574 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13576 (ido-kill-buffer-at-head): Support killing virtual buffers.
13578 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13580 * minibuffer.el (completion-show-inline-help): New var.
13581 (completion--do-completion, minibuffer-complete)
13582 (minibuffer-force-complete, minibuffer-complete-word):
13583 Inhibit minibuffer messages if completion-show-inline-help is nil.
13585 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13586 to avoid interference from inline help (Bug#5849).
13588 2011-04-10 Leo Liu <sdl.web@gmail.com>
13590 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13593 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13595 * image-mode.el (image-toggle-display-image): Signal an error if
13597 (image-transform-mode, image-transform-resize)
13598 (image-transform-set-rotation): Doc fix.
13599 (image-transform-set-resize): Delete.
13600 (image-transform-set-scale, image-transform-fit-to-height)
13601 (image-transform-fit-to-width): Handle image-toggle-display-image
13602 and image-transform-resize directly.
13604 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13606 * doc-view.el (doc-view-fit-width-to-window)
13607 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13608 New functions for fitting the shown image to the Emacs window size.
13609 (doc-view-mode-map): Add bindings for the new functions.
13611 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13613 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13614 Fix typo in docstring.
13616 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13618 * files.el (file-size-human-readable): Produce one digit after
13619 decimal, like "ls -lh" does.
13621 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13622 the file size representation.
13624 * simple.el (list-processes): If async subprocesses are not
13625 available, error out with a clear error message.
13627 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13629 * help.el (help-form-show): New function, to be called from C.
13630 Put help-form output in a buffer named differently than *Help*.
13632 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13634 * files.el (file-size-human-readable): New function.
13636 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13637 computing the representation inline. Don't require `cl'.
13639 2011-04-08 Glenn Morris <rgm@gnu.org>
13641 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13643 * net/browse-url.el (browse-url-firefox):
13644 Test system-type, not system-configuration.
13646 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13647 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13648 Use log-edit-empty-buffer-p. (Bug#7598)
13650 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13651 (rlogin-mode-map): Initialize in the defvar.
13652 (rlogin): Use ignore-errors.
13654 * replace.el (occur-mode-map): Some fixes for menu items.
13656 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13658 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13660 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13662 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13663 issuing unused warnings.
13665 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13668 * simple.el: Lisp reimplement of list-processes. Based on an
13669 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13670 (process-menu-mode): New major mode.
13671 (list-processes--refresh, list-processes):
13672 (process-menu-visit-buffer): New functions.
13674 * files.el (save-buffers-kill-emacs): Don't assume any return
13675 value of list-processes, which is undocumented anyway.
13677 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13679 * emacs-lisp/tabulated-list.el: New file.
13681 * emacs-lisp/package.el: Use Tabulated List mode.
13682 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13683 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13684 table format using Tabulated List mode variables.
13685 (package--push): New macro, replacing package-list-maybe-add.
13686 (package-menu--generate): Use package--push. Renamed from
13687 package--generate-package-list.
13688 (package-menu-refresh, list-packages): Use it.
13689 (package-menu--print-info): Rename from package-print-package.
13690 Return insertion data instead of inserting it directly.
13691 (package-menu-describe-package, package-menu-execute):
13692 Use tabulated-list-get-id.
13693 (package-menu-mark-delete, package-menu-mark-install)
13694 (package-menu-mark-unmark, package-menu-backup-unmark)
13695 (package-menu-mark-obsolete-for-deletion):
13696 Use tabulated-list-put-tag.
13697 (package--list-packages, package-menu-revert)
13698 (package-menu-get-package, package-menu-get-version)
13699 (package-menu-sort-by-column): Functions deleted.
13700 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13701 (package-menu--status-predicate, package-menu--version-predicate)
13702 (package-menu--name-predicate)
13703 (package-menu--description-predicate): Handle arguments in the
13704 Tabulated List format.
13705 (package-list-packages-no-fetch): Call list-packages.
13707 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13709 * files.el (after-find-file-from-revert-buffer): Remove variable.
13710 (after-find-file): Don't bind it.
13711 (revert-buffer-in-progress-p): New variable.
13712 (revert-buffer): Bind it.
13713 Pass nil for `after-find-file-from-revert-buffer'.
13715 * saveplace.el (save-place-find-file-hook): Use new variable
13716 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13718 2011-04-06 Glenn Morris <rgm@gnu.org>
13720 * Makefile.in (AUTOGEN_VCS): New variable.
13721 (autoloads): Use $AUTOGEN_VCS.
13723 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13724 * calendar/calendar.el (calendar-mode-map):
13725 Check for toolkit scroll bars. (Bug#8305)
13727 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13729 * minibuffer.el (completion-in-region--postch)
13730 (completion-in-region-mode): Remove unnecessary messages.
13732 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13734 * font-lock.el (font-lock-refresh-defaults):
13735 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13736 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13738 * info.el (Info-directory-list, Info-read-node-name-2)
13739 (Info-split-parameter-string): Doc fixes.
13740 (Info-virtual-nodes): Reflow docstring.
13741 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13742 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13743 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13744 Fix typos in docstrings.
13745 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13746 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13747 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13748 (Info-restore-desktop-buffer): Mark unused parameters.
13749 (Info-directory-find-file, Info-directory-find-node)
13750 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13751 (Info-virtual-index-find-node, Info-apropos-find-file)
13752 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13753 Mark unused parameters; fix typos in docstrings.
13754 (Info-virtual-index): Remove unused local variable `nodename'.
13756 2011-04-05 Deniz Dogan <deniz@dogan.se>
13758 * net/rcirc.el: Update my e-mail address.
13759 (rcirc-mode-map): Remove M-o binding.
13761 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13763 * startup.el (command-line): Save the cursor's theme-face
13764 directly, instead of using face-override-spec.
13766 * custom.el (load-theme): Minor optimization in assigning faces.
13768 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13770 * help-fns.el (describe-variable): Complete all variables having
13771 documentation, including keywords.
13772 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13774 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13776 Convert to lexical-binding.
13778 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13779 (bs--get-marked-string, bs--get-modified-string)
13780 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13781 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13782 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13784 * ehelp.el (electric-help-execute-extended)
13785 (electric-help-ctrl-x-prefix):
13786 * hexl.el (hexl-revert-buffer-function):
13787 * linum.el (linum-after-change, linum-after-scroll):
13788 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13790 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13792 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13799 * epg.el: Use lexical binding.
13801 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13803 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13805 * textmodes/flyspell.el (flyspell-word): Recognize default
13806 dictionary case for flyspell-mark-duplications-exceptions.
13807 Use regexp matching for languages.
13808 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13809 default dictionary (Bug#7926).
13811 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13813 * emacs-lisp/package.el (package--with-work-buffer):
13814 Recognize https URLs.
13816 * net/network-stream.el: Move from gnus/proto-stream.el.
13817 Change prefix to network-stream throughout.
13818 (open-protocol-stream): Merge into open-network-stream, leaving
13819 open-protocol-stream as an alias. Handle nil BUFFER args.
13821 * subr.el (open-network-stream): Move to net/network-stream.el.
13823 2011-04-02 Glenn Morris <rgm@gnu.org>
13825 * find-dired.el (find-exec-terminator): New option.
13826 (find-ls-option): Test for -ls support.
13827 (find-ls-subdir-switches): Test for -b in find-ls-option.
13828 (find-dired, find-grep-dired): Doc fixes.
13829 (find-dired): Use find-exec-terminator.
13831 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13832 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13833 (find-name-arg): Remove purecopy.
13835 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13836 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13837 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13838 accordingly. Don't add the null-device if not needed.
13840 * files.el (save-some-buffers): Doc fix.
13842 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13844 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13846 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13848 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13849 Use `dolist' rather than `mapcar'.
13851 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13853 Add lexical binding.
13855 * subr.el (apply-partially): Use new closures rather than CL.
13856 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13857 (dolist, dotimes): Use slightly different expansion for lexical code.
13858 (functionp): Move to C.
13859 (letrec): New macro.
13860 (with-wrapper-hook): Use it and apply-partially instead of CL.
13861 (eval-after-load): Preserve lexical-binding.
13862 (save-window-excursion, with-output-to-temp-buffer): Turn them
13865 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13867 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13869 (help-add-fundoc-usage): Don't add `Not documented'.
13870 (help-function-arglist): Handle closures, subroutines, and new
13871 byte-code-functions.
13872 (help-make-usage): Remove leading underscores.
13873 (describe-function-1): Handle closures.
13874 (describe-variable): Use special-variable-p for completion.
13876 * files.el (lexical-binding): Declare safe.
13878 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13879 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13880 (pcase): Add `let' pattern.
13881 Change memoization so it actually works.
13882 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13883 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13886 * emacs-lisp/macroexp.el: Use lexical binding.
13887 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13888 Don't convert ' to #' without checking that it's indeed quoting
13891 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13892 Use eval-sexp-add-defvars.
13893 (eval-sexp-add-defvars): New fun.
13895 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13897 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13899 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13900 than the internal `byte-compile-lambda'.
13901 (defmethod): Don't hide code under quotes.
13902 (eieio-defmethod): New `code' argument.
13904 * emacs-lisp/eieio-comp.el: Remove.
13906 * emacs-lisp/edebug.el (edebug-eval-defun)
13907 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13908 (edebug-toggle): Avoid `eval'.
13910 * emacs-lisp/disass.el (disassemble-internal): Handle new
13912 (disassemble-1): Handle new byte codes.
13914 * emacs-lisp/cl.el (pushnew): Silence warning.
13916 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13917 (cl-byte-compile-throw): Remove.
13918 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13920 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13923 * emacs-lisp/cconv.el: New file.
13925 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13926 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13927 (byte-compile-initial-macro-environment):
13928 Handle declare-function here.
13929 (byte-compile--lexical-environment): New var.
13930 (byte-stack-ref, byte-stack-set, byte-discardN)
13931 (byte-discardN-preserve-tos): New lap codes.
13932 (byte-interactive-p): Don't use any more.
13933 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13935 (byte-compile-lapcode): Use them and handle new lap codes.
13936 (byte-compile-obsolete): Remove.
13937 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13938 (byte-compile-arglist-warn): Check late def of inlinable funs.
13939 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13940 since they should have been expanded by now.
13941 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13942 (byte-compile-from-buffer): Remove unused second arg.
13943 (byte-compile-preprocess): New function.
13944 (byte-compile-toplevel-file-form): New function to distinguish
13945 file-form calls from outside from file-form calls from hunk-handlers.
13946 (byte-compile-file-form): Simplify.
13947 (byte-compile-file-form-defsubst): Remove.
13948 (byte-compile-file-form-defmumble): Simplify now that
13949 byte-compile-lambda always returns a byte-code-function.
13950 (byte-compile): Preprocess.
13951 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13952 Remove, not used any more.
13953 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13954 (byte-compile-make-args-desc): New funs.
13955 (byte-compile-lambda): Handle lexical functions. Always return
13956 a byte-code-function.
13957 (byte-compile-reserved-constants): New var, to make up room for
13958 closed-over variables.
13959 (byte-compile-constants-vector): Obey it.
13960 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13961 (byte-compile-macroexpand-declare-function): New function.
13962 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13963 byte-code-functions.
13964 (byte-compile-form): Check obsolescence here.
13965 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13966 (byte-compile-variable-ref): Remove.
13967 (byte-compile-dynamic-variable-op): New fun.
13968 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13969 (byte-compile-variable-set): New funs.
13970 (byte-compile-discard): Add 2 args.
13971 (byte-compile-stack-ref, byte-compile-stack-set)
13972 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13973 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13974 macroexpand-all instead.
13975 (byte-compile-quote-form): Remove.
13976 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13977 (byte-compile-bind, byte-compile-unbind): New funs.
13978 (byte-compile-let): Handle let* and lexical binding.
13979 (byte-compile-let*): Remove.
13980 (byte-compile-catch, byte-compile-unwind-protect)
13981 (byte-compile-track-mouse, byte-compile-condition-case):
13982 Handle a new :fun-body form, used for lexical scoping.
13983 (byte-compile-save-window-excursion)
13984 (byte-compile-with-output-to-temp-buffer): Remove.
13985 (byte-compile-defun): Simplify.
13986 (byte-compile-stack-adjustment): New fun.
13987 (byte-compile-out): Use it.
13988 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13990 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13993 * emacs-lisp/byte-opt.el: Use lexical binding.
13994 (byte-inline-lapcode): Remove (to bytecomp).
13995 (byte-compile-inline-expand): Pay attention to inlining to/from
13996 lexically bound code.
13997 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13999 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14000 any more and don't call compiler-macros.
14001 (byte-compile-splice-in-already-compiled-code): Remove.
14002 (byte-code): Don't inline any more.
14003 (disassemble-offset): Receive `bytes' as argument rather than via
14005 (byte-compile-tag-number): Declare before first use.
14006 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14007 `return' even if make-spliceable.
14008 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14009 obsolete interactive-p.
14010 (byte-optimize-lapcode): Optimize new lap-codes.
14011 Don't trip up on new form of `byte-constant' lap code.
14013 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14015 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14017 * custom.el (custom-initialize-default, custom-declare-variable):
14020 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14022 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14023 (COMPILE_FIRST): Add macroexp and cconv.
14024 * makefile.w32-in: Mirror changes in Makefile.in.
14026 * vc/cvs-status.el:
14030 * vc/smerge-mode.el:
14031 * textmodes/bibtex-style.el:
14032 * textmodes/css.el:
14040 * emacs-lisp/smie.el:
14043 * abbrev.el: Use lexical binding.
14045 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14047 * info.el (info-display-manual): New function.
14049 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14051 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14053 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14055 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14056 an entry for that server in rcirc-authinfo. (Bug#8385)
14058 2011-03-31 Glenn Morris <rgm@gnu.org>
14060 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14062 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14064 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14066 * progmodes/python.el (python-default-interpreter)
14067 (python-python-command-args, python-jython-command-args)
14068 (python-which-shell, python-which-args, python-which-bufname)
14069 (python-file-queue, python-comint-output-filter-function)
14070 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14071 variables and functions.
14073 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14075 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14076 (completion-in-region-mode): New minor mode.
14077 (completion-in-region): Use it.
14078 (completion-in-region--data, completion-in-region-mode-map): New vars.
14079 (completion-in-region--postch): New function.
14080 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14082 (completion--capf-wrapper): New function.
14083 (completion-at-point): Use it to track well-behavedness of
14085 (completion-help-at-point): New command.
14087 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14089 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14090 syntax class to search for whitespace on a single line
14091 (Message-ID: <4D938140.4030905@redhat.com>).
14093 2011-03-30 Leo Liu <sdl.web@gmail.com>
14095 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14097 (edit-abbrevs-map): Bind them here.
14098 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14100 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14102 * allout.el (allout-hide-by-annotation, allout-flag-region):
14103 Reduce possibility of overlay leakage by making them volatile.
14105 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14106 hash is not shared between buffers. Mode initialization is
14107 responsible for giving it a useful starting value.
14108 (allout-item-span): Reduce possibility of overlay leakage by
14109 making them volatile.
14110 (allout-widgets-count-buttons-in-region): Add diagnostic function
14111 for tracking down button overlay leaks.
14113 2011-03-29 Leo Liu <sdl.web@gmail.com>
14115 * ido.el (ido-read-internal): Use the default history var
14116 minibuffer-history if no HISTORY is specified.
14118 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14120 * net/imap.el (imap-shell-open, imap-process-connection-type):
14121 Use imap-process-connection-type for 'shell' streams as well as
14122 Kerberos, SSL, other subprocesses.
14124 2011-03-28 Leo Liu <sdl.web@gmail.com>
14126 * abbrev.el (abbrev-table-empty-p): New function.
14127 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14128 nonempty ones. (Bug#5937)
14130 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14132 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14134 2011-03-27 Leo Liu <sdl.web@gmail.com>
14136 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14137 for foreground and background colors.
14138 (ansi-color-make-color-map): Adapt.
14140 2011-03-25 Leo Liu <sdl.web@gmail.com>
14142 * midnight.el (midnight-time-float): Remove. Note it calculates
14143 the microsecond component incorrectly and seconds-to-time does the
14145 Remove redundant (require 'timer).
14147 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14148 (ido-completions): Remove unused arguments. (Bug#8329)
14150 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14152 * minibuffer.el (completion--flush-all-sorted-completions):
14153 Remove itself from hook.
14154 (completion-at-point): Let the functions perform the completion
14155 immediately and return nil or t.
14156 * comint.el (comint-dynamic-complete-functions): Now identical to
14157 completion-at-point-functions.
14158 (comint-dynamic-list-input-ring): Remove unused var `index'.
14159 (comint--match-partial-filename, comint--unquote&expand-filename):
14160 New funs, split from comint-match-partial-filename.
14161 (comint-dynamic-complete): Use completion-at-point.
14162 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14164 2011-03-24 Drew Adams <drew.adams@oracle.com>
14166 * thingatpt.el: Support `defun'.
14168 2011-03-23 Leo Liu <sdl.web@gmail.com>
14170 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14172 * help-mode.el (help-mode-finish): Tweak regexp.
14174 2011-03-23 Glenn Morris <rgm@gnu.org>
14176 * eshell/esh-opt.el (eshell-eval-using-options):
14177 Do not bind unused local variable `eshell-option-stub'.
14179 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14181 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14183 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14184 keymap variable in `with-no-warnings' to avoid a warning when the
14185 keymap has been already `defconst'ed.
14187 2011-03-22 Leo Liu <sdl.web@gmail.com>
14189 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14190 encode all chars in abbrevs; otherwise use emacs-mule or
14191 utf-8-emacs. (Bug#8308)
14193 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14195 * simple.el (backward-delete-char-untabify):
14196 Avoid warning about using `delete-backward-char'.
14198 * image.el (image-type-file-name-regexps): Make it variable.
14199 `imagemagick-register-types' modifies it, and the user may want
14200 to add new extensions for known image types.
14201 (imagemagick-register-types): Throw error if not using ImageMagick.
14203 2011-03-22 Leo Liu <sdl.web@gmail.com>
14205 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14206 located before rcirc-prompt-end-marker.
14207 (rcirc-complete): Error if point is not after rcirc prompt.
14208 Handle the case when table is nil.
14209 (rcirc-user-authenticated): Define to fix compiler warning.
14211 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14213 * custom.el (custom--inhibit-theme-enable): Make it affect only
14214 custom-theme-set-variables and custom-theme-set-faces.
14215 (provide-theme): Ignore custom--inhibit-theme-enable.
14216 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14217 (custom-enabling-themes): Delete variable.
14218 (enable-theme): Accept only loaded themes as arguments.
14219 Ignore the special custom-enabled-themes variable.
14220 (custom-enabled-themes): Forbid themes from setting this.
14221 Eliminate use of custom-enabling-themes.
14222 (custom-push-theme): Quote "changed" custom var entry.
14224 2011-03-21 Leo Liu <sdl.web@gmail.com>
14226 * ido.el (ido-read-internal): Add ido-selected to history instead
14229 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * subr.el (deferred-action-list, deferred-action-function):
14234 2011-03-21 Leo Liu <sdl.web@gmail.com>
14236 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14237 change on 2011-02-13 (bug#8309).
14239 * minibuffer.el (read-file-name-function): Change default value.
14240 (read-file-name--defaults): Rename from read-file-name-defaults.
14241 (read-file-name-default): Rename from read-file-name.
14242 (read-file-name): Call read-file-name-function.
14244 2011-03-21 Glenn Morris <rgm@gnu.org>
14246 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14249 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14251 * cus-theme.el: Add missing provide statement.
14252 (customize-create-theme): Extract theme value correctly.
14253 (custom-theme-visit-theme): Autoload.
14254 (customize-create-theme): Prompt before inserting default faces.
14256 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14258 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14259 units and musical notes.
14261 2011-03-20 Leo Liu <sdl.web@gmail.com>
14263 * ido.el (ido-read-internal): Use completing-read-default.
14264 (ido-completing-read): Fix compatibility with completing-read.
14266 2011-03-20 Christian Ohler <ohler@gnu.org>
14268 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14269 (ert-delete-all-tests): Use `called-interactively-p' rather than
14271 (ert--make-xrefs-region): Respect END.
14273 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14275 * dired-aux.el (dired-create-directory): Signal an error if the
14276 directory already exists (Bug#8246).
14278 * facemenu.el (list-colors-display): Call list-faces-display
14279 inside with-help-window.
14280 (list-colors-print): Use display property to align the final
14281 column, instead of checking window-width.
14283 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14285 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14286 windows-nt systems.
14287 (emerge-protect-metachars): Quote correctly for ms-dos and
14288 windows-nt systems.
14290 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14292 * info.el (info-initialize): Replace all uses of `:' with
14293 path-separator for compatibility with non-Unix systems.
14294 Cache quoting of path-separator. (Bug#8258)
14296 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14298 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14299 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14300 (mouse-avoidance-mode): Fix typos in docstrings.
14302 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14304 * startup.el (package-subdirectory-regexp): Move from package.el.
14305 Omit \\` and \\', and let callers add them.
14307 * emacs-lisp/package.el (package-strip-version)
14308 (package-load-all-descriptors): Add \\` and \\' to
14309 package-subdirectory-regexp before using it.
14310 (package-untar-buffer): New arg DIR; ensure that file untars only
14311 into this expected directory. Remove superfluous delete-region.
14312 (package-unpack): Caller changed.
14313 (package-tar-file-info): Use package-subdirectory-regexp.
14315 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14317 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14318 diff-mode-shared-map (bug#8284).
14319 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14321 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14323 * calendar/time-date.el (format-seconds): Use assoc instead of
14324 assoc-string, since assoc-string doesn't exist in XEmacs.
14326 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14328 * custom.el (custom-known-themes): Reflow docstring.
14329 (custom-theme-load-path): Fix typo in docstring.
14330 (load-theme): Fix typo in error message.
14331 (custom-available-themes, custom-variable-theme-value):
14332 Use `let', not `let*'.
14334 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14336 * calc/README: Mention inclusion of musical notes.
14338 * calc/calc-units.el (calc-lu-quant): Rename from
14339 `calc-logunits-quantity'.
14340 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14341 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14342 (calc-db): Rename from `calc-dblevel'.
14343 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14344 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14345 (calc-np): Rename from `calc-nplevel'.
14346 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14347 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14348 (calc-lu-plus): Rename from `calc-logunits-add'.
14349 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14350 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14351 (calc-lu-minus): Rename from `calc-logunits-sub'.
14352 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14353 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14354 (calc-lu-times): Rename from `calc-logunits-mul'.
14355 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14356 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14357 (calc-lu-divide): Rename from `calc-logunits-div'.
14358 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14359 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14361 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14362 functions being autoloaded.
14364 * calc/calc.el (calc-lu-power-reference): Rename from
14365 `calc-logunits-power-reference'.
14366 (calc-lu-field-reference): Rename from
14367 `calc-logunits-field-reference'.
14369 * calc/calc-help.el (calc-l-prefix-help):
14370 Mention musical note functions.
14372 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14374 * minibuffer.el (completion-all-sorted-completions):
14375 Use :completion-cycle-penalty text property if present.
14377 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14379 * allout.el (allout-yank-processing): Adjust for new rebulleting
14380 regime so bullet being yanked is used without prompting the user
14383 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14385 * startup.el (command-line): Warn the user that _emacs is deprecated.
14387 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14389 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14390 (delphi-verbose, delphi-comment-face, delphi-string-face)
14391 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14392 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14393 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14394 (delphi-new-comment-line, delphi-font-lock-defaults)
14395 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14396 Fix typos in docstrings.
14398 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14400 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14401 Invert the roles of character and string values for INSTEAD, so a
14402 string is used for the more common case of a defaulting prompt.
14404 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14406 * progmodes/ruby-mode.el (ruby-backward-sexp):
14407 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14408 * play/gamegrid.el (gamegrid-make-face):
14409 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14410 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14411 * notifications.el (notifications-notify):
14412 * net/xesam.el (xesam-search-engines):
14413 * net/quickurl.el (quickurl-list-insert):
14414 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14416 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14418 * startup.el (command-line): Update package subdirectory regexp.
14420 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14422 * allout.el (allout-abbreviate-flattened-numbering)
14423 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14425 * subr.el (read-char-choice): Only show the cursor after the prompt,
14426 not after the answer.
14428 2011-03-15 Kevin Ryde <user42@zip.com.au>
14430 * help-fns.el (variable-at-point): Skip leading quotes, if any
14433 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14438 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14440 * shell.el (shell): When called interactively, offer to change the
14441 shell file name on remote hosts.
14443 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14445 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14446 integration for LDAP parameters. The host, base, user or binddn,
14447 and secret tokens can be specified in a netrc file, for instance.
14448 This is optional because an `auth-source' parameter must be
14449 specified in the search attributes.
14451 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14453 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14455 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14457 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14458 into declaration. Remove redundant and harmful binding.
14460 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14462 * files.el (file-ownership-preserved-p): Pass `integer' as an
14463 explicit 2nd argument to `file-attributes'. If the file's owner
14464 is the Administrators group on Windows, and the current user is
14465 Administrator, consider that a match.
14467 * server.el (server-ensure-safe-dir): Consider server directory
14468 safe on MS-Windows if its owner is the Administrators group while
14469 the current Emacs user is Administrator. Use `=' to compare
14470 numerical UIDs, since they could be integers or floats.
14472 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14474 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14476 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14478 Sync with Tramp 2.2.1.
14480 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14482 * net/trampver.el: Update release number.
14484 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14486 * progmodes/compile.el (compilation--previous-directory): Fix up
14487 various nil/dead-marker mismatches (bug#8014).
14488 (compilation-directory-properties, compilation-error-properties):
14489 Don't call it at a position past the one we're about to change.
14491 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14492 Disable obsolescence warnings in the file that declares it.
14494 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14496 * allout-widgets.el (allout-widgets-tally):
14497 Initialize allout-widgets-tally as a hash table rather than nil to
14498 prevent mode-line redisplay warnings. Also, clarify the module
14499 description and fix a comment typo.
14501 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14503 * help-fns.el (describe-variable): Don't complete keywords.
14504 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14506 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14508 * emacs-lisp/package.el (package-version-join): Impose a standard
14509 string representation for pre/alpha/beta version lists.
14510 (package-unpack-single): Standardize the directory name by passing
14511 it through package-version-join.
14512 (package-strip-rcs-id): Accept any version string that does not
14513 signal an error in version-to-list.
14515 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14517 * simple.el (delete-trailing-whitespace): Return nil for the
14518 benefit of `write-file-functions'.
14520 2011-03-10 Glenn Morris <rgm@gnu.org>
14522 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14524 * vc/vc-git.el (vc-git-program): New option.
14525 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14526 (vc-git--call): Use it.
14528 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14530 * cus-edit.el (Custom-newline): If no button at point, look
14531 for a subgroup button at start-of-line. (Bug#2298)
14533 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14535 2011-03-10 Julien Danjou <julien@danjou.info>
14537 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14538 `cursor-type' is nil.
14540 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14542 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14544 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14546 * allout.el: Change so yank of distinctive-bullet items
14547 preserves the existing header prefix, rebulleting it if necessary,
14548 rather than replacing it. This is necessary for proper operation
14549 of cooperative addons like allout-widgets.
14550 (allout-make-topic-prefix, allout-rebullet-heading):
14551 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14552 value as alternate bullet to be used, instead of prompting the user
14553 for a bullet character.
14555 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14558 Do not use `tramp-file-name-port', because this returns also
14559 `tramp-default-port'.
14561 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14563 * net/rcirc.el (rcirc-handler-001): Remove useless
14564 with-rcirc-process-buffer.
14565 (rcirc-check-auth-status): Swap arguments to string-match.
14567 2011-03-09 Glenn Morris <rgm@gnu.org>
14569 * shell.el (shell-mode):
14570 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14572 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14573 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14575 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14577 * emacs-lisp/package.el (package-refresh-contents)
14578 (package-menu-execute): Use condition-case-no-debug.
14580 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14582 * simple.el (shell-command-to-string): Use `process-file'.
14584 * emacs-lisp/package.el (package-tar-file-info): Handle also
14587 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14588 Use `equal' for upload base check.
14590 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14592 * textmodes/texinfo.el (texinfo-environments):
14593 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14595 2011-03-08 Glenn Morris <rgm@gnu.org>
14597 * cus-start.el (cursor-in-non-selected-windows):
14598 Fix :set quoting oddness. (Bug#8192)
14600 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14601 in some setf expressions. (Bug#2159)
14603 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14605 * custom.el (custom-available-themes): Return themes in
14606 alphabetical order.
14608 See ChangeLog.15 for earlier changes.
14610 ;; Local Variables:
14614 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14616 This file is part of GNU Emacs.
14618 GNU Emacs is free software: you can redistribute it and/or modify
14619 it under the terms of the GNU General Public License as published by
14620 the Free Software Foundation, either version 3 of the License, or
14621 (at your option) any later version.
14623 GNU Emacs is distributed in the hope that it will be useful,
14624 but WITHOUT ANY WARRANTY; without even the implied warranty of
14625 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14626 GNU General Public License for more details.
14628 You should have received a copy of the GNU General Public License
14629 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.