1 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 * tmm.el (tmm-prompt): Use string-prefix-p.
4 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5 (tmm-add-prompt): Use minibuffer-completion-help.
6 (tmm-delete-map): Remove.
8 * subr.el (kbd): Make it its own function.
10 2012-06-07 Stefan Merten <smerten@oekonux.de>
12 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13 Silence compiler warnings. Fix versions.
14 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
15 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
16 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
17 (rst-package-emacs-version-alist): Correct Emacs version to
18 represent major merge with upstream.
19 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
21 2012-06-06 Glenn Morris <rgm@gnu.org>
23 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
24 Only print environment variables if set.
26 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
28 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
29 (macroexp--cons): Rename from maybe-cons.
30 (macroexp--accumulate): Rename from macroexp-accumulate.
31 (macroexp--all-forms): Rename from macroexpand-all-forms.
32 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
33 (macroexp--expand-all): Rename from macroexpand-all-1.
35 2012-06-06 Sam Steingold <sds@gnu.org>
37 * calendar/calendar.el (calendar-in-read-only-buffer):
38 Call `special-mode' to enable the standard read-only keybindings.
40 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
42 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
43 with "loading" messages (bug#11635).
45 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
47 * files.el (enable-remote-dir-locals): New option.
48 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
50 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
51 Ensure, that the temp directory is local.
53 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
54 `temporary-file-directory'.
56 * progmodes/python.el (python-send-region): Ensure, that the
57 temporary file is created also in the remote case.
59 2012-06-06 Glenn Morris <rgm@gnu.org>
61 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
62 (vc-rcs-update-changelog): Use it.
64 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
66 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
67 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
68 (vc-sccs-diff): Replace use of the external vcdiff script.
70 2012-06-05 Glenn Morris <rgm@gnu.org>
72 * ledit.el: Move to obsolete/.
74 2012-06-05 Sam Steingold <sds@gnu.org>
76 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
79 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
81 * emacs-list/cust-print.el: Move to obsolete.
83 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
84 compiler-macro expansion.
86 Add native compiler-macro support.
87 * emacs-lisp/macroexp.el (macroexpand-all-1):
88 Support compiler-macros directly. Properly follow aliases and apply
89 the compiler macros more thoroughly.
90 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
91 macroexpand now properly follows aliases.
92 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
93 (cl-compiler-macroexpand): Use new prop.
94 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
96 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
98 2012-06-05 Martin Rudalics <rudalics@gmx.at>
100 * window.el (get-lru-window, get-mru-window, get-largest-window):
101 New argument NOT-SELECTED to avoid picking the selected window.
102 (window--display-buffer-1, window--display-buffer-2): Replace by
103 new function window--display-buffer
104 (display-buffer-same-window, display-buffer-reuse-window)
105 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
106 Use window--display-buffer.
107 (display-buffer-use-some-window): Remove temporary dedication
108 hack by calling get-lru-window and get-largest-window with
109 NOT-SELECTED argument non-nil. Call window--display-buffer.
111 2012-06-05 Glenn Morris <rgm@gnu.org>
113 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
114 Replace external vcdiff script.
116 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
118 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
120 2012-06-04 Chong Yidong <cyd@gnu.org>
122 * image.el (imagemagick-types-inhibit): Revert last change.
124 (imagemagick-enabled-types): Remove CIN and EPS*.
126 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
128 * emacs-lisp/cl-lib.el: Rename from cl.el.
129 * emacs-lisp/cl.el: New compatibility file.
130 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
131 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
132 to obey the "cl-" prefix.
133 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
135 2012-06-03 Glenn Morris <rgm@gnu.org>
137 * emacs-lisp/authors.el (authors-aliases): Addition.
139 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
142 2012-06-03 Stefan Merten <smerten@oekonux.de>
144 * textmodes/rst.el: Add comments.
145 (rst-transition, rst-adornment): New faces.
146 (rst-adornment-faces-alist): Make default safe to reevaluate.
148 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
149 Improve customization tags.
150 (rst-define-level-faces): Clarify meaning.
152 2012-06-03 Chong Yidong <cyd@gnu.org>
154 * progmodes/compile.el (compilation-mode-line-fail)
155 (compilation-mode-line-run, compilation-mode-line-exit):
157 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
159 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
161 * progmodes/which-func.el (which-func-update-ediff-windows):
162 New function. Use it in ediff-select-hook (Bug#11478).
164 2012-06-03 Chong Yidong <cyd@gnu.org>
166 * bindings.el: Remove explicit help text from format-mode-line.
167 It is now supplied by mode-line-default-help-echo.
168 (mode-line-front-space, mode-line-end-spaces)
169 (mode-line-misc-info): New variables.
170 (mode-line-modes, mode-line-position): Move the default value to
171 the variable definition.
172 (mode-line-default-help-echo): New defcustom.
173 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
174 (mode-line-modified-help-echo): New functions.
175 (mode-line-mule-info, mode-line-modified): Use them.
176 (mode-line-eol-desc, propertized-buffer-identification):
177 Consistency fixes for help text.
178 (mode-line-coding-system-map): Allow using mouse-3 to invoke
179 set-buffer-file-coding-system (Bug#289).
180 (mode-line-mule-info-help-echo): Update help text.
182 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
184 * simple.el (execute-extended-command): Set real-this-command
187 2012-06-02 Chong Yidong <cyd@gnu.org>
189 Remove incorrect uses of "modeline" in comments, docstrings, and
190 function/variable names (Bug#10329).
192 * cus-edit.el (mode-line):
193 * dframe.el (dframe-mouse-hscroll):
194 * emacs-lisp/re-builder.el:
195 * emacs-lisp/easy-mmode.el (define-minor-mode):
196 * frame.el (set-frame-name):
197 * help.el (lookup-minor-mode-from-indicator):
198 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
199 * progmodes/cc-cmds.el (c-toggle-auto-newline)
200 (c-toggle-hungry-state):
201 * progmodes/antlr-mode.el (antlr-language-alist):
202 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
203 * progmodes/vhdl-mode.el (vhdl-mode):
204 * progmodes/which-func.el (which-func, which-func-cleanup-function):
205 * term/ns-win.el (ns-face-at-pos):
206 * term/sup-mouse.el (sup-mouse-report):
207 * textmodes/flyspell.el (flyspell-mode-line-string):
208 * textmodes/ispell.el (ispell-highlight-face):
209 * textmodes/reftex-global.el:
210 * vc/vc-arch.el (vc-arch-mode-line-string):
211 * vc/vc-cvs.el (vc-cvs-mode-line-string):
212 * vc/vc-git.el (vc-git-mode-line-string):
213 * vc/vc-hooks.el (vc-display-status)
214 (vc-default-mode-line-string):
215 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
217 * ansi-color.el (ansi-color-faces-vector): Change default faces.
219 * dired.el (dired-sort-set-mode-line): Rename from
220 dired-sort-set-modeline. All callers changed.
222 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
223 eshell-status-in-modeline.
225 * foldout.el (foldout-mode-line-string): Rename from
226 foldout-modeline-string. All callers changed.
227 (foldout-update-mode-line): Rename from foldout-update-modeline.
229 * subr.el (redraw-modeline): Make into obsolete alias.
231 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
232 timeclock-modeline-display. Make old name an alias.
233 (timeclock-update-mode-line): Likewise. All callers changed.
234 (timeclock-mode-line-display): No need to check before using
236 (timeclock-relative, timeclock-day-over-hook)
237 (timeclock-use-elapsed, timeclock-mode-string)
238 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
240 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
241 crisp-mode-modeline-string.
243 * play/solitaire.el (solitaire-build-mode-line): Rename from
244 solitaire-build-modeline. All callers changed.
246 * play/zone.el (zone-hiding-mode-line): Rename from
247 zone-hiding-modeline. All callers changed.
248 (zone): Remove unusued `modeline-hidden-level' property.
250 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
251 xscheme-modeline-initialize. All callers changed.
253 * strokes.el (strokes-lighter): Rename from
254 strokes-modeline-string.
256 * textmodes/sgml-mode.el (html-face-tag-alist)
257 (html-tag-face-alist): Use mode-line face instead of obsolete
260 2012-06-02 Stefan Merten <smerten@oekonux.de>
262 * textmodes/rst.el: Always require `cl'.
263 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
265 2012-06-02 Chong Yidong <cyd@gnu.org>
267 * image.el (imagemagick-enabled-types): Rename from
268 imagemagick-types-enable. Add many more types.
269 (imagemagick-types-inhibit): Change default to nil.
270 (imagemagick-filter-types): Caller changed.
272 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
274 * emacs-lisp/cl-macs.el: Use backquotes.
275 (cl-transform-function-property): Use eval-and-compile rather than
277 (defstruct): Use declare-function instead of with-no-warnings.
279 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
280 (byte-compile-output-docform): Re-add the print-circle bindings.
281 (byte-compile-fix-header): Use #$ just because it's shorter.
282 (byte-compile-output-file-form): Remove defun/defmacro.
284 2012-06-01 Martin Rudalics <rudalics@gmx.at>
286 * simple.el (choose-completion): Remove now obsolete binding for
289 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
291 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
292 in order to avoid "Stack overflow in regexp matcher".
294 2012-05-31 Glenn Morris <rgm@gnu.org>
296 * image.el: For clarity, call imagemagick-register-types at
297 top-level, rather than relying on a custom :initialize.
298 (imagemagick-types-enable): New option. (Bug#11557)
299 (imagemagick-filter-types): New function. (Bug#7406)
300 (imagemagick-register-types): Use imagemagick-filter-types.
301 If disabling support, remove elements altogether rather
302 than using an impossible regexp.
303 (imagemagick-types-inhibit): Give it the default init function.
305 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
307 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
308 Handle arbitrary file name lengths (Bug#11585).
310 2012-05-31 Martin Rudalics <rudalics@gmx.at>
312 * desktop.el (desktop-read): Clear previous and next buffers for
313 all windows and bury *Messages* buffer (bug#11556).
315 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
317 Add `declare' for `defun'. Align `defmacro's with it.
318 * emacs-lisp/easy-mmode.el (define-minor-mode)
319 (define-globalized-minor-mode): Don't autoload the var definitions.
320 * emacs-lisp/byte-run.el: Use lexical-binding.
321 (defun-declarations-alist, macro-declarations-alist): New vars.
322 (defmacro, defun): Use them.
323 (make-obsolete, define-obsolete-function-alias)
324 (make-obsolete-variable, define-obsolete-variable-alias):
326 (macro-declaration-function): Mark obsolete.
327 * emacs-lisp/autoload.el: Use lexical-binding.
328 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
330 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
332 * textmodes/ispell.el (ispell-with-no-warnings):
334 (ispell-kill-ispell, ispell-change-dictionary):
335 Use `called-interactively-p' for Emacs instead of obsolete
338 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
340 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
341 (macro-declaration-function): Move var from C code.
342 (macro-declaration-function): Define function with defalias.
343 * emacs-lisp/macroexp.el (macroexpand-all-1):
344 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
345 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
346 defun/defmacro any more.
347 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
348 Provide fallback for unknown arglist.
349 (byte-compile-arglist-warn): Change calling convention.
350 (byte-compile-output-file-form): Move print-vars binding.
351 (byte-compile-output-docform): Simplify accordingly.
352 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
353 (byte-compile-defmacro-declaration): Remove.
354 (byte-compile-file-form-defmumble): Generalize to defalias.
355 (byte-compile-output-as-comment): Return byte-positions.
356 Simplify callers accordingly.
357 (byte-compile-lambda): Use `assert'.
358 (byte-compile-defun, byte-compile-defmacro): Remove.
359 (byte-compile-file-form-defalias):
360 Use byte-compile-file-form-defmumble.
361 (byte-compile-defalias-warn): Remove.
363 2012-05-29 Stefan Merten <smerten@oekonux.de>
365 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
366 possible. Fix authors. Improve comments. Improve loading of `cl'.
368 (rst-mode-abbrev-table): Merge definition.
369 (rst-mode): Make sure `font-lock-defaults' is buffer local.
370 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
372 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
374 * calendar/icalendar.el
375 (icalendar-export-region): Export UID properly.
377 2012-05-29 Leo <sdl.web@gmail.com>
378 * calendar/icalendar.el (icalendar-import-format):
379 Add `icalendar-import-format-uid' (Bug#11525).
380 (icalendar-import-format-uid): New.
381 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
384 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
386 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
387 different alternative patterns.
388 (pcase-codegen): Be more careful to preserve identity.
389 (pcase--u1): Don't forget to mark vars as used.
391 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
392 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
393 (byte-compile-from-buffer): ...rather than here.
395 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
396 functions from byte-compile-function-environment.
398 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
400 * window.el (window-deletable-p): Avoid deleting the root window
401 of a frame with an active minibuffer.
403 2012-05-29 Martin Rudalics <rudalics@gmx.at>
405 * simple.el (choose-completion): Use quit-window (Bug#11567).
407 2012-05-29 Chong Yidong <cyd@gnu.org>
409 * whitespace.el (whitespace-cleanup): Fix usage of
410 whitespace-empty-at-bob-regexp (Bug#11492).
412 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
414 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
417 2012-05-29 Juri Linkov <juri@jurta.org>
419 * isearch.el (isearch-mode-map): Bind `M-s _' to
420 `isearch-toggle-symbol'. Bind `M-s c' to
421 `isearch-toggle-case-fold'.
422 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
423 (isearch-forward): Add `M-s _' to the docstring.
424 (isearch-forward-symbol, isearch-toggle-case-fold)
425 (isearch-symbol-regexp): New functions. (Bug#11381)
427 2012-05-29 Juri Linkov <juri@jurta.org>
429 * isearch.el (isearch-word): Add docstring. (Bug#11381)
430 (isearch-occur, isearch-search-and-update): If `isearch-word' is
431 a function, call it to get the regexp.
432 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
433 property `isearch-message-prefix' instead of the string "word ".
434 (isearch-search-fun-default): For the case of `isearch-word',
435 return a lambda that calls re-search-forward/re-search-backward
436 with a regexp returned by `word-search-regexp' or by the function
439 2012-05-29 Juri Linkov <juri@jurta.org>
441 * isearch.el (isearch-search-fun-default): New function.
442 (isearch-search-fun): Move default part to the new function
443 `isearch-search-fun-default'.
444 (isearch-search-fun-function): Set the default value to
445 `isearch-search-fun-default'. (Bug#11381)
447 * comint.el (comint-history-isearch-end):
448 Use `isearch-search-fun-default'.
449 (comint-history-isearch-search): Use `isearch-search-fun-default'
450 and remove spacial case for `isearch-word'.
451 (comint-history-isearch-wrap): Remove spacial case for
454 * hexl.el (hexl-isearch-search-function):
455 Use `isearch-search-fun-default'.
457 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
458 Use `word-search-regexp' for `isearch-word'.
460 * misearch.el (multi-isearch-search-fun):
461 Use `isearch-search-fun-default'.
463 * simple.el (minibuffer-history-isearch-search):
464 Use `isearch-search-fun-default' and remove spacial case for
466 (minibuffer-history-isearch-wrap): Remove spacial case for
469 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
470 Remove spacial case for `isearch-word'.
471 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
473 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
475 Decrease XEmacs incompatibilities.
476 * textmodes/flyspell.el (flyspell-check-pre-word-p):
478 (flyspell-delete-region-overlays): Use alternative definition for
480 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
481 (flyspell-word): Use `process-kill-without-query' if XEmacs.
482 (flyspell-mode-on): Use `interactive-p' if XEmacs.
483 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
484 `define-obsolete-face-alias' under XEmacs, but old method.
486 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
487 `with-no-warnings' definition or Emacs alias.
488 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
489 (ispell-word): Do not use `region-p' if XEmacs.
491 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
493 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
494 Check for `ispell-dictionary-base-alist' instead of full
495 `ispell-dictionary-alist'.
496 (ispell-init-process): Show spellchecker when starting new Ispell
499 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
501 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
502 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
504 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
506 * version.el (motif-version-string, gtk-version-string)
507 (ns-version-string): Declare.
509 2012-05-27 Juri Linkov <juri@jurta.org>
511 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
512 after the `eval-defun-1' specialcaseing
513 like in `edebug-eval-defun' (bug#10181).
515 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
516 like in `eval-defun-1'.
518 2012-05-27 Eli Zaretskii <eliz@gnu.org>
520 * mail/sendmail.el (mail-yank-region):
521 Recognize rmail-yank-current-message in addition to insert-buffer.
522 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
523 a *mail* buffer created through rmail-start-mail with sendmail as
526 2012-05-27 Chong Yidong <cyd@gnu.org>
528 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
529 Default to 256 (Bug#11267).
531 * help.el (describe-mode): Doc fix.
533 2012-05-26 Glenn Morris <rgm@gnu.org>
535 * w32-fns.el (w32-init-info): Remove.
536 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
538 * info.el (info-initialize): For self-contained NS builds, put the
539 included info/ directory at the front. (Bug#2791)
541 * paths.el (Info-default-directory-list): Make it a defcustom,
542 mainly so that we can use custom-initialize-delay.
544 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
546 * subr.el (buffer-has-markers-at): Mark obsolete.
548 * subr.el (lambda): Use declare.
550 * emacs-lisp/lisp-mode.el (lambda):
551 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
553 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
555 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
557 2012-05-26 Glenn Morris <rgm@gnu.org>
559 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
561 2012-05-25 Glenn Morris <rgm@gnu.org>
563 * paths.el: Remove no-byte-compile.
564 * loadup.el: No need to load paths.el uncompiled.
566 * image.el (imagemagick-types-inhibit): Doc fix.
568 * version.el: Remove no-byte-compile and associated formatting.
569 * loadup.el: No need to load version.el uncompiled. AFAICS, this
570 is ancient code from when there was an "inc-vers.el".
572 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
574 * progmodes/gdb-mi.el: Minor style changes.
575 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
576 Turn into minor modes.
577 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
578 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
579 (gdb-shell): Remove unneeded let-binding.
580 (gdb-get-many-fields): Eliminate O(n²) behavior.
582 2012-05-25 Eli Zaretskii <eliz@gnu.org>
584 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
585 platforms that don't link in fontset.c.
587 2012-05-25 Juri Linkov <juri@jurta.org>
589 Use the same diff color scheme as in modern VCSes (bug#10181).
591 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
592 to avoid confusion with `diff-added' that now uses green colors.
593 (diff-removed): Use shades of red.
594 (diff-added): Use shades of green.
595 (diff-changed): Leave just the yellow color.
596 (diff-use-changed-face): New variable.
597 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
598 how to highlight context diff changes.
599 (diff-refine-change): Use shades of yellow.
600 (diff-refine-removed): New face that uses shades of red.
601 (diff-refine-added): New face that uses shades of green.
602 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
603 `diff-refine-removed' in the call to `smerge-refine-subst'
604 depending on the value of `diff-use-changed-face'.
606 * vc/smerge-mode.el (smerge-mine): Use shades of red.
607 (smerge-other): Use shades of green.
608 (smerge-base): Use shades of yellow.
609 (smerge-refined-change): Empty face.
610 (smerge-refined-removed): New face that uses shades of red.
611 (smerge-refined-added): New face that uses shades of green.
612 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
613 args `props-r' and `props-a', and use them. Doc fix.
614 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
615 on its value use different faces `smerge-refined-change',
616 `smerge-refined-removed', `smerge-refined-added' in the call to
617 `smerge-refine-subst'.
619 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
620 Add face condition `min-colors 88' with shades of red.
621 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
622 `min-colors 88' with shades of green.
623 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
624 `min-colors 88' with shades of yellow.
626 2012-05-24 Glenn Morris <rgm@gnu.org>
628 * paths.el (prune-directory-list, remote-shell-program): Move to...
629 * files.el (prune-directory-list, remote-shell-program): ...here.
630 For the latter, delay initialization, prefer ssh, just search PATH.
632 * paths.el (term-file-prefix): Move to faces.el (the only user).
633 * faces.el (term-file-prefix): Move here, make it a defcustom.
635 * paths.el (news-directory, news-path, news-inews-program):
636 Move to gnus/nnspool.el.
638 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
640 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
641 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
642 Make the latter a defcustom, with a delayed initialization.
644 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
645 These were deleted from Gnus itself late 2010.
647 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
649 * progmodes/which-func.el (which-func-ff-hook):
650 Check against user-error, not error.
652 * emacs-lisp/edebug.el (top): Do not load or set up loading of
653 cl-specs.el, which no longer exists.
655 2012-05-22 Glenn Morris <rgm@gnu.org>
657 * info.el (info-emacs-bug): New command.
658 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
659 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
661 2012-05-21 Glenn Morris <rgm@gnu.org>
663 * makefile.w32-in (update-subdirs-SH):
664 * Makefile.in (update-subdirs): Update for moved update-subdirs.
666 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
668 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
670 * progmodes/compile.el (compilation-error-regexp-alist-alist):
671 Simplify Maven regexp, and make sure the file can't start with a space
674 2012-05-21 Glenn Morris <rgm@gnu.org>
676 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
677 Scrap superfluous subshells.
679 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
681 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
682 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
684 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
686 * calc/calc.el (calc-ensure-consistent-units): New variable.
688 * calc/calc-units.el (math-consistent-units-p)
689 (math-check-unit-consistency): New functions.
690 (calc-quick-units, calc-convert-units):
691 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
693 (calc-extract-units): Fix typo.
695 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
697 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
699 * textmodes/flyspell.el: Commenting style, plus code simplifications.
700 (flyspell-default-deplacement-commands): Don't spell check after
701 repeated window/frame switches (e.g. triggered by mouse-movement).
702 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
703 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
704 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
705 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
707 (flyspell-get-casechars, flyspell-get-not-casechars):
708 Simplify; Don't bother removing a ] just to add it back.
709 * textmodes/ispell.el (ispell-program-name): Use executable-find.
711 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
713 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
715 (math-function-table): Add support for more C functions.
717 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
719 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
720 (flyspell-debug-signal-word-checked): Protect delay handling for
721 otherchars against empty otherchars.
723 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
725 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
726 their respective macro declarations.
727 * skeleton.el (define-skeleton):
728 * progmodes/compile.el (define-compilation-mode):
729 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
730 (define-ibuffer-filter):
731 * emacs-lisp/generic.el (define-generic-mode):
732 * emacs-lisp/easy-mmode.el (define-minor-mode)
733 (define-globalized-minor-mode):
734 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
735 * emacs-lisp/byte-run.el (defsubst):
736 * custom.el (deftheme): Add doc-string metadata.
738 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
740 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
742 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
744 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
746 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
747 * emacs-lisp/cl-macs.el: Idem.
748 * emacs-lisp/cl-specs.el: Remove.
750 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
752 Minor renaming of internal CL functions and variables.
753 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
754 (cl--position): Rename from cl-position.
755 (cl--delete-duplicates): Rename from cl-delete-duplicates.
756 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
757 (cl--random-state): Rename from *random-state*.
759 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
761 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
762 parens around the arg list (bug#11499).
764 2012-05-17 Juri Linkov <juri@jurta.org>
766 * isearch.el (word-search-regexp, word-search-backward)
767 (word-search-forward, word-search-backward-lax)
768 (word-search-forward-lax): Move functions from search.c
769 (bug#10145, bug#11381).
771 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
773 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
774 (flyspell-debug-signal-word-checked): Delay for otherchars as for
775 normal word components.
777 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
779 * minibuffer.el (completion--sifn-requote): Fix last change.
780 (minibuffer-local-must-match-filename-map):
781 Move define-obsolete-variable-alias before its var.
783 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
785 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
787 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
789 (completion--string-equal-p): New function.
790 (completion--twq-all): Use it to get better assertion failure data.
792 Only handle ".." and '..' quoting in shell-mode (bug#11466).
793 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
794 (shell--requote-argument): New functions.
795 (shell-completion-vars): Use them.
796 (shell--parse-pcomplete-arguments): Rename from
797 shell-parse-pcomplete-arguments.
798 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
799 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
800 Obey comint-file-name-quote-list.
802 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
803 (smie-indent-keyword): Use it.
805 2012-05-14 Stefan Merten <smerten@oekonux.de>
807 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
809 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
811 * net/rlogin.el (rlogin-mode-map): Fix last change.
813 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
815 * mail/smtpmail.el (smtpmail-send-command): Send the command and
816 the following \r\n using a single `process-send-string', since the
817 Lotus SMTP server refuses to accept any commands if they are sent
818 with two `process-send-string's (Bug#11444).
820 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
822 * shell.el (shell-parse-pcomplete-arguments):
823 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
825 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
827 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
828 (image-transform-scale, image-transform-right-angle-fudge): New vars.
829 (image-transform-width, image-transform-fit-width): New functions.
830 (image-transform-properties): Use them.
831 (image-transform-check-size): New function.
832 (image-toggle-display-image): Use it (for testing).
833 (image-transform-set-rotation): Reduce angle mod 360.
834 Delete obsolete comment.
836 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
838 * image-mode.el: Fix scaling (bug#11399).
839 (image-transform-resize): Doc fix.
840 (image-transform-properties): Default scale is 1 and height should
843 2012-05-13 Johan Bockgård <bojohan@gnu.org>
845 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
846 than hard-coding `car', to fix misbehavior when moving forward.
848 2012-05-13 Chong Yidong <cyd@gnu.org>
850 * emacs-lisp/tabulated-list.el (tabulated-list-format)
851 (tabulated-list-entries, tabulated-list-padding)
852 (tabulated-list-sort-key): Make permanent-local.
854 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
855 (electric-buffer-list): Put electric buffer menu
856 command descriptions in this docstring, instead of the docstring
857 of electric-buffer-menu-mode. Code cleanups.
858 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
859 Electric-buffer-menu-mode.
860 (electric-buffer-update-highlight): Minor code cleanup.
862 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
864 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
867 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
869 Move define-obsolete-variable-alias before the var's definition.
870 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
871 * tooltip.el (tooltip-hook):
872 * textmodes/reftex-toc.el (reftex-toc-map):
873 * textmodes/reftex-sel.el (reftex-select-label-map)
874 (reftex-select-bib-map):
875 * textmodes/reftex-index.el (reftex-index-map)
876 (reftex-index-phrases-map):
877 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
878 * progmodes/meta-mode.el (meta-mode-map):
879 * novice.el (disabled-command-hook):
880 * loadhist.el (unload-hook-features-list):
881 * frame.el (blink-cursor):
882 * files.el (find-file-not-found-hooks, write-file-hooks)
883 (write-contents-hooks):
884 * emulation/tpu-edt.el (GOLD-map):
885 * emacs-lock.el (emacs-lock-from-exiting):
886 * emacs-lisp/generic.el (generic-font-lock-defaults):
887 * emacs-lisp/chart.el (chart-map):
888 * dos-fns.el (register-name-alist):
889 * dired-x.el (dired-omit-files-p):
890 * desktop.el (desktop-enable):
891 * cus-edit.el (custom-mode-hook):
892 * buff-menu.el (buffer-menu-mode-hook):
893 * bookmark.el (bookmark-read-annotation-text-func)
894 (bookmark-exit-hooks):
895 * allout.el (allout-mode-deactivate-hook)
896 (allout-exposure-change-hook, allout-structure-added-hook)
897 (allout-structure-deleted-hook, allout-structure-shifted-hook):
898 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
899 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
900 comes before the corresponding variable's definition.
902 2012-05-12 Chong Yidong <cyd@gnu.org>
904 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
905 (Buffer-menu-mouse-select): Restore function (Bug#11459).
906 (Buffer-menu-mode-map): Bind it.
907 (Buffer-menu--pretty-name): Add a mouse-face property.
909 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
911 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
912 (prolog-upper-case-string, prolog-lower-case-string)
913 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
914 (prolog-use-smie, prolog-smie-grammar): New vars.
915 (prolog-smie-forward-token, prolog-smie-backward-token)
916 (prolog-smie-rules): New funs.
917 (prolog-comment-indent): Remove.
918 (prolog-mode-variables): Use default comment indentation instead.
920 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
921 (prolog-mode): Don't call them any more.
922 (prolog-electric-colon, prolog-electric-dash)
923 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
925 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
927 * minibuffer.el (completion--twq-all): Again, allow case differences.
929 * term.el: Move keymap initialization code to be more idiomatic.
930 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
931 (term-terminal-menu): Move initialization into declaration.
932 (term-escape-char): Let the user set it in her .emacs.
934 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
935 Provide SMIE-based indentation (not enabled by default yet).
936 (sh-mode-map): Don't bind electric keys.
937 Use electric-pair-mode instead of skeleton-pair.
938 (sh-assignment-regexp): Fit within 80 columns.
939 (sh-indent-supported): Specify actual shell name instead of boolean.
940 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
941 (sh-maybe-here-document): Use it. Make obsolete.
942 (sh-electric-here-document-mode) New minor mode.
943 (sh-mode): Use it. Don't set sh-indent-supported-here here.
944 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
945 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
946 (sh-smie-rc-grammar, sh-use-smie): New vars.
947 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
948 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
949 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
950 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
951 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
952 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
953 (sh-set-shell): Use smie-setup if requested.
955 * term.el (term-set-escape-char): Properly set term-escape-char.
956 See http://stackoverflow.com/questions/10524656.
958 2012-05-10 Chong Yidong <cyd@gnu.org>
960 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
961 Use url-generic-parse-url, and handle host names and Windows
963 (ffap-url-unwrap-remote): Use url-generic-parse-url.
964 (ffap-url-unwrap-remote): Accept list values, specifying a list of
965 URL schemes to work on.
966 (ffap--toggle-read-only): New function.
967 (ffap-read-only, ffap-read-only-other-window)
968 (ffap-read-only-other-frame): Use it.
969 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
970 necessary for ffap-url-unwrap-remote.
972 2012-05-10 Dave Abrahams <dave@boostpro.com>
974 * cus-start.el (create-lockfiles): Add it.
976 2012-05-09 Chong Yidong <cyd@gnu.org>
978 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
979 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
981 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
983 * shell.el (shell-completion-vars): Fix last change (bug#11348).
985 2012-05-09 Chong Yidong <cyd@gnu.org>
987 * ansi-color.el (ansi-color-process-output): Check for validity of
988 comint-last-output-start before using it. This avoids a bad
989 interaction with gdb-mi's input/output buffer.
991 2012-05-09 Glenn Morris <rgm@gnu.org>
993 * files.el (dir-locals-read-from-file):
994 Mention dir-locals in any error message.
996 2012-05-09 Chong Yidong <cyd@gnu.org>
998 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1001 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1002 variables into description.
1004 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1007 shell-delimiter-argument-list (bug#11348).
1008 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1010 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1012 * textmodes/rst.el: Silence byte-compiler warnings.
1013 (rst-re-alist, rst-reset-section-caches): Move around.
1014 (rst-re): Use `characterp', not `char-valid-p'.
1015 (font-lock-beg, font-lock-end): Declare.
1017 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1018 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1020 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1022 2012-05-08 Glenn Morris <rgm@gnu.org>
1024 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1026 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * vc/log-edit.el: Add GNU coding standards highlighting.
1029 (log-edit-font-lock-gnu-style)
1030 (log-edit-font-lock-gnu-keywords): New vars.
1031 (log-edit-font-lock-keywords): New fun.
1032 (log-edit-mode): Don't fold case in font-lock.
1033 (log-edit-font-lock-keywords): Do not assume case-folding.
1035 * imenu.el: Misc cleanup. Make docstrings out of comments.
1036 Use lexical-binding.
1037 (imenu--index-alist, imenu--last-menubar-index-alist)
1038 (imenu-menubar-modified-tick): Use defvar-local.
1039 (imenu--split-menu): Remove unused var.
1040 (imenu--cleanup-seen): Declare as global.
1041 (imenu--cleanup): Use dolist.
1043 * subr.el (defvar-local): Add debug spec and doc-string position.
1045 2012-05-08 Glenn Morris <rgm@gnu.org>
1047 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1048 * language/english.el, language/georgian.el, language/greek.el:
1049 * language/japanese.el, language/khmer.el, language/korean.el:
1050 * language/lao.el, language/misc-lang.el, language/romanian.el:
1051 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1052 * language/thai.el, language/utf-8-lang.el:
1053 Remove no-byte-compile setting.
1055 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1057 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1059 * progmodes/make-mode.el (makefile-browse):
1060 Remove unnecessary interactive. (Bug#11324)
1062 2012-05-07 Glenn Morris <rgm@gnu.org>
1064 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1066 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1068 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * loadup.el: Preload newcomment.el.
1071 * newcomment.el: Move autoload-only code to toplevel.
1073 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1074 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1075 Handle new :right-align column property.
1076 (tabulated-list-print-col): Idem, plus use `display' text-property to
1077 try and preserve alignment for variable pitch fonts.
1079 2012-05-07 Chong Yidong <cyd@gnu.org>
1081 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1082 (tabulated-list-use-header-line): New var.
1083 (tabulated-list-init-header): Use it.
1084 (tabulated-list-print-fake-header): New function.
1085 (tabulated-list-print): Use it.
1086 (tabulated-list-sort-button-map): Add non-header-line commands.
1087 (tabulated-list-init-header): Add column name property to basic
1089 (tabulated-list-col-sort): Handle non-header-line button case.
1090 (tabulated-list--sort-by-column-name): Fix a corner case.
1092 * buff-menu.el (list-buffers--refresh):
1093 Handle Buffer-menu-use-header-line.
1095 2012-05-06 Chong Yidong <cyd@gnu.org>
1097 * buff-menu.el: Convert to Tabulated List mode.
1098 (Buffer-menu-buffer+size-width): Make obsolete.
1099 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1100 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1101 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1102 documentation into docstring of buffer-menu.
1103 (Buffer-menu-toggle-files-only): Add an informative message.
1104 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1105 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1106 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1107 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1108 (Buffer-menu-execute, Buffer-menu-select)
1109 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1110 (Buffer-menu-bury): Use Tabulated List machinery.
1111 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1112 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1114 (list-buffers--refresh): New function.
1115 (list-buffers-noselect): Use it.
1116 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1117 (Buffer-menu--pretty-file-name): New helper functions.
1119 * loadup.el: Preload tabulated-list.
1121 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1122 tabulated-list-sort-column.
1123 (tabulated-list-init-header): Add the initial aligning space even
1124 if tabulated-list-padding is zero.
1126 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1128 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1129 whose cdr is not a cons cell correctly (bug#11038).
1131 2012-05-06 Chong Yidong <cyd@gnu.org>
1133 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1134 Accept additional plist in column descriptors.
1135 (tabulated-list-init-header): Obey it.
1136 (tabulated-list-get-entry): New function.
1137 (tabulated-list-put-tag): Use it. Use string-width instead of
1139 (tabulated-list--column-number): New function.
1140 (tabulated-list-print): Use it.
1141 (tabulated-list-print-col): New function.
1142 Set `tabulated-list-column-name' property on each column's text.
1143 (tabulated-list-print-entry): Use it.
1144 (tabulated-list-delete-entry, tabulated-list-set-col):
1146 (tabulated-list-sort-column): New command (Bug#11337).
1148 * buff-menu.el (list-buffers): Move C-x C-b binding from
1149 buff-menu.el to bindings.el.
1151 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1152 :advertised-binding feature.
1154 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1156 * progmodes/compile.el (compilation-internal-error-properties):
1157 Calculate start position correctly when end-col is set but
1158 end-line is not (Bug#11382).
1160 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1162 * man.el (Man-unindent): Use text-property-default-nonsticky to
1163 prevent untabify from inheriting face properties (Bug#11408).
1165 2012-05-05 Stefan Merten <smerten@oekonux.de>
1167 * textmodes/rst.el: Major merge with upstream development up to
1168 Docutils SVN r7399 / rst.el V1.2.1.
1170 Clarify maintainership and authors.
1172 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1173 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1174 (rst-official-version, rst-official-cvs-rev, rst-version)
1175 (rst-package-emacs-version-alist): New functions and variables
1176 for version information.
1178 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1179 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1180 (rst-mode-syntax-table, rst-mode): New and corrected functions
1181 and variables representing reStructuredText features.
1183 (rst-re): New function for reStructuredText regexes. Use in
1186 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1187 (rst-mode-map): Rebind keys.
1189 (rst-mode-lazy, rst-font-lock-keywords)
1190 (rst-font-lock-extend-region)
1191 (rst-font-lock-extend-region-internal)
1192 (rst-font-lock-extend-region-extend)
1193 (rst-font-lock-find-unindented-line-limit)
1194 (rst-font-lock-find-unindented-line-match)
1195 (rst-adornment-level, rst-font-lock-adornment-level)
1196 (rst-font-lock-adornment-match)
1197 (rst-font-lock-handle-adornment-pre-match-form)
1198 (rst-font-lock-handle-adornment-matcher): Major revision of
1199 font-locking. Integrate with other code. Use `jit-lock-mode'.
1201 (rst-preferred-adornments, rst-adjust-hook)
1202 (rst-new-adornment-down, rst-preferred-bullets)
1203 (rst-preferred-bullets, rst-indent, rst-indent-width)
1204 (rst-indent-field, rst-indent-literal-normal)
1205 (rst-indent-literal-minimized, rst-indent-comment): Change,
1206 extend and improve customization.
1208 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1209 (rst-normalize-cursor-position, rst-get-decoration)
1210 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1211 (rst-rstrip, rst-toc-insert-find-delete-contents)
1212 (rst-shift-fill-region, rst-compute-bullet-tabs)
1213 (rst-debug-print-tabs, rst-debug-mark-found)
1214 (rst-shift-region-guts, rst-shift-region-right)
1215 (rst-shift-region-left, rst-use-char-classes)
1216 (rst-font-lock-keywords-function)
1217 (rst-font-lock-indentation-point)
1218 (rst-font-lock-find-unindented-line-begin)
1219 (rst-font-lock-find-unindented-line-end)
1220 (rst-font-lock-find-unindented-line)
1221 (rst-font-lock-adornment-point, rst-font-lock-level)
1222 (rst-adornment-level-alist): Remove functions and variables.
1224 (rst-compare-adornments, rst-get-adornment-match)
1225 (rst-suggest-new-adornment, rst-get-adornments-around)
1226 (rst-adornment-complete-p, rst-get-next-adornment)
1227 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1228 (rst-straighten-adornments): Standardize function names to
1229 use "adornment" instead of "decoration". Correct callers.
1230 Similar standardizing in many places.
1232 (rst-update-section, rst-adjust, rst-promote-region)
1233 (rst-enumerate-region, rst-bullet-list-region)
1234 (rst-repeat-last-character): Correct use of `interactive'.
1236 (rst-classify-adornment, rst-find-all-adornments)
1237 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1238 (rst-find-leftmost-column, rst-repeat-last-character):
1241 (rst-find-title-line, rst-reset-section-caches)
1242 (rst-get-adornments-around, rst-adjust-adornment-work)
1243 (rst-arabic-to-roman, rst-roman-to-arabic)
1244 (rst-insert-list-pos, rst-insert-list-new-item)
1245 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1248 (rst-all-sections, rst-section-hierarchy)
1249 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1252 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1253 configuration instead of only buffer. Change where necessary.
1255 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1256 (rst-shift-region, rst-adaptive-fill): New functions for
1257 indentation and filling.
1259 (rst-comment-line-break, rst-comment-indent)
1260 (rst-comment-insert-comment, rst-comment-region)
1261 (rst-uncomment-region): New functions for handling comments.
1263 (rst-compile): Quote shell arguments.
1265 (rst-compile-pdf-preview, rst-compile-slides-preview):
1266 Delete temporary files after use.
1268 2012-05-05 Glenn Morris <rgm@gnu.org>
1270 * calendar/cal-html.el: Optionally include holidays in the output.
1271 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1272 (cal-html-holidays): New option.
1273 (cal-html-css-default): Add holiday entry.
1274 (holiday-in-range): Autoload it.
1275 (cal-html-htmlify-entry): Add optional class argument.
1276 (cal-html-htmlify-list): Add optional holidays argument.
1277 (cal-html-insert-agenda-days): Include holidays in the output.
1278 (cal-html-one-month): Maybe include holidays.
1280 * calendar/holidays.el (holiday-in-range):
1281 Move here from cal-tex-list-holidays.
1282 * calendar/cal-tex.el (cal-tex-list-holidays):
1283 Make it an obsolete alias for holiday-in-range. Update all callers.
1285 2012-05-05 Chong Yidong <cyd@gnu.org>
1287 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1290 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1292 * files.el (file-auto-mode-skip): New var.
1293 (set-auto-mode-1): Use it.
1295 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * repeat.el: Use lexical-binding.
1298 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1299 (repeat-undo-count): Remove.
1301 * progmodes/octave-mod.el (octave-abbrev-start):
1302 * progmodes/f90.el (f90-abbrev-start):
1303 * face-remap.el (text-scale-adjust):
1304 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1306 * emacs-lisp/pcase.el (pcase--let*): New function.
1307 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1309 (pcase--split-pred): Be more clever about ruling out overlap between
1310 a predicate and some constant pattern.
1311 (pcase--q1): Use `null' instead of (eq foo nil).
1313 * subr.el (setq-local, defvar-local): New macros.
1314 (kbd): Redefine as an alias.
1315 (with-selected-window): Leave unrelated frames alone.
1316 (set-temporary-overlay-map): New function.
1318 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * subr.el (user-error): New function.
1321 * window.el (switch-to-buffer):
1322 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1323 (smerge-match-conflict):
1324 * simple.el (previous-matching-history-element)
1325 (next-matching-history-element, goto-history-element, undo-more)
1327 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1328 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1329 (next-file, tags-loop-scan, list-tags, complete-tag):
1330 * progmodes/compile.el (compilation-loop):
1331 * mouse.el (mouse-minibuffer-check):
1332 * man.el (Man-bgproc-sentinel, Man-goto-page):
1333 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1334 (Info-history-forward, Info-follow-reference, Info-menu)
1335 (Info-extract-menu-item, Info-extract-menu-counting)
1336 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1337 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1338 (Info-next-reference, Info-prev-reference, Info-index)
1339 (Info-index-next, Info-follow-nearest-node)
1340 (Info-copy-current-node-name):
1341 * imenu.el (imenu--make-index-alist)
1342 (imenu-default-create-index-function, imenu-add-to-menubar):
1343 * files.el (basic-save-buffer, recover-file):
1344 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1345 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1346 (checkdoc-message-text, checkdoc-defun):
1347 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1348 * cus-edit.el (customize-changed-options, customize-rogue)
1349 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1350 (custom-variable-mark-to-reset-standard)
1351 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1353 * completion.el (check-completion-length):
1354 * comint.el (comint-search-arg)
1355 (comint-previous-matching-input-string-position)
1356 (comint-previous-matching-input)
1357 (comint-replace-by-expanded-history-before-point, comint-send-input)
1358 (comint-copy-old-input, comint-backward-matching-input)
1359 (comint-goto-process-mark, comint-set-process-mark):
1360 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1361 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1363 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * dabbrev.el (dabbrev--ignore-case-p): New function.
1366 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1369 * files.el (automount-dir-prefix): Mark as obsolete.
1371 2012-05-04 Glenn Morris <rgm@gnu.org>
1373 * patcomp.el, play/bruce.el: Move to obsolete/.
1375 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1377 Fix minor Y10k bugs.
1378 * arc-mode.el (archive-unixdate):
1379 * autoinsert.el (auto-insert-alist):
1380 * calc/calc-forms.el (math-this-year):
1381 * emacs-lisp/copyright.el (copyright-current-year)
1382 (copyright-update-year, copyright):
1383 * tar-mode.el (tar-clip-time-string):
1384 * time.el (display-time-update):
1385 Don't assume years have 4 digits.
1387 2012-05-04 Chong Yidong <cyd@gnu.org>
1389 * dos-w32.el (file-name-buffer-file-type-alist)
1390 (direct-print-region-use-command-dot-com):
1391 * ffap.el (ffap-menu-regexp):
1392 * find-file.el (ff-special-constructs):
1393 * follow.el (follow-debug):
1394 * forms.el (forms--debug):
1395 * iswitchb.el (iswitchb-all-frames):
1396 * ido.el (ido-all-frames):
1397 * emacs-lisp/timer.el (timer-max-repeats):
1398 * mail/feedmail.el (feedmail-mail-send-hook)
1399 (feedmail-mail-send-hook-queued):
1400 * mail/footnote.el (footnote-signature-separator):
1401 * mail/mailabbrev.el (mail-alias-separator-string)
1402 (mail-abbrev-mode-regexp):
1403 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1404 * progmodes/idlwave.el (idlwave-libinfo-file)
1405 (idlwave-default-completion-case-is-down)
1406 (idlwave-library-routines): Convert defvars to defcustoms.
1408 * mail/rmail.el (rmail-decode-mime-charset):
1409 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1410 (idlwave-shell-fix-inserted-breaks)
1411 (idlwave-shell-activate-alt-keybindings)
1412 (idlwave-shell-use-breakpoint-glyph):
1413 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1415 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1419 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1421 * progmodes/verilog-mode.el (font-lock-keywords):
1422 Fix mis-highligting auto. Reported by Craig Barner.
1423 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1424 defines from global name space. Reported by Dan Dever.
1425 (verilog-auto-reset, verilog-auto-reset-widths)
1426 (verilog-auto-tieoff): Support using unbased numbers for
1427 AUTORESET and AUTOTIEOFF.
1428 (verilog-submit-bug-report): Update variable list.
1429 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1430 parenthesis from not matching. Reported by Michael Rytting.
1431 (verilog-auto-template-lint): Fix hash error when linting modules
1432 with no used templates.
1433 (verilog-warn, verilog-warn-error)
1434 (verilog-warn-fatal): When non-interactive report multiple
1435 warnings before exiting. Suggested by Brad Dobbie.
1436 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1437 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1438 to report unused template errors. Reported by Brad Dobbie.
1439 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1440 nets, bug438. Reported by Vns Blore.
1441 (verilog-auto-inout-module, verilog-auto-reg)
1442 (verilog-read-decls, verilog-read-sub-decls-sig)
1443 (verilog-signals-edit-wire-reg, verilog-signals-with):
1444 Fix passing of Verilog data types in ANSI input/output ports
1445 such as "output logic" into the AUTOs. Special case "wire" and
1446 "reg" for backwards compatibility presuming Verilog 2001.
1447 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1448 (verilog-preprocess): Fix replication of preprocess output.
1449 Reported by Brad Dobbie.
1450 (verilog-auto-inst-interfaced-ports):
1451 Create verilog-auto-inst-interfaced-ports, bug429.
1452 Reported by Julian Gorfajn.
1453 (verilog-after-save-font-hook)
1454 (verilog-before-save-font-hook): New variable.
1455 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1456 (verilog-save-font-mods): Wrap disabling fontification, reported
1458 (verilog-do-indent, verilog-pretty-declarations-auto)
1459 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1460 Reported by Pierre-David Pfister.
1461 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1462 of class declarations, bug292. Reported by Kevin Heilman.
1463 (verilog-read-decls): Fix 'parameter type' not appearing in
1464 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1465 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1466 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1467 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1468 Reported by David Kravitz.
1470 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1472 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1473 assignment with tests in ifs and for loops.
1474 (verilog-extended-complete-re, verilog-complete-reg): Change so
1475 that DPI inport functions don't look like fuction declarations.
1476 (verilog-pretty-expr): Don't line up assignment
1477 operations to the test and increment in if and for loops
1478 (verilog-extended-complete-re, verilog-complete-reg): Change so
1479 that DPI inport functions don't look like fuction declarations
1481 2012-05-03 Kenichi Handa <handa@m17n.org>
1483 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1484 decoding, and show a warning message without signaling an error
1487 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * emacs-lisp/bytecomp.el
1490 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1491 since cconv.el might have introduced :fun-body, internal-make-closure,
1492 and friends for bytecomp to handle (bug#11391).
1493 * custom.el (defcustom): Avoid ((λ ..) ..).
1495 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1499 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1501 * notifications.el (dbus-debug):
1502 * term/linux.el (gpm-mouse-enable):
1503 * term/screen.el (xterm-register-default-colors): Declare.
1505 2012-05-02 Chong Yidong <cyd@gnu.org>
1507 * cus-start.el (gc-cons-percentage, exec-suffixes)
1508 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1509 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1510 (make-cursor-line-fully-visible, void-text-area-pointer)
1511 (font-list-limit): Add customization data.
1513 * allout.el (allout-exposure-change-functions)
1514 (allout-structure-added-functions)
1515 (allout-structure-deleted-functions)
1516 (allout-structure-shifted-functions): Rename abnormal hooks from
1517 *-hook, and convert to defcustoms.
1518 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1519 Convert to defcustoms.
1520 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1522 * allout-widgets.el: Hook callers changed.
1524 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1526 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1527 the yanked message in preference to the default value of
1528 buffer-file-coding-system.
1530 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1532 * window.el (display-buffer--action-function-custom-type):
1535 2012-05-02 Alan Mackenzie <acm@muc.de>
1537 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1539 2012-05-01 Glenn Morris <rgm@gnu.org>
1541 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1543 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1545 * cus-edit.el (custom-variable-documentation): Simplify with format.
1547 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1548 Stefan Monnier <monnier@iro.umontreal.ca>
1550 * simple.el (suggest-key-bindings, execute-extended-command):
1551 Move from keyboard.c.
1553 2012-05-01 Chong Yidong <cyd@gnu.org>
1555 * follow.el: Eliminate advice.
1556 (set-process-filter, process-filter, sit-for): Advice deleted.
1557 (follow-mode-off-hook): Obsolete hook removed.
1558 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1560 (follow-auto): Use a :set function.
1561 (follow-mode): Rewritten. Don't advise process filters.
1562 (follow-switch-to-current-buffer-all, follow-scroll-up)
1563 (follow-scroll-down): Assume follow-mode is bound.
1564 (follow-comint-scroll-to-bottom)
1565 (follow-align-compilation-windows): New functions.
1566 (follow--window-sorter): New function.
1567 (follow-all-followers): Use it to explicitly sort windows by their
1568 positions; don't make assumptions about next-window order.
1569 (follow-windows-start-end, follow-delete-other-windows-and-split)
1570 (follow-calc-win-start): Doc fix.
1571 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1572 vertical-motion unnecessarily.
1573 (follow-adjust-window): New function.
1574 (follow-post-command-hook): Use it.
1575 (follow-call-set-process-filter, follow-call-process-filter)
1576 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1577 (follow-stop-intercept-process-output, follow-generic-filter):
1579 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1580 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1581 New functions, replacing advice on scroll-bar-* commands.
1582 (follow-mwheel-scroll): New function (Bug#4112).
1584 * comint.el (comint-adjust-point): New function.
1585 (comint-postoutput-scroll-to-bottom): Use it.
1586 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1588 2012-05-01 Glenn Morris <rgm@gnu.org>
1590 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1591 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1592 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1593 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1594 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1595 Remove no-byte-compile setting.
1597 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1600 all-completions code to not return a number in the last cdr.
1602 2012-04-30 Leo Liu <sdl.web@gmail.com>
1604 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1607 2012-04-29 Chong Yidong <cyd@gnu.org>
1609 * follow.el (follow-calc-win-end): Rewrite to handle partial
1610 screen lines correctly (Bug#8390).
1611 (follow-avoid-tail-recenter): Minor cleanup.
1613 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1615 Avoid the obsolete `assoc' package.
1616 * speedbar.el (speedbar-refresh): Avoid adelete.
1617 (speedbar-file-lists): Simplify and avoid aput.
1618 * man.el (Man--sections, Man--refpages): New vars, replacing
1619 Man-sections-alist and Man-refpages-alist.
1620 (Man-build-section-alist, Man-build-references-alist):
1621 Use them; avoid aput.
1622 (Man--last-section, Man--last-refpage): New vars.
1623 (Man-follow-manual-reference): Use them.
1624 Use the `default' arg of completing-read.
1625 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1627 2012-04-27 Chong Yidong <cyd@gnu.org>
1629 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1631 * startup.el (x-apply-session-resources): New function.
1633 * term/ns-win.el (ns-initialize-window-system):
1634 * term/w32-win.el (w32-initialize-window-system):
1635 * term/x-win.el (x-initialize-window-system): Use it to properly
1636 set menu-bar-mode and other vars from X resources, even if the
1637 initial frame is not a window-system frame (Bug#2299).
1639 * subr.el (read-key): Avoid running filter function when setting
1640 up temporary tool bar entries (Bug#9922).
1642 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1644 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1647 2012-04-27 Chong Yidong <cyd@gnu.org>
1649 * select.el (xselect--encode-string): New function, split from
1650 xselect-convert-to-string.
1651 (xselect-convert-to-string): Use it.
1652 (xselect-convert-to-filename, xselect-convert-to-os)
1653 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1654 returned strings are properly encoded (Bug#11315).
1656 2012-04-27 Chong Yidong <cyd@gnu.org>
1658 * simple.el (delete-active-region): Move to killing custom group.
1660 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1662 * progmodes/which-func.el (which-func-current): Quote %
1663 characters for mode-line processing.
1665 2012-04-27 Chong Yidong <cyd@gnu.org>
1667 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1668 reaching eob (Bug#11286).
1670 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1672 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1673 (gdb): Make it buffer-local and init to zero.
1674 (gdb-control-commands-regexp): New variable.
1675 (gdb-send): Don't wrap in "-interpreter-exec console" if
1676 gdb-control-level is positive. Increment gdb-control-level
1677 whenever the command matches gdb-control-commands-regexp, and
1678 decrement it each time the command is "end". (Bug#11279)
1680 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1682 * window.el (adjust-window-trailing-edge, enlarge-window)
1683 (shrink-window, window-resize):
1684 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1685 windows (Bug#11276).
1687 2012-04-27 Chong Yidong <cyd@gnu.org>
1689 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1690 fix "missing prefix" warning. All callers changed.
1692 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * emacs-lisp/assoc.el: Move to obsolete/.
1696 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1700 * term/ns-win.el (ns-define-service):
1701 * progmodes/pascal.el (pascal-goto-defun):
1702 * progmodes/js.el (js--read-tab):
1703 * progmodes/etags.el (tags-lazy-completion-table):
1704 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1705 * emacs-lisp/ewoc.el (ewoc--wrap):
1706 * emacs-lisp/assoc.el (aput, adelete, amake):
1707 * doc-view.el (doc-view-convert-current-doc):
1708 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1710 2012-04-26 Chong Yidong <cyd@gnu.org>
1712 * image.el (image-type-from-buffer): Only return supported image
1715 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1716 value, for symmetry with diff-end-of-hunk.
1717 (diff-split-hunk, diff-find-source-location)
1718 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1719 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1720 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1721 compute the relevant hunk or file properly (Bug#6005).
1722 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1724 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * vc/vc.el: Replace lexical-let by lexical-binding.
1734 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1735 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1736 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1738 2012-04-26 Chong Yidong <cyd@gnu.org>
1740 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1741 (diff-mode-shared-map): Bind it to / and [remap undo].
1743 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1744 (ediff-window-setup-function): Use it as the default, to set up
1745 windows based on whether the current frame is graphical (Bug#2138).
1746 (ediff-choose-window-setup-function-automatically): Make obsolete.
1748 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1750 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * ffap.el: Remove old code for obsolete package.
1753 (ffap-complete-as-file-p): Remove.
1755 Use completion-table-with-quoting for comint and pcomplete.
1756 * comint.el (comint--unquote&requote-argument)
1757 (comint--unquote-argument, comint--requote-argument): New functions.
1758 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1759 (comint-quote-filename): Use regexp-opt-charset.
1760 (comint--common-suffix, comint--common-quoted-suffix)
1761 (comint--table-subvert): Remove.
1762 (comint-unquote-function, comint-requote-function): New vars.
1763 (comint--complete-file-name-data): Use them with
1764 completion-table-with-quoting.
1765 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1766 * pcomplete.el (pcomplete-arg-quote-list)
1767 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1768 (pcomplete-unquote-argument-function): Default to non-nil.
1769 (pcomplete-unquote-argument): Simplify.
1770 (pcomplete--common-quoted-suffix): Remove.
1771 (pcomplete-requote-argument-function): New var.
1772 (pcomplete--common-suffix): New function.
1773 (pcomplete-completions-at-point): Use completion-table-with-quoting
1774 and completion-table-subvert.
1776 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1777 (minibuffer--double-dollars): Preserve properties.
1778 (completion--sifn-requote): New function.
1779 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1781 * minibuffer.el: Add support for completion of quoted/escaped data.
1782 (completion-table-with-quoting, completion-table-subvert): New funs.
1783 (completion--twq-try, completion--twq-all): New functions.
1784 (completion--nth-completion): New function.
1785 (completion-try-completion, completion-all-completions): Use it.
1787 2012-04-25 Leo Liu <sdl.web@gmail.com>
1789 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1790 Use compilation-message if available to find real filename.
1792 2012-04-25 Chong Yidong <cyd@gnu.org>
1794 * vc/diff-mode.el (diff-setup-whitespace): New function.
1795 (diff-mode): Use it.
1797 * vc/diff.el (diff-sentinel):
1798 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1799 Whitespace mode variables based on diff style (Bug#8612).
1801 2012-04-25 Leo Liu <sdl.web@gmail.com>
1803 * progmodes/python.el (python-send-region): Add suffix .py to the
1806 * files.el (auto-mode-alist): Use javascript-mode instead.
1808 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1810 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1812 * soap-client.el (soap-resolve-references-for-sequence-type)
1813 (soap-resolve-references-for-array-type): Hack to prevent self
1814 references, see Bug#9.
1815 (soap-parse-envelope): Report the contents of the 'detail' node
1816 when receiving a fault reply.
1817 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1819 * soap-inspect.el (soap-sample-value-for-simple-type)
1820 (soap-inspect-simple-type): New function.
1822 * soap-client.el (soap-simple-type): New struct.
1823 (soap-default-xsd-types, soap-default-soapenc-types)
1824 (soap-decode-basic-type, soap-encode-basic-type):
1825 support unsignedInt and double basic types.
1826 (soap-resolve-references-for-simple-type)
1827 (soap-parse-simple-type, soap-encode-simple-type): New function.
1828 (soap-parse-schema): Parse xsd:simpleType declarations.
1830 * soap-client.el (soap-default-xsd-types)
1831 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1832 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1833 the local name of "soapenc:Array".
1834 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1835 decoding integer, byte and anyURI xsd types.
1837 2012-04-25 Chong Yidong <cyd@gnu.org>
1839 * cus-edit.el (custom-buffer-create-internal): Update header text.
1841 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1843 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1844 settings on 'system-type', not on 'window-system'. On MS-Windows,
1845 set interactive-mode on in GDB.
1847 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1850 (ruby-syntax-propertize-regexp): Remove.
1851 (ruby-syntax-propertize-function): Split regexp into chunks.
1852 Match following code directly.
1854 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1856 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1857 (ruby-syntax-propertize-regexp): New function.
1858 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1859 by a special keyword.
1861 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1862 (ruby-syntax-general-delimiters-goto-beg)
1863 (ruby-syntax-propertize-general-delimiters): New functions.
1864 (ruby-syntax-propertize-function): Use them to handle GDL.
1865 (ruby-font-lock-keywords): Move old handling of GDL...
1866 (ruby-font-lock-syntactic-keywords): .. to here.
1867 (ruby-calculate-indent): Adjust indentation for GDL.
1869 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1871 * notifications.el (top): Remove unneeded declarations.
1872 (notifications-specification-version): Change to "1.2".
1873 (notifications-interface, notifications-notify-method)
1874 (notifications-close-notification-method): Fix docstring.
1875 (notifications-get-capabilities-method): New defconst.
1876 (notifications-notify): Add :action-items, :resident and
1877 :transient hints. Change "image_data" to "image-data" and
1878 "image_path" to "image-path".
1879 (notifications-get-capabilities): New defun.
1881 2012-04-24 Leo Liu <sdl.web@gmail.com>
1883 * progmodes/python.el: Move hideshow setup to the end.
1885 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1887 * window.el (handle-select-window): Clear echo area since this is
1888 no more done by read_char (Bug#11304).
1890 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1893 and `/ M' to filter-derived-mode.
1894 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1895 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1896 (ibuffer-mark-by-mode): Use default rather than initial-input.
1897 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1899 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1901 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1902 (ibuffer-filter-by-derived-mode): New filter.
1903 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1905 2012-04-23 Andreas Politz <politza@fh-trier.de>
1907 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1909 2012-04-23 Chong Yidong <cyd@gnu.org>
1911 * cus-edit.el (customize-apropos, customize-apropos-options):
1912 Disable matching of non-option variables (Bug#11176).
1913 (customize-option, customize-option-other-window)
1914 (customize-changed-options): Doc fix.
1915 (customize-apropos-options, customize-apropos-faces)
1916 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1918 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1919 Fix word list splitting (Bug#11132).
1920 (apropos-symbol, apropos-keybinding, apropos-label)
1921 (apropos-property, apropos-function-button)
1922 (apropos-variable-button, apropos-misc-button): New faces.
1923 (apropos-symbol-face, apropos-keybinding-face)
1924 (apropos-label-face, apropos-property-face, apropos-match-face):
1925 Variables removed (Bug#8396).
1926 (apropos-library-button, apropos-format-plist, apropos-print)
1927 (apropos-print-doc, apropos-describe-plist): Callers changed.
1929 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1931 * net/xesam.el (xesam-mode-map): Use let-bound map in
1932 initialization. (Bug#11292)
1934 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1936 Preserve ispell session localwords when switching back to
1939 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1940 variable to hold buffer session localwords.
1941 (ispell-kill-ispell): add option 'clear to delete session
1943 (ispell-command-loop, ispell-change-dictionary)
1944 (ispell-buffer-local-words): Preserve session localwords when
1947 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1948 Preserve session localwords when needed.
1950 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1952 * ispell.el (ispell-insert-word) Remove unneeded function using
1953 obsolete `translation-table-for-input'.
1954 (ispell-word, ispell-process-line, ispell-complete-word):
1955 Use plain `insert' instead of removed `ispell-insert-word'.
1957 2012-04-22 Chong Yidong <cyd@gnu.org>
1959 * cus-edit.el (custom-variable-menu)
1960 (custom-variable-reset-saved, custom-face-menu)
1961 (custom-face-reset-saved): If there is no saved value, make the
1962 "reset-saved" operation bring back the default (Bug#9509).
1963 (custom-face-state): Properly detect themed faces.
1965 * faces.el (face-spec-set): Stop supporting deprecated form of
1968 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1970 Move functions from C to Lisp. Make non-blocking method calls
1971 the default. Implement further D-Bus standard interfaces.
1973 * net/dbus.el (dbus-message-internal): Declare function.
1974 Remove unneeded function declarations.
1975 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1976 (dbus-message-type-method-return, dbus-message-type-error)
1977 (dbus-message-type-signal): Declare variables. Remove local
1979 (dbus-interface-dbus, dbus-interface-peer)
1980 (dbus-interface-introspectable, dbus-interface-properties)
1981 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1983 (dbus-interface-objectmanager): New defconst.
1984 (dbus-call-method, dbus-call-method-asynchronously)
1985 (dbus-send-signal, dbus-method-return-internal)
1986 (dbus-method-error-internal, dbus-register-service)
1987 (dbus-register-signal, dbus-register-method): New defuns, moved
1989 (dbus-call-method-handler, dbus-setenv)
1990 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1992 (dbus-call-method-non-blocking): Make it an obsolete function.
1993 (dbus-unregister-object, dbus-unregister-service)
1994 (dbus-handle-event, dbus-register-property)
1995 (dbus-property-handler): Obey the new structure of
1996 `bus-registered-objects'.
1997 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1998 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1999 Use `dbus-call-method'.
2001 2012-04-22 Chong Yidong <cyd@gnu.org>
2003 * cus-edit.el (custom-commands, custom-reset-menu)
2004 (Custom-reset-standard): Tweak labels.
2005 (custom-reset-button-menu): Change default to t.
2006 (custom-buffer-create-internal): For the custom-reset-button-menu
2007 case, put the revert button first.
2008 (custom-group-subtitle): New face.
2009 (custom-group-value-create): Align docstring to a specific column.
2011 * wid-edit.el (widget-documentation-link-add): Don't handle
2012 indentation in this function.
2013 (widget-documentation-string-indent-to): New function.
2014 (widget-documentation-string-value-create): Use it.
2016 * autorevert.el (auto-revert):
2017 * epg-config.el (epg):
2018 * ibuffer.el (ibuffer):
2021 * eshell/eshell.el (eshell):
2022 * net/ange-ftp.el (ange-ftp):
2023 * progmodes/ebnf2ps.el (postscript):
2024 * progmodes/flymake.el (flymake):
2025 * progmodes/prolog.el (prolog):
2026 * progmodes/verilog-mode.el (verilog-mode):
2027 * progmodes/which-func.el (which-func):
2028 * term/xterm.el (xterm):
2029 * textmodes/picture.el (picture):
2030 * textmodes/tildify.el (tildify):
2031 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2032 customization buffers.
2034 2012-04-22 Alan Mackenzie <acm@muc.de>
2036 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2037 Adding a ) can hide the resulting (..) from searches. Fix it.
2038 Bound the backward search to the position of the existing (.
2040 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2042 * progmodes/verilog-mode.el (verilog-mode): Check whether
2043 which-func-modes is t before adding verilog-mode.
2044 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2046 2012-04-21 Leo Liu <sdl.web@gmail.com>
2048 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2050 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2052 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2053 filling of the last column of a table (Bug#5635).
2054 (woman-find-next-control-line): New arg, specifying an additional
2055 regexp component for the control line.
2056 (woman2-roff-buffer): Use it.
2057 (woman-break-table): New function.
2058 (woman2-TS): Use it.
2060 2012-04-21 Chong Yidong <cyd@gnu.org>
2062 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2063 (woman-horizontal-escapes, woman-negative-vertical-space)
2064 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2065 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2067 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * minibuffer.el (completion-file-name-table): Complete user names.
2071 2012-04-20 Leo Liu <sdl.web@gmail.com>
2073 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2076 2012-04-20 Chong Yidong <cyd@gnu.org>
2078 * server.el (server-execute): Respect initial-buffer-choice if it
2079 is a string and there are no files to open (Bug#2825).
2080 (server-create-window-system-frame, server-create-tty-frame):
2081 Don't switch buffers here.
2082 (server-process-filter): Only try to open a window system frame if
2083 compiled with graphical support (Bug#8314).
2085 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2087 * battery.el (battery-echo-area-format): Display remaining time
2088 for sysfs backend too (Bug#11269).
2089 (battery-linux-sysfs): Fix conditional for the charge.
2091 2012-04-20 Chong Yidong <cyd@gnu.org>
2093 * progmodes/gdb-mi.el (gdb): Revert previous change.
2094 (gdb-inferior-io--init-proc): New function.
2095 (gdb-init-1): Use it.
2096 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2097 responsible for allocating a new pty and hooking it to gdb when
2098 the old pty gets an EIO due to process exit.
2099 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2100 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2101 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2103 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2105 * window.el (window-min-size, window-sizable, window-min-delta)
2106 (window-max-delta, window--resizable, window-resizable)
2107 (window-total-size, window-full-height-p, window-full-width-p)
2108 (window-in-direction, window--resize-mini-window, window-resize)
2109 (window--resize-child-windows-normal)
2110 (window--resize-child-windows, window--resize-siblings)
2111 (window--resize-this-window, adjust-window-trailing-edge)
2112 (enlarge-window, shrink-window): Doc fixes.
2114 2012-04-20 Chong Yidong <cyd@gnu.org>
2116 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2117 New function to call delete-process on the gdb-inferior buffer's pty.
2118 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2119 pty process (Bug#11273).
2120 (gdb-update): New arg to suppress talking to the gdb process.
2121 (gdb-done-or-error): Use it.
2122 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2123 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2124 sentinel not being called.
2126 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2128 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2130 2012-04-20 Glenn Morris <rgm@gnu.org>
2132 * net/network-stream.el (open-network-stream): Doc fix.
2134 2012-04-20 Chong Yidong <cyd@gnu.org>
2136 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2138 2012-04-20 Alan Mackenzie <acm@muc.de>
2140 Ensure searching for keywords is case sensitive.
2142 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2143 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2144 (c-defun-name, c-mark-function, c-cpp-define-name)
2145 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2146 (c-context-line-break): Bind case-fold-search to nil.
2148 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2149 Bind case-fold-search to nil.
2151 2012-04-20 Chong Yidong <cyd@gnu.org>
2153 * mail/sendmail.el (mail-bury): Call return action with the right
2154 Rmail buffer (Bug#11242).
2156 * server.el (server-process-filter): Handle corner case where both
2157 tty and nowait options are present (Bug#11102).
2159 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2161 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2162 (top level): Put into the executable the ident-style '$Id:' tag on
2165 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * electric.el (electric-indent-post-self-insert-function): Check that
2168 electric-indent-mode is enabled in current buffer.
2170 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2172 * imenu.el (imenu-progress-message): Restore; it is "used" in
2173 erc/erc-imenu.el and net/snmp-mode.el.
2175 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2177 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2178 (mouse-avoidance-nudge-mouse): Remove unused binding.
2180 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2182 * descr-text.el (describe-char):
2183 * progmodes/python.el (python-describe-symbol):
2184 Don't call `toggle-read-only', set `buffer-read-only'.
2186 * imenu.el (imenu-default-goto-function): Mark unused args.
2187 (imenu-progress-message): Remove obsolete macro; all callers changed.
2189 * subr.el (keymap-canonicalize): Remove unused binding.
2190 (read-passwd): Mark unused arg.
2192 * tutorial.el (tutorial--display-changes): Remove unused binding.
2193 (tutorial--save-tutorial-to): Remove unused variable.
2195 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2196 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2197 (package-generate-autoloads, package-menu--generate)
2198 (package-menu--find-upgrades): Remove unused bindings.
2200 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2201 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2202 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2203 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2204 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2205 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2206 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2207 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2208 (cua-delete-char-rectangle): Mark unused args.
2209 (cua-align-rectangle): Remove unused binding.
2211 * mail/rmail.el (compilation--message->loc)
2212 (epa--find-coding-system-for-mime-charset): Declare.
2214 * net/dbus.el (dbus-register-service): Declare.
2215 (dbus-name-owner-changed-handler): Remove unused binding.
2217 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2218 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2219 (nxml-scan-backward-within): Mark unused arg.
2220 (nxml-dynamic-markup-word): Remove unused binding.
2222 * mouse.el (mouse-menu-major-mode-map):
2223 * emacs-lisp/authors.el (authors-scan-change-log)
2224 (authors-add-to-author-list):
2225 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2226 * emacs-lisp/smie.el (smie-auto-fill):
2227 * mail/sendmail.el (mail-bury):
2228 * mail/unrmail.el (unrmail):
2229 * net/tls.el (open-tls-stream):
2230 * textmodes/picture.el (picture-mouse-set-point):
2231 Remove unused bindings.
2233 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2235 * net/tramp.el (tramp-action-password): Let-bind
2236 `enable-recursive-minibuffers' to t.
2238 2012-04-18 Sam Steingold <sds@gnu.org>
2240 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2241 instead of 'string to accommodate values like [f11].
2242 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2243 * progmodes/gdb-mi.el: Likewise.
2245 2012-04-18 Leo Liu <sdl.web@gmail.com>
2247 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2249 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2252 2012-04-18 Chong Yidong <cyd@gnu.org>
2254 * simple.el (line-move): Use forward-line if in batch mode
2257 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2259 * files.el (after-find-file): Do not try to add a final newline if
2260 the buffer is read-only (Bug#11156).
2262 2012-04-17 Richard Stallman <rms@gnu.org>
2264 * mail/rmail.el (rmail-start-mail):
2265 Pass (rmail-mail-return...) for the return-action.
2266 Pass (rmail-yank-current-message...) for the yank-action.
2267 (rmail-yank-current-message): New function.
2268 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2269 (rmail-reply): Likewise.
2270 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2272 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2273 buffer, not the last. Reject temp buffers. Use the rmail-mode
2276 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2278 * server.el (server-ensure-safe-dir): Simplify.
2280 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * emacs-lisp/smie.el: Provide smarter auto-filling.
2283 (smie-auto-fill): New function.
2284 (smie-setup): Use it.
2286 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2288 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2290 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2291 (comment-indent): Use it.
2293 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2295 * ses.el: The overall change is to add cell renaming, that is
2296 setting fancy names for cell symbols other than name matching
2297 "\\`[A-Z]+[0-9]+\\'" regexp .
2298 (ses-localvars): Add ses--renamed-cell-symb-list.
2299 (ses-create-cell-variable): New defun.
2300 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2301 (ses-relocate-formula): Relocate formulas only for cells the
2302 symbols of which are not renamed, i.e. symbols whose names do not
2303 match regexp "\\`[A-Z]+[0-9]+\\'".
2304 (ses-relocate-all): Relocate values only for cells the symbols of
2305 which are not renamed.
2306 (ses-load): Create cells variables as the (ses-cell ...) are read,
2307 in order to check row col consistency with cell symbol name only
2308 for cells that are not renamed.
2309 (ses-replace-name-in-formula): New defun.
2310 (ses-rename-cell): New defun.
2312 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2314 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2315 New option (bug#11118).
2316 (perl-calculate-indent): Respect it.
2318 2012-04-17 Glenn Morris <rgm@gnu.org>
2320 * dired-aux.el (dired-mark-read-string): Doc fix.
2322 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2324 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2325 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2327 2012-04-17 Glenn Morris <rgm@gnu.org>
2329 * mouse.el (mouse-drag-track):
2330 * speedbar.el (speedbar-frame-mode):
2331 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2333 2012-04-16 Leo Liu <sdl.web@gmail.com>
2335 * progmodes/python.el: Trivial cleanup.
2337 2012-04-16 Glenn Morris <rgm@gnu.org>
2339 * vc/vc.el (vc-string-prefix-p):
2340 * vc/pcvs-util.el (cvs-string-prefix-p):
2341 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2342 * mpc.el (mpc-string-prefix-p):
2343 Make all of these into obsolete aliases for string-prefix-p.
2345 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2347 * textmodes/two-column.el: Move custom options to the start.
2348 (frame-width): Remove compat definition.
2349 (2C-associate-buffer, 2C-dissociate):
2350 Use with-current-buffer rather than save-excursion.
2351 (2C-dissociate): Force a mode-line update.
2352 (2C-autoscroll): Use ignore-errors.
2354 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2357 * emacs-lisp/cl-extra.el (*random-state*):
2358 Remove unnecessary declaration.
2360 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2362 * play/cookie1.el (cookie-snarf):
2363 Give an explicit error if input file cannot be read.
2365 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2367 * progmodes/perl-mode.el (c-macro-expand):
2368 Remove unnecessary autoload (it is in loaddefs.el).
2370 * textmodes/picture.el (picture-desired-column)
2371 (picture-update-desired-column): Convert comments to doc-strings.
2372 (picture-substitute): Remove function.
2373 (picture-mode-map): Initialize in the defvar.
2375 * woman.el: Remove eval-after-load for tar-mode.
2376 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2377 (woman-tar-extract-file): Autoload it.
2379 * frame.el (automatic-hscrolling): Make this alias obsolete.
2381 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2383 * ispell.el (ispell-set-spellchecker-params): Post-process
2384 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2385 (ispell-dictionary-base-alist): Revert to original XEmacs
2386 friendly version for default. [:alpha:] will be added in
2387 `ispell-set-spellchecker-params' if needed
2389 2012-04-16 Chong Yidong <cyd@gnu.org>
2391 * image.el (imagemagick--extension-regexp): New variable.
2392 (imagemagick-register-types): Use it.
2393 (imagemagick-types-inhibit): Add :set function. Allow new value
2394 of t to inhibit all types.
2396 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2397 so we can preload it.
2399 * loadup.el (fboundp): Preload regexp-opt, needed by
2400 imagemagick-register-types.
2402 2012-04-15 Chong Yidong <cyd@gnu.org>
2404 * frame.el (scrolling): Remove nearly unused customization group.
2406 * scroll-all.el (scroll-all-mode): Move to windows group.
2408 2012-04-15 Chong Yidong <cyd@gnu.org>
2410 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2412 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2414 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2415 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2417 2012-04-15 Glenn Morris <rgm@gnu.org>
2419 * simple.el (process-file-side-effects): Doc fix.
2421 2012-04-15 Glenn Morris <rgm@gnu.org>
2423 * international/mule-cmds.el (set-language-environment): Doc fix.
2425 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2427 * server.el (server-auth-key, server-generate-key): Doc fixes.
2428 (server-get-auth-key): Doc fix. Use `string-match-p'.
2429 (server-start): Reflow docstring.
2431 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2433 * server.el (server-generate-key): `called-interactively-p'
2434 requires a parameter.
2436 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2438 * server.el (server-auth-key): New variable.
2439 (server-generate-key, server-get-auth-key): New function.
2440 (server-start): Use the new variable and functions to allow
2441 setting a permanent server key (bug#9423).
2443 2012-04-14 Leo Liu <sdl.web@gmail.com>
2445 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2447 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2450 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2451 Emacs uses American spelling.
2453 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2455 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2456 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2457 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2458 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2460 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * progmodes/which-func.el (which-func-modes): Change default.
2464 2012-04-14 Kim F. Storm <storm@cua.dk>
2466 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2467 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2469 2012-04-14 Chong Yidong <cyd@gnu.org>
2471 * custom.el (custom-theme-set-variables): Doc fix.
2473 2012-04-14 Glenn Morris <rgm@gnu.org>
2475 * international/mule.el (set-auto-coding-for-load): Doc fix.
2477 2012-04-14 Alan Mackenzie <acm@muc.de>
2479 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2480 imenu work again for Objective C Mode. Correct the *-index values,
2481 these having been disturbed by a previous change in 2011-08.
2483 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2484 Correct two search limits.
2486 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2488 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2490 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2492 * international/characters.el: Fix sorting.
2494 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2496 * international/characters.el: Add more missing Latin case pairs.
2498 2012-04-14 Glenn Morris <rgm@gnu.org>
2500 * files.el (dir-locals-set-class-variables): Doc fix.
2502 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2504 * international/characters.el: Add set-case-syntax-pair call for
2505 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2506 counterpart. (Bug#11209)
2508 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2510 2012-04-14 Glenn Morris <rgm@gnu.org>
2512 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2514 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2516 * textmodes/ispell.el (ispell-dictionary-base-alist):
2517 Add data for Hebrew.
2519 2012-04-14 Chong Yidong <cyd@gnu.org>
2521 * net/rcirc.el (rcirc-cmd-quit):
2522 Revert 2012-03-18 change (Bug#11192).
2524 2012-04-14 Glenn Morris <rgm@gnu.org>
2526 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2530 * minibuffer.el (completion-in-region-mode-map):
2531 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2533 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2535 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2537 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2539 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2540 to allow `C-M-f' and `C-M-b' to move to the nearest path
2541 separator (bug#9511).
2543 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2545 * avoid.el: Require cl when compiling. And also move the
2546 `provide' to the end.
2548 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2550 * avoid.el (mouse-avoidance-banish-position): New variable.
2551 (mouse-avoidance-banish-destination): Use it (bug#10165).
2553 2012-04-13 Leo Liu <sdl.web@gmail.com>
2555 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2557 2012-04-13 Ken Brown <kbrown@cornell.edu>
2559 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2560 this is no longer needed now that cygstart understands file:// URLs.
2561 (browse-url-filename-alist): For the same reason, don't modify
2562 file:// URLs on Cygwin.
2564 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2567 the region on shift if the binding is already shifted (bug#11221).
2569 2012-04-12 Glenn Morris <rgm@gnu.org>
2571 * mail/mailpost.el: Move to obsolete/.
2573 2012-04-12 Drew Adams <drew.adams@oracle.com>
2575 * imenu.el (imenu--generic-function): Ignore invisible definitions
2578 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2580 * hexl.el (hexl-bits): New variable.
2581 (hexl-options): Mention the variable in the doc string.
2582 (hexl-rulerise, hexl-line-displen): New functions.
2583 (hexl-mode): Mention the new variable.
2584 (hexl-mode, hexl-current-address, hexl-current-address):
2586 (hexl-ascii-start-column): New function.
2587 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2588 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2590 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2592 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2593 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2594 the encoding, as expected by hunspell.
2596 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * battery.el (battery--linux-sysfs-regexp): New const.
2599 (battery-status-function): Use it. Remove yeeloong special case.
2600 (battery-yeeloong-sysfs): Remove.
2601 (battery-echo-area-format): Remove yeeloong special case.
2603 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2606 Reported by Noah Friedman.
2608 * subr.el (read-passwd): Use read-string.
2610 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2612 * vcursor.el (vcursor-move): Increase the priority of the overlay
2615 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2617 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2618 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2620 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2622 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2623 define-minor-mode (bug#10760).
2625 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2627 * progmodes/grep.el (rgrep): Tweak the find command line so
2628 that directories matching `grep-find-ignored-files' won't be
2631 2012-04-11 Chong Yidong <cyd@gnu.org>
2633 * startup.el (command-line): Remove support for long-obsolete
2634 variable font-lock-face-attributes.
2636 2012-04-11 Glenn Morris <rgm@gnu.org>
2638 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2640 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2642 * window.el (window--state-get-1): Obey window-point-insertion-type.
2644 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2646 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2647 to previous function when point is on the first character of a
2648 function. Take care of that in `narrow-to-defun' (bug#6157).
2650 2012-04-11 Glenn Morris <rgm@gnu.org>
2652 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2653 not just file-errors.
2655 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2656 (vc-bzr-sha1): Use internal sha1.
2658 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2662 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2664 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2665 that start in the middle of the line (bug#10496).
2667 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2669 * battery.el (battery-linux-proc-acpi): Only one battery is
2670 discharged at a time, but that seems to confuse battery.el when
2671 computing `rate-type' for the battery not being discharged
2674 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2678 * international/quail.el: Use dolist and simplify.
2679 (quail-define-package, quail-update-keyboard-layout)
2680 (quail-define-rules): Use dolist.
2681 (quail-insert-kbd-layout, quail-get-translation): CSE.
2683 * tmm.el: Use dolist, remove left over hook.
2684 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2686 (calendar-load-hook): Don't mess with it.
2688 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2689 Use derived-mode-p. Run the diff asynchronously.
2691 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2695 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2697 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2698 (list-dynamic-libraries--loaded): New function.
2699 (list-dynamic-libraries--refresh): Use it.
2701 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2703 * progmodes/python.el (python-fill-paragraph):
2704 Make python-fill-region in a multiline string work when font-lock is
2705 disabled (bug#7018).
2707 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2709 * language/european.el (cp775): Add oem/legacy (en)coding on
2710 DOS/MS Windows for the Baltic languages. There are still plenty
2711 of texts written in this encoding/codepage (bug#6519).
2713 2012-04-10 Glenn Morris <rgm@gnu.org>
2715 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2716 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2718 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2720 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2721 next-line "n" and previous-line "p" in order to make recentf more
2722 consistent with ibuffer, dired or org-mode (bug#9387).
2724 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2726 * image.el (put-image): Return the overlay created instead of the
2727 optional input string (bug#7834). Note that this may break code
2728 that is (for some reason or other) depending on `put-image'
2729 returning the string.
2731 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2733 * simple.el (zap-to-char): Allow zapping using input methods
2736 * textmodes/fill.el (fill-region): Leave point and mark where they
2737 were before filling (bug#5399).
2739 2012-04-09 Glenn Morris <rgm@gnu.org>
2741 * version.el (emacs-bzr-get-version):
2742 Handle lightweight checkouts of local branches.
2744 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2746 * international/characters.el: Recover lost case pairs. (Bug#11209)
2748 2012-04-09 Chong Yidong <cyd@gnu.org>
2750 * custom.el (custom-variable-p): Return nil for non-symbol
2751 arguments instead of signaling an error.
2752 (user-variable-p): Obsolete alias for custom-variable-p.
2754 * apropos.el (apropos-variable):
2755 * files-x.el (read-file-local-variable):
2756 * simple.el (set-variable):
2757 * woman.el (woman-mini-help):
2758 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2760 2012-04-09 Glenn Morris <rgm@gnu.org>
2762 * startup.el (normal-top-level): Don't look for leim-list.el
2763 in places where it will not be found. (Bug#910)
2765 * international/mule-cmds.el (set-default-coding-systems):
2766 * files.el (normal-mode):
2767 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2768 This function was removed with ucs-tables.el in 2008.
2770 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2772 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2773 ispell-encoding8-command to "-i", without a trailing space.
2774 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2775 separate command-line arguments, to specify the encoding, since
2776 that's how hunspell expects it.
2778 2012-04-08 Glenn Morris <rgm@gnu.org>
2780 * loadup.el: Load bindings before cus-start.
2781 This reduces somewhat the number of "rogue" settings in emacs -Q.
2783 2012-04-07 Glenn Morris <rgm@gnu.org>
2785 * version.el (emacs-bzr-get-version): New function.
2786 (emacs-bzr-version): New variable.
2787 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2788 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2790 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2792 * international/uni-bidi.el, international/uni-category.el:
2793 * international/uni-combining.el, international/uni-decimal.el:
2794 * international/uni-decomposition.el, international/uni-digit.el:
2795 * international/uni-lowercase.el, international/uni-mirrored.el:
2796 * international/uni-name.el, international/uni-numeric.el:
2797 * international/uni-titlecase.el, international/uni-uppercase.el:
2798 Update for Unicode 6.1.
2800 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2802 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2804 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2806 * window.el (shrink-window): Mention the `window-min-height'
2807 variable in the doc string.
2809 2012-04-05 Bastien Guerry <bzg@altern.org>
2811 * color.el (color-lighten-name): Fix typo.
2813 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2815 * server.el (server--on-display-p): New function.
2816 (server--on-display-p): Use it.
2818 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2820 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2823 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * comint.el (comint--common-quoted-suffix): Check string boundary
2826 before comparing (bug#11158).
2827 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2829 2012-04-04 Chong Yidong <cyd@gnu.org>
2831 * minibuffer.el (completion-extra-properties): Doc fix.
2833 * subr.el (delayed-warnings-hook): Doc fix.
2835 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2837 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2838 selection (Bug#11159).
2839 (epa-insert-keys): Inform that the default public key will be
2840 exported if no key is selected.
2842 2012-04-04 Richard Stallman <rms@gnu.org>
2844 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2846 2012-04-03 Chong Yidong <cyd@gnu.org>
2848 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2849 mail-insert-file, not its obsolete alias mail-attach-file.
2851 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2853 * notifications.el (notifications-notify): Fix docstring.
2855 2012-04-02 Glenn Morris <rgm@gnu.org>
2857 * emacs-lisp/authors.el (authors-aliases): Another addition.
2859 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2861 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2862 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2863 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2865 2012-04-01 Chong Yidong <cyd@gnu.org>
2867 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2868 Handle root directory properly.
2869 (copy-directory): Caller changed.
2871 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2872 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2874 2012-03-31 Glenn Morris <rgm@gnu.org>
2876 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2878 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2880 * calendar/calendar.el (calendar-window-list)
2881 (calendar-hide-window): Restore. (Bug#11140)
2882 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2884 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2886 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2888 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2889 Check if file is a symlink (Bug#10489).
2891 * files.el (copy-directory): Likewise.
2893 2012-03-30 Chong Yidong <cyd@gnu.org>
2895 * image.el (imagemagick-types-inhibit)
2896 (imagemagick-register-types): Doc fix.
2898 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
2900 * ispell.el (ispell-get-extended-character-mode):
2901 Disable extended-char-mode for hunspell. hunspell does not support it
2902 and treats ~word as ordinary words in pipe mode.
2904 2012-03-30 Glenn Morris <rgm@gnu.org>
2906 * tutorial.el (help-with-tutorial): Ensure local variables don't
2907 happen to make the buffer read-only. (Bug#11127)
2909 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2912 (perl-calculate-indent): Return `noindent' in strings.
2914 2012-03-28 Sam Steingold <sds@gnu.org>
2916 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2917 instead of the broken adhockery which does not prevent calendar
2918 buffers from being displayed at random after exit.
2919 (calendar-window-list, calendar-hide-window): Remove the broken
2922 2012-03-28 Glenn Morris <rgm@gnu.org>
2924 * replace.el (query-replace-map): Doc fix.
2926 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2928 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2929 contents. (Bug#11109)
2931 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2935 (avl-tree--check, avl-tree--check-node): New funs.
2937 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2939 * window.el (switch-to-visible-buffer): New option.
2940 (switch-to-prev-buffer, switch-to-next-buffer):
2941 Observe switch-to-visible-buffer. Make sure that checking for a window
2942 showing a buffer already is done on the same frame.
2944 2012-03-27 Glenn Morris <rgm@gnu.org>
2946 * startup.el (mail-host-address): Doc fix.
2948 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2953 2012-03-26 Ami Fischman <ami@fischman.org>
2955 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2957 2012-03-26 Glenn Morris <rgm@gnu.org>
2959 * files.el (save-buffers-kill-emacs): Doc fix.
2961 * startup.el (normal-top-level, command-line, command-line-1):
2962 Give them doc strings.
2964 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2966 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2967 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2969 2012-03-25 Chong Yidong <cyd@gnu.org>
2971 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2972 theme if it was previously enabled before (Bug#11031).
2974 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2975 spec with custom-face-get-current-spec if its :shown-value is not
2976 determined yet (Bug#9337).
2977 (customize-create-theme, custom-theme-revert): Doc fixes.
2979 * button.el (button-at): Minor addition to docstring.
2981 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2983 * vc/vc.el (vc-merge): Fix a prompt.
2985 2012-03-24 Chong Yidong <cyd@gnu.org>
2987 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2990 * button.el (button-at): Minor addition to docstring.
2992 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * newcomment.el (comment-choose-indent): No space after BOL.
2996 2012-03-22 Sam Steingold <sds@gnu.org>
2998 * window.el (switch-to-prev-buffer): Revert last patch because the
2999 bug turned out to be an advertised feature (Elisp manual 28.14).
3001 2012-03-22 Glenn Morris <rgm@gnu.org>
3003 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3004 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3006 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3008 * net/network-stream.el (network-stream-open-starttls): Make error
3009 message under Windows be less misleading.
3011 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3013 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3014 understands (bug#9942).
3016 2012-03-22 Chong Yidong <cyd@gnu.org>
3018 * simple.el (end-of-visible-line): Handle return value of
3019 next-single-property-change properly (Bug#9371).
3021 2012-03-22 Kenichi Handa <handa@m17n.org>
3023 * international/quail.el (quail-insert-kbd-layout): Fix previous
3024 change. To avoid unwanted bidi reordering, use
3025 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3027 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3029 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3030 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3031 (ruby-beginning-of-indent): Be more careful with the difference
3032 between word-boundary and symbol boundary.
3033 (ruby-mode-syntax-table): Make : a symbol constituent.
3035 2012-03-21 Andreas Politz <politza@fh-trier.de>
3037 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3039 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3041 * progmodes/etags.el (tags-completion-at-point-function):
3044 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3046 2012-03-21 Sam Steingold <sds@gnu.org>
3048 * progmodes/etags.el (tags-completion-at-point-function):
3049 Avoid the error when point is inside the pattern.
3051 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3053 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3056 2012-03-21 Drew Adams <drew.adams@oracle.com>
3058 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3060 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3062 * ido.el (ido-set-current-directory, ido-read-internal)
3063 (ido-choose-completion-string, ido-completion-help): Handle nil
3064 value of ido-completion-buffer (Bug#11008).
3066 2012-03-21 Sam Steingold <sds@gnu.org>
3068 * window.el (switch-to-prev-buffer): Do not switch to a visible
3069 window previous buffer, just like with the frame previous buffers.
3071 2012-03-21 Chong Yidong <cyd@gnu.org>
3073 * faces.el (make-face, make-empty-face, copy-face):
3074 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3077 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3080 (widget-complete): Remove broken use of it.
3082 2012-03-20 Chong Yidong <cyd@gnu.org>
3084 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3085 Use string-width and truncate-string-width to handle arbitrary
3088 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3090 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3091 to draw rectangles, not squares. (Regression introduced by revno
3092 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3094 2012-03-18 Chong Yidong <cyd@gnu.org>
3096 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3097 it is not yet defined (for temacs).
3099 2012-03-18 Leo Liu <sdl.web@gmail.com>
3101 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3103 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3105 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3106 (ispell-choices-win-default-height, ispell-silently-savep)
3107 (ispell-dictionary-alist, ispell-encoding8-command)
3108 (ispell-check-version, ispell-aspell-find-dictionary)
3109 (ispell-valid-dictionary-list, ispell-words-keyword)
3110 (ispell-get-word, ispell-internal-change-dictionary)
3111 (ispell-region, ispell-skip-region-list)
3112 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3113 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3114 (ispell-message-text-end, ispell-message)
3115 (ispell-buffer-local-parsing): Doc fix.
3117 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3119 * htmlfontify.el: Add support for code block fontification for ODT
3121 (hfy-optimisations): Define new option
3123 (hfy-fontify-buffer): Honor above setting.
3124 (hfy-begin-span, hfy-end-span): New routines factored out form
3125 `hfy-fontify-buffer'.
3126 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3127 that permit insertion of custom tags.
3128 (hfy-fontify-buffer): Use above handlers.
3129 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3130 (hfy-face-to-css): Re-defined to be a variable.
3131 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3132 over multiple runs. This is made possible by having the caller let
3133 bind a special variable `hfy-user-sheet-assoc'.
3134 (htmlfontify-string): New defun.
3135 (hfy-compile-face-map): Make sure that the last char in the
3136 buffer is correctly fontified.
3137 (hfy-face-resolve-face): Whitespace only change.
3139 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3141 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3144 2012-03-16 Leo Liu <sdl.web@gmail.com>
3146 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3148 2012-03-16 Alan Mackenzie <acm@muc.de>
3150 Further optimise the handling of large macros.
3152 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3153 limit to a call of `c-literal-limits'.
3154 (c-determine-+ve-limit): New function.
3155 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3156 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3157 In CASE 5B, restrict a search limit to 500.
3158 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3160 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3161 Restrict macro bounds to +-500 from after-change's BEG END.
3163 2012-03-16 Leo Liu <sdl.web@gmail.com>
3165 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3167 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3169 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3170 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3172 2012-03-16 Glenn Morris <rgm@gnu.org>
3174 * view.el (view-buffer, view-buffer-other-window)
3175 (view-buffer-other-frame): Doc fixes re special mode-class.
3177 * subr.el (eval-after-load): If named feature is provided not from
3178 a file, run after-load forms. (Bug#10946)
3180 * calendar/calendar.el (calendar-insert-at-column):
3181 Handle non-unit-width characters a bit better. (Bug#10978)
3183 2012-03-15 Chong Yidong <cyd@gnu.org>
3185 * emacs-lisp/ring.el (ring-extend): New function.
3186 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3188 * comint.el (comint-read-input-ring)
3189 (comint-add-to-input-history): Grow comint-input-ring lazily.
3191 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3194 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3196 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3197 (imenu-add-to-menubar): Don't add a redundant index.
3198 (imenu-update-menubar): Handle a dynamically composed keymap.
3200 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3202 * mail/sendmail.el (mail-encode-header):
3203 Bind rfc2047-encode-encoded-words to nil.
3205 2012-03-13 Glenn Morris <rgm@gnu.org>
3207 * calendar/calendar.el (calendar-string-spread):
3208 Handle non-unit-width characters a bit better. (Bug#10978)
3210 2012-03-13 Leo Liu <sdl.web@gmail.com>
3212 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3213 directory and file as argument (Bug#10822).
3215 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3217 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3218 For dynamically generated code, follow $PC.
3219 (gdb-disassembly-handler-custom): Handle no function name case.
3221 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3223 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3224 * emulation/ws-mode.el (ws-query-replace):
3225 * sort.el (sort-regexp-fields):
3226 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3228 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3230 * dabbrev.el: Fix cycle completion order (bug#10963).
3231 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3232 (dabbrev-completion): Don't use an obarray; provide
3233 a cycle-sort-function.
3235 2012-03-12 Leo Liu <sdl.web@gmail.com>
3237 * simple.el (kill-new): Use equal-including-properties for comparison.
3238 (kill-do-not-save-duplicates): Doc fix.
3240 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * dabbrev.el: Fix cycle completion (bug#10963).
3243 Use lexical binding and wrap to 80 columns.
3244 (dabbrev-completion): Delay computing the list of completions.
3246 2012-03-12 Kenichi Handa <handa@m17n.org>
3248 * international/quail.el (quail-insert-kbd-layout): Surround each
3249 row by LRO and PDF instead of inserting many LRMs. Pad the left
3250 and right of each non-spacing marks. Insert invisible space
3251 between lower and upper characters to prevent composition.
3253 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * minibuffer.el (minibuffer-complete): Don't get confused when the
3256 function is run twice via different commands (bug#10958).
3257 (complete-with-action): Fix docstring.
3259 2012-03-12 Chong Yidong <cyd@gnu.org>
3261 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3262 (nxml-completion-at-point-function): New function.
3263 (nxml-mode): Use it.
3264 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3266 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3267 Load generated autoloads file before byte compiling (Bug#10970).
3268 (package--make-autoloads-and-compile): New helper fun.
3270 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3272 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3274 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3276 * autorevert.el (auto-revert-handler): Ensure, that
3277 file-readable-p is applied only for local files or in
3278 auto-revert-tail-mode.
3280 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3282 * server.el (server-eval-at): Handle non-tcp connections.
3283 Decode result string.
3285 * server.el (server-msg-size): New constant.
3286 (server-reply-print): New function.
3287 (server-eval-and-print): Use it.
3288 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3291 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3293 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3296 2012-03-11 Chong Yidong <cyd@gnu.org>
3298 * simple.el (goto-line): Doc fix (Bug#9938).
3300 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3302 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3303 when finished (Bug#10963).
3305 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3307 * window.el (split-window-below): Fix bug in case where
3308 split-window-keep-point is nil (Bug#10971).
3310 2012-03-11 Juri Linkov <juri@jurta.org>
3312 * replace.el (replace-highlight): Set isearch-word to nil
3313 unconditionally. (Bug#10887)
3315 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3317 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3318 mairix-replace-illegal-chars; all callers changed. Don't remove
3319 ^, ~, and = characters: they are meaningful in mairix search specs.
3320 (mairix-widget-create-query): Add usage information about mairix
3321 search forms: negating words, searching for substrings, etc.
3323 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3325 * international/fontset.el (font-encoding-alist): Add an entry for
3328 2012-03-10 Richard Stallman <rms@gnu.org>
3330 * mail/sendmail.el (mail-encode-header):
3331 Set rfc2047-encode-encoded-words.
3333 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3335 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3336 view buffer means not swapped.
3337 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3338 (rmail-write-region-annotate): Error if real text has disappeared.
3340 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3342 2012-03-10 Chong Yidong <cyd@gnu.org>
3344 * emulation/cua-rect.el (cua--init-rectangles):
3345 * emulation/cua-base.el (cua--init-keymaps):
3346 Add delete-forward-char to remappings (Bug#9666).
3348 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3350 * speedbar.el (speedbar-unhighlight-one-tag-line):
3351 Avoid unhighlighting due to frame switching (Bug#10275).
3353 2012-03-10 Chong Yidong <cyd@gnu.org>
3355 * minibuffer.el (completion-in-region, completion-help-at-point):
3356 Give the completion field overlay a high priority (Bug#6830).
3358 * dired.el (dired-goto-file): Recognize absolute file name
3359 listings (Bug#7126).
3360 (dired-goto-file-1): New helper function.
3361 (dired-toggle-read-only): Inhibit warnings.
3363 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3365 * net/dbus.el (dbus-property-handler): Return empty array if
3366 there are no properties.
3368 2012-03-09 Leo Liu <sdl.web@gmail.com>
3370 * savehist.el (savehist-printable): Stricter check for string
3373 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3375 * mail/smtpmail.el (smtpmail-send-it):
3376 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3379 2012-03-09 Glenn Morris <rgm@gnu.org>
3381 * files.el (dir-locals-find-file):
3382 Don't check result is regular, readable.
3383 (dir-locals-read-from-file): Demote errors.
3385 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3387 * international/quail.el (quail-insert-kbd-layout):
3388 Insert invisible LRM characters before each character in a keyboard
3389 layout cell, to prevent their reordering by bidi display engine.
3390 For details, see the discussion in
3391 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3393 2012-03-08 Alan Mackenzie <acm@muc.de>
3395 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3396 the starting position; make it extend the marked region when
3397 invoked repeatedly - all under appropriate circumstances.
3398 Fixes bugs #5525, #10906.
3400 2012-03-08 Glenn Morris <rgm@gnu.org>
3402 * files.el (locate-dominating-file, dir-locals-find-file):
3403 Undo 2012-03-06 change.
3405 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3407 * international/quail.el (quail-help):
3408 Force bidi-paragraph-direction be left-to-right. See discussion in
3409 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3412 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3414 Avoid superfluous registering of signals. (Bug#10807)
3416 * notifications.el (notifications-on-action-object)
3417 (notifications-on-close-object): New defvars.
3418 (notifications-on-action-signal, notifications-on-closed-signal):
3419 Unregister the signal if not needed any longer.
3420 (notifications-notify): Register `notifications-action-signal' or
3421 `notifications-closed-signal', if :on-action or :on-close has been
3424 2012-03-07 Chong Yidong <cyd@gnu.org>
3426 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3429 2012-03-06 Glenn Morris <rgm@gnu.org>
3431 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3432 (x-disown-selection-internal, x-get-selection-internal):
3433 Doc fix (add arglist signatures). (Bug#10783)
3435 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3437 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3438 Handle breakpoints with no "type".
3440 2012-03-06 Glenn Morris <rgm@gnu.org>
3442 * files.el (locate-dominating-file): Add optional predicate argument.
3443 (dir-locals-find-file): Make use of above change.
3445 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3447 * info.el (Info-insert-dir): Also try "dir.gz".
3449 2012-03-06 Glenn Morris <rgm@gnu.org>
3451 * files.el (dir-locals-find-file):
3452 Ignore non-readable or non-regular files. (Bug#10928)
3454 * files.el (locate-dominating-file): Doc fix.
3456 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3458 * calendar/calendar.el (calendar-set-mode-line):
3459 `getenv' returns a string. (Bug#10951)
3461 2012-03-05 Leo Liu <sdl.web@gmail.com>
3463 * simple.el (backward-delete-char-untabify): Constrain point to
3466 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3468 2012-03-05 Chong Yidong <cyd@gnu.org>
3470 * simple.el (count-words): If called from Lisp, return the word
3471 count, for symmetry with `count-lines'. Arglist changed.
3472 (count-words--message): Args changed. Consolidate counting code
3473 from count-words and count-words-region.
3474 (count-words-region): Caller changed.
3475 (count-lines-region): Make it an obsolete alias.
3477 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3479 * saveplace.el (save-place-to-alist)
3480 (save-place-ignore-files-regexp): Allow value nil to disable this
3483 2012-03-04 Chong Yidong <cyd@gnu.org>
3485 * faces.el (face-spec-reset-face): For the default face, reset the
3486 attributes to default values (Bug#10748).
3488 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3490 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3491 previous patch: Check `message-send-mail-function', and not the
3492 default function (bug#10897).
3494 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3496 * notifications.el (notifications-on-action-signal)
3497 (notifications-on-closed-signal): Check for unique service name of
3498 incoming event. Fix error in removing entry.
3499 (top): Register for signals with wildcard service name.
3500 (notifications-notify): Use daemon unique service name for map entries.
3502 2012-03-04 Chong Yidong <cyd@gnu.org>
3504 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3506 2012-03-04 Glenn Morris <rgm@gnu.org>
3508 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3509 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3510 (expand-abbrev, define-abbrev-table): Doc fixes.
3512 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3514 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3515 `message-default-send-mail-function' and not `send-mail-function'
3516 when doing the prompting for `sendmail-query-once' before sending
3517 in Message buffers (bug#10897).
3519 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3520 This is inconsistent with all the other stream functions, which leave
3521 the setting up to the higher levels (if so wanted) (bug#10931).
3523 2012-03-02 Alan Mackenzie <acm@muc.de>
3525 Depessimize the handling of very large macros.
3527 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3528 (c-macro-cache-syntactic): New variables to implement a one
3529 element macro cache.
3530 (c-invalidate-macro-cache): New function.
3531 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3532 Adapt to use the new cache.
3533 (c-state-safe-place): Use better the cache of safe positions.
3534 (c-state-semi-nonlit-pos-cache)
3535 (c-state-semi-nonlit-pos-cache-limit):
3536 New variables for...
3537 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3538 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3539 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3540 Use c-state-semi-safe-place.
3542 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3543 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3545 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3547 * jka-compr.el (jka-compr-call-process):
3548 Apply `file-accessible-directory-p' only when the default directory is
3551 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3553 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3554 access of FILE2, if FILE1 does not exist.
3556 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3557 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3559 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3560 Add "PAGER=" to `process-environment'.
3562 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3564 * progmodes/sql.el: Bug fix
3565 (sql-get-login-ext): Save login values in globals.
3566 (sql-get-login): Use new version of `sql-get-login-ext'.
3567 (sql-interactive-mode): Set global `sql-connection' to nil.
3568 (sql-connect): Set global values for connection.
3569 (sql-product-interactive): Save global values as buffer local.
3571 2012-02-29 Leo Liu <sdl.web@gmail.com>
3573 * abbrev.el (define-abbrevs): Reset sys to nil.
3575 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3577 * files.el (file-equal-p): Rename from `files-equal-p'.
3578 Return nil when one or both files don't exist.
3579 (file-subdir-of-p): Now only top directory must exists,
3580 return nil if it doesn't.
3581 (copy-directory): No need to test with `file-subdir-of-p' after
3583 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3586 2012-02-28 Glenn Morris <rgm@gnu.org>
3588 * shell.el (shell-mode):
3589 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3590 * play/landmark.el (landmark-font-lock-face-O):
3591 * play/handwrite.el (handwrite):
3592 * play/gomoku.el (gomoku-O):
3593 * net/browse-url.el (browse-url-browser-display):
3594 * international/mule.el (define-charset):
3595 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3596 * filesets.el (filesets-find-file-delay):
3597 * eshell/em-xtra.el (eshell-xtra):
3598 * eshell/em-unix.el (eshell-grep):
3599 * emulation/viper.el (viper-mode):
3600 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3601 * emacs-lisp/easymenu.el (easy-menu-define):
3602 * calendar/timeclock.el (timeclock-use-display-time):
3604 * bookmark.el (bookmark-save-flag):
3605 Doc fix (standardize possessive apostrophe usage).
3607 2012-02-27 Chong Yidong <cyd@gnu.org>
3609 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3610 Fix key-binding lookup for ESC key (Bug#9146).
3612 * font-lock.el (font-lock-specified-p): Rename from
3613 font-lock-spec-present. Callers changed.
3615 2012-02-27 Daniel Hackney <dan@haxney.org>
3617 * emacs-lisp/package.el (package-compute-transaction):
3618 Handle holding a package version to t in package-load-list.
3620 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3622 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3623 (tramp-get-inode, tramp-get-device): Use cached values.
3625 2012-02-26 Alan Mackenzie <acm@muc.de>
3627 Check there is a font-lock specification before doing initial
3630 * font-core.el (font-lock-mode): Move the conditional from
3631 :after-hook to font-lock-initial-fontify.
3632 (font-lock-default-function): Move the check for a specification
3633 to font-lock-spec-present.
3635 * font-lock.el (font-lock-initial-fontify): Call ...
3636 (font-lock-spec-present): New function.
3638 2012-02-26 Jim Blandy <jimb@red-bean.com>
3640 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3641 (gdb-send): Apply it to the operand of the '-interpreter-exec
3642 console' command, so that we can pass arguments with (say) quotes
3643 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3645 2012-02-26 Chong Yidong <cyd@gnu.org>
3647 * help-fns.el (describe-function-1): Clarify description of
3648 remapping (Bug#10844).
3650 * files.el (files-equal-p): Doc fix.
3651 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3652 and quit the loop once a mismatch is found.
3654 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3656 * bs.el (bs--show-with-configuration): Don't throw an error
3657 if the window cannot be split; otherwise, subsequent calls to
3658 bs-show fail, restoring a stale window config. (Bug#10882)
3660 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3662 * term/ns-win.el (global-map): Bind ns-drag-file to
3663 ns-find-file (Bug#5855, Bug#10050).
3665 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3667 * calendar/parse-time.el (parse-time-string): Allow extractor to
3670 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp.el (tramp-file-name-for-operation):
3673 Add `files-equal-p' and `file-subdir-of-p'.
3675 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3676 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3677 Add COPY-CONTENTS argument.
3679 2012-02-25 Chong Yidong <cyd@gnu.org>
3681 Add custom groups for VC backends, for consistency with vc-bzr.
3683 * vc/vc-arch.el (vc-arch):
3684 * vc/vc-cvs.el (vc-cvs):
3685 * vc/vc-git.el (vc-git):
3686 * vc/vc-hg.el (vc-hg):
3687 * vc/vc-mtn.el (vc-mtn):
3688 * vc/vc-rcs.el (vc-rcs):
3689 * vc/vc-sccs.el (vc-sccs):
3690 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3691 All relevant defcustoms reassigned.
3693 2012-02-25 Chong Yidong <cyd@gnu.org>
3695 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3697 * term/x-win.el (x-initialize-window-system): Reduce default for
3698 x-selection-timeout to 5 seconds (Bug#8869).
3700 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3702 * files.el (files-equal-p, file-subdir-of-p): New functions.
3703 (copy-directory): Error when trying to copy a directory on itself.
3704 Add missing copy-contents arg to tramp handler.
3705 * dired-aux.el (dired-copy-file-recursive): Same.
3706 (dired-create-files): Modify destination when source is equal to
3707 dest when copying files.
3708 Return also when dest is a subdir of source. (Bug#10489)
3710 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3712 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3715 2012-02-23 Alan Mackenzie <acm@muc.de>
3717 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3718 parameter "after-hook:" to allow the expansion to run code after
3719 the execution of the mode hooks.
3721 * font-lock.el (font-lock-initial-fontify): New function extracted
3722 from font-lock-mode-internal.
3724 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3727 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3730 (completion--cache-all-sorted-completions): New function.
3731 (completion-all-sorted-completions): Use it.
3732 (completion--do-completion, minibuffer-force-complete):
3733 Use it to re-instate the flush hook.
3735 * icomplete.el (icomplete-completions): Replace last fix with a better
3738 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3740 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3741 when it might call us back infinitely (bug#10797).
3743 2012-02-23 Glenn Morris <rgm@gnu.org>
3745 * minibuffer.el (completion-category-overrides): Doc fix.
3747 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3750 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3752 2012-02-23 Glenn Morris <rgm@gnu.org>
3754 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3755 (authors-obsolete-files-regexps, authors-ignored-files)
3756 (authors-ambiguous-files, authors-renamed-files-alist):
3759 2012-02-23 Juri Linkov <juri@jurta.org>
3761 * isearch.el (isearch-occur): Sync interactive spec with occur's
3762 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3764 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3766 2012-02-22 Juri Linkov <juri@jurta.org>
3768 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3769 (ucs-insert): Doc fix. Check for hex digits in the string.
3770 Don't display `nil' in the error message. (Bug#10857)
3772 2012-02-22 Alan Mackenzie <acm@muc.de>
3774 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3776 2012-02-22 Glenn Morris <rgm@gnu.org>
3778 * ffap.el (ffap-c-path):
3779 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3781 2012-02-22 Chong Yidong <cyd@gnu.org>
3783 * custom.el (load-theme): Doc fix.
3785 2012-02-22 Glenn Morris <rgm@gnu.org>
3787 * dired-x.el (dired-guess-shell-alist-default):
3788 Remove escape sequences from nroff output. (Bug#172)
3790 2012-02-21 Glenn Morris <rgm@gnu.org>
3792 * vc/emerge.el (emerge-defvar-local):
3793 Set `permanent-local' property rather than unused `preserved'.
3795 * textmodes/picture.el (picture-delete-char): New alias.
3796 (picture-mode-map): Use it. (Bug#10860)
3797 (picture-mode): Doc fix.
3799 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3801 * newcomment.el (uncomment-region-default): Remove unused binding.
3803 2012-02-21 Glenn Morris <rgm@gnu.org>
3805 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3806 (picture-self-insert, picture-tab-chars): Doc fix.
3807 (picture-mode-map): Fix C-a, C-e.
3809 2012-02-20 Glenn Morris <rgm@gnu.org>
3811 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3813 2012-02-20 Leo Liu <sdl.web@gmail.com>
3815 * icomplete.el (icomplete-completions): Check FROM arg before
3816 passing to substring (Bug#10850).
3818 2012-02-19 Chong Yidong <cyd@gnu.org>
3820 * comint.el: Require ansi-color.
3821 (comint-output-filter-functions): Add ansi-color-process-output.
3823 * ansi-color.el: Don't set comint-output-filter-functions; it is
3824 now in the initial value defined in comint.el.
3825 (ansi-color-apply-face-function): New variable.
3826 (ansi-color-apply-on-region): Use it.
3827 (ansi-color-apply-overlay-face): New function.
3829 * shell.el (shell): No need to require ansi-color.
3830 (shell-mode): Use ansi-color-apply-face-function to highlight
3831 color escapes using font-lock-face property (Bug#10835).
3833 2012-02-19 Chong Yidong <cyd@gnu.org>
3835 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3836 mode-line formats (Bug#10839).
3838 2012-02-18 Glenn Morris <rgm@gnu.org>
3840 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3842 * mail/undigest.el (unforward-rmail-message): Doc fix.
3844 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3846 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3848 * international/characters.el (script-list): Sync with the latest
3849 Unicode Character Database.
3851 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3853 * international/titdic-cnv.el: Remove duplicate coding tag.
3854 * language/cham.el: Likewise.
3855 * language/tai-viet.el: Likewise.
3857 2012-02-18 Glenn Morris <rgm@gnu.org>
3859 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3860 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3861 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3862 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3863 * calendar/holidays.el (holiday-bahai-holidays)
3864 (calendar-holidays, list-holidays):
3865 Use utf-8 Bahá'à in doc-strings, menus, etc.
3867 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3869 * saveplace.el (save-place-ignore-files-regexp): New variable
3870 allowing for excluding files from saving their location of point.
3871 The default value matches the temporary commit message editing
3872 files from Git, SVN, Bazaar, and Mercurial.
3873 (save-place-to-alist): Use it.
3875 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3876 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * newcomment.el (uncomment-region-default): Don't leave extra space
3879 when an arg is provided (bug#8150).
3881 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3883 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3885 2012-02-17 Glenn Morris <rgm@gnu.org>
3887 * net/socks.el: Require network-stream. (Bug#10599)
3889 2012-02-17 Kenichi Handa <handa@m17n.org>
3891 * international/charprop.el:
3892 * international/uni-name.el:
3893 * international/uni-old-name.el:
3894 * international/uni-comment.el: Regenerate.
3896 2012-02-16 Glenn Morris <rgm@gnu.org>
3898 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3899 Interactively in calendar buffer, give an error if not on a date.
3901 2012-02-15 Glenn Morris <rgm@gnu.org>
3903 * shell.el (shell-delimiter-argument-list):
3904 Revert 2011-02-17 change. (Bug#8027)
3906 2012-02-15 Chong Yidong <cyd@gnu.org>
3908 * minibuffer.el (completion-at-point-functions): Doc fix.
3910 * custom.el (defcustom): Doc fix; note use of defvar.
3912 2012-02-15 Glenn Morris <rgm@gnu.org>
3914 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3917 2012-02-14 Glenn Morris <rgm@gnu.org>
3919 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3921 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3923 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3924 way the ports list is computed.
3925 (smtpmail-query-smtp-server): Prompt the user for a port number if
3926 we can't connect to any of the standard ports (bug#10810).
3928 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3930 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3932 2012-02-13 Glenn Morris <rgm@gnu.org>
3934 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3936 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3938 * net/gnutls.el (gnutls-trustfiles): New variable.
3939 (gnutls-negotiate): Use it.
3941 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3943 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3944 does its stuff if Gnus is running.
3946 2012-02-13 Alan Mackenzie <acm@muc.de>
3948 Fix a loop in c-set-fl-decl-start.
3950 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3951 c-backward-syntactic-ws actually moves backwards.
3953 2012-02-13 Leo Liu <sdl.web@gmail.com>
3955 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3956 beginning so that all \C-o chars are removed.
3958 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3960 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3962 2012-02-12 Alan Mackenzie <acm@muc.de>
3964 Fix infinite loop with long macros.
3965 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3967 2012-02-12 Chong Yidong <cyd@gnu.org>
3969 * window.el (display-buffer): Doc fix (Bug#10785).
3971 2012-02-12 Glenn Morris <rgm@gnu.org>
3973 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3974 (x-disown-selection-internal, x-get-selection-internal):
3975 Sync docs with the xselect.c versions.
3977 * allout-widgets.el: Add missing license notice.
3979 2012-02-11 Glenn Morris <rgm@gnu.org>
3981 * select.el (x-get-selection-internal, x-own-selection-internal)
3982 (x-disown-selection-internal):
3983 * x-dnd.el (x-get-selection-internal): Update declarations.
3985 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3987 * window.el (window-sides-slots):
3988 * tool-bar.el (tool-bar-position):
3989 * term/xterm.el (xterm-extra-capabilities):
3990 * ses.el (ses-self-reference-early-detection):
3991 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3992 (verilog-auto-wire-type)
3993 (verilog-auto-delete-trailing-whitespace)
3994 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3995 (verilog-auto-tieoff-declaration):
3996 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3997 (sql-oracle-statement-starters, sql-oracle-scan-on):
3998 * progmodes/prolog.el (prolog-align-comments-flag)
3999 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4000 (prolog-left-indent-regexp, prolog-paren-indent-p)
4001 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4002 (prolog-types, prolog-mode-specificators)
4003 (prolog-determinism-specificators, prolog-directives)
4004 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4005 (prolog-electric-dot-flag)
4006 (prolog-electric-dot-full-predicate-template)
4007 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4008 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4009 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4010 (prolog-program-switches, prolog-prompt-regexp)
4011 (prolog-debug-on-string, prolog-debug-off-string)
4012 (prolog-trace-on-string, prolog-trace-off-string)
4013 (prolog-zip-on-string, prolog-zip-off-string)
4014 (prolog-use-standard-consult-compile-method-flag)
4015 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4016 (prolog-imenu-max-lines, prolog-info-predicate-index)
4017 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4018 (prolog-char-quote-workaround):
4019 * progmodes/cc-vars.el (c-defun-tactic):
4020 * net/tramp.el (tramp-encoding-command-interactive)
4021 (tramp-local-end-of-line):
4022 * net/soap-client.el (soap-client):
4023 * net/netrc.el (netrc-file):
4024 * net/gnutls.el (gnutls):
4025 * minibuffer.el (completion-category-overrides)
4026 (completion-cycle-threshold)
4027 (completion-pcm-complete-word-inserts-delimiters):
4028 * man.el (Man-name-local-regexp):
4029 * mail/feedmail.el (feedmail-display-full-frame):
4030 * international/characters.el (glyphless-char-display-control):
4031 * eshell/em-ls.el (eshell-ls-date-format):
4032 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4033 (lisp-lambda-list-keyword-parameter-indentation)
4034 (lisp-lambda-list-keyword-parameter-alignment):
4035 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4036 * dired-x.el (dired-omit-verbose):
4037 * cus-theme.el (custom-theme-allow-multiple-selections):
4038 * calc/calc.el (calc-highlight-selections-with-faces)
4039 (calc-lu-field-reference, calc-lu-power-reference)
4040 (calc-note-threshold):
4041 * battery.el (battery-mode-line-limit):
4042 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4043 (archive-7z-update):
4044 * allout.el (allout-prefixed-keybindings)
4045 (allout-unprefixed-keybindings)
4046 (allout-inhibit-auto-fill-on-headline)
4047 (allout-flattened-numbering-abbreviation):
4048 * allout-widgets.el (allout-widgets-auto-activation)
4049 (allout-widgets-icons-dark-subdir)
4050 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4051 (allout-widgets-theme-dark-background)
4052 (allout-widgets-theme-light-background)
4053 (allout-widgets-item-image-properties-emacs)
4054 (allout-widgets-item-image-properties-xemacs)
4055 (allout-widgets-run-unit-tests-on-load)
4056 (allout-widgets-time-decoration-activity)
4057 (allout-widgets-hook-error-post-time)
4058 (allout-widgets-track-decoration):
4059 Add missing :version tags to new defcustoms and defgroups.
4061 * progmodes/sql.el (sql-ansi-statement-starters)
4062 (sql-oracle-statement-starters): Add custom type.
4064 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4065 (prolog-system-version): Give it a type.
4067 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4069 * term/pc-win.el (x-select-text, x-selection-owner-p)
4070 (x-own-selection-internal, x-disown-selection-internal)
4071 (x-get-selection-internal): Sync doc strings and argument lists
4072 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4074 2012-02-11 Leo Liu <sdl.web@gmail.com>
4076 * progmodes/python.el (python-end-of-statement): Fix infinite
4079 2012-02-10 Glenn Morris <rgm@gnu.org>
4081 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4082 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4084 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4086 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4087 about SMTP before checking the From header.
4089 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4090 into own function for reuse by emacsbug.el.
4092 2012-02-10 Leo Liu <sdl.web@gmail.com>
4094 * subr.el (condition-case-unless-debug): Rename from
4095 condition-case-no-debug. All callers changed.
4096 (with-demoted-errors): Fix caller.
4098 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4099 * nxml/rng-valid.el (rng-do-some-validation):
4100 * emacs-lisp/package.el (package-refresh-contents)
4101 (package-menu-execute):
4102 * desktop.el (desktop-create-buffer):
4103 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4105 2012-02-10 Glenn Morris <rgm@gnu.org>
4107 * textmodes/bibtex.el:
4108 Add missing :version tags for new/changed defcustoms.
4110 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4112 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4114 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4115 (smtpmail-via-smtp): Use it, or fall back on the From address.
4116 (smtpmail-send-it): Ditto.
4118 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4121 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4122 (byte-compile-tmp-var): New const.
4123 (byte-compile-defvar): Use it to minimize .elc size.
4124 Just use `defvar' rather than simulate it (bug#10761).
4126 2012-02-09 Glenn Morris <rgm@gnu.org>
4128 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4130 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4133 * progmodes/compile.el (compilation-error-screen-columns)
4134 (compilation-first-column, compilation-filter-start): Doc fixes.
4136 * vc/log-view.el (log-view-toggle-entry-display):
4137 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4139 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4140 (report-emacs-bug-can-use-xdg-email):
4141 (report-emacs-bug-insert-to-mailer): Doc fixes.
4142 (report-emacs-bug): Message fix.
4144 * net/browse-url.el (browse-url-can-use-xdg-open)
4145 (browse-url-xdg-open): Doc fixes.
4147 * electric.el (electric-indent-mode, electric-pair-mode)
4148 (electric-layout-rules, electric-layout-mode): Doc fixes.
4149 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4151 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4153 * server.el (server-unselect-display): Don't inadvertently kill
4154 the current buffer. (Bug#10729)
4156 2012-02-08 Glenn Morris <rgm@gnu.org>
4158 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4159 (sql-list-table): Doc fixes.
4161 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4162 Comment out (does nothing).
4164 * completion.el (dynamic-completion-mode):
4165 * dirtrack.el (dirtrack-debug-mode):
4166 * electric.el (electric-layout-mode):
4167 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4168 * face-remap.el (text-scale-mode, buffer-face-mode):
4169 * iimage.el (iimage-mode):
4170 * image-mode.el (image-transform-mode):
4171 * minibuffer.el (completion-in-region-mode):
4172 * scroll-lock.el (scroll-lock-mode):
4173 * simple.el (next-error-follow-minor-mode):
4174 * tar-mode.el (tar-subfile-mode):
4175 * tooltip.el (tooltip-mode):
4176 * vcursor.el (vcursor-use-vcursor-map):
4177 * wid-browse.el (widget-minor-mode):
4178 * emulation/tpu-edt.el (tpu-edt-mode):
4179 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4180 * international/iso-ascii.el (iso-ascii-mode):
4181 * language/thai-util.el (thai-word-mode):
4182 * mail/supercite.el (sc-minor-mode):
4183 * net/goto-addr.el (goto-address-mode):
4184 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4185 * progmodes/cwarn.el (cwarn-mode):
4186 * progmodes/flymake.el (flymake-mode):
4187 * progmodes/glasses.el (glasses-mode):
4188 * progmodes/hideshow.el (hs-minor-mode):
4189 * progmodes/pascal.el (pascal-outline-mode):
4190 * textmodes/enriched.el (enriched-mode):
4191 * vc/smerge-mode.el (smerge-mode):
4192 Doc fixes (minor mode argument).
4194 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4196 * ls-lisp.el (ls-lisp-sanitize): New function.
4197 (ls-lisp-insert-directory): Use it to fix or remove any elements
4198 in file-alist with missing attributes. (Bug#4673)
4200 2012-02-07 Alan Mackenzie <acm@muc.de>
4202 Fix spurious recognition of c-in-knr-argdecl.
4204 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4205 putative K&R region.
4207 2012-02-07 Alan Mackenzie <acm@muc.de>
4209 * progmodes/cc-engine.el (c-forward-objc-directive):
4210 Prevent looping in "#pragma mark @implementation".
4212 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4214 * notifications.el (notifications-on-closed-signal): Make `reason'
4215 optional. (Bug#10744)
4217 2012-02-07 Glenn Morris <rgm@gnu.org>
4219 * emacs-lisp/easy-mmode.el (define-minor-mode):
4220 Doc fixes for the macro and the mode it defines.
4222 * image.el (imagemagick-types-inhibit): Doc fix.
4224 * cus-start.el (imagemagick-render-type): Add it.
4226 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4228 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4229 Set the default at load time, too, so that `font-lock-fontify-buffer'
4230 can be called without setting up the entire mode first. This fixes
4231 a bug in `mm-inline-text' with C MIME parts.
4233 2012-02-06 Chong Yidong <cyd@gnu.org>
4235 * simple.el (list-processes--refresh): Delete exited processes
4238 * comint.el (comint-next-prompt): next-single-char-property-change
4239 and prev-single-char-property-change never return nil (Bug#8657).
4241 * custom.el (defcustom): Doc fix (Bug#9711).
4243 2012-02-05 Chong Yidong <cyd@gnu.org>
4245 * cus-edit.el (custom-variable-reset-backup): Quote the value
4246 before storing it in the customized-value property (Bug#6712).
4247 (custom-display): Add a customization type tag.
4248 (custom-buffer-create-internal): Improve tooltip message.
4250 * wid-edit.el (widget-field-value-get): New optional arg to
4251 suppress trailing whitespace truncation.
4252 (character): Use it (Bug#2689).
4254 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4256 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4257 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4259 2012-02-05 Chong Yidong <cyd@gnu.org>
4261 * cus-edit.el (custom-variable-value-create): For mismatched
4262 types, show the current value (Bug#7600).
4264 * custom.el (defcustom): Doc fix.
4266 2012-02-05 Glenn Morris <rgm@gnu.org>
4268 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4270 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4272 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4273 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4274 (pp-last-sexp): Use `looking-at-p'.
4276 2012-02-04 Glenn Morris <rgm@gnu.org>
4278 * files.el (revert-buffer):
4279 Doc fix (mention revert-buffer-in-progress-p).
4281 * emacs-lisp/ert-x.el (ert-simulate-command):
4282 Check deferred-action-list (which is obsolete) is bound.
4284 * subr.el (with-wrapper-hook): Doc fixes.
4286 * simple.el (filter-buffer-substring-functions)
4287 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4289 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4291 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4292 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4294 2012-02-04 Leo Liu <sdl.web@gmail.com>
4296 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4298 2012-02-04 Glenn Morris <rgm@gnu.org>
4300 * image.el (image-extension-data): Add obsolete alias.
4302 * isearch.el (isearch-update): Doc fix.
4304 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4306 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4308 2012-02-03 Glenn Morris <rgm@gnu.org>
4310 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4311 (image-animate-timeout): Doc fix.
4313 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4315 2012-02-02 Glenn Morris <rgm@gnu.org>
4317 * server.el (server-auth-dir): Doc fix.
4318 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4320 * subr.el (run-mode-hooks): Doc fix.
4322 2012-02-02 Juri Linkov <juri@jurta.org>
4324 * image-mode.el (image-toggle-display-image): Remove tautological
4325 `major-mode' from the `derived-mode-p' test.
4327 2012-02-02 Kenichi Handa <handa@m17n.org>
4329 * composite.el (compose-region): Cancel previous change.
4331 2012-02-02 Kenichi Handa <handa@m17n.org>
4333 * composite.el (compose-region, compose-string): Signal error for
4334 a null string component (Bug#6988).
4336 2012-02-01 Chong Yidong <cyd@gnu.org>
4338 * view.el (view-buffer-other-window, view-buffer-other-frame):
4339 Handle special modes like view-buffer (Bug#10650).
4340 (view-buffer): Simplify.
4342 * frame.el (set-frame-font): Tweak meaning of third argument.
4344 * dynamic-setting.el (font-setting-change-default-font):
4345 Use set-frame-font (Bug#9982).
4347 2012-02-01 Glenn Morris <rgm@gnu.org>
4349 * progmodes/compile.el (compilation-internal-error-properties):
4350 Respect compilation-first-column in the "*compilation*" buffer.
4352 * emacs-lisp/easy-mmode.el (define-minor-mode):
4353 Relax :variable's test for a named function.
4355 2012-01-31 Alan Mackenzie <acm@muc.de>
4357 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4360 2012-01-31 Chong Yidong <cyd@gnu.org>
4362 * frame.el (set-frame-font): New arg ALL-FRAMES.
4364 * menu-bar.el (menu-set-font): Use set-frame-font.
4366 * faces.el (face-spec-reset-face): Don't apply unspecified
4367 attribute values to the default face.
4369 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4371 * progmodes/cwarn.el (cwarn): Remove dead link.
4372 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4373 Remove * from defcustom docstrings.
4374 (turn-on-cwarn-mode): Make obsolete.
4375 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4376 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4378 2012-01-31 Glenn Morris <rgm@gnu.org>
4380 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4381 Fix :variable handling of mode a symbol not equal to modefun.
4382 Allow named functions to be used as the cdr of :variable.
4384 2012-01-30 Glenn Morris <rgm@gnu.org>
4386 * emacs-lisp/authors.el (authors-fixed-entries):
4387 Remove reference to deleted file rnewspost.el.
4389 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4391 * window.el (window-with-parameter): Remove unused variable `windows'.
4392 (window--side-check): Remove unused variable `code'.
4393 (window--resize-siblings): Remove unused variable `first'.
4394 (adjust-window-trailing-edge): Remove unused variable `failed'.
4395 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4396 Use `let', not `let*'.
4397 (balance-windows-2): Remove unused variable `found'.
4398 (window--state-put-2): Remove unused variable `splits'.
4399 (window-state-put): Remove unused variable `selected'.
4400 (same-window-p): Use `string-match-p'.
4401 (display-buffer-assq-regexp): Remove unused variable `value'.
4402 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4403 Mark argument ALIST as ignored.
4404 (pop-to-buffer): Remove unused variable `old-window'.
4406 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4408 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4409 and .lzma compressed files.
4411 2012-01-29 Chong Yidong <cyd@gnu.org>
4413 * frame.el (window-system-default-frame-alist): Doc fix.
4415 * dynamic-setting.el (font-setting-change-default-font): Don't
4416 change the default face if SET-FONT argument is non-nil (Bug#9982).
4418 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4420 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4422 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4424 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4425 breakpoints in files outside current directory (Bug#6098).
4427 2012-01-29 Chong Yidong <cyd@gnu.org>
4429 * progmodes/python.el: Require ansi-color at top-level.
4431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4432 Define and use in Emacs Lisp mode (Bug#9360).
4433 (lisp-mode-abbrev-table): Add doc.
4434 (lisp-mode-variables): Don't set local-abbrev-table.
4435 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4437 2012-01-28 Roland Winkler <winkler@gnu.org>
4439 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4441 2012-01-28 Roland Winkler <winkler@gnu.org>
4443 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4444 (bibtex-set-dialect): Use it. Either set global values of
4445 dialect-dependent variables or bind these variables buffer-locally
4447 (bibtex-mode): Call bibtex-set-dialect via
4448 hack-local-variables-hook.
4449 (bibtex-dialect): Update docstring.
4450 Add safe-local-variable predicate.
4451 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4453 (bibtex-mode-map): Define menu for each dialect.
4454 (bibtex-entry): Fix docstring.
4456 2012-01-28 Chong Yidong <cyd@gnu.org>
4458 * eshell/esh-arg.el (eshell-quote-argument): New function.
4460 * eshell/esh-ext.el (eshell-invoke-batch-file):
4461 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4462 first arg to eshell-parse-command (Bug#10523).
4464 2012-01-28 Drew Adams <drew.adams@oracle.com>
4466 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4467 `default-directory' is non-nil.
4469 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4471 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4472 line that displays system-configuration-options. (Bug#9924)
4474 2012-01-28 Drew Adams <drew.adams@oracle.com>
4476 * descr-text.el (describe-char): Show information about POS, in
4477 addition to information about the character at POS. Improve and
4478 update the doc string. Change "code point" to "code point in
4479 charset", to avoid confusion with the character's Unicode code
4480 point shown above that. (Bug#10129)
4482 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4484 * descr-text.el (describe-char): Show the raw character, not only
4485 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4486 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4489 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4491 * emacs-lisp/package.el (package-install):
4492 Run package-refresh-contents if there is no archive yet (Bug#9798).
4494 2012-01-28 Chong Yidong <cyd@gnu.org>
4496 * emacs-lisp/package.el (package-maybe-load-descriptor):
4497 New function, split from package-maybe-load-descriptor.
4498 (package-maybe-load-descriptor): Use it.
4499 (package-download-transaction): Fully load required packages
4500 inside the loop, so that `require' calls work (Bug#10593).
4501 (package-install): No need to call package-initialize now.
4503 2012-01-28 Chong Yidong <cyd@gnu.org>
4505 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4507 * tooltip.el (tooltip-mode): Doc fix.
4508 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4510 * frame.el (set-cursor-color): Doc fix (Bug#352).
4512 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4513 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4515 * cus-edit.el (custom-buffer-create-internal): Fix search button
4517 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4519 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4521 * dired.el (dired-mark-files-regexp):
4522 Include any subdirectory components. (Bug#10445)
4524 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4526 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4527 Handle [host]:port syntax. (Bug#10533)
4529 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4531 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4533 2012-01-26 Glenn Morris <rgm@gnu.org>
4535 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4536 * term.el (term-raw-escape-map): Use Control-X-prefix.
4537 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4539 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4541 * window.el (window-state-get, window--state-get-1): Don't deal
4542 with fixed-sizeness of windows. Simplify code.
4544 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4546 * window.el (window--state-get-1, window--state-put-2):
4547 Don't save and restore the mark.
4549 2012-01-25 Chong Yidong <cyd@gnu.org>
4551 * custom.el (custom-variable-p): Doc fix.
4553 2012-01-25 Glenn Morris <rgm@gnu.org>
4555 * dired.el (dired-goto-file): Handle some of the more common
4556 characters that `ls -b' escapes. (Bug#10596)
4558 * progmodes/compile.el (compilation-next-error-function):
4559 Respect compilation-first-column in the "*compilation*" buffer.
4560 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4562 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4564 2012-01-24 Glenn Morris <rgm@gnu.org>
4566 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4568 2012-01-24 Julien Danjou <julien@danjou.info>
4570 * color.el (color-rgb-to-hsl): Fix value computing.
4571 (color-hue-to-rgb): New function.
4572 (color-hsl-to-rgb): New function.
4573 (color-clamp, color-saturate-hsl, color-saturate-name)
4574 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4575 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4577 2012-01-24 Glenn Morris <rgm@gnu.org>
4579 * vc/vc-rcs.el (vc-rcs-create-tag):
4580 * vc/vc-sccs.el (vc-sccs-create-tag):
4581 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4583 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4585 * eshell/esh-util.el (eshell-read-hosts-file):
4586 Skip comment lines. (Bug#10549)
4588 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4590 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4592 * subr.el (display-delayed-warnings): Doc fix.
4593 (collapse-delayed-warnings): New function to collapse identical
4595 (delayed-warnings-hook): Add it.
4597 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4599 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4601 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4602 properties, when "login-as" is set.
4604 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4605 (tramp-default-user-alist): Don't add "pscp".
4606 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4607 property "login-as", if set. (Bug#10530)
4609 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4611 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4612 "plink1" and "psftp". (Bug#10530)
4614 2012-01-21 Kenichi Handa <handa@m17n.org>
4616 * international/mule-cmds.el (prefer-coding-system): Show a
4617 warning message if the default value of file-name-coding-system
4620 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4622 * windmove.el (windmove-reference-loc):
4623 Fix windmove-reference-loc miscalculation.
4625 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4627 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4630 2012-01-21 Glenn Morris <rgm@gnu.org>
4632 * international/mule.el (auto-coding-alist): Add .tbz.
4634 * files.el (local-enable-local-variables): Doc fix.
4635 (inhibit-local-variables-regexps): Rename from
4636 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4637 Doc fix. Add some extensions from auto-coding-alist.
4638 (inhibit-local-variables-suffixes):
4639 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4640 (inhibit-local-variables-p):
4641 New function, extracted from set-auto-mode-1.
4642 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4643 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4644 (hack-local-variables): Doc fix. Make the mode-only case
4645 respect enable-local-variables and friends.
4646 Respect inhibit-local-variables-regexps for file-locals, but
4647 not for directory-locals.
4648 (set-visited-file-name):
4649 Take account of inhibit-local-variables-regexps.
4650 Whether it applies may change as the file name is changed.
4651 * jka-cmpr-hook.el (jka-compr-install):
4652 * jka-compr.el (jka-compr-uninstall):
4653 Update for inhibit-first-line-modes-suffixes name change.
4655 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4657 * help-macro.el (make-help-screen): Temporarily restore original
4658 binding for minor-mode-map-alist (Bug#10454).
4660 2012-01-19 Julien Danjou <julien@danjou.info>
4662 * color.el (color-name-to-rgb): Use the white color to find the max
4663 color component value and return correctly computed values.
4664 (color-name-to-rgb): Add missing float conversion for max value.
4666 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4668 * window.el (window--state-get-1, window-state-get): Do not use
4669 special state value for window-persistent-parameters.
4670 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4671 (window--state-put-2): Reset all window parameters to nil before
4672 assigning values of persistent parameters.
4674 2012-01-18 Alan Mackenzie <acm@muc.de>
4676 Eliminate sluggishness and hangs in fontification of "semicolon
4679 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4680 Change value 10000 -> 3000.
4681 (c-state-safe-place): Reformulate so it doesn't stack up an
4682 infinite number of wrong entries in c-state-nonlit-pos-cache.
4683 (c-determine-limit-get-base, c-determine-limit): New functions to
4684 determine backward search limits disregarding literals.
4685 (c-find-decl-spots): Amend commenting.
4686 (c-cheap-inside-bracelist-p): New function which detects "={".
4688 * progmodes/cc-fonts.el
4689 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4691 (c-font-lock-declarations): Fix an occurrence of point being
4692 undefined. Check additionally for point being in a bracelist or
4693 near a macro invocation without a semicolon so as to avoid a
4694 fruitless time consuming search for a declarator. Give a more
4695 precise search limit for declarators using the new
4698 2012-01-18 Glenn Morris <rgm@gnu.org>
4700 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4701 (set-auto-mode): Doc fixes.
4703 2012-01-17 Glenn Morris <rgm@gnu.org>
4705 * isearch.el (search-nonincremental-instead): Fix doc typo.
4707 * dired.el (dired-insert-directory): Handle newlines in directory name.
4708 (dired-build-subdir-alist): Unescape newlines in directory name.
4710 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4712 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4713 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4714 (tramp-action-terminal): Use it. (Bug#10530)
4716 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4720 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4722 * window.el (window-state-ignored-parameters): Remove variable.
4723 (window--state-get-1): Rename argument MARKERS to IGNORE.
4724 Handle persistent window parameters. Make copy of clone-of
4725 parameter only if requested. (Bug#10348)
4726 (window--state-put-2): Install a window parameter only if it has
4727 a non-nil value or an existing parameter shall be overwritten.
4729 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4731 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4733 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4735 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4736 don't pass the (nil) value of `upnode' to string-match.
4738 2012-01-14 Chong Yidong <cyd@gnu.org>
4740 * startup.el (command-line): Fix X resource class for cursorColor.
4741 Fix values recognized by the cursorBlink resource.
4743 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4745 * epg.el (epg--make-temp-file): Avoid permission race condition
4746 when running on old Emacs versions (bug#10403).
4748 2012-01-14 Glenn Morris <rgm@gnu.org>
4750 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4752 2012-01-13 Alan Mackenzie <acm@muc.de>
4754 Fix filling for when filladapt mode is enabled.
4756 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4757 c-mask-paragraph, pass in `fill-paragraph' rather than
4758 `fill-region-as-paragraph'. (This is a reversion of a previous
4760 * progmodes/cc-mode.el (c-basic-common-init):
4761 Make fill-paragraph-handle-comment buffer local and set it to nil.
4763 2012-01-13 Glenn Morris <rgm@gnu.org>
4765 * dired.el (dired-switches-escape-p): New function.
4766 (dired-insert-directory): Use dired-switches-escape-p.
4767 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4769 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4771 2012-01-12 Glenn Morris <rgm@gnu.org>
4773 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4774 changes in adaptive-fill-regexp. (Bug#10276)
4776 2012-01-11 Alan Mackenzie <acm@muc.de>
4778 Fix Emacs bug #10463 - put `widen's around the critical spots.
4780 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4781 widen around each invocation of c-state-pp-to-literal. Remove an
4782 unused let variable.
4784 2012-01-11 Glenn Morris <rgm@gnu.org>
4786 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4789 2012-01-10 Chong Yidong <cyd@gnu.org>
4791 * net/network-stream.el (network-stream-open-starttls):
4792 Avoid emitting a confusing error message when the server gives a bad
4793 response to the capability command.
4795 2012-01-10 Glenn Morris <rgm@gnu.org>
4797 * mail/unrmail.el (unrmail): Tweak previous change.
4799 2012-01-09 Chong Yidong <cyd@gnu.org>
4801 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4803 2012-01-08 Alan Mackenzie <acm@muc.de>
4805 Optimise font locking in long enum definitions.
4807 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4808 arm to a cond form to handle enums.
4809 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4810 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4812 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4814 * files.el (move-file-to-trash): Preserve default file modes on error.
4817 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819 * faces.el (set-face-attribute): Clarify the meaning of the nil
4822 * subr.el (with-selected-frame): Mention that the selected frame
4823 is restored (bug#9980).
4825 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4828 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4829 (password-read): Don't autoload unused function.
4831 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4833 * progmodes/which-func.el (which-func-mode): Turn into a
4834 non-interactive function and mark as obsolete (bug#10428).
4836 2012-01-06 Chong Yidong <cyd@gnu.org>
4838 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4839 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4840 functions, along with 1 and -1.
4842 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4844 * time.el (display-time-load-average)
4845 (display-time-default-load-average): Doc fixes. See the thread
4847 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4850 2012-01-06 Glenn Morris <rgm@gnu.org>
4852 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4853 has no messages. (Bug#10377)
4855 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4856 than Info-edit. (Bug#10385)
4858 * time.el (display-time-load-average, display-time-next-load-average):
4861 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4862 local setting of buffer-read-only to the input buffer. (Bug#10419)
4864 * calendar/calendar.el (calendar-mode):
4865 Locally set scroll-margin to 0. (Bug#10379)
4867 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4869 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4871 2012-01-05 Glenn Morris <rgm@gnu.org>
4873 * eshell/em-unix.el (diff-no-select): Autoload it.
4874 (eshell/diff): Use diff-no-select. (Bug#10420)
4876 2012-01-05 Chong Yidong <cyd@gnu.org>
4878 * shell.el (shell-dynamic-complete-functions): Revert last change.
4879 (shell-command-completion-function): New function.
4880 (shell-completion-vars): Use it to implement
4881 shell-completion-execonly (Bug#10417).
4883 * custom.el (enable-theme): Don't set custom-safe-themes.
4885 * cus-theme.el (custom-theme-merge-theme):
4886 Ignore custom-enabled-themes and custom-safe-themes.
4888 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4890 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4891 first prompt in `sql-interacive-mode'.
4892 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4894 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4895 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4896 context of original buffer. Invoke `sql-login-hook'.
4898 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4900 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4901 letters in cite-prefix.
4903 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4907 2012-01-03 Chong Yidong <cyd@gnu.org>
4909 * shell.el (shell-dynamic-complete-functions):
4910 Put pcomplete-completions-at-point, so as to try
4911 comint-filename-completion first (Bug#10417).
4913 2012-01-02 Richard Stallman <rms@gnu.org>
4915 * battery.el (battery-status-function):
4916 Detect when to use battery-yeeloong-sysfs.
4917 (battery-echo-area-format): Add string for Yeeloong.
4918 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4919 (battery-yeeloong-sysfs): New function.
4921 2012-01-02 Chong Yidong <cyd@gnu.org>
4923 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4924 (dirtrack): Merge code for handling relative filenames in prompt
4925 from shell-dir-cookie-watcher.
4926 (dirtrack-debug-message): New arg to avoid excess format calls.
4928 * shell.el (shell-dir-cookie-re): Variable deleted.
4929 (shell-dir-cookie-watcher): Function deleted.
4930 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4933 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4935 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4936 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4939 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4941 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4943 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4945 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4946 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4948 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4950 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4951 also for alternative shells.
4952 (tramp-open-connection-setup-interactive-shell): Check, whether
4953 the shell is a busybox.
4954 (tramp-send-command): Don't suppress multiple prompts for
4955 busyboxes, it hurts.
4957 2011-12-28 Chong Yidong <cyd@gnu.org>
4959 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4960 (gdb-get-source-file): Move mode line update to
4961 gdb-get-source-file (Bug#10087).
4963 2011-12-25 Chong Yidong <cyd@gnu.org>
4965 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4966 gud-gdb-marker-filter without taking it as an argument.
4967 (gud-gdb-run-command-fetch-lines): Caller changed.
4968 (gud-gdb-completion-function): New variable.
4969 (gud-gdb-completion-at-point): Use it.
4970 (gud-gdb-completions-1): Split from gud-gdb-completions.
4972 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4973 function as separate arguments.
4974 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4975 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4976 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4977 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4978 (gdb-stopped, def-gdb-auto-update-trigger)
4979 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4980 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4982 (gud-gdbmi-completions): New function.
4983 (gdb): Use it for generating the completion table.
4985 2011-12-24 Alan Mackenzie <acm@muc.de>
4987 Introduce a mechanism to widen the region used in context font
4988 locking. Use this to protect declarations from losing their contexts.
4990 * progmodes/cc-langs.el (c-before-font-lock-functions):
4991 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4992 (c-before-context-fontification-functions): New defvar, a list of
4993 functions to be run just before context (etc.) font locking.
4995 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4996 New, functionality extracted from
4997 c-neutralize-syntax-in-and-mark-CPP.
4998 (c-in-after-change-fontification): New variable.
4999 (c-after-change): Set c-in-after-change-fontification.
5000 (c-set-fl-decl-start): Rejig its interface, so it can be called
5001 from both after-change and context fontifying.
5002 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5004 (c-standard-font-lock-fontify-region-function): New variable.
5005 (c-font-lock-fontify-region): New function.
5007 2011-12-24 Juri Linkov <juri@jurta.org>
5009 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5012 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5014 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5015 existence of source file. (Bug#10325)
5017 2011-12-23 Alan Mackenzie <acm@muc.de>
5019 Fix unstable fontification inside templates.
5021 * progmodes/cc-langs.el (c-before-font-lock-functions):
5022 Newly created from the singular version. The (c c++ objc) entry now
5023 additionally has c-set-fl-decl-start. The other languages (apart
5024 from AWK) have that as a single entry.
5026 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5027 The functionality for "local" declarations has been extracted to
5028 c-set-fl-decl-start.
5030 * progmodes/cc-mode.el (c-common-init, c-after-change):
5031 Changes due to pluralisation of c-before-font-lock-functions.
5032 (c-set-fl-decl-start): New function, extracted from
5033 c-font-lock-enclosing-decls and enhanced.
5035 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5037 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5039 2011-12-22 Juri Linkov <juri@jurta.org>
5041 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5043 2011-12-22 Chong Yidong <cyd@gnu.org>
5045 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5047 2011-12-21 Drew Adams <drew.adams@oracle.com>
5049 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5051 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5053 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5055 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5057 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5058 highlighting and support. Fix up comments for capitalization.
5059 (cfengine-mode-debug): New var.
5060 (cfengine3-mode): Change the modeline indicator to "CFE3".
5061 (cfengine3-font-lock-keywords): Improve defun highlighting.
5062 (cfengine2-actions): Rename from `cfengine-actions'.
5063 (cfengine2-font-lock-keywords): Rename from
5064 `cfengine-font-lock-keywords'.
5065 (cfengine2-imenu-expression): Rename from
5066 `cfengine-imenu-expression'.
5067 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5068 (cfengine2-beginning-of-defun): Rename from
5069 `cfengine-beginning-of-defun'.
5070 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5071 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5072 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5073 modeline indicator to "CFE2".
5074 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5075 (cfengine-mode-abbrevs): Mark obsolete.
5077 2011-12-21 Chong Yidong <cyd@gnu.org>
5079 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5082 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5084 * window.el (window-normalize-buffer-to-display): Remove.
5085 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5087 2011-12-19 Chong Yidong <cyd@gnu.org>
5089 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5090 Don't signal an error in a predicate function; return non-nil.
5091 (vc-dir-mark-file): Move the error here.
5092 (vc-dir-mark-unmark): If acting on the region, keep going if one
5093 of the entries cannot be marked/unmarked.
5094 (vc-dir-mark-all-files): If current entry is a directory, mark
5095 only child files, as documented.
5097 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5099 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5100 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5103 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5105 * term/ns-win.el (ns-get-selection-internal)
5106 (ns-store-selection-internal): Declare.
5107 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5108 Declare as obsolete.
5109 (ns-get-pasteboard, ns-paste-secondary):
5110 Use ns-get-selection-internal.
5111 (ns-set-pasteboard, ns-copy-including-secondary):
5112 Use ns-store-selection-internal.
5114 2011-12-17 Chong Yidong <cyd@gnu.org>
5116 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5117 (vc-deduce-fileset): Doc fix.
5119 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5121 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5123 2011-12-13 Sam Steingold <sds@gnu.org>
5125 * man.el (Man-getpage-in-background): When running under a
5126 window-system, ignore $MANWIDTH and $COLUMNS.
5128 2011-12-15 Kenichi Handa <handa@m17n.org>
5130 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5131 (setup-ethiopic-environment-internal): Comment out key-binding for
5132 ethio-toggle-punctuation.
5134 2011-12-13 Alan Mackenzie <acm@muc.de>
5136 Add the switch statement to AWK Mode.
5138 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5139 "default" to the keywords regexp.
5141 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5142 expression as the rest.
5143 (c-nonlabel-token-key): Allow string literals for AWK.
5144 Refactor for the other modes.
5146 Large brace-block initialisation makes CC Mode slow: Fix.
5147 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5148 routines. Limit backward searching in c-font-lock-enclosing.decl.
5150 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5151 pp-state and literal type in addition to the limits.
5152 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5153 (c-state-literal-at): Use the above new defun.
5154 (c-slow-in-literal, c-fast-in-literal): Remove.
5155 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5158 being in a literal. Add a limit for backward searching.
5160 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5163 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5167 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5169 * window.el (delete-other-windows): Use correct frame in call to
5170 window-with-parameter.
5172 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5174 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5175 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5176 (makefile-gmake-statements, makefile-makepp-statements):
5177 Use it and add new makepp keywords.
5178 (makefile-makepp-font-lock-keywords): Add new patterns.
5179 (makefile-match-function-end): Match new [...] and [[...]].
5181 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5183 * ses.el (ses-call-printer-return, ses-cell-property-get)
5184 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5185 (ses-create-cell-variable, ses-reset-header-string)
5186 (ses-cell-set-formula, ses-repair-cell-reference-all)
5187 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5188 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5189 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5190 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5191 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5192 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5193 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5194 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5195 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5196 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5197 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5198 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5200 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5202 * ses.el: The overall change is to add cell renaming, that is
5203 setting fancy names for cell symbols other than name matching
5204 "\\`[A-Z]+[0-9]+\\'" regexp .
5205 (ses-create-cell-variable): New defun.
5206 (ses-relocate-formula): Relocate formulas only for cells the
5207 symbols of which are not renamed, i.e. symbols whose names do not
5208 match regexp "\\`[A-Z]+[0-9]+\\'".
5209 (ses-relocate-all): Relocate values only for cells the symbols of
5210 which are not renamed.
5211 (ses-load): Create cells variables as the (ses-cell ...) are read,
5212 in order to check row col consistency with cell symbol name only
5213 for cells that are not renamed.
5214 (ses-replace-name-in-formula): New defun.
5215 (ses-rename-cell): New defun.
5217 2011-12-11 Chong Yidong <cyd@gnu.org>
5219 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5220 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5222 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5224 * window.el (other-window): Fix docstring.
5226 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5228 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5229 `from' or `to' address before taking its substring.
5230 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5231 encoded name is chopped in the middle of the encoded string, and
5232 thus displayed encoded.
5234 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5236 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5238 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5240 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5241 to use texinfo-update-node and commands that call it if the
5242 Texinfo file uses @node lines without next/prev/up pointers.
5243 Correct outdated description about texinfo-master-menu.
5244 (texinfo-all-menus-update, texinfo-master-menu)
5245 (texinfo-update-node, texinfo-every-node-update)
5246 (texinfo-multiple-files-update): Doc fix. Warn against updating
5247 all the @node lines.
5248 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5249 argument is numeric. Explain better in the doc string what the
5250 function really does.
5251 (texinfo-insert-master-menu-list): Improve the error message
5252 displayed if there's no menu in the Top node.
5253 (Bug#2975) See also this thread:
5254 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5256 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5258 * speedbar.el (speedbar-supported-extension-expressions):
5259 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5261 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5263 * printing.el (pr-mode-alist):
5264 * simple.el (filter-buffer-substring-functions)
5265 (completion-list-insert-choice-function):
5266 * window.el (window-with-parameter, window-atom-root)
5267 (window-sides-slots, window-size-fixed, window-min-delta)
5268 (window-max-delta, window--resize-mini-window)
5269 (window--resize-child-windows-normal, window-tree)
5270 (delete-other-windows, quit-window, split-window)
5271 (display-buffer-record-window, special-display-buffer-names)
5272 (special-display-regexps, special-display-popup-frame)
5273 (same-window-p, split-window-sensibly)
5274 (display-buffer-overriding-action, display-buffer-alist)
5275 (display-buffer-base-action, display-buffer, switch-to-buffer)
5276 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5277 (fit-window-to-buffer, recenter-positions)
5278 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5279 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5280 and remove unneeded backslashes in docstrings.
5282 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5286 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5287 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5289 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5290 when reading the makefile (bug#10116).
5292 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5294 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5297 2011-12-06 Glenn Morris <rgm@gnu.org>
5299 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5301 2011-12-06 Chong Yidong <cyd@gnu.org>
5303 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5305 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5307 * textmodes/table.el (table-shorten-cell): Fix typo.
5309 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5311 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5313 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5315 * descr-text.el (describe-char): Fix display of strong
5316 right-to-left characters and directional embeddings and overrides.
5318 * simple.el (what-cursor-position): Fix display of codepoints of
5319 strong right-to-left characters.
5321 2011-12-05 Chong Yidong <cyd@gnu.org>
5323 * faces.el (read-color): Doc fix.
5325 2011-12-05 Glenn Morris <rgm@gnu.org>
5327 * align.el (align--set-marker): Add doc-string.
5328 Don't try to move something that is not a marker. (Bug#10216)
5330 2011-12-04 Glenn Morris <rgm@gnu.org>
5332 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5333 overly zealous deletion of trailing whitespace.
5335 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5337 * server.el (server-delete-client): On Windows, do not try to delete
5339 (server-process-filter): On Windows, treat requests for a tty frame as
5340 if they were for a GUI frame if the running server is in GUI mode.
5342 2011-12-03 Glenn Morris <rgm@gnu.org>
5344 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5346 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * electric.el: Streamline electric-indent's hook.
5349 (electric-indent-chars): Revert to simple list.
5350 (electric-indent-functions): New var.
5351 (electric-indent-post-self-insert-function): Use it.
5353 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5354 there's no inferior buffer (bug#10196).
5355 (prolog-consult-compile): Don't use toggle-read-only.
5357 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5359 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5360 interrupt. (Bug#10187)
5362 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5367 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5370 2011-12-02 Juri Linkov <juri@jurta.org>
5372 * info.el (Info-search): Display "end of manual" when Isearch
5373 reaches the end of single-file Info manual. (Bug#9918)
5375 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5377 * isearch.el (isearch-message-prefix): Run the input method part
5378 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5380 2011-12-02 Juri Linkov <juri@jurta.org>
5382 * isearch.el (isearch-occur): Use `word-search-regexp' for
5384 (isearch-search-and-update): Add condition for `isearch-word' and
5385 call `word-search-regexp'. (Bug#10145)
5387 2011-12-01 Glenn Morris <rgm@gnu.org>
5389 * eshell/em-hist.el (eshell-hist-initialize):
5390 Handle eshell-history-size nil and HISTSIZE set or unset.
5391 (eshell-history-file-name, eshell-history-size): Fix custom type.
5393 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5397 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5399 * progmodes/verilog-mode.el (verilog-pretty-expr):
5400 Rework verilog-pretty-expr to handle new assignment operators in system
5401 verilog, such as += *= and the like.
5402 (verilog-assignment-operator-re): Regular expression to find the
5403 assigment operator in a verilog assignment.
5404 (verilog-assignment-operation-re): Regular expression to find an
5405 assignment statement for pretty-expr.
5406 (verilog-in-attribute-p): Query returns true if point is in an
5407 attribute context; used to skip these for expression line up from
5409 (verilog-in-parameter-p): Query returns true if point is in an
5410 parameter definition context; used to skip these for expression
5411 line up from pretty-expr.
5412 (verilog-in-parenthesis-p): Query returns true if point is in a
5413 parenthetical expression, specifically ( ) but not [ ] or { };
5414 used by pretty-expr.
5415 (verilog-just-one-space): If there is no space, don't add one.
5416 (verilog-get-lineup-indent-2): Specifically skip just attribute
5417 contexts for expression lineup, rather than skipping all
5418 parenthetical expressions.
5419 (verilog-calculate-indent): Fix comment, and fix indent.
5420 (verilog-do-indent): Indent declarations in lists (suggested by
5422 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5424 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5427 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5429 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5430 parameters with embedded comments. Reported by Ray Stevens.
5431 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5432 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5433 Reported by Tim Holt.
5434 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5435 instantiated by upper module causing wrong expansion until AUTOed a
5436 second time. Reported by K C Buckenmaier.
5437 (verilog-diff-auto): Fix showing .* as a difference when
5438 `verilog-auto-star-save' off. Reported by Dan Dever.
5439 (verilog-auto-reset, verilog-read-always-signals)
5440 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5441 temporary signals in reset list if
5442 verilog-auto-reset-blocking-in-non is nil, and match assignment
5443 style to each signal's assignment type, bug381.
5444 Reported by Thomas Esposito.
5445 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5446 (verilog-uvm-statement-re): Support UVM indentation and
5447 highlighting, with old OVM keywords only.
5448 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5449 Support AUTOTIEOFF creating non-wire data types.
5450 Suggested by Jonathan Greenlaw.
5451 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5452 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5453 (verilog-inject-sense, verilog-read-inst-pins)
5454 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5455 Fix mismatching parenthesis inside commented out code when deleting
5456 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5457 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5458 non-numeric vector width. Reported by Alex Reed.
5459 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5460 detecting signals with parameter widths. Reported by Alex Reed.
5461 (verilog-auto-delete-trailing-whitespace):
5462 With `verilog-auto-delete-trailing-whitespace' remove trailing
5463 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5464 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5465 Fix verilog-scan-cache corruption when running user AUTO expansion
5466 hooks that call indentation routines.
5467 (verilog-simplify-range-expression): Fix typo ignoring lower case
5469 (verilog-delete-auto): Fix delete-autos to also remove user created
5470 automatics, as long as they start with AUTO.
5471 (verilog-batch-diff-auto, verilog-diff-auto)
5472 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5473 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5474 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5475 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5476 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5477 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5478 is disabled and its cache will get corrupt, causing AUTOS not to
5479 expand. Instead use only -quick functions.
5480 (verilog-scan-region): Fix scanning over escaped quotes.
5481 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5482 (verilog-re-search-backward-quick)
5483 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5484 related functions now ignore strings, to fix misparsing of strings
5485 with magic comments embedded in them.
5486 (verilog-read-auto-template):
5487 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5488 Reported by Brad Dobbie.
5489 (verilog-read-auto-template):
5490 Fix 'verilog-auto-inst-template-numbers' with comments.
5491 Reported by Brad Dobbie.
5492 (verilog-auto-inst, verilog-auto-inst-param)
5493 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5494 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5495 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5496 debugging templates without merge conflicts, bug357.
5497 Reported by Brad Dobbie.
5498 (verilog-read-auto-template):
5499 Fix verilog-auto-inst-template-numbers with multiple templates.
5500 Reported by Brad Dobbie.
5501 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5502 abbrevs so user won't be asked to save.
5503 (verilog-read-auto-lisp-present): Fix to start at beginning of
5504 buffer in case called outside of verilog-auto.
5505 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5506 to "X-2". Reported by Matthew Myers.
5507 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5508 all inputs from module templates. Reported by Leith Johnson.
5509 (verilog-module-inside-filename-p): Fix locating programs as with
5511 (verilog-auto-inst-port): Fix vl-width expressions when using
5512 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5513 (verilog-decls-get-regs, verilog-decls-get-signals,
5514 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5515 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5516 verilog-read-decls): Combine reg and wire structures into one var
5517 structure to represent SystemVerilog concepts.
5518 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5519 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5520 (verilog-auto-wire-type, verilog-insert-definition):
5521 Add verilog-auto-wire-type and AUTOLOGIC to support using
5522 SystemVerilog "logic" keyword instead of "wire"/"reg".
5523 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5524 to declares outputs that also have assignments (presumably in an
5525 ifdef or generate if so there's not a driver conflict).
5526 Reported by Matthew Myers.
5527 (verilog-auto-declare-nettype, verilog-insert-definition):
5528 Add verilog-auto-declare-nettype to fix declarations using
5529 `default_nettype none. Reported by Julian Gorfajn.
5530 (verilog-read-always-signals-recurse, verilog-read-decls)
5531 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5532 malformed end statement, bug325. Reported by Joshua Wise and
5534 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5535 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5536 when expanding .* in interfaces, bug320.
5537 Reported by Pierre-David Pfister.
5538 (verilog-read-module-name): Fix import statements between module
5539 name and open parenthesis, bug317.
5540 Reported by Pierre-David Pfister.
5541 (verilog-simplify-range-expression): Fix simplification of
5542 multiplications inside AUTOWIRE connections, bug303.
5543 (verilog-auto-inst-port): Support parameter expansion in
5544 multidimensional arrays.
5545 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5546 after "assert property". Reported by Julian Gorfajn.
5547 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5548 with multiplication, bug303.
5549 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5550 Reported by Jan Frode Lonnum.
5552 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5554 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5555 (hfy-shell-file-name, hfy-shell):
5556 * international/fontset.el (x-decompose-font-name): Fix typos.
5558 2011-11-29 Ken Brown <kbrown@cornell.edu>
5560 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5561 (gdb-version): Remove defvar.
5562 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5563 (gdb-gud-context-command, gdb-non-stop-handler)
5564 (gdb-current-context-command, gdb-stopped): Use it.
5565 (gdb-init-1): Enable pretty printing here.
5566 (gdb-non-stop-handler): Don't enable pretty-printing here.
5567 Check to see if the target supports non-stop mode; if not, turn off
5568 non-stop mode. Use the following.
5569 (gdb-check-target-async): New defun.
5570 (gud-watch, gdb-stopped): Fix whitespace.
5571 (gdb-get-source-file): Don't try to display the source file if
5572 `gdb-main-file' is nil.
5574 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * align.el: Try to generate fewer markers (bug#10047).
5577 (align--set-marker): New macro.
5578 (align-region): Use it.
5580 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5584 2011-11-29 Chong Yidong <cyd@gnu.org>
5586 * indent.el (indent-for-tab-command, indent-according-to-mode):
5588 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5590 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5592 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5593 aware of remote file names. (Bug#10124)
5595 2011-11-29 Chong Yidong <cyd@gnu.org>
5597 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5599 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * files.el (find-file): Don't use force-same-window (bug#10144).
5602 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5603 use pop-to-buffer if the selected window can't be used.
5604 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5606 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5608 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5611 2011-11-28 Chong Yidong <cyd@gnu.org>
5613 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5615 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5617 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5618 gdb-get-source-file-list on gdb-create-source-file-list.
5620 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5622 * whitespace.el (whitespace-newline): Use a different foreground
5623 color for 16-color light-background displays.
5625 2011-11-24 Chong Yidong <cyd@gnu.org>
5627 * window.el (display-buffer--special-action): Doc fix.
5629 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5631 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5632 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5633 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5634 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5635 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5636 (avl-tree-stack-first):
5637 * emacs-lisp/cconv.el (cconv--analyse-use):
5638 * net/gnutls.el (gnutls-negotiate): Fix typos.
5640 2011-11-24 Glenn Morris <rgm@gnu.org>
5642 * lpr.el (lpr-windows-system, lpr-lp-system):
5643 * mail/binhex.el (binhex-begin-line):
5644 * progmodes/grep.el (grep-history, grep-find-history):
5645 * textmodes/flyspell.el:
5646 * vc/pcvs-defs.el (cvs-global-menu):
5647 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5648 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5649 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5651 * net/tls.el: Fix case of "GnuTLS".
5653 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5655 * version.el (emacs-build-system): Give it a doc-string.
5657 2011-11-24 Juri Linkov <juri@jurta.org>
5659 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5661 2011-11-24 Glenn Morris <rgm@gnu.org>
5663 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5664 if called on a non-mime message just toggle the headers. (Bug#8006)
5666 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5668 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5669 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5670 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5671 (allout-rebullet-heading, allout-open-sibtopic)
5672 (allout-toggle-current-subtree-encryption)
5673 (allout-toggle-subtree-encryption, allout-encrypt-string)
5674 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5675 (allout-distinctive-bullets-string, allout-auto-activation):
5676 * window.el (window-normalize-buffer-to-display):
5677 * progmodes/verilog-mode.el (verilog-batch-indent):
5678 * textmodes/bibtex.el (bibtex-field-braces-opt)
5679 (bibtex-field-strings-opt):
5680 * vc/cvs-status.el (cvs-tree-merge):
5683 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5685 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5686 `non-essential' to t, in order to avoid remote connections.
5688 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5691 On MS-DOS and MS-Windows, compare with loaddefs.el
5694 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5696 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5698 2011-11-23 Glenn Morris <rgm@gnu.org>
5700 * paths.el (rmail-file-name): Reformat the doc-string so that it
5703 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5704 (rmail-auto-file): Ignore case in the "special" field names,
5705 as mail-fetch-field does for all others.
5707 * mail/rmail.el (rmail-forward):
5708 * mail/rmailkwd.el (rmail-set-label):
5709 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5710 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5712 * mail/rmail.el (rmail-current-message): Doc fix.
5714 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5716 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5718 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5720 2011-11-22 Glenn Morris <rgm@gnu.org>
5722 * mail/rmailmm.el (test-rmail-mime-handler)
5723 (test-rmail-mime-bulk-handler)
5724 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5726 2011-11-21 Juri Linkov <juri@jurta.org>
5728 * calc/calc.el (calc-read-key-sequence):
5729 Let-bind `input-method-function' to nil. (Bug#10018)
5731 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5733 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5734 Tell the caller that the next line needs recomputation, even
5735 though it doesn't start a sexp (bug#10094).
5737 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5741 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5744 Use force-same-window.
5746 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5748 * descr-text.el (describe-char-unicode-data):
5749 * json.el (json-string-escape):
5750 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5751 (Footnote-unicode, Footnote-style-p):
5752 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5754 2011-11-20 Chong Yidong <cyd@gnu.org>
5756 * window.el (replace-buffer-in-windows): Restore interactive spec.
5758 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5762 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5763 (byte-compile-global-not-obsolete-vars): New var.
5764 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5766 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5768 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5770 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5771 * progmodes/pascal.el (electric-pascal-equal):
5772 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5773 * xml.el (xml-substitute-special): Fix typos.
5775 2011-11-20 Glenn Morris <rgm@gnu.org>
5777 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5778 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5780 (rmail-decode-mime-charset): Mark as obsolete.
5782 * mail/rmailsum.el (rmail-message-regexp-p-1):
5783 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5784 Before using mime functions, check they are set. (Bug#10077)
5786 2011-11-19 Juri Linkov <juri@jurta.org>
5788 * info.el (Info-finder-find-node): Use `package--builtins' instead
5789 of `package-alist'. Use node names formed by the pattern "Keyword "
5790 and the keyword name.
5792 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5794 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5796 2011-11-19 Juri Linkov <juri@jurta.org>
5798 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5799 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5800 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5801 `old-history', `old-history-forward'. Add let-binding
5802 `window-selected'. Remove calls to `kill-buffer',
5803 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5804 before calling `Info-find-node', so `Info-find-node-2' will reread
5805 the Info file. Restore window positions only when `window-selected'
5808 2011-11-19 Juri Linkov <juri@jurta.org>
5810 * isearch.el (isearch-lazy-highlight-new-loop):
5811 Remove condition `(not isearch-error)'. (Bug#9918)
5813 * misearch.el (multi-isearch-search-fun): Add condition
5814 `(not bound)' to ignore lazy-highlighting search.
5815 Add the search-failed message "end of multi" when the end of
5816 multi-sequence is reached. Uncapitalize the search-failed
5817 message "Repeat for next buffer".
5819 * info.el (Info-search): Add the search-failed message
5820 "end of the manual" when the end of the manual is reached
5823 2011-11-19 Juri Linkov <juri@jurta.org>
5825 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5826 Use non-destructive `remove' instead of `delete' because
5827 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5828 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5830 2011-11-19 Juri Linkov <juri@jurta.org>
5832 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5833 to nil instead of binding `search-ring' and `regexp-search-ring'.
5836 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5838 * simple.el (line-move): Force movement by logical lines for any
5839 hscrolled window, not only when auto-hscroll-mode is on.
5840 (line-move-visual): Update doc string to that effect. (Bug#10076)
5842 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5844 * language/european.el (macintosh): Define as alias for mac-roman.
5846 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5848 * mail/rmailmm.el (rmail-mime-display-header)
5849 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5850 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5851 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5852 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5853 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5855 (rmail-mime-entity-segment): To get past the tagline, move forward
5856 2 more lines, to account for the 2 empty lines that precede and
5857 follow the line with the buttons.
5858 (rmail-mime-update-tagline): Move one more line, to get past the
5859 empty line that follows the buttons in the tagline. (Bug#9520)
5861 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5863 * window.el (window-max-delta-1, window-min-delta-1)
5864 (window-min-size-1, window-state-get-1, window-state-put-1)
5865 (window-state-put-2): Use "window--" prefix.
5867 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5870 (smie-warning-count): New var.
5871 (smie-set-prec2tab): Use it.
5872 (smie-bnf->prec2): Improve warnings. Add docstring.
5873 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5874 (smie-bnf--set-class): New function.
5875 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5878 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5879 (compilation-error-properties, compilation-move-to-column):
5880 Handle compilation-first-column while in the target buffer.
5882 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5883 Don't hardcode point-min==1.
5885 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5886 (eshell-rewrite-for-command): Remove workaround.
5887 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5888 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5889 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5891 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5893 2011-11-17 Glenn Morris <rgm@gnu.org>
5895 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5896 Ignore buffer-local generated-autoload-file if it is the same
5897 as the global value. (Bug#10049)
5899 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5901 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5902 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5903 (reftex-toc-previous-heading, reftex-toc-max-level)
5904 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5905 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5906 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5907 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5908 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5909 (reftex-toc-rename-label, reftex-toc-visit-location)
5910 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5911 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5912 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5913 leaving "*toc*" only for references to the buffer.
5915 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5917 * window.el (window-resize, delete-window, split-window):
5918 Replace window-splits by window-combination-resize.
5919 * cus-start.el (window-splits): Replace by window-combination-resize.
5921 2011-11-17 Glenn Morris <rgm@gnu.org>
5923 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5924 Make bash entry derive from sh entry, not shell entry.
5926 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5928 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5929 properties of linked files. (Bug#9879)
5931 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5934 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5936 * menu-bar.el (menu-bar-file-menu):
5937 * printing.el (pr-ps-utility):
5938 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5939 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5940 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5941 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5942 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5943 (icalendar--convert-cyclic-to-ical)
5944 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5945 (icalendar--convert-ical-to-diary)
5946 (icalendar--convert-recurring-to-diary)
5947 (icalendar--convert-non-recurring-all-day-to-diary)
5948 (icalendar-import-format-sample):
5949 * progmodes/idlw-shell.el (idlwave-shell-mode):
5950 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5951 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5952 (vhdl-ps-print-init): Fix typos.
5954 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5956 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5957 FSF and collapse date sequence, obscure author/maintainer email address
5958 better, remove extra version line, track relocation of author's webpage.
5960 * progmodes/python.el (python-pdbtrack-input-prompt)
5961 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5962 regular python pdb prompts. Adjustments shamelessly taken exactly as
5963 suggested in EmacsWiki page (tiny change):
5964 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5966 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5968 * expand.el (expand-pos, expand-index, expand-point):
5969 Remove redundant info from docstring.
5970 (expand-add-abbrevs): Doc fix.
5971 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5972 (expand-sample-perl-mode-expand-list): Fix typos.
5974 * net/dbus.el (dbus-event-member-name):
5975 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5976 * term/pc-win.el (msdos-create-frame-with-faces):
5977 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5979 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5981 * window.el (split-window, window-state-get-1)
5982 (window-state-put-1, window-state-put-2): Rename occurrences of
5983 window-nest to window-combination-limit.
5984 * cus-start.el (window-nest): Rename to window-combination-limit.
5986 2011-11-16 Chong Yidong <cyd@gnu.org>
5988 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5991 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5994 `completing-read' will remove *Completions* and will preserve
5995 current-buffer for us.
5996 (tmm-add-prompt): Users of *Completions* will always (re)set its
5998 (tmm-old-comp-map): Remove.
6000 2011-11-16 Glenn Morris <rgm@gnu.org>
6002 * mail/rmailedit.el: Require rmailmm when compiling.
6003 (rmail-old-mime-state): New declaration.
6004 (rmail-edit-current-message): If editing a mime message,
6005 edit the "raw" message from the mbox buffer.
6006 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6008 2011-11-15 Glenn Morris <rgm@gnu.org>
6010 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6011 which wasn't being used. Add optional arg to force given state.
6012 (rmail-mime): Add optional arg to force given state.
6014 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6016 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6017 * frame.el (display-mm-dimensions-alist):
6018 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6019 (outline-move-subtree-down):
6020 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6021 (newsticker--treeview-do-get-node):
6022 * net/quickurl.el (quickurl-list-buffer-name):
6023 * progmodes/dcl-mode.el (dcl-mode):
6024 * progmodes/gdb-mi.el (gdb-mapcar*):
6025 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6027 2011-11-15 Glenn Morris <rgm@gnu.org>
6029 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6030 in a boolean sense, so just make it a boolean, and fix the doc.
6031 (rmail-show-mime-function, rmail-mime-feature)
6032 (rmail-require-mime-maybe): Doc fixes.
6033 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6035 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6037 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6039 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6040 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6041 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6042 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6044 2011-11-15 Glenn Morris <rgm@gnu.org>
6046 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6047 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6048 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6049 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6050 (rmail-mime, rmail-show-mime): Doc fixes.
6052 * term/ns-win.el (mode-line-frame-identification):
6053 Leave it alone. (Bug#10051)
6055 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6057 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6058 Handle empty buffers. (Bug#9978)
6060 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6062 * international/mule.el (define-charset):
6063 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6064 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6065 * progmodes/verilog-mode.el (verilog-backward-token):
6066 * textmodes/ispell.el (lookup-words):
6067 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6069 2011-11-14 Glenn Morris <rgm@gnu.org>
6071 * progmodes/executable.el
6072 (executable-make-buffer-file-executable-if-script-p):
6073 Handle file-modes returning nil.
6075 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6076 message - not necessary, and causes problems. (Bug#9831)
6078 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6080 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6082 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6083 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6084 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6086 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6088 * window.el (window-resize, delete-window): Use window-splits
6089 variable instead of function.
6090 (window-state-get-1, window-state-put-2, window-state-put):
6091 Don't deal with windows' splits status.
6093 2011-11-12 Glenn Morris <rgm@gnu.org>
6095 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6096 (apropos-documentation): Doc fixes.
6098 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6100 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6101 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6103 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6105 * electric.el (electric-indent-post-self-insert-function): Make it
6106 possible for a char to only indent in some circumstances.
6107 (electric-indent-mode): Simplify.
6109 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6111 * window.el (windows-with-parameter): Remove unused function.
6112 (windows-at-side): Rename to window-at-side-list.
6113 (window-check, window-atom-check, window-atom-check-1)
6114 (window-side-check, window-size-ignore, window-size-fixed-1)
6115 (window-in-direction-2): Prefix with "window--".
6116 (window-tree-1): Rename to window--subtree, fix doc-string.
6118 2011-11-11 Glenn Morris <rgm@gnu.org>
6120 * subr.el (eval-after-load): If FILE is already loaded,
6121 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6123 2011-11-10 Glenn Morris <rgm@gnu.org>
6125 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6126 Call svn via vc-svn-command rather than vc-do-command.
6127 (vc-svn-command): Add --non-interactive. (Bug#9993)
6128 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6130 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6131 Add toggle-read-only. (Bug#7292)
6132 * files.el (toggle-read-only): Mention that it should only
6133 be used interactively. (Bug#10006)
6135 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6137 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6138 Adjust regexp for OCaml warnings.
6140 * electric.el (electric-pair-post-self-insert-function): Let user
6141 turn it off buffer-locally (bug#9932).
6143 * progmodes/python.el (python-beginning-of-statement):
6146 * progmodes/compile.el: Better handle TABs (bug#9749).
6147 (compilation-internal-error-properties)
6148 (compilation-next-error-function): Obey the target buffer's
6149 compilation-error-screen-columns.
6151 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6153 * progmodes/meta-mode.el: Remove obsolete comments.
6154 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6155 Fix typos in docstrings.
6157 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6159 * window.el (window-size-fixed-p): Rewrite doc-string.
6160 (window-resizable-p): Rename to window--resizable-p. Update callers.
6161 (window--resizable): New function. Make all callers of
6162 window-resizable call window--resizable instead.
6163 (window-resizable): Rewrite in terms of window--resizable.
6165 2011-11-08 Glenn Morris <rgm@gnu.org>
6167 * progmodes/delphi.el (delphi-mode-syntax-table):
6168 Let define-derived-mode define a proper syntax table. (Bug#9994)
6170 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * window.el: Stay away from defsubst.
6173 (window-list-no-nils): Remove.
6174 (window-state-get-1, window-state-get): Use backquote instead.
6176 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6178 * emacs-lisp/find-func.el (find-function-read):
6179 Fix incorrect use of default argument in `completing-read'.
6181 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6183 * window.el (display-buffer-function, special-display-function):
6184 Mention display-buffer-record-window but do not mention
6185 help-setup parameter in doc-strings.
6186 (window-min-delta): Fix doc-string typo.
6188 2011-11-08 Chong Yidong <cyd@gnu.org>
6190 * window.el (window-total-height, window-total-width): Doc fix.
6191 (window-body-size): Move from C.
6192 (window-body-height, window-body-width): Move to C.
6194 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * window.el: Make special-display like display-buffer-alist (bug#9532).
6197 (display-buffer--special-action): New function, morphed
6198 from display-buffer--special.
6199 (display-buffer): Use it to handle special-display-buffers at higher
6200 priority (just after display-buffer-alist).
6201 (display-buffer-fallback-action, display-buffer--other-frame-action)
6202 (pop-to-buffer-same-window): Remove display-buffer--special.
6204 2011-11-07 Glenn Morris <rgm@gnu.org>
6206 * calendar/cal-menu.el (cal-menu-set-date-title):
6207 Do nothing if not in a calendar. (Bug#9976)
6209 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * files.el (find-file): Always use selected-window.
6213 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6215 * window.el (window-combinations): Make WINDOW argument
6216 mandatory. Rewrite doc-string.
6217 (walk-window-subtree, window-atom-check, window-min-delta)
6218 (window-max-delta, window--resize-this-window)
6219 (window--resize-root-window-vertically, window-tree)
6220 (balance-windows, window-state-put): Rewrite doc-strings as to
6221 not mention the term "subwindow".
6222 (window--resize-subwindows-skip-p): Rename to
6223 window--resize-child-windows-skip-p.
6224 (window--resize-subwindows-normal): Rename to
6225 window--resize-child-windows-normal.
6226 (window--resize-subwindows): Rename to
6227 window--resize-child-windows.
6228 (window-or-subwindow-p): Rename to window--in-subtree-p.
6230 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6232 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6233 Ensure that mbox format messages end in two newlines (Bug#9974).
6235 2011-11-06 Chong Yidong <cyd@gnu.org>
6237 * window.el (window-combination-p): Function deleted; its
6238 side-effect is not used in any existing code.
6239 (window-combinations, window-combined-p): Call window-*-child
6242 2011-11-05 Chong Yidong <cyd@gnu.org>
6244 * window.el (window-valid-p): Rename from window-any-p.
6245 (window-size-ignore, window-state-get): Callers changed.
6246 (window-normalize-window): Rename from window-normalize-any-window.
6247 New arg LIVE-ONLY, replacing window-normalize-live-window.
6248 (window-normalize-live-window): Delete.
6249 (window-combination-p, window-combined-p, window-combinations)
6250 (walk-window-subtree, window-atom-root, window-min-size)
6251 (window-sizable, window-sizable-p, window-size-fixed-p)
6252 (window-min-delta, window-max-delta, window-resizable)
6253 (window-resizable-p, window-full-height-p, window-full-width-p)
6254 (window-current-scroll-bars, window-point-1, set-window-point-1)
6255 (window-at-side-p, window-in-direction, window-resize)
6256 (adjust-window-trailing-edge, maximize-window, minimize-window)
6257 (window-deletable-p, delete-window, delete-other-windows)
6258 (record-window-buffer, unrecord-window-buffer)
6259 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6260 (quit-window, split-window, window-state-put)
6261 (set-window-text-height, fit-window-to-buffer)
6262 (shrink-window-if-larger-than-buffer): Callers changed.
6264 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6266 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6267 rfc2047-decode-string.
6268 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6271 * window.el (window-body-height, window-body-width): Mention in
6272 the doc string that the return values are in frame's canonical
6275 2011-11-03 Alan Mackenzie <acm@muc.de>
6277 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6278 change in cc-engine.el.
6280 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6284 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6286 * window.el (quit-window): Call unrecord-window-buffer after
6287 showing another buffer in the window. (Bug#9937)
6288 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6290 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6292 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6293 Accept status with more than 9 shelves. (Bug#9935)
6294 Reported by Colin D Bennett <colin@gibibit.com>.
6296 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6298 * help.el (with-help-window): Don't reference
6299 temp-buffer-show-specifiers in doc-string.
6301 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6303 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6306 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6308 * whitespace.el: New version 13.2.2.
6309 (whitespace-newline-mode): Disable properly. Reported by Sarah
6312 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6314 * net/newst-treeview.el: Remove "Time-stamp".
6315 (newsticker--group-manage-orphan-feeds): Do not call
6316 newsticker--treeview-tree-update.
6317 (newsticker-treeview-update, newsticker-treeview):
6318 Call newsticker--treeview-tree-update if necessary.
6320 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6322 * window.el (window-iso-combination-p, window-iso-combined-p)
6323 (window-iso-combinations): Remove "iso-" infix.
6324 Suggested by Chong Yidong.
6325 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6326 (window-max-delta-1, window-resize, window--resize-siblings)
6327 (window--resize-this-window, adjust-window-trailing-edge)
6328 (split-window, balance-windows-1)
6329 (shrink-window-if-larger-than-buffer):
6330 * calendar/calendar.el (calendar-generate-window):
6331 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6333 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6336 in place (bug#9907).
6337 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6338 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6339 (eshell-structure-basic-command, eshell-rewrite-while-command)
6340 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6341 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6342 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6343 (eshell-do-pipelines-synchronously, eshell-eval-command):
6344 Use backquotes and prefer setq to set.
6345 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6346 (eshell-macrop): Use functionp.
6347 (eshell-do-eval): Handle multiple expressions in `while' body.
6349 2011-10-30 Chong Yidong <cyd@gnu.org>
6351 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6352 instead of set-mark (Bug#9810).
6354 2011-10-30 Chong Yidong <cyd@gnu.org>
6356 * window.el (split-window-below, split-window-right): Rename from
6357 split-window-above-each-other and split-window-side-by-side
6358 respectively. All callers changed.
6359 (split-window-sensibly, split-window-sensibly): Use them.
6360 (split-window-keep-point): Doc fix.
6362 * isearch.el: Add isearch-scroll property to split-window-below
6363 and split-window-right.
6365 * follow.el (follow-mode):
6366 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6367 * progmodes/ada-xref.el (ada-gdb-application):
6368 * emulation/vip.el (vip-buffer-in-two-windows):
6369 * image-dired.el (image-dired-dired-with-window-configuration):
6370 * dired-x.el (dired-do-find-marked-files):
6371 * dired.el (dired-pop-to-buffer):
6372 * bs.el (bs--show-with-configuration):
6373 * vc/emerge.el (emerge-setup-windows):
6374 * textmodes/two-column.el (2C-two-columns):
6375 * textmodes/reftex-toc.el (reftex-toc):
6376 * progmodes/gdb-mi.el (gdb-setup-windows):
6377 * progmodes/fortran.el (fortran-window-create):
6378 * net/newst-treeview.el (newsticker--treeview-window-init):
6379 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6380 * emulation/tpu-edt.el (tpu-gold-map):
6381 * emulation/crisp.el (crisp-mode-map):
6382 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6384 2011-10-29 Chong Yidong <cyd@gnu.org>
6386 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6388 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6390 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6391 forged Ispell output (Bug#7904).
6393 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6395 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6397 * doc-view.el: Avoid ugly errors about not finding nil.
6398 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6399 (doc-view-dvipdf-program, doc-view-unoconv-program)
6400 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6401 Avoid nil or absolute file name as default value.
6402 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6404 2011-10-28 Alan Mackenzie <acm@muc.de>
6406 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6408 2011-10-28 Alan Mackenzie <acm@muc.de>
6410 Amend the handling of c-beginning/end-of-defun in nested declaration
6413 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6414 cc-langs.el. Change it to a defcustom.
6416 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6419 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6420 Prevent "class foo : bar" being spuriously recognized as a label.
6422 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6423 Add parameter `inclusive' (to include enclosing braces in the region).
6424 (c-widen-to-enclosing-decl-scope): New function.
6425 (c-while-widening-to-decl-block): New macro.
6426 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6427 outward for defun boundaries, and correspondingly change symbol
6428 `respect-enclosure' to `go-outward'.
6429 (c-declaration-limits): Change algorithm to report only the "innermost"
6432 2011-10-28 Deniz Dogan <deniz@dogan.se>
6434 * net/rcirc.el (rcirc-mode): Use hard newlines.
6436 2011-10-28 Alan Mackenzie <acm@muc.de>
6438 Amend to indent and fontify macros "which include their own semicolon"
6439 correctly, using the "virtual semicolon" mechanism.
6441 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6443 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6444 Recode to scan one line at a time rather than having \n and \r
6445 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6446 (c-forward-label): Amend for virtual semicolons.
6447 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6449 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6450 of the new C macros.
6452 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6453 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6454 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6455 (c-opt-cpp-macro-define): Make into a full language variable.
6456 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6457 AWK Mode (including \n, \r) removed, no longer needed.
6459 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6460 Invoke c-make-macro-with-semi-re.
6462 * progmodes/cc-vars.el (c-macro-with-semi-re):
6463 (c-macro-names-with-semicolon): New variables.
6464 (c-make-macro-with-semi-re): New function.
6466 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * vc/log-edit.el: Fill empty field rather than adding new one.
6469 (log-edit-add-field): New function.
6470 (log-edit-insert-changelog): Use it.
6472 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6474 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6476 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6479 (gdb--check-interpreter): New function.
6482 2011-10-27 Glenn Morris <rgm@gnu.org>
6484 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6485 (least-positive-float, least-negative-float)
6486 (least-positive-normalized-float, least-negative-normalized-float)
6487 (float-epsilon, float-negative-epsilon):
6488 Remove unnecessary declarations.
6490 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6491 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6492 (least-positive-float, least-negative-float)
6493 (least-positive-normalized-float, least-negative-normalized-float)
6494 (float-epsilon, float-negative-epsilon): Add doc-strings,
6495 based on those in cl.texi.
6497 * files.el (set-visited-file-name): If the major-mode changed,
6498 reload the local variables. (Bug#9796)
6500 2011-10-27 Chong Yidong <cyd@gnu.org>
6502 * subr.el (change-major-mode-after-body-hook): New hook.
6503 (run-mode-hooks): Run it.
6505 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6506 Use change-major-mode-before-body-hook.
6508 * simple.el (fundamental-mode):
6509 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6510 change introducing fundamental-mode-hook.
6512 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6514 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6516 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6518 * ido.el (ido-file-name-all-completions-1): Do not require
6519 tramp.el explicitly. (Bug#7583)
6521 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6523 * progmodes/octave-mod.el:
6524 * progmodes/octave-inf.el: Update maintainer.
6526 2011-10-26 Chong Yidong <cyd@gnu.org>
6528 * subr.el (with-wrapper-hook): Rewrite doc.
6530 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6532 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6533 filenames "/method:foo:". (Bug#9793)
6535 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6540 2011-10-24 Glenn Morris <rgm@gnu.org>
6542 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6544 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6546 * notifications.el: Add the requirement of a running D-Bus session
6547 bus to the Commentary.
6549 2011-10-24 Juri Linkov <juri@jurta.org>
6551 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6552 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6555 2011-10-24 Juri Linkov <juri@jurta.org>
6557 * info.el (Info-following-node-name-re): Add newline to the list
6558 of allowed characters for leading space. (Bug#9824)
6560 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6562 * progmodes/octave-inf.el (inferior-octave-mode-map):
6563 Fix C-c C-h binding.
6564 * progmodes/octave-mod.el (octave-help): Remove.
6566 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6568 Sync with Tramp 2.2.3.
6570 * net/tramp-cache.el (top): Pacify byte-compiler using
6571 `init-file-user' and `site-run-file'.
6573 * net/trampver.el: Update release number.
6575 2011-10-23 Chong Yidong <cyd@gnu.org>
6577 * files.el (toggle-read-only): Remove obsolete comment about
6580 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6581 for toggle-read-only. Note that this hasn't called vc-next-action
6582 since 2008-05-02, though it wasn't documented at the time.
6584 * vc/ediff-init.el (ediff-toggle-read-only-function):
6585 Use toggle-read-only.
6587 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6589 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6592 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6593 correct faulty logical expression.
6594 (c-parse-state-state, c-record-parse-state-state):
6595 (c-replay-parse-state-state): New defvar/defuns.
6596 (c-debug-parse-state): Use new functions.
6598 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6600 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6601 last fix. Use window-in-direction correctly.
6603 2011-10-21 Chong Yidong <cyd@gnu.org>
6605 * progmodes/idlwave.el (idlwave-mode):
6606 * progmodes/vera-mode.el (vera-mode): No need to set
6607 require-final-newline; that's done in prog-mode.
6608 Suggested by Stefan Monnier.
6610 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6612 * mouse.el (mouse-drag-window-above)
6613 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6614 (mouse-drag-mode-line-1, mouse-drag-header-line)
6615 (mouse-drag-vertical-line-rightward-window): Remove.
6616 (mouse-drag-line): New function.
6617 (mouse-drag-mode-line, mouse-drag-header-line)
6618 (mouse-drag-vertical-line): Call mouse-drag-line.
6619 * window.el (window-at-side-p, windows-at-side): New functions.
6621 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6623 * tar-mode.el (tar-grind-file-mode):
6624 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6626 2011-10-21 Chong Yidong <cyd@gnu.org>
6628 * progmodes/idlwave.el (idlwave-mode):
6629 * progmodes/vera-mode.el (vera-mode):
6630 Use mode-require-final-newline.
6632 2011-10-20 Glenn Morris <rgm@gnu.org>
6634 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6636 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6638 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6640 2011-10-20 Chong Yidong <cyd@gnu.org>
6642 * emulation/cua-base.el (cua-mode):
6643 * mail/footnote.el (footnote-mode):
6644 * mail/mailabbrev.el (mail-abbrevs-mode):
6645 * net/xesam.el (xesam-minor-mode):
6646 * progmodes/bug-reference.el (bug-reference-mode):
6647 * progmodes/cap-words.el (capitalized-words-mode):
6648 * progmodes/compile.el (compilation-minor-mode)
6649 (compilation-shell-minor-mode):
6650 * progmodes/gud.el (gud-tooltip-mode):
6651 * progmodes/hideif.el (hide-ifdef-mode):
6652 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6653 * progmodes/subword.el (subword-mode):
6654 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6655 * progmodes/which-func.el (which-function-mode):
6656 * term/tvi970.el (tvi970-set-keypad-mode):
6657 * term/vt100.el (vt100-wide-mode):
6658 * textmodes/flyspell.el (flyspell-mode):
6659 * textmodes/ispell.el (ispell-minor-mode):
6660 * textmodes/nroff-mode.el (nroff-electric-mode):
6661 * textmodes/paragraphs.el (use-hard-newlines):
6662 * textmodes/refill.el (refill-mode):
6663 * textmodes/reftex.el (reftex-mode):
6664 * textmodes/rst.el (rst-minor-mode):
6665 * textmodes/sgml-mode.el (html-autoview-mode)
6666 (sgml-electric-tag-pair-mode):
6667 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6668 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6669 * emulation/crisp.el (crisp-mode):
6670 * emacs-lisp/eldoc.el (eldoc-mode):
6671 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6672 minor mode behavior.
6674 2011-10-19 Juri Linkov <juri@jurta.org>
6676 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6677 the list of hard-coded chars with escape-glyph face.
6679 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6681 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6683 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6685 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6688 2011-10-19 Glenn Morris <rgm@gnu.org>
6690 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6691 Ignore ignored files. (Bug#9726)
6693 2011-10-19 Chong Yidong <cyd@gnu.org>
6695 Doc fix for minor modes, stating that an omitted argument enables
6696 the mode unconditionally when called from Lisp.
6698 * abbrev.el (abbrev-mode):
6699 * allout.el (allout-mode):
6700 * autoinsert.el (auto-insert-mode):
6701 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6702 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6703 (global-auto-revert-mode):
6704 * battery.el (display-battery-mode):
6705 * composite.el (global-auto-composition-mode)
6706 (auto-composition-mode):
6707 * delsel.el (delete-selection-mode):
6708 * desktop.el (desktop-save-mode):
6709 * dired-x.el (dired-omit-mode):
6710 * dirtrack.el (dirtrack-mode):
6711 * doc-view.el (doc-view-minor-mode):
6712 * double.el (double-mode):
6713 * electric.el (electric-indent-mode, electric-pair-mode):
6714 * emacs-lock.el (emacs-lock-mode):
6715 * epa-hook.el (auto-encryption-mode):
6716 * follow.el (follow-mode):
6717 * font-core.el (font-lock-mode):
6718 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6719 * help.el (temp-buffer-resize-mode):
6720 * hilit-chg.el (highlight-changes-mode)
6721 (highlight-changes-visible-mode):
6722 * hi-lock.el (hi-lock-mode):
6723 * hl-line.el (hl-line-mode, global-hl-line-mode):
6724 * icomplete.el (icomplete-mode):
6725 * ido.el (ido-everywhere):
6726 * image-file.el (auto-image-file-mode):
6727 * image-mode.el (image-minor-mode):
6728 * iswitchb.el (iswitchb-mode):
6729 * jka-cmpr-hook.el (auto-compression-mode):
6730 * linum.el (linum-mode):
6731 * longlines.el (longlines-mode):
6732 * master.el (master-mode):
6733 * mb-depth.el (minibuffer-depth-indicate-mode):
6734 * menu-bar.el (menu-bar-mode):
6735 * minibuf-eldef.el (minibuffer-electric-default-mode):
6736 * mouse-sel.el (mouse-sel-mode):
6737 * msb.el (msb-mode):
6738 * mwheel.el (mouse-wheel-mode):
6739 * outline.el (outline-minor-mode):
6740 * paren.el (show-paren-mode):
6741 * recentf.el (recentf-mode):
6742 * reveal.el (reveal-mode, global-reveal-mode):
6743 * rfn-eshadow.el (file-name-shadow-mode):
6744 * ruler-mode.el (ruler-mode):
6745 * savehist.el (savehist-mode):
6746 * scroll-all.el (scroll-all-mode):
6747 * scroll-bar.el (scroll-bar-mode):
6748 * server.el (server-mode):
6749 * shell.el (shell-dirtrack-mode):
6750 * simple.el (auto-fill-mode, transient-mark-mode)
6751 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6752 (line-number-mode, column-number-mode, size-indication-mode)
6753 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6754 * strokes.el (strokes-mode):
6755 * time.el (display-time-mode):
6756 * t-mouse.el (gpm-mouse-mode):
6757 * tool-bar.el (tool-bar-mode):
6758 * tooltip.el (tooltip-mode):
6759 * type-break.el (type-break-mode-line-message-mode)
6760 (type-break-query-mode):
6761 * view.el (view-mode):
6762 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6763 (global-whitespace-mode, global-whitespace-newline-mode):
6764 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6767 Fix autogenerated docstring.
6769 2011-10-19 Juri Linkov <juri@jurta.org>
6771 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6772 by checking environment variables "DESKTOP_SESSION" and
6773 "XDG_CURRENT_DESKTOP". (Bug#9779)
6775 2011-10-19 Juri Linkov <juri@jurta.org>
6777 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6778 (browse-url-chromium-program, browse-url-chromium-arguments):
6780 (browse-url-default-browser): Check for `browse-url-chromium' and
6781 call `browse-url-chromium-program'.
6782 (browse-url-chromium): New command. (Bug#9779)
6784 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6786 * facemenu.el (list-colors-duplicates): On Windows, detect more
6787 duplicates by assuming that only colors matching "^System" are
6788 special "system colors". (Bug#9722)
6790 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6793 to distinguish the author from the committer.
6795 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6797 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6799 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6801 * international/mule.el (sgml-html-meta-auto-coding-function):
6802 Add support for detecting encoding in HTML5 specified only as
6803 <meta charset="UTF-8">. Implementation just makes http-equiv and
6804 content-type parts from HTML4 encoding string optional. (Bug#9716)
6806 2011-10-18 Glenn Morris <rgm@gnu.org>
6808 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6810 2011-10-18 Chong Yidong <cyd@gnu.org>
6812 * faces.el (cursor): Doc fix.
6814 2011-10-17 Chong Yidong <cyd@gnu.org>
6816 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6818 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6820 * dirtrack.el (dirtrack): Support shell buffers with path
6821 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6823 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6825 * json.el: Bump version to 1.3 and note change in History.
6826 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6828 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * comint.el (comint-insert-input, comint-send-input)
6831 (comint-get-old-input-default, comint-backward-matching-input)
6832 (comint-next-prompt): Use nil instead of `input' for field property of
6833 past user input (bug#114).
6835 * minibuffer.el (completion--replace): Inherit surrounding properties
6837 (minibuffer-complete-and-exit): Use it.
6839 * comint.el (comint--table-subvert): Quote the all-completions output
6842 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6844 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6846 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6847 window on right of selected. (Bug#9350) Reword other window
6848 entries and separate them from frame entries.
6850 2011-10-15 Glenn Morris <rgm@gnu.org>
6852 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6855 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6857 * net/network-stream.el (network-stream-open-starttls):
6858 Improve detection of failure due to lack of TLS support.
6860 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6861 putting the input text in front and in bold.
6863 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6867 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6870 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6871 unread-command-events rather than pushing yet-another event.
6873 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6875 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6876 the explanation of the possible choices. Make the options passed
6877 to completing-read shorter.
6879 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6881 * textmodes/flyspell.el (flyspell-large-region): Make sure
6882 extended character mode is used if defined (Bug#1339).
6884 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6886 * simple.el (what-cursor-position): Fix the display of the
6887 character info for LRE, LRO, RLE, and RLO characters by appending
6890 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6893 even in case of error; add debug spec; simplify data flow.
6894 (with-timeout-handler): Remove.
6896 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6898 Fix Bug#6019, Bug#9315.
6900 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6901 complete `buffer-file-name', the local file name part could look
6902 remotely (for example on VMS).
6904 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6905 `tramp-run-real-handler'.
6906 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6907 already quoted by '"'.
6909 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6910 Let `file-name-handler-alist' be nil, the local file name part
6911 could look remotely (for example on VMS).
6913 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6917 (flyspell-post-command-hook): ...to here.
6919 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6923 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6924 using completion. Protect against "slow" callers.
6925 Remove the "message hack".
6927 2011-10-11 Juri Linkov <juri@jurta.org>
6929 * isearch.el (isearch-lazy-highlight-word): New variable.
6930 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6933 2011-10-11 Glenn Morris <rgm@gnu.org>
6935 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6936 like f90-previous-statement does.
6938 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6940 * eshell/eshell.el (eshell-command): History should be saved
6941 only in interactive use, to avoid error.
6943 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * minibuffer.el (completion-file-name-table): Fix last change,
6946 i.e. ignore normal errors but not the other ones.
6948 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6950 * window.el (special-display-buffer-names)
6951 (special-display-regexps): Remove some remnants of earlier
6952 changes from doc-strings.
6953 (quit-windows-on): New function.
6955 * vc/vc.el (vc-revert, vc-rollback):
6956 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6957 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6958 (Bug#6183) (Bug#7074) (Bug#7447)
6960 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6962 * window.el (frame-auto-hide-function): Add version tag.
6965 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6967 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6970 2011-10-09 Leo Liu <sdl.web@gmail.com>
6972 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6975 2011-10-08 Glenn Morris <rgm@gnu.org>
6977 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6978 before the first code statement zero indent. (Bug#9690)
6980 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6982 * simple.el (count-words-region): Always count in the region.
6983 Report the number of lines and characters too.
6984 (count-words): New command, which counts in the buffer if the
6985 region is inactive, as count-words-region used to.
6986 (count-words--message): New function. Handle plurals.
6987 (count-lines-region): Make it an alias for count-words-region.
6989 * bindings.el (esc-map): Replace count-lines-region with
6992 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6994 * window.el (window--delete): Delete dedicated frame
6995 unconditionally when argument KILL is non-nil. (Bug#9699)
6996 (switch-to-buffer): Fix doc-string typo.
6998 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7000 * eshell/eshell.el (eshell-command): Avoid using hooks.
7002 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7004 * bindings.el ([M-left],[M-right]): Bind to left-word and
7005 right-word respectively.
7007 2011-10-07 Glenn Morris <rgm@gnu.org>
7009 * cus-start.el (debug-on-quit): Fix custom type.
7011 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013 * subr.el (define-key-after): Clarify that the function is not
7014 useful for non-menu keymaps.
7016 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7018 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7020 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7021 in current minibuffer (Fix bug with recursive minibuffers).
7023 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7025 * progmodes/gdb-mi.el (gdb): Doc fix.
7027 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7029 * window.el (frame-auto-hide-function): New option replacing
7030 frame-auto-delete. Suggested by Stefan Monnier.
7031 (window--delete): Call frame-auto-hide-function instead of
7032 investigating frame-auto-delete.
7033 (window-point-1, set-window-point-1): New functions.
7034 (window-in-direction, record-window-buffer, window-state-get-1)
7035 (display-buffer-record-window): Use window-point-1 instead of
7037 (set-window-buffer-start-and-point): Use set-window-point-1.
7039 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7043 2011-10-05 Glenn Morris <rgm@gnu.org>
7045 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7046 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7048 2011-10-05 Leo Liu <sdl.web@gmail.com>
7050 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7051 works with buffer object.
7053 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * mpc.el (mpc-tool-bar-map): Add labels.
7057 2011-10-04 Glenn Morris <rgm@gnu.org>
7059 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7061 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7063 * window.el (window--delete): New function.
7064 (frame-auto-delete): Resuscitate option.
7065 (bury-buffer, replace-buffer-in-windows)
7066 (quit-window): Rewrite using window--delete.
7067 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7068 Pass display-buffer-mark-dedicated to window--display-buffer-2
7071 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7074 returns a list (bug#9554). Add remote file name completion.
7075 * comint.el (comint--table-subvert): Curry and get quote&unquote
7076 functions as arguments.
7077 (comint--complete-file-name-data): Adjust call accordingly.
7078 * pcomplete.el (pcomplete--table-subvert): Remove.
7079 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7081 * minibuffer.el (completion-table-case-fold): Use currying.
7082 (completion--styles-type, completion--cycling-threshold-type):
7084 (completion-styles, completion-category-overrides)
7085 (completion-cycle-threshold): Use them.
7086 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7087 completion-table-case-fold.
7089 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7091 * minibuffer.el (completion-category-overrides): Fix type of styles
7092 and add more user friendly tags (bug#9660).
7094 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7096 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7097 (mule-input-method-string): New widget.
7098 (default-input-method, language-info-custom-alist): Use it.
7100 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * pcomplete.el: Require comint.
7103 (pcomplete--common-suffix): Remove.
7104 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7105 (pcomplete--table-subvert): Sync with comint--table-subvert.
7106 (pcomplete--entries): Use comint-completion-file-name-table.
7107 * comint.el (comint-unquote-filename): Simplify.
7108 (comint-completion-file-name-table): New function (bug#9616).
7109 (comint--complete-file-name-data): Use it.
7111 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7112 (pcmpl-gnu-tar-buffer): Remove.
7113 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7114 around. Make sure pcomplete-suffix-list is only changed temporarily.
7115 Don't look inside the tar's file if it's too large.
7117 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7119 * cus-edit.el (custom-mode-map):
7120 * epa.el (epa-key-list-mode-map):
7121 * man.el (Man-mode-map):
7122 * startup.el (splash-screen-keymap):
7123 * simple.el (special-mode-map): Use scroll-up-command and
7124 scroll-down-command.
7126 * progmodes/idlw-help.el (idlwave-help-mode-map):
7127 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7128 * net/newst-plainview.el (newsticker-mode-map):
7129 * emulation/ws-mode.el (wordstar-mode-map):
7130 * emulation/vi.el (vi-com-map):
7131 * calc/calc-graph.el (calc-graph-show-dumb):
7132 * term/sun.el (terminal-init-sun):
7133 * term/ns-win.el (global-map):
7134 * progmodes/grep.el (grep-mode-map):
7135 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7136 * mail/rmail.el (rmail-mode-map):
7137 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7139 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7140 custom-safe-themes as special.
7142 2011-10-01 Julien Danjou <julien@danjou.info>
7144 * notifications.el (notifications-notify): Fix docstring.
7146 2011-10-01 Per Starbäck <per@starback.se>
7148 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7150 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7152 * startup.el (command-line-1): Fix last fix by inserting
7153 initial-scratch-message into *scratch* before displaying it.
7154 (Bug#9605) and (Bug#9636)
7156 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7158 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7159 window is hscrolled, move by logical lines. (Bug#9607)
7160 (line-move-visual): Update the doc string to the above effect.
7162 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7164 * window.el (display-buffer-record-window): When WINDOW is the
7165 selected window use `point' instead of `window-point'. (Bug#9626)
7167 * startup.el (command-line-1): Use insert-before-markers when
7168 inserting initial-scratch-message. (Bug#9605)
7170 * help.el (help-window): Remove variable.
7172 2011-09-29 Glenn Morris <rgm@gnu.org>
7174 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7176 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7178 * descr-text.el (describe-char-categories): Accept category
7179 descriptions more than one line long.
7181 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * simple.el (delete-trailing-whitespace): Fix last change.
7185 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7186 Don't confuse "y => 3" as the beginning of a `y' operation.
7188 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7189 object has more than 4 slots (bug#9613).
7191 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7193 * subr.el (with-output-to-temp-buffer):
7194 * net/quickurl.el (quickurl, quickurl-browse-url):
7195 Fix typos in docstrings.
7197 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7199 * minibuffer.el (completion-styles)
7200 (completion-category-overrides): Cross reference each other in doc
7203 2011-09-27 Glenn Morris <rgm@gnu.org>
7205 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7206 to split-string. (Bug#9606)
7208 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7210 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7213 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7215 * emacs-lisp/package.el (list-packages): Fix echo area message.
7217 2011-09-27 Leo Liu <sdl.web@gmail.com>
7219 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7221 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7223 * net/dbus.el (dbus-unregister-object): Don't release services for
7224 registered signals. (Bug#9581)
7226 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7228 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7229 function that picks between cfengine 2 and 3 support
7230 automatically. Update docs accordingly.
7232 2011-09-22 Kenichi Handa <handa@m17n.org>
7234 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7236 (indian-itrans-v5-table-for-tamil): New variable.
7237 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7239 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7241 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7242 that's true if the current command involved collapsing of text.
7243 It's reset to false at the beginning of the next command.
7244 (allout-post-command-business): Move the cursor to the beginning
7245 of entry if the cursor is hidden and collapsing activity just
7248 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7250 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7251 tracking (Bug#9541).
7253 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7255 * net/newst-reader.el (newsticker-html-renderer)
7256 (newsticker-show-news): Automatically load html rendering package
7257 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7258 because w3m-fill-column is let-bound" and the error "Symbol's value
7259 as variable is void: w3m-fill-column".
7261 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7263 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7264 Release services only if they are defined. (Bug#9581)
7266 2011-09-23 Richard Stallman <rms@gnu.org>
7268 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7269 distinguish start of paragraph from start of its text.
7271 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7273 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7274 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7275 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7277 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7279 * international/mule-diag.el (mule-diag): Insert a newline after
7280 each fontset description.
7282 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * simple.el (delete-trailing-whitespace):
7285 Document last change; simplify.
7287 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7289 * simple.el (delete-trailing-whitespace): Also delete
7290 extra newlines at the end of the buffer.
7292 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7293 (picture-newline): Use forward-line so as to ignore fields.
7295 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * subr.el (with-wrapper-hook): Fix edebug spec.
7299 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7304 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7306 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7307 Fix nasty bug using wrong cached values.
7309 2011-09-23 Alan Mackenzie <acm@muc.de>
7311 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7313 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7315 * window.el (pop-to-buffer): Ensure right window is selected if we
7316 chose another frame.
7318 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7320 * simple.el (what-cursor-position): Use get-char-property-change
7321 and next-single-char-property-change, to be able to show display
7322 properties that come from overlays as well as text properties.
7324 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7326 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7328 * cmuscheme.el (run-scheme, switch-to-scheme):
7329 * cus-edit.el (customize-group, custom-buffer-create)
7333 * mail/sendmail.el (mail):
7334 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7336 2011-09-22 Richard Stallman <rms@gnu.org>
7338 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7339 move back only to line beg, don't move back over blank lines.
7341 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7343 * files.el (copy-directory): Set directory attributes only in case
7344 they could be retrieved from the source directory. (Bug#9565)
7346 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7348 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7349 (hs-find-block-beginning, hs-hide-level-recursive):
7350 Ignore strings as well as comments. (Bug#9502)
7352 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7354 * progmodes/sql.el (sql-comint-postgres):
7355 Convert port number to a string. (Bug#9566)
7357 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7359 * window.el (quit-window): Undedicate window when switching to
7360 previous buffer. Reported by Thierry Volpiatto
7361 <thierry.volpiatto@gmail.com>.
7362 (special-display-popup-frame): When popping up a new frame reset
7363 its previous buffers to nil. Simplify code.
7365 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7367 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7368 and process filter, as done also in `shell-command'.
7370 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7372 * window.el (set-window-buffer-start-and-point):
7373 Call set-window-start with NOFORCE argument t.
7374 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7375 (quit-window): Reword doc-string. Handle new format of
7376 quit-restore parameter. Don't delete window if it has a
7377 previous buffer we can show instead of the present one.
7378 (display-buffer-record-window): Rewrite using a new format for
7379 the quit-restore window parameter
7380 (special-display-popup-frame, display-buffer-same-window)
7381 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7382 (display-buffer-pop-up-window, display-buffer-use-some-window):
7383 Adapt symbol passed to display-buffer-record-window.
7384 * help.el (help-window-setup): Handle new format of quit-restore
7387 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7389 * faces.el (face-list): Fix docstring (bug#9564).
7391 * window.el (display-buffer--action-function-custom-type):
7392 Don't include internal functions in the Custom interface.
7394 2011-09-20 Juri Linkov <juri@jurta.org>
7396 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7397 (Info-forward-node, Info-backward-node, Info-next-preorder)
7398 (Info-last-preorder): Use it. (Bug#9528)
7400 2011-09-20 Juri Linkov <juri@jurta.org>
7402 * info.el (Info-last-preorder): Visit last menu item only when
7403 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7405 2011-09-20 Julien Danjou <julien@danjou.info>
7407 * password-cache.el (password-cache-remove): Remove entries even if the
7408 value is nil, so that password with a nil value (negative caching) is
7409 possible to invalidate.
7411 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7413 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7414 all whitespace around breakpoint. (Bug#9553)
7415 (f90-find-breakpoint): Only break at whitespace inside a comment.
7417 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * minibuffer.el (completion-file-name-table): Keep track of errors.
7420 (completion-table-with-predicate): Handle the case where pred1 is nil.
7421 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7423 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7426 (debugger-return-value): Signal an error if the debugging context does
7427 not await any return value.
7429 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7430 * image-mode.el (image-toggle-display-text)
7431 (image-toggle-display-image): Stay away from evil `intangible'.
7433 2011-09-19 Leo Liu <sdl.web@gmail.com>
7435 * replace.el (occur-revert-arguments): Make it permanent-local.
7436 (occur-mode): Don't call font-lock-defontify.
7438 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7440 * net/ldap.el (ldap-search-internal): Don't push empty search
7443 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7447 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7449 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7450 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7452 2011-09-18 Juri Linkov <juri@jurta.org>
7454 * buff-menu.el (Buffer-menu-mode-map):
7455 * dired.el (dired-mode-map):
7456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7457 (lisp-interaction-mode-map):
7458 * emacs-lisp/package.el (package-menu-mode-map):
7459 * epa.el (epa-key-list-mode-map):
7460 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7461 (menu-bar-options-menu):
7462 * outline.el (outline-mode-menu-bar-map):
7463 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7464 * vc/vc-dir.el (vc-dir-menu-map):
7465 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7466 Capitalize non-function content words in menu item strings.
7468 * dired.el (dired-mode-map): Add menu item for
7469 `image-dired-dired-toggle-marked-thumbs'.
7471 2011-09-18 Juri Linkov <juri@jurta.org>
7473 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7474 to `isearch-case-fold-search' and restore its original value
7475 after the `isearch-mode' call.
7477 2011-09-18 Juri Linkov <juri@jurta.org>
7479 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7480 because `zgrep' returns 1 for successful matches (bug#9226).
7482 2011-09-18 Juri Linkov <juri@jurta.org>
7484 * info.el (Info-extract-menu-node-name): Check the second match
7485 for empty string (second test-case of bug#9528).
7486 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7487 intermediate nodes to the history (first test-case of bug#9528).
7489 2011-09-18 Juri Linkov <juri@jurta.org>
7491 * info.el (Info-mode-syntax-table): New variable.
7492 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7494 2011-09-18 Juri Linkov <juri@jurta.org>
7496 * info.el (Info-file-supports-index-cookies):
7497 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7498 outputs one more line for long file names (bug#4142).
7500 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7502 * newcomment.el (comment-normalize-vars): If prompting for
7503 comment-start, set comment-start-skip too (Bug#8424).
7505 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7507 * icomplete.el: Fix previous fix of Bug#5849.
7508 (icomplete-mode): Don't set completion-show-inline-help.
7509 (icomplete-minibuffer-setup): Set completion-show-inline-help
7510 locally during icompletion.
7512 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7514 * woman.el (woman2-process-escapes): Don't delete unrecognized
7517 * files.el (inhibit-first-line-modes-regexps): Add image files.
7518 (hack-local-variables-prop-line): Return nil for malformed
7519 prop-lines (Bug#9044).
7521 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp.el (top): Don't require 'shell.
7524 (tramp-methods): Fix docstring.
7525 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7526 Return complete remote file name. Handle "smb" case.
7527 Use `tramp-tmpdir', if defined for the respective method.
7528 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7530 * net/tramp-compat.el (top): Require 'shell.
7532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7533 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7534 `tramp-current-host'.
7535 (tramp-get-remote-tmpdir): Remove.
7537 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7538 `tramp-tmpdir' entries.
7539 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7540 (tramp-smb-handle-file-attributes): Ignore errors.
7541 (tramp-smb-wait-for-output): Check also for process end.
7543 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7545 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7546 when sending QUIT (bug#9312).
7548 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7550 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7551 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7552 occur-mode-display-occurrence.
7553 (occur-edit-mode): Add usage message.
7554 (occur-cease-edit): New command.
7555 (occur-after-change-function): Use text properties to find the
7556 position of the prefix text.
7557 (occur-engine): Set stickiness of prefix text properties.
7559 2011-09-17 Glenn Morris <rgm@gnu.org>
7561 * progmodes/etags.el (complete-tag):
7562 Fix call to completion-in-region. (Bug#9526)
7564 2011-09-17 Juri Linkov <juri@jurta.org>
7566 * textmodes/ispell.el (ispell-word): Add to the error message
7567 the word, ispell program name and current dictionary (bug#9121).
7568 (ispell-tex-arg-end): Capitalize "error" in the error message.
7570 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7572 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7575 2011-09-17 Juri Linkov <juri@jurta.org>
7577 * window.el (window-safe-min-height, window-safe-min-width):
7578 Fix typos (followup to bug#9522).
7580 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7582 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7584 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7586 * simple.el (line-move): If goal-column is set, move by logical
7587 lines, not by display lines. (Bug#971)
7588 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7589 to reflect the above change.
7591 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7593 * image.el (imagemagick-register-types): Use regexp-opt.
7595 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7597 * window.el (display-buffer-base-action): Rename from
7598 display-buffer-default-action. Make default value empty.
7599 (display-buffer-overriding-action): Convert to defvar.
7600 (display-buffer-fallback-action): New var.
7602 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7604 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7606 (package--add-to-archive-contents): If there is a duplicate entry
7607 with an older version, remove it.
7608 (package-menu-mark-delete, package-menu-mark-install)
7609 (package-menu-mark-unmark): Make unused args optional.
7610 (package-menu-mark-obsolete-for-deletion):
7611 Use package-menu-get-status instead of a regexp search.
7612 (package-menu-get-status): Use tabulated-list-entry.
7613 (package-menu-mark-upgrades): New command.
7614 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7615 (package-menu-execute): Do installation before deletion.
7616 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7617 instead of checking major-mode.
7618 (package-menu--find-upgrades): New function.
7620 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7622 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7623 passwords in the log buffer.
7624 (smtpmail-process-filter): Update the process marker so that the
7625 "broken by peer" status message is inserted in the right place.
7627 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7630 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7631 bibtex-completion-at-point-function.
7632 (bibtex-completion-at-point-function): Use them.
7634 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7636 * mpc.el (mpc-constraints-tag-lookup): New function.
7637 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7638 also to browser "album|playlist".
7640 2011-09-14 Juri Linkov <juri@jurta.org>
7642 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7643 (isearch-edit-string): Use length of `isearch-string' when
7644 `isearch-fail-pos' returns nil.
7645 (isearch-message): Remove duplicate code and call
7646 `isearch-fail-pos' with arg `t'.
7648 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7650 * replace.el (occur-mode-goto-occurrence): Don't force using other
7653 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7655 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7657 * window.el (display-buffer-window): Remove.
7658 (display-buffer-record-window): Use help-setup window parameter
7659 instead of variable display-buffer-window.
7660 (display-buffer-function, special-display-buffer-names)
7661 (special-display-function): Mention help-setup parameter instead
7662 of display-buffer-window in doc-string.
7663 * help.el (help-window-setup): New argument help-window.
7664 Use help-window-setup parameter instead of display-buffer-window.
7665 Reword some messages.
7666 (with-help-window): Pass window used for displaying the buffer
7667 to help-window-setup. Don't set display-buffer-window.
7669 2011-09-13 Glenn Morris <rgm@gnu.org>
7671 * emacs-lisp/debug.el (debugger-make-xrefs):
7672 Preserve point. (Bug#9462)
7674 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7676 * window.el (window-deletable-p): Use next-frame.
7678 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7680 * window.el (window-auto-delete): Remove.
7681 (window-deletable-p): Remove argument FORCE. Don't deal with
7682 dedication and previous buffers.
7683 (switch-to-prev-buffer): Don't delete window.
7684 (delete-windows-on): Delete a window's frame if and only if the
7685 window is dedicated.
7686 (replace-buffer-in-windows): Delete buffer's window or frame if
7687 and only if window is dedicated.
7688 (quit-window): Handle quit-restore as before last change.
7689 (bury-buffer): Delete window only if window-deletable-p returns t.
7691 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7693 * window.el (window-deletable-p): Never delete the last frame on a
7696 2011-09-13 Glenn Morris <rgm@gnu.org>
7698 * help.el (describe-key-briefly): Copy previous standard-output change.
7700 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7702 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7704 2011-09-13 Glenn Morris <rgm@gnu.org>
7706 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7707 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7709 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7711 * dired-aux.el (dired-mark-read-string): Don't return default
7712 value on empty input (Bug#9361).
7713 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7714 Omit initial minibuffer contents.
7715 (dired-do-chmod): Signal an error on empty input.
7716 (dired-mark-read-string): Don't return default on empty input.
7718 * files.el (file-modes-symbolic-to-number): Doc fix.
7720 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * international/mule-cmds.el (ucs-completions): Remove.
7723 (read-char-by-name): Use complete-with-action instead; add metadata.
7725 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7727 * window.el (display-buffer--action-function-custom-type)
7728 (display-buffer--action-custom-type): New vars.
7729 (display-buffer-alist, display-buffer-default-action)
7730 (display-buffer-overriding-action): Add defcustom types.
7732 * frame.el (delete-other-frames): Doc fix (Bug#276).
7734 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7736 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7738 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7740 Change modes that used same-window-* vars to use switch-to-buffer.
7742 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7743 Use switch-to-buffer.
7745 * cus-edit.el (customize-group, custom-buffer-create)
7746 (customize-browse, custom-buffer-create-other-window):
7747 Use switch-to-buffer or switch-to-buffer-other-window.
7749 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7750 (Info-prev, Info-up, Info-speedbar-goto-node)
7751 (info-display-manual): Use switch-to-buffer.
7752 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7754 * mail/sendmail.el (mail): Use switch-to-buffer.
7755 (mail-recover): Use switch-to-buffer-other-window.
7757 * cmuscheme.el (run-scheme, switch-to-scheme):
7760 * net/rlogin.el (rlogin):
7761 * net/telnet.el (telnet, rsh):
7762 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7764 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7766 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7768 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7770 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7771 so don't mention it (bug#9301).
7772 (dired-sort-toggle-or-edit): Clarify string further.
7774 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7775 match `x', `w32' and `ns', like the manual says (bug#9029).
7777 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7778 (process-kill-buffer-query-function): Mention the buffer name in
7781 * image-mode.el (image-next-line): The line parameter is mandatory
7784 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7785 which can be useful (bug#9301).
7787 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7789 * subr.el (match-string): Mention that the current buffer should
7790 be the same as the search was done in (bug#9282).
7792 * facemenu.el: Disable the remove-* commands if the mark isn't
7795 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7797 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7799 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7801 * replace.el (occur-mode-goto-occurrence)
7802 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7805 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7808 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7809 special-display and same-window variables.
7810 (mail-other-window): Use switch-to-buffer-other-window.
7811 (mail-other-frame): USe switch-to-buffer-other-frame.
7813 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7814 Use display-buffer-other-frame.
7815 (gdb-display-gdb-buffer): Use pop-to-buffer.
7817 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7819 * progmodes/python.el: Don't set same-window-buffer-names.
7821 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7823 * window.el (display-buffer-alist): Add *Python*.
7825 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7827 * window.el (display-buffer-alist): Add entry for buffers
7828 previously handled same-window-*.
7829 (display-buffer-alist, display-buffer-default-action)
7830 (display-buffer-overriding-action): Mark as risky.
7831 (display-buffer-alist): Document action function changes.
7832 (display-buffer--same-window-action)
7833 (display-buffer--other-frame-action): New variables.
7834 (switch-to-buffer, display-buffer-other-frame): Use them.
7835 (display-buffer): Rename reuse-frame entry to reusable-frames.
7836 (display-buffer-reuse-selected-window): Function deleted.
7837 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7838 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7839 (display-buffer-special): New function.
7840 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7841 display-buffer-reuse-or-pop-window. Split off special-display
7842 part into display-buffer-special.
7843 (display-buffer-use-some-window): Don't perform any special
7844 pop-up-frames handling.
7845 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7846 (display-buffer--maybe-same-window): Rename from
7847 display-buffer-maybe-same-window.
7849 * info.el: Don't set same-window-regexps.
7850 (info-setup): New function.
7851 (info-other-window, info): Call it.
7853 * cus-edit.el: Don't set same-window-regexps.
7854 (customize-group): New argument.
7855 (customize-group-other-window): Use it.
7856 (customize-face, customize-face-other-window): Likewise.
7857 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7861 * progmodes/gud.el: Don't set same-window-regexps.
7867 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7869 2011-09-10 Juri Linkov <juri@jurta.org>
7871 * isearch.el (isearch-edit-string): Remove obsolete mention of
7872 `C-w' (`isearch-yank-word-or-char') from docstring.
7873 (isearch-query-replace): Fix typo in docstring (bug#9466).
7875 2011-09-10 Juri Linkov <juri@jurta.org>
7877 * paren.el (show-paren-function): Don't show escaped parens.
7878 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7880 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7882 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7883 (mm-default-file-encoding): Remove autoload forms, they are
7884 replaced with autoload cookies in mml.el and mm-encode.el.
7885 (mail-add-attachment): New command.
7886 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7887 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7889 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7891 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7893 * simple.el (count-words-region): Use buffer if there's no region
7896 2011-09-09 Juri Linkov <juri@jurta.org>
7898 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7899 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7900 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7902 2011-09-09 Alan Mackenzie <acm@muc.de>
7904 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7905 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7907 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7909 Fix for Savannah bug#9392.
7910 * simple.el (mail-encode-mml): New defvar.
7912 * mail/rmail.el (mail-encode-mml): Add a defvar.
7913 (rmail-enable-mime-composing): Default to t.
7914 (rmail-forward): Use MIME method of forwarding only if both
7915 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7916 Set mail-encode-mml non-nil if the MIME method was used.
7918 * mail/sendmail.el (mml-to-mime): Add autoload form.
7919 (mail-encode-mml): Add a defvar.
7920 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7922 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7923 message through mml-to-mime, and reset mail-encode-mml to nil.
7925 2011-09-09 Glenn Morris <rgm@gnu.org>
7927 * woman.el (woman-if-body): When processing an .el block,
7928 do not delete the next .el block as well. (Bug#9447)
7929 (woman-special-characters): Add oq, cq, and hy characters.
7931 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7933 * window.el (window-deletable-p): Make sure window is live before
7934 invoking window-prev-buffers.
7936 2011-09-08 Leo Liu <sdl.web@gmail.com>
7938 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7940 2011-09-08 Juri Linkov <juri@jurta.org>
7942 * progmodes/compile.el (compilation-environment): Make it
7943 a defcustom (bug#8340).
7945 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7947 * window.el (frame-auto-delete): Rename to window-auto-delete.
7948 Make it control auto-deletion of windows and/or frames.
7949 (window-deletable-p): New argument FORCE. Rewrite conditions
7950 for deleting window/frame. (Bug#9419)
7951 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7952 Rewrite handling of case when window/frame can be deleted.
7953 (delete-windows-on): Call window-deletable-p with new FORCE
7954 argument t. (Bug#9456)
7956 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7958 * help-mode.el (help-mode): Restore autoload.
7960 2011-09-07 Juri Linkov <juri@jurta.org>
7962 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7963 `compilation-environment'. Set buffer-local
7964 `compilation-environment' to `thisenv' later after (funcall mode).
7967 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7968 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7969 instead of replacing its value. (Bug#8340)
7971 2011-09-07 Juri Linkov <juri@jurta.org>
7973 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7974 based on text properties put by `grep-filter' instead of matching
7976 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7977 to the value of `grep-error-screen-columns' (bug#9438).
7979 2011-09-07 Juri Linkov <juri@jurta.org>
7981 * simple.el (next-error-highlight, next-error-highlight-no-select):
7984 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7987 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7989 2011-09-07 Leo Liu <sdl.web@gmail.com>
7991 * net/rcirc.el (rcirc-mode): Conditionally initialize
7994 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7996 * emacs-lisp/find-func.el (find-function-C-source): Only set
7997 find-function-C-source-directory after checking that we found a source
7998 file there (bug#9440).
8000 2011-09-06 Alan Mackenzie <acm@muc.de>
8002 * isearch.el (isearch-other-meta-char): Wherever a key list is
8003 unread, "unread" the prefix arg, too. This fixes bug #8901.
8005 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8007 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8009 2011-09-05 Juri Linkov <juri@jurta.org>
8011 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8013 2011-09-05 Juri Linkov <juri@jurta.org>
8015 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8016 keeping point where processing of grep matches begins, and
8017 continue to delete remaining escape sequences from the same point.
8018 (grep-filter): Make leading zero optional in "0?1;31m" because
8019 git-grep emits "\033[1;31m" escape sequences unlike expected
8020 "\033[01;31m" as GNU Grep does (bug#9408).
8021 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8023 2011-09-05 Juri Linkov <juri@jurta.org>
8025 * subr.el (y-or-n-p): Capitalize "yes".
8027 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8029 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8030 `tramp-cache-unload-hook' where appropriate.
8031 (tramp-methods): Rename `tramp-remote-sh' to
8032 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8033 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8035 * net/tramp-sh.el (top): Don't require 'shell.
8036 (tramp-methods): Add `tramp-remote-shell' and
8037 `tramp-remote-shell-args' entries.
8038 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8039 (tramp-sh-handle-shell-command): Remove.
8040 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8041 Use `tramp-remote-shell'.
8043 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8045 * mail/sendmail.el (sendmail-query-once-function): Delete.
8046 (sendmail-query-once): Save directly to send-mail-function.
8047 Update message-send-mail-function too.
8049 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8051 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8053 * progmodes/python.el (python-mode-map): Use correct function to
8054 start python interpreter from menu-bar (as reported by Geert
8056 (inferior-python-mode-map): Fix typo.
8057 (python-shell-map): Remove.
8059 2011-09-03 Deniz Dogan <deniz@dogan.se>
8061 * net/rcirc.el (rcirc-print): Simplify code for
8062 rcirc-scroll-show-maximum-output. There is no need to walk
8063 through all windows to find the right one.
8065 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8067 * help.el (help-return-method): Doc fix.
8069 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8071 * window.el (window-deletable-p): Don't return a non-nil value
8072 when there's a buffer that was shown in the window before.
8074 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8075 Set window's previous buffers to nil.
8077 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8079 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8080 newline before and after the tag line, so it doesn't interfere
8081 with determining the paragraph direction of bidirectional text.
8083 2011-09-03 Leo Liu <sdl.web@gmail.com>
8085 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8087 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8089 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8090 (pop-to-buffer): Change interactive spec. Pass second argument
8091 directly to display-buffer.
8092 (display-buffer): Fix interactive spec. Use functionp to
8093 distinguish between a function and a list of functions.
8095 * abbrev.el (edit-abbrevs):
8096 * arc-mode.el (archive-extract):
8097 * autoinsert.el (auto-insert):
8098 * bookmark.el (bookmark-bmenu-list):
8099 * files.el (find-file):
8100 * view.el (view-buffer):
8101 * progmodes/compile.el (compilation-goto-locus):
8102 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8104 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8106 * window.el (display-buffer-alist): Doc fix.
8107 (display-buffer): Add docstring. Don't treat
8108 display-buffer-default specially.
8109 (display-buffer-reuse-selected-window)
8110 (display-buffer-same-window, display-buffer-maybe-same-window)
8111 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8112 (display-buffer-pop-up-window)
8113 (display-buffer-reuse-or-pop-window)
8114 (display-buffer-use-some-window): New functions.
8115 (display-buffer-default-action): Use them.
8116 (display-buffer-default): Delete.
8117 (pop-to-buffer-1): Fix choice of actions.
8119 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * minibuffer.el (completion--insert-strings): Don't get confused by
8122 completion entries that end with an LF char.
8124 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8126 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8128 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8130 * window.el (display-buffer): Restore interactive spec.
8131 (display-buffer-same-window, display-buffer-other-window):
8133 (pop-to-buffer-1): New function. Use the above.
8134 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8135 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8137 * view.el (view-buffer-other-window, view-buffer-other-frame):
8138 Just use pop-to-buffer.
8140 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8142 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8144 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8146 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8148 2011-08-31 Richard Stallman <rms@gnu.org>
8150 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8151 of the separation of rmail-view-buffer from rmail-buffer.
8152 If you say no to "replace original", the decrypt is in the
8153 view buffer. If you say yes, the decrypt goes into the
8156 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8158 * window.el (display-buffer-window): Rewrite doc-string.
8159 (display-buffer-record-window): New function.
8160 (display-buffer-macro-specifiers)
8161 (display-buffer-even-window-sizes, display-buffer-set-height)
8162 (display-buffer-set-width, display-buffer-in-window)
8163 (display-buffer-reuse-window, display-buffer-split-specifiers)
8164 (display-buffer-side-specifiers, display-buffer-split-window-1)
8165 (display-buffer-split-window, display-buffer-split-atom-window)
8166 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8167 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8168 (display-buffer-other-window-means-other-frame)
8169 (display-buffer-normalize-special)
8170 (display-buffer-normalize-default)
8171 (display-buffer-normalize-argument)
8172 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8173 (display-buffer-normalize-specifiers, display-buffer-frame)
8174 (display-buffer-same-window, display-buffer-same-frame)
8175 (display-buffer-other-window)
8176 (display-buffer-same-frame-other-window)
8177 (display-buffer-other-frame, pop-to-buffer-same-window)
8178 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8179 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8180 (switch-to-buffer-same-frame)
8181 (switch-to-buffer-other-window-same-frame)
8182 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8183 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8184 (display-buffer-alist-set): Remove.
8185 (display-buffer-function, special-display-buffer-names)
8186 (special-display-regexps, special-display-function):
8187 In doc-string refer to display-buffer-window and quit-restore
8189 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8190 (special-display-frame-alist, special-display-popup-frame)
8191 (same-window-buffer-names, same-window-regexps, same-window-p)
8192 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8193 (split-window-preferred-function, split-height-threshold)
8194 (split-width-threshold, window-splittable-p)
8195 (split-window-sensibly, window--try-to-split-window)
8196 (window--frame-usable-p, even-window-heights)
8197 (window--even-window-heights, window--display-buffer-1)
8198 (window--display-buffer-2, display-buffer-other-frame):
8199 Restore old Emacs 23 code, order and doc-strings where applicable.
8200 (display-buffer-default, display-buffer-assq-regexp): New functions.
8201 (display-buffer-alist): Rewrite doc-string.
8202 (display-buffer-default-action)
8203 (display-buffer-overriding-action): New variables.
8204 (display-buffer, switch-to-buffer): Rewrite.
8205 (pop-to-buffer): Restore Emacs 23 behavior but use
8206 window-normalize-buffer-to-display.
8207 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8208 Restore Emacs 23 behavior but use
8209 window-normalize-buffer-to-switch-to.
8210 (pop-to-buffer-same-window): Rewrite.
8211 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8212 Rewrite using Emacs 23 options.
8214 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8216 * net/tramp.el (tramp-root-regexp): Remove.
8217 (tramp-completion-file-name-regexp-unified)
8218 (tramp-completion-file-name-regexp-separate)
8219 (tramp-completion-file-name-regexp-url): Don't use leading volume
8220 letter on win32 systems. (Bug#5303, Bug#9311)
8221 (tramp-drop-volume-letter): Simplify definition.
8222 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8224 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8229 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8231 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8233 2011-08-29 Juri Linkov <juri@jurta.org>
8235 * isearch.el (isearch-done): Don't display message "Mark saved"
8236 when arg `edit' is non-nil to prevent its flicker in the echo area.
8238 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8240 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8241 obsolete packages for deletion.
8243 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8245 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8246 (help-mode): Derive help-mode from special-mode. Don't invoke
8247 view-mode from help-mode.
8248 (help-xref-override-view-map): Remove.
8249 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8250 view-mode is not used anymore.
8252 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8254 * server.el (server-port): Doc fix.
8256 * cus-theme.el (custom-theme-choose-mode): Inherit from
8257 special-mode (Bug#9124).
8258 (custom-theme-choose-mode-map): Add special-mode to parent.
8260 2011-08-28 Alan Mackenzie <acm@muc.de>
8262 * progmodes/cc-fonts.el
8263 (c-make-font-lock-BO-decl-search-function): New function.
8264 (c-basic-matchers-after - "Fontify the clauses after various
8265 keywords"): Extract the three keyword lists for the 3 erroneous
8266 constructs from the list of four, and use the new function above
8267 in place of an old one.
8269 2011-08-28 Deniz Dogan <deniz@dogan.se>
8271 * net/rcirc.el (rcirc-insert-prev-input)
8272 (rcirc-insert-next-input): Remove unused argument.
8274 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8278 2011-08-27 Alan Mackenzie <acm@muc.de>
8280 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8281 handle function pointer parameters properly.
8283 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8285 * window.el (display-buffer-reuse-window): Fix case where
8286 selected window was reused with non-nil OTHER-WINDOW argument.
8289 2011-08-27 Deniz Dogan <deniz@dogan.se>
8291 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8292 oftc's NickServ messages.
8294 2011-08-27 Glenn Morris <rgm@gnu.org>
8296 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8298 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8300 * emacs-lisp/package.el (package-install): Call package-initialize
8301 if called interactively.
8303 2011-08-26 Leo Liu <sdl.web@gmail.com>
8305 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8307 2011-08-25 Juri Linkov <juri@jurta.org>
8309 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8310 `search-whitespace-regexp' (bug#9364).
8312 2011-08-25 Juri Linkov <juri@jurta.org>
8314 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8315 `regexp-search-ring' to their global values to protect from
8316 updating by `read-from-minibuffer' (bug#9185).
8318 2011-08-25 Juri Linkov <juri@jurta.org>
8320 * textmodes/ispell.el (ispell-command-loop): Add newline
8321 at the end of the "Use option `i'..." line.
8323 2011-08-25 Juri Linkov <juri@jurta.org>
8325 * battery.el (display-battery-mode): If `battery-status-function'
8326 or `battery-mode-line-format' is nil, display the message and set
8327 `display-battery-mode' to nil (bug#9363).
8329 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8331 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8332 bidi-string-mark-left-to-right; they are unnecessary now.
8334 2011-08-25 Deniz Dogan <deniz@dogan.se>
8336 * net/quickurl.el: Documentation typo fixes.
8338 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8340 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8342 2011-08-25 Glenn Morris <rgm@gnu.org>
8344 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8346 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8347 (smtpmail-via-smtp): Handle nil response from smtp.
8349 2011-08-24 Juri Linkov <juri@jurta.org>
8351 * proced.el (proced-marked): Inherit from `error' instead of
8352 `font-lock-warning-face'.
8354 * ibuffer.el (ibuffer-marked-face): Change default face from
8355 `font-lock-warning-face' to `warning'.
8356 (ibuffer-deletion-face): Change default face from
8357 `font-lock-type-face' to `error'.
8359 * battery.el (battery-update): Use the face `error' instead of
8360 `font-lock-warning-face' (bug#6117).
8362 2011-08-24 Juri Linkov <juri@jurta.org>
8364 * faces.el (success): Change face color from "Green3" to
8365 "ForestGreen" on light background (bug#9353).
8367 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8369 * window.el (quit-window): Rename from quit-restore-window.
8370 Use same arglist as old quit-window.
8371 (frame-auto-delete): Doc fix.
8373 * view.el (view-mode-exit): Use quit-window.
8375 2011-08-24 Juri Linkov <juri@jurta.org>
8377 * isearch.el (isearch-ring-adjust1): Start visiting previous
8378 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8379 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8380 for empty search string (when the last search string is reused
8381 automatically) to adjust the isearch ring to the last element and
8382 prepare the correct index for further M-p commands (bug#9185).
8384 2011-08-24 Kenichi Handa <handa@m17n.org>
8386 * international/ucs-normalize.el: If decomposition property of
8387 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8389 (nfd, nfkd): Likewise.
8391 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8393 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8394 from process filters aren't reliably transmitted to the surrounding
8395 accept-process-output.
8396 (mpc-proc-check): New function.
8397 (mpc-proc-sync): Use it (bug#8293)
8399 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8401 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8402 Add compatibility functions (bug#9313).
8404 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8406 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8408 * international/uni-bidi.el: Regenerate.
8410 2011-08-23 Kenichi Handa <handa@m17n.org>
8412 * international/charprop.el:
8413 * international/uni-bidi.el:
8414 * international/uni-category.el:
8415 * international/uni-combining.el:
8416 * international/uni-comment.el:
8417 * international/uni-decimal.el:
8418 * international/uni-decomposition.el:
8419 * international/uni-digit.el:
8420 * international/uni-lowercase.el:
8421 * international/uni-mirrored.el:
8422 * international/uni-name.el:
8423 * international/uni-numeric.el:
8424 * international/uni-old-name.el:
8425 * international/uni-titlecase.el:
8426 * international/uni-uppercase.el: Regenerate.
8428 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8430 * help.el (help-window-setup): Fix message displayed when other
8431 window is reused. (Bug#9341)
8433 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8435 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8436 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8438 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8440 * shell.el (shell-parse-pcomplete-arguments): New function.
8441 (shell-completion-vars): Use it instead (bug#9160).
8443 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8445 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8446 strings and comments (bug#9333).
8448 * emacs-lisp/debug.el (debug-arglist): New function.
8449 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8450 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8452 2011-08-22 Juri Linkov <juri@jurta.org>
8454 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8455 Revert regexp that highlights output switches to its old
8456 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8458 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8459 to check for empty output (bug#9226).
8461 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8463 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8464 symbol-constituent as the default, as that stops font-lock from
8465 working properly (Bug#8843).
8467 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8469 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8470 `coding-system-for-*' around the process open call to avoid
8471 auth-source side effects.
8472 (smtpmail-try-auth-methods): Expand the secret password.
8473 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8476 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8478 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8480 * emacs-lisp/find-func.el (find-function-noselect): New arg
8483 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8484 signal an error for built-in functions (Bug#6664).
8486 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8488 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8489 (smtpmail-try-auth-methods): Use it.
8491 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8493 * font-lock.el (font-lock-fontify-region)
8494 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8495 (font-lock-default-unfontify-buffer)
8496 (font-lock-default-fontify-region)
8497 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8499 * progmodes/compile.el (compilation-error-properties):
8500 Fix confusion between file struct and message struct (Bug#9319).
8501 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8504 * net/browse-url.el (browse-url-firefox): Don't call
8505 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8507 2011-08-20 Glenn Morris <rgm@gnu.org>
8509 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8511 * tutorial.el (tutorial--default-keys): Update some default bindings.
8513 * files.el (hack-local-variables): Fully ignore case for "mode:".
8515 2011-08-20 Alan Mackenzie <acm@muc.de>
8517 Resolve invalid use of a regexp in regexp-opt.
8519 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8520 detection for a java annotation.
8522 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8523 detection for a java annotation.
8525 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8527 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8529 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8531 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8534 2011-08-20 Alan Mackenzie <acm@muc.de>
8536 Fontify CPP expressions correctly when starting in the middle of
8537 such a construct. Mainly for when jit-lock etc. starts a chunk
8540 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8542 (c-make-font-lock-search-form): New function, extracted from
8543 c-make-font-lock-search-function.
8544 (c-make-font-lock-search-function): Use the above function.
8545 (c-make-font-lock-context-search-function): New function.
8546 (c-cpp-matchers): Enhance the preprocessor expression case with
8548 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8549 which takes an expression.
8551 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8553 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8555 * window.el (display-buffer-reuse-window)
8556 (display-buffer-pop-up-window): Don't reuse or split a side
8559 2011-08-19 Glenn Morris <rgm@gnu.org>
8561 * files.el (hack-local-variables-prop-line, hack-local-variables):
8562 Downcase "Mode:". (Bug#9331)
8564 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8566 * international/characters.el: Add L and R categories.
8568 * subr.el (bidi-string-mark-left-to-right): Rename from
8569 string-mark-left-to-right. Use category search.
8571 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8573 2011-08-18 Juri Linkov <juri@jurta.org>
8575 * faces.el (error, warning, success): New faces with definitions
8576 copied from old default values of `font-lock-warning-face',
8577 `compilation-warning', `compilation-info' (bug#6117).
8579 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8581 * progmodes/compile.el (compilation-error): Inherit from `error'.
8582 (compilation-warning): Inherit from `warning'.
8583 (compilation-info): Inherit from `success'.
8585 * dired.el (dired-marked): Inherit from `warning'.
8586 (dired-flagged): Inherit from `error'.
8588 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590 * mail/smtpmail.el (auth-source): Require to avoid problems with
8591 binding variables (bug#9298). Also clean up some unused
8594 * net/network-stream.el (network-stream-open-starttls):
8595 Support using starttls.el without using gnutls-cli.
8597 2011-08-17 Juri Linkov <juri@jurta.org>
8599 * progmodes/grep.el (rgrep): Handle the case when
8600 `grep-find-command' is a cons cell (bug#9278).
8602 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8604 * window.el (display-buffer-pop-up-frame): Run frame creation
8605 function with BUFFER current (as special-display-popup-frame
8606 does). Reported by Drew Adams.
8608 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8610 * epa-mail.el: Simplify GnuPG group expansion using
8612 (epa-mail-group-alist, epa-mail-group-modtime)
8613 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8614 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8615 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8618 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8620 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8622 2011-08-16 Alan Mackenzie <acm@muc.de>
8624 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8625 Correct, to avoid the inside of macros.
8627 2011-08-16 Richard Stallman <rms@gnu.org>
8629 * epa-mail.el: Handle GnuPG group definitions.
8630 (epa-mail-group-alist, epa-mail-group-modtime)
8631 (epa-mail-gnupg-conf-file): New variables.
8632 (epa-mail-parse-groups, epa-mail-sync-groups)
8633 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8634 (epa-mail-expand-recipients): New functions.
8635 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8637 * mail/rmail.el (rmail-epa-decrypt): New command.
8639 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8640 Don't bind buffer-read-only, just inhibit-read-only.
8641 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8642 (epa-decrypt-armor-in-region): Make error message clearer.
8644 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8647 and "a2b" to "ab" for `prefix'.
8649 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8651 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8653 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8654 Fourquet (Bug#8804).
8656 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8658 * startup.el (argi): Declare as global variable (bug#9275).
8660 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8662 * subr.el (string-mark-left-to-right): Search the entire string
8663 for RTL script, not just the terminating character. Doc fix.
8665 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8667 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8669 (js--regexp-literal, js-syntax-propertize-function): Remove.
8670 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8671 (js-mode-map): Don't rebind electric keys.
8672 (js-insert-and-indent): Remove.
8673 (js-mode): Setup electric-layout and electric-indent instead.
8675 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8677 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8679 * epa.el (epa-progress-callback-function): Fix the logic of
8680 displaying progress.
8681 * epa-file.el (epa-file-insert-file-contents): Make progress
8682 display more user-friendly.
8683 (epa-file-write-region): Ditto.
8685 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8687 * subr.el (string-mark-left-to-right): New function.
8689 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8690 Use string-mark-left-to-right.
8691 (list-buffers-noselect): Caller changed.
8693 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8694 Use string-mark-left-to-right.
8695 (tabulated-list-print): Recenter after moving point.
8697 2011-08-10 Juri Linkov <juri@jurta.org>
8699 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8700 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8701 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8703 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8705 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8708 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8710 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8711 character. (Bug#6594)
8713 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8715 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8716 (image-dired--with-db-file): New macro.
8717 (image-dired-write-tags, image-dired-remove-tag)
8718 (image-dired-create-gallery-lists, image-dired-write-comments)
8719 (image-dired-get-comment, image-dired-mark-tagged-files)
8720 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8721 (image-dired-gallery-generate): Use insert-file-contents.
8723 * time.el (display-time-world-list, display-time-world-display):
8724 * time-stamp.el (time-stamp-string):
8725 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8726 set-time-zone-rule (Bug#7337).
8728 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8730 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8731 (epg-error-to-string, epg-errors-to-string): New function.
8732 (epg-wait-for-completion): Reverse errors list.
8733 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8734 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8735 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8736 (epg-sign-keys, epg-generate-key-from-file)
8737 (epg-generate-key-from-string): Format errors by using
8738 epg-errors-to-string (bug#9255).
8739 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8741 2011-08-07 Juri Linkov <juri@jurta.org>
8743 * faces.el (list-faces-display): Remove extra angle bracket
8744 from `help-mode-map'.
8746 * info.el (Info-history-toc-nodes): Doc fix.
8748 * longlines.el (longlines-mode): Doc fix.
8750 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8752 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8753 of statements and in a few more cases (bug#9183).
8755 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8757 (cl-transform-lambda): Use them (bug#9239).
8759 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8761 * window.el (display-buffer-same-window)
8762 (display-buffer-same-frame, display-buffer-other-window)
8763 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8764 (pop-to-buffer-other-window)
8765 (pop-to-buffer-same-frame-other-window)
8766 (pop-to-buffer-other-frame): Make them defuns.
8767 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8769 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8771 * subr.el (make-composed-keymap): Move from C. Change calling
8772 convention, and improve docstring to bring attention to a subtle point.
8773 * minibuffer.el (completing-read-default): Adjust accordingly.
8775 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8777 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8778 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8780 * net/trampver.el: Update release number.
8782 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8787 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8789 * mail/sendmail.el (sendmail-query-once): Restore the current
8790 buffer after querying (bug#9074).
8792 * dired.el (dired-flagged): Use different faces for marked and
8793 flagged files (bug#6117).
8795 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8798 * ido.el (ido-mode): Switch off the message if called
8801 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8802 before 587, since it appears that that's more likely to work for
8805 * cus-edit.el (custom-file): When running under emacs -q, always
8806 refuse to save the customizations, even if the .emacs file doesn't
8809 * info.el: Remove the `Info-beginning-of-buffer' function
8812 * net/network-stream.el (network-stream-open-starttls):
8813 Use `starttls-available-p' to see whether starttls.el can be used.
8815 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8817 * window.el (display-buffer-in-window): Don't set dedicated status
8818 of window here (Bug#9215).
8819 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8820 (display-buffer-pop-up-side-window)
8821 (display-buffer-in-side-window): Set dedicated status of window here.
8823 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8826 before binding generated-autoload-file.
8828 2011-08-01 Deniz Dogan <deniz@dogan.se>
8830 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8832 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8834 Sync with Tramp 2.2.2.
8836 * net/trampver.el: Update release number.
8838 2011-07-30 Juri Linkov <juri@jurta.org>
8840 * dired-aux.el (dired-touch-initial): Remove function.
8841 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8842 current time, and `default' to the last modification time of the
8843 current marked file (bug#6887).
8845 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8847 * simple.el (goto-line): Use string-to-number to provide a
8848 numeric argument to read-number (bug#9163).
8850 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8852 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8853 connection process, it could be nil.
8855 2011-07-27 Leo Liu <sdl.web@gmail.com>
8857 Simplify url handling in rcirc-mode.
8859 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8860 (rcirc-browse-url-at-mouse): Remove.
8861 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8863 2011-07-26 Alan Mackenzie <acm@muc.de>
8865 Fontify bitfield declarations properly.
8867 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8868 (c-symbol-chars): Now exported as a lang variable.
8869 (c-not-primitive-type-keywords): New lang variable.
8871 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8872 QT keyword "more" to prevent "more slots: ...." being spuriously
8873 parsed as a bitfield declaration.
8875 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8876 Refactor and enhance to handle bitfield declarations.
8877 (c-punctuation-in): New function.
8878 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8879 declarations properly.
8881 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8883 * calendar/icalendar.el (icalendar--all-events): Take care of
8884 multiple vcalendars in a single file.
8885 (icalendar--convert-float-to-ical): Checkdoc fixes.
8887 2011-07-25 Deniz Dogan <deniz@dogan.se>
8889 * image.el (insert-image): Clarifying docstring.
8891 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8893 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8894 `tramp-send-command-and-check' if there is no error.
8895 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8897 2011-07-22 Alan Mackenzie <acm@muc.de>
8899 Prevent cc-langs.elc being loaded at run time.
8901 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8904 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8905 "(require 'cc-langs)". Quote a form so it will evaluate at
8906 (cc-mode's) compilation time.
8908 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8910 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8913 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8915 * window.el (display-buffer-pop-up-window)
8916 (display-buffer-pop-up-side-window)
8917 (display-buffer-in-side-window): Call display-buffer-set-height
8918 and display-buffer-set-width after setting the new window's
8919 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8921 2011-07-20 Sam Steingold <sds@gnu.org>
8923 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8924 (etags-tags-included-tables): Call `convert-standard-filename' on
8925 the file names contained in TAGS so that windows Emacs can handle
8926 TAGS files created by cygwin ctags.
8928 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8930 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8931 which apparently didn't work.
8933 2011-07-19 Roland Winkler <winkler@gnu.org>
8935 * proced.el (proced-send-signal): For *Marked Processes* buffer
8936 put point at beginning of buffer.
8938 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8940 * proced.el (proced-format): Make header lines align with the text
8943 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8945 * view.el (view-buffer): Allow running in `special' modes if we're
8946 visiting a file (bug#8615).
8948 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8950 * window.el (display-buffer-alist-of-strings-p)
8951 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8953 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8956 2011-07-18 Alan Mackenzie <acm@muc.de>
8958 Fontify declarators properly when, e.g., a jit-lock chunk begins
8959 inside a declaration.
8961 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8963 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8965 (c-complex-decl-matchers): Insert reference to
8966 c-font-lock-enclosing-decls.
8968 * progmodes/cc-engine.el (c-backward-single-comment):
8969 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8970 to nil around calls to (forward-comment -1).
8972 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8974 * image.el (put-image): Doc typo fix.
8976 * progmodes/etags.el (tags-search): Doc typo fix.
8978 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8979 password if we get errors 550 to 554.
8981 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8983 * net/gnutls.el (gnutls-log-level): Remove.
8985 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8986 indentation character (bug#6380).
8988 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8990 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8991 to clarify what the problem is (bug#4291).
8993 * simple.el (current-kill): Clarify what
8994 `interprogram-paste-function' does (bug#7500).
8995 (auto-fill-mode): Document `auto-fill-function' in relation to
8996 `auto-fill-mode' (bug#2470).
8998 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9000 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9001 method if slot is read-only (bug#9035).
9003 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9005 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9006 * window.el (pop-to-buffer): Select window used even if it was
9007 selected before, see discussion of (Bug#8615), (Bug#6954).
9008 Pass argument NORECORD on to select-frame-set-input-focus.
9010 2011-07-15 Glenn Morris <rgm@gnu.org>
9012 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9015 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9017 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9018 (gnutls-negotiate): Use it.
9020 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022 * net/gnutls.el (gnutls-negotiate):
9023 Upcase `gnutls-algorithm-priority'.
9025 2011-07-15 Glenn Morris <rgm@gnu.org>
9027 * jka-compr.el (jka-compr-verbose): Move from here...
9028 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9029 Add missing :version tag.
9030 * info.el: No need to require jka-compr when compiling.
9032 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9034 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9035 (gnutls-negotiate): Use it.
9037 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9039 * info.el (Info-beginning-of-buffer): New command.
9040 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9041 announcing `b' as the key (bug#8325).
9042 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9044 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9046 * international/mule-cmds.el
9047 (describe-specified-language-support): Make the error message
9050 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9052 * isearch.el (isearch-barrier): Add a doc string, since it's
9053 mentioned in a function doc string (bug#8678).
9055 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9057 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9058 buffer argument (Bug#9083) and self-identifying label argument.
9060 2011-07-15 Glenn Morris <rgm@gnu.org>
9062 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9064 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9066 * man.el (Man-fontify-manpage): Fix message when formatting the
9067 man page (bug#7929).
9069 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9071 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9072 argument LRM; if non-nil, append an invisible LRM character to the
9074 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9075 last argument non-nil, when formatting buffer names.
9076 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9077 paragraph direction.
9079 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9081 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9082 the man page name (bug#7929).
9084 * image.el (put-image): Mention the `put-image' overlay property
9087 * scroll-bar.el (set-scroll-bar-mode): Mention that
9088 `scroll-bar-mode' lists the values (bug#7772).
9090 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9093 * rect.el (apply-on-rectangle): Return the point after the last
9095 (string-rectangle): Go to the point after the last operation
9098 * printing.el (pr-toggle-region): Clarify the documentation
9099 slightly (bug#7493).
9101 * time.el (display-time-update):
9102 Allow `display-time-mail-function' to return nil (bug#7158).
9103 Fix suggested by Detlev Zundel.
9105 * vc/diff.el (diff): Clarify the order the file names are read
9108 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9109 the doc string (bug#7015).
9111 * font-lock.el (font-lock-maximum-decoration): Mention what
9112 numeric levels mean (bug#6935).
9114 * startup.el (initial-buffer-choice): Don't mention the `none'
9115 selection, which is against policy.
9117 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9119 * window.el (display-buffer-normalize-special):
9120 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9122 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9124 * subr.el (version<, version<=, version=): Mention "-CVS" and
9125 "-12345" alpha version numbers.
9127 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9129 * bindings.el: Add advertised binding for set-mark-command
9132 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9134 * bindings.el (mode-line-other-buffer):
9135 * bookmark.el (bookmark-bmenu-2-window):
9136 * bs.el (bs-cycle-next, bs-cycle-previous):
9137 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9140 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9143 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9145 * follow.el (follow-debug-message, follow-redisplay):
9146 * jka-cmpr-hook.el (with-auto-compression-mode):
9147 Fix typos in docstrings.
9149 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9151 * subr.el (with-silent-modifications): Clarify somewhat what the
9152 macro inhibits (bug#6525).
9154 * simple.el (eval-expression): Note what it does if called
9155 interactively (bug#6495).
9157 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9159 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9160 Use pop-to-buffer buffer-or-name if it is nil.
9162 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9163 Remove switch-to-buffer.
9165 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167 * files.el (make-directory): Clarify that an error will be raised
9168 if there's an error (bug#6397).
9170 * startup.el (initial-buffer-choice): Add `none' as a choice
9173 * subr.el (add-hook): Clarify section about buffer-local hooks
9176 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9178 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9180 * tabify.el (untabify): Preserve the current column so that point
9181 doesn't move (bug#6032).
9183 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9186 Rewrite to avoid awkward possessive "s" (bug#5986).
9188 2011-07-13 Glenn Morris <rgm@gnu.org>
9190 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9191 (dired-insert-directory): Give a message the first time
9192 if ls is found not to support --dired.
9194 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9196 * simple.el (toggle-truncate-lines): Clarify what is toggled
9197 (bug#5580). Text by Drew Adams.
9199 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9201 * simple.el (blink-matching-open): Make the error message from the
9202 last change less verbose.
9204 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9206 * font-lock.el (font-lock-comment-face): Use the high contrast
9207 "yellow" color for font-lock-comment-face on low color terminals
9208 using a dark background color (bug#4221).
9210 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9212 * dired.el (dired-insert-set-properties): Make the doc string
9213 reflect what it does now (bug#5325).
9215 * simple.el (blink-matching-open): Say that we were unable to find
9216 the match within the limit, if we're limited (bug#5122).
9218 * international/mule-cmds.el (prefer-coding-system): Add an
9221 * progmodes/etags.el (tags-search): Document `file-list-form'
9224 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9226 * net/browse-url.el (browse-url-default-browser)
9227 (browse-url-browser-function): Make the default browser choice a
9228 bit more logical (bug#4300). Also clean up the doc string.
9230 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9232 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9233 binary endings (bug#4440).
9235 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9237 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9238 which can be pretty annoying (bug#8971).
9240 * jka-compr.el (jka-compr-verbose): New variable, and use
9241 throughout (bug#8971).
9243 * info.el (Info-find-file): Fall back on the installation
9244 directory if we can't find the info node anywhere else.
9246 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9248 * vc/vc.el (vc-revert-file):
9249 Don't set file time-stamp in the past. (Bug#5181)
9251 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9253 * files.el (after-find-file): Give a better error message when
9254 trying to find a symlink that points to a file that doesn't exist
9257 * progmodes/cc-vars.el: Remove (probably) misleading comment
9260 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9262 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9264 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9266 * mouse-sel.el: Hack restoring functionality, while keeping
9267 compatibility with 2010-07-03 changes to mouse selection.
9268 (mouse-sel-primary-overlay): New var.
9269 (mouse-sel-selection-alist): Use it.
9270 (mouse-sel-mode): Doc fix; remove points that are default features
9273 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9276 Fix previous fix (bug#2490).
9278 2011-07-12 Roland Winkler <winkler@gnu.org>
9280 * textmodes/bibtex.el (bibtex-initialize):
9281 Use pop-to-buffer-same-window.
9282 (bibtex-search-entries): Fix interactive call.
9284 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9287 Fontise bytecomp Error lines more correctly (bug#2490).
9288 Fix suggested by Johan Bockgård.
9290 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9292 * dired-x.el (dired-guess-default): Use `delete-dups'.
9294 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9296 * dired.el (dired-mark-prompt):
9297 * dired-aux.el (dired-read-shell-command): Doc fix.
9299 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9301 * mail/sendmail.el (sendmail-query-once):
9302 Use `customize-save-variable' unconditionally, now that it works under
9305 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9307 * cus-edit.el (custom-file): Take an optional no-error variable.
9308 (customize-save-variable): Set the variable, and give a warning if
9309 running under "emacs -q".
9311 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9313 * loadhist.el (unload-feature-special-hooks):
9314 Add `auto-coding-functions', `fill-nobreak-predicate' and
9315 `find-directory-functions' (bug#5327).
9317 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9321 * cus-edit.el (custom-guess-name-alist): -alist variables should
9322 use the `alist' type (bug#3120). Suggested by Drew Adams.
9324 * printing.el: Add documentation to all the `pr-toggle-' commands.
9326 2011-07-11 Leo Liu <sdl.web@gmail.com>
9328 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9329 backends where it makes sense (bug#2623).
9331 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9333 * dired-x.el (dired-guess-default): Remove duplicate shell command
9335 (dired-guess-default): Fix grammar in doc string (bug#2028).
9336 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9338 * subr.el (remove-duplicates): New conveniency function.
9340 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9342 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9345 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9347 * window.el (display-buffer-normalize-default): Don't invert
9348 meaning of even-window-heights. Reported by Eli Zaretskii
9351 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9353 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9355 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9357 * window.el (display-buffer): Fix arguments to
9358 display-buffer-reuse-window in last change.
9360 * faces.el (link): Use a less saturated blue on light backgrounds.
9362 * startup.el (fancy-startup-text, fancy-about-text)
9363 (fancy-startup-tail): Use font-lock faces, for background safety.
9365 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9367 * emulation/viper-cmd.el (viper-change-state-to-vi):
9368 Limit triggering of abbrev expansion (Bug#9038).
9370 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9372 * window.el (display-buffer-default-specifiers): Remove.
9373 (display-buffer-macro-specifiers): Remove default specifiers.
9374 (display-buffer-alist): Default to nil.
9375 (display-buffer-reuse-window): New optional argument other-window.
9376 (display-buffer-pop-up-window): Allow splitting internal
9377 windows. Check whether a live window was created.
9378 (display-buffer-other-window-means-other-frame)
9379 (display-buffer-normalize-arguments): Rename to
9380 display-buffer-normalize-argument and rewrite. Set the
9381 other-window specifier.
9382 (display-buffer-normalize-special): New function.
9383 (display-buffer-normalize-options): Rename to
9384 display-buffer-normalize-default and rewrite.
9385 (display-buffer-normalize-options-inhibit): Remove.
9386 (display-buffer-normalize-specifiers): Rewrite.
9387 (display-buffer): Process other-window specifier and call
9388 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9390 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9391 (display-buffer-alist-set): Don't handle 'unset default values.
9392 (display-buffer-in-window, display-buffer-alist-set):
9393 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9394 <tassilo@member.fsf.org>.
9396 2011-07-09 Leo Liu <sdl.web@gmail.com>
9398 * register.el (insert-register): Restore accidental change on
9399 2011-06-26. (Bug#9028)
9401 2011-07-09 Glenn Morris <rgm@gnu.org>
9403 * subr.el (remq): Handle the empty list. (Bug#9024)
9405 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9407 * mail/sendmail.el (send-mail-function): No longer delay custom
9409 * custom.el (custom-initialize-delay): Doc fix.
9411 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9415 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9417 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9418 human-friendly prompt.
9420 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9423 provided by a particular plugin.
9425 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9427 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9428 save customizations (with "emacs -Q"), just set the variable
9429 instead of erroring out.
9431 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9433 2011-07-08 Juri Linkov <juri@jurta.org>
9435 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9436 (archive-zip-update-case): Use 7z if found by `executable-find'.
9437 The order of searching the available programs is the same as in
9438 `archive-zip-extract' (bug#8968).
9440 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9442 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9443 (menu-bar-options-menu): Tweak descriptions.
9445 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9447 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9448 menu items into verb phrases (bug#1421). Also refill to fit under
9451 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9453 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9454 (Info-read-node-name): Doc fix (Bug#1084).
9456 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9457 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9458 (end-of-sexp, beginning-of-sexp)
9459 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9460 (forward-symbol, forward-same-syntax, word-at-point)
9461 (sentence-at-point): Doc fix (Bug#1144).
9463 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9466 should cover it (bug#1281).
9468 * cus-edit.el (custom-show): Mark as obsolete.
9470 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9471 negotiation fails, then possibly try again with a non-encrypted
9472 connection (bug#9017).
9474 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9477 2011-07-07 Richard Stallman <rms@gnu.org>
9479 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9480 property, and handle its changed format.
9481 Look for the correct line number.
9482 Use file's line contents (but not past first =) to find
9483 correct line in message.
9485 2011-07-07 Kenichi Handa <handa@m17n.org>
9487 * international/characters.el (build-unicode-category-table):
9489 (unicode-category-table): Set it by unicode-property-table-internal.
9491 * international/mule-cmds.el (char-code-property-alist): Move to
9493 (get-char-code-property): Call unicode-property-table-internal to
9494 load a file. Call get-unicode-property-internal where necessary.
9495 (put-char-code-property): Call unicode-property-table-internal to
9496 load a file. Call put-unicode-property-internal where necessary.
9497 put-unicode-property-internal where necessary.
9498 (char-code-property-description):
9499 Call unicode-property-table-internal to load a file.
9501 * international/charprop.el:
9502 * international/uni-bidi.el:
9503 * international/uni-category.el:
9504 * international/uni-combining.el:
9505 * international/uni-comment.el:
9506 * international/uni-decimal.el:
9507 * international/uni-decomposition.el:
9508 * international/uni-digit.el:
9509 * international/uni-lowercase.el:
9510 * international/uni-mirrored.el:
9511 * international/uni-name.el:
9512 * international/uni-numeric.el:
9513 * international/uni-old-name.el:
9514 * international/uni-titlecase.el:
9515 * international/uni-uppercase.el: Regenerate.
9517 * loadup.el: Load international/charprop.el before
9518 international/characters.
9520 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9522 * window.el (next-buffer, previous-buffer): Signal an error if
9523 called from a minibuffer window.
9525 * bindings.el: Revert 2011-07-04 change.
9527 2011-07-06 Richard Stallman <rms@gnu.org>
9529 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9530 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9531 Treat markers like ints.
9532 (rmail-mime-entity): Doc fix.
9534 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9536 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9537 defcustom again for backwards compatibility.
9539 * simple.el (shell-command-on-region): Fill.
9541 * dired-aux.el (dired-kill-line): Add a doc string.
9543 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9544 to "\\sw\\|\\s_" (bug#358).
9546 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9547 (dired-unmark-backward): Ditto.
9548 (dired-flag-backup-files): Ditto.
9550 * dired-x.el (dired-mark-sexp): Ditto.
9552 2011-07-06 Richard Stallman <rms@gnu.org>
9554 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9555 (rmail-mime-entity): New arg TRUNCATED.
9556 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9558 (rmail-mime-save): Warn if entity is truncated.
9559 (rmail-mime-toggle-hidden): Likewise, for showing.
9560 (rmail-mime-process-multipart): Record when an entity is truncated.
9562 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9563 if ENTITY is a string.
9565 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9567 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9568 of faces when `M-C-x'-ing their definitions (bug#8378).
9569 Also clean up the code slightly.
9571 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9572 because that makes the colors go away.
9574 * mail/sendmail.el (send-mail-function): Change the default to
9575 `sendmail-query-once'.
9576 (sendmail-query-once): Add an autoload cookie.
9578 * net/network-stream.el (network-stream-open-starttls): Try using
9579 a plain connection even if the server offered STARTTLS, and we
9580 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9581 capability. This should make smtpmail.el work in slightly more
9584 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9586 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9588 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9590 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9592 * progmodes/sql.el: Version 3.0
9593 (sql-product-alist): Add product :completion-object,
9594 :completion-column, and :statement attributes.
9595 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9596 (sql-mode-syntax-table): Mark all punctuation.
9597 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9599 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9600 (sql-mode-oracle-font-lock-keywords): Improve.
9601 (sql-oracle-show-reserved-words): New function for development.
9602 (sql-product-font-lock): Simplify for source code buffers.
9603 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9605 (sql-highlight-product): Set product specific syntax table.
9606 (sql-mode-map): Add statement movement functions.
9607 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9609 (sql-statement-regexp, sql-beginning-of-statement)
9610 (sql-end-of-statement, sql-signum): New functions.
9611 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9612 (sql-show-sqli-buffer): Bug fix.
9613 (sql-interactive-mode): Store connection data as buffer local.
9614 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9615 with sql-interactive-mode.
9616 (sql-save-connection): Save buffer local settings.
9617 (sql-connection-menu-filter): Change menu entry name.
9618 (sql-product-interactive): Bug fix.
9619 (sql-preoutput-hold): New variable.
9620 (sql-interactive-remove-continuation-prompt): Bug fixes.
9621 (sql-debug-redirect): New variable.
9622 (sql-str-literal): New function.
9623 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9625 (sql-oracle-save-settings, sql-oracle-restore-settings)
9626 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9627 (sql-completion-object, sql-completion-column)
9628 (sql-completion-sqlbuf): New variables.
9629 (sql-build-completions-1, sql-build-completions)
9630 (sql-try-completion): New functions.
9631 (sql-read-table-name): Use them.
9632 (sql-contains-names): New buffer local variable.
9633 (sql-list-all, sql-list-table): Use it.
9634 (sql-oracle-completion-types): New variable.
9635 (sql-oracle-completion-object, sql-sqlite-completion-object)
9636 (sql-postgres-completion-object): New functions.
9638 2011-07-06 Glenn Morris <rgm@gnu.org>
9640 * window.el (pop-to-buffer): Doc fix.
9642 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9644 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9646 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9648 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9650 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9652 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9654 * button.el (button): Inherit from link face. Suggested by Dan
9657 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9659 * progmodes/gdb-mi.el: Fit in 80 columns.
9660 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9663 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9664 if imenu is simply not configured (bug#8941).
9666 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9668 * allout.el (allout-post-undo-hook): New allout outline-change
9669 event hook to signal undo activity.
9670 (allout-post-command-business): Run allout-post-undo-hook if an
9672 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9673 * allout-widgets.el (allout-widgets-after-undo-function):
9674 Ensure the integrity of the current item's decoration after it has been
9675 in the vicinity of an undo.
9676 (allout-widgets-mode): Include allout-widgets-after-undo-function
9677 on the new allout-post-undo-hook.
9679 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9682 Let define-derived-mode define it.
9683 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9684 cycles of abbrev-table inheritance (bug#8998).
9686 2011-07-05 Roland Winkler <winkler@gnu.org>
9688 * textmodes/bibtex.el: Add support for biblatex.
9689 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9690 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9691 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9692 (bibtex-entry-alist, bibtex-field-alist): New variables.
9693 (bibtex-entry-field-alist): Obsolete alias for
9694 bibtex-BibTeX-entry-alist.
9695 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9696 (bibtex-set-dialect): New command.
9697 (bibtex-entry-type, bibtex-entry-head)
9698 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9699 Bind via bibtex-set-dialect.
9700 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9701 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9702 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9703 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9704 Define via bibtex-set-dialect.
9705 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9706 Obey bibtex-no-opt-remove-re.
9707 (bibtex-vec-push, bibtex-vec-incr): New functions.
9708 (bibtex-format-entry, bibtex-field-list)
9709 (bibtex-print-help-message, bibtex-validate)
9710 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9712 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9714 * progmodes/compile.el (compilation-goto-locus):
9715 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9716 * bs.el (bs-cycle-next, bs-cycle-previous):
9717 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9718 * bindings.el (mode-line-other-buffer):
9719 * autoinsert.el (auto-insert):
9720 * arc-mode.el (archive-extract):
9721 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9723 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9725 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9726 Fix check of `emacs-lock-unlockable-modes'.
9727 Coerce true values of `emacs-lock--try-unlocking' to t.
9729 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9731 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9732 * emacs-lock.el: New file.
9734 2011-07-05 Julien Danjou <julien@danjou.info>
9736 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9737 than `boundp' to check if face is set.
9739 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9741 * register.el (registerv-make):
9742 * window.el (window-min-height): Fix typos in docstrings.
9744 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9746 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9749 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9751 * server.el (server-execute): Catch quit and call
9752 `server-return-error' to pass the error back to emacsclient and
9753 close the connection (bug#8942).
9755 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9757 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9758 insecure exception for current topic. Also note that auto-saves
9759 are handled differently.
9761 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9762 State variables for tracking auto-save inhibition situation.
9764 (allout-write-contents-hook-handler): Rename from
9765 'allout-write-file-hook-handler', and describe how it depends on
9766 write-contents-functions sensitivity to non-nil value to prevent
9769 (allout-auto-save-hook-handler): Remove. auto-save does not check
9770 this in individual buffers, only in the starting buffer, so this
9771 is not the right way for us to inhibit auto-save in a buffer
9772 according to its condition.
9774 (allout-mode): Use new allout-write-contents-hook-handler, and
9775 only with write-contents-functions. Remove auto-save provisions -
9776 they're implemented elsewhere.
9778 (allout-before-change-handler): If undo is in progress, note that
9779 for attention of allout-post-command-business.
9781 (allout-post-command-business): If the command we're following was
9782 an undo, check for change in the status of encrypted items and
9783 adjust auto-save inhibitions accordingly.
9785 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9786 according to whether there are or aren't any plain-text topics
9789 (allout-inhibit-auto-save-info-for-decryption):
9790 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9791 if there are plain-text topics pending encryption.
9793 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9794 buffer-saved-size and some allout state to not inhibit auto-saves
9795 if there are no longer any plain-text topics pending encryption.
9797 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9798 No longer provide for exemption of the current topic.
9800 2011-07-04 Juri Linkov <juri@jurta.org>
9802 Add 7z operations to delete and save changed members (bug#8968).
9803 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9805 (archive-7z-write-file-member): New function.
9806 (archive-7z-summarize): Fix the number of dashes in the
9809 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9814 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9816 * bindings.el: Ignore next-buffer and previous-buffer in
9817 minibuffer-local-map.
9819 * font-lock.el (font-lock-builtin-face): Change light background
9820 color to dark slate blue (Bug#6693).
9822 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9824 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9826 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9830 Add switch-to-buffer.
9832 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9834 * isearch.el (isearch-search-fun-function): Clarify further the
9835 meaning of the function returned.
9837 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9839 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9841 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9842 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9844 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9845 `tramp-default-remote-path' does not exist.
9846 (tramp-send-command-and-read): New optional argument NOERROR.
9847 (tramp-open-connection-setup-interactive-shell)
9848 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9849 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9850 (tramp-process-sentinel): Flush also process' connection property.
9851 (tramp-sh-handle-start-file-process): Do not set process
9852 sentinel. It is done now ...
9853 (tramp-maybe-open-connection): ... here. (Bug#8929)
9855 2011-07-04 MON KEY <monkey@sandpframing.com>
9857 * play/animate.el (animate-string): Doc fixes and allow changing
9858 the buffer name (bug#5417).
9860 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9862 * play/animate.el (animation-buffer-name): Rename from *animate*.
9864 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9866 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9867 This is simpler and helps future-proof the code.
9868 (timer-until): Use time-subtract and float-time.
9869 (timer--time-less-p): Use time-less-p.
9871 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9873 * type-break.el (timep): Use the value of `float-time' to avoid a
9874 byte-compiler warning.
9876 * server.el (server-eval-and-print): Return any result, even nil.
9878 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9880 * type-break.el: Accept time formats that the builtins accept.
9881 (timep, type-break-time-difference): Accept any format that
9882 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9883 This is simpler and helps future-proof the code.
9884 (type-break-time-difference): Round rather than ignoring
9885 subseconds components.
9887 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9889 * info.el (Info-apropos-matches): Make non-interactive, since it
9890 doesn't seem to do anything useful as a command (bug#8829).
9892 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9894 * frame.el (frame-background-mode, frame-set-background-mode):
9896 (frame-default-terminal-background): New function.
9898 * custom.el (custom-push-theme): Don't record faces in `changed'
9899 theme; this doesn't work correctly for per-frame face settings.
9900 (disable-theme): Use face-set-after-frame-default to reset faces.
9901 (custom--frame-color-default): New function.
9903 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905 * dired.el (dired-flagging-regexp): Remove unused variable
9908 2011-03-29 Kevin Ryde <user42@zip.com.au>
9910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9911 `perl-Test2' extend to match possible "fail #N" rep count
9914 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9916 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9917 `smtpmail-via-smtp' now returns the error instead of nil.
9919 * isearch.el (isearch-search-fun-function): Clarify the doc string
9922 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9924 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9925 unnecessary spaces (bug#8987).
9927 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9929 * net/network-stream.el (open-network-stream): Use the
9930 :end-of-capability command thoughout.
9932 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9934 * net/network-stream.el (open-network-stream): Add the
9935 :end-of-capability command parameter, used by pop3.el.
9937 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9939 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9941 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9942 for list)" (bug#6475).
9944 * files.el (file-expand-wildcards): Ignore non-readable
9945 sub-directories while trying to find matches instead of signaling
9946 an error (bug#6297).
9948 * man.el (Man-reference-regexp): Allow matching possible
9949 word-wrapped references (bug#6289).
9951 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9952 for consistency with the other vc buffers (bug#6197).
9953 (vc-checkin): Ditto.
9955 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9957 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9959 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9961 * custom.el (defcustom): Clarify that :set is only used in the
9962 Customize user interface (bug#6089).
9964 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9965 associated with a file, refuse to run instead of erroring out
9968 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9969 the doc string, since it appears that using `fill-column' always
9970 controls the width (bug#7845).
9972 * simple.el (shell-command-on-region): Say where the error output
9973 went if `shell-command-default-error-buffer' is set (bug#6857).
9975 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9977 * allout.el (allout-yank-processing): Adjust cursor position for
9978 backwards-deleted space.
9980 (allout-rebullet-heading): Register changes with
9981 allout-exposure-changed-hook, so the modified topic is properly
9984 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9986 * minibuffer.el (completion-in-region): Document PREDICATE
9989 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9990 of keyword/argument pairs (bug#6904).
9992 * replace.el (multi-occur):
9993 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9995 2011-07-02 Drew Adams <drew.adams@oracle.com>
9997 * dired.el (dired-mark-if): Make the message about whether it's
9998 marking or unmarking clearer (bug#8523).
10000 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10002 * disp-table.el (display-table-print-array): New function.
10003 (describe-display-table): Use it to print the vectors more pretty
10006 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10008 * window.el (window-state-get-1): Don't assign clone numbers.
10009 Add clone-of item to list of window parameters.
10010 (window-state-put-2): Don't process clone numbers.
10011 (display-buffer-alist): Fix doc-string.
10013 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * subr.el (remq): Don't allocate if it's not needed.
10016 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10017 (keymap--merge-bindings): New functions.
10018 (keymap-canonicalize): Use them to refine the canonicalization.
10019 * minibuffer.el (minibuffer-local-completion-map)
10020 (minibuffer-local-must-match-map): Move initialization from C.
10021 (minibuffer-local-filename-completion-map): Move initialization from C;
10022 don't inherit from anything here.
10023 (minibuffer-local-filename-must-match-map): Make obsolete.
10024 (completing-read-default): Use make-composed-keymap to combine
10025 minibuffer-local-filename-completion-map with either
10026 minibuffer-local-must-match-map or
10027 minibuffer-local-filename-completion-map.
10029 2011-07-01 Glenn Morris <rgm@gnu.org>
10031 * type-break.el (type-break-time-sum): Use dolist.
10033 * textmodes/flyspell.el (flyspell-word-search-backward):
10034 Replace CL function.
10036 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10038 * mouse.el (mouse--strip-first-event): New function.
10039 (function-key-map): Use it to map fringe clicks to normal clicks
10042 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10043 (vc-bzr-revision-completion-table): Add support for annotate and date.
10045 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10046 inherit from parent.
10048 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10050 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10051 (dired-show-file-type): Doc fixup (bug#8818).
10053 * dired.el (dired-mode): Fix up the doc string as suggested by
10054 Drew Adams (bug#8817).
10056 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10057 cookie, since the manual says that it should be possible to add
10058 this function to `find-file-hook' (bug#8709).
10060 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10062 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10063 here. Noted Ted Zlatanov as the maintainer.
10064 (cfengine-common-settings, cfengine-common-syntax): New functions
10065 to set up common things between `cfengine-mode' and
10067 (cfengine3-mode): New mode.
10068 (cfengine3-defuns cfengine3-defuns-regex
10069 (cfengine3-class-selector-regex cfengine3-category-regex)
10070 (cfengine3-vartypes cfengine3-font-lock-keywords)
10071 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10072 (cfengine3-indent-line): Add from cfengine3.el.
10074 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10076 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10078 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10080 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10082 * window.el (same-window-buffer-names, same-window-regexps)
10083 (same-window-p, special-display-frame-alist)
10084 (special-display-popup-frame, special-display-function)
10085 (special-display-buffer-names, special-display-regexps)
10086 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10087 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10088 (split-window-preferred-function, split-height-threshold)
10089 (split-width-threshold, even-window-heights)
10090 (display-buffer-mark-dedicated, window-splittable-p)
10091 (split-window-sensibly, window-safely-shrinkable-p):
10093 (display-buffer): Don't spread args with function specifier
10094 because special-display-popup-frame won't like it.
10096 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10098 Time-stamp simplifications and fixes.
10099 These improve accuracy slightly, and future-proof the code
10100 against some potential changes to current-time format.
10102 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10103 by using time-since and float-time.
10105 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10106 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10107 + NNN microseconds".
10109 * type-break.el (type-break-time-sum): Rewrite using time-add.
10111 * play/hanoi.el (hanoi-current-time-float): Remove.
10112 All uses replaced by float-time.
10114 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10115 This yields a more-accurate answer.
10116 (rng-time-to-float): Remove; no longer needed.
10118 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10120 * calendar/timeclock.el (timeclock-seconds-to-time):
10121 Defalias to seconds-to-time, since they're the same thing.
10123 * emacs-lisp/elp.el (elp-elapsed-time):
10124 * emacs-lisp/benchmark.el (benchmark-elapse):
10125 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10127 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10129 * window.el (bury-buffer): Don't iconify the only frame.
10130 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10131 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10133 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10135 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10136 Add mouse-yank-primary.
10138 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10140 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10142 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10145 (find-library-name): Use it to find relative load names when provided
10146 absolute file name (bug#8803).
10148 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150 * textmodes/flyspell.el (flyspell-word): Consider words that
10151 differ only in case as potential doublons (bug#5687).
10153 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10154 Remove two rather uninteresting debugging-like messages to make
10155 debbugs.el more silent.
10157 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10158 a password-like phrase.
10160 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10162 * progmodes/cc-guess.el: New file.
10164 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10166 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10167 derived from `c-basic-common-init'.
10169 * progmodes/cc-mode.el (top-level): Require cc-guess.
10170 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10172 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10174 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10176 2011-06-30 Alan Mackenzie <acm@muc.de>
10178 * progmodes/cc-engine.el (c-guess-continued-construct):
10179 Correct the handling of template-args-cont, particularly for when font
10180 lock is disabled. Name this case as "CASE G".
10182 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10184 * allout.el (allout-yank-processing): Fix injection of extra space
10185 between bullet and non-whitespace character in first topic when
10186 pasting, ensuring that the actual spacing in the pasted topic
10187 following the bullet char is preserved. This extra space was
10188 causing pasted encrypted topics to get a decrypted status even
10189 when the content was actually still encrypted. Now the decryption
10190 status from before the paste is preserved.
10192 (allout-flag-region): Set all allout overlays so they evaporate
10193 when reduced to zero length (evanescent), to prevent overlay
10196 2011-06-30 Glenn Morris <rgm@gnu.org>
10198 * w32-fns.el (w32-charset-info-alist): Declare.
10200 * find-dired.el (find-grep-options): Simplify.
10202 * term/ns-win.el (ns-set-resource): Declare.
10204 * ses.el (row, col): Declare dynamic variables honestly.
10206 * textmodes/reftex-parse.el (index-tags): Declare.
10208 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10210 * cus-edit.el (customize-push-and-save): New function.
10212 * files.el (hack-local-variables-confirm): Use it.
10214 * custom.el (load-theme): New arg NO-CONFIRM.
10215 Use customize-push-and-save (Bug#8720).
10216 (custom-enabled-themes): Doc fix.
10218 * cus-theme.el (customize-create-theme)
10219 (custom-theme-merge-theme): Callers to load-theme changed.
10221 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10223 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10224 short URLs have at least one dot in them (bug #7614).
10226 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10227 nil, because using a pty is apparently too slow (bug #895).
10229 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231 * mail/sendmail.el (sendmail-query-once): New function.
10232 (sendmail-query-once-function): New variable.
10234 2011-06-29 Glenn Morris <rgm@gnu.org>
10236 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10238 * ses.el (top-level): Require cl when compiling.
10239 (ses-set-localvars): Fix error statement.
10240 Call it at compile time to silence a storm of warnings.
10242 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10244 * window.el (normalize-live-buffer): Rename to
10245 window-normalize-buffer.
10246 (normalize-live-frame): Rename to window-normalize-frame.
10247 (normalize-any-window): Rename to window-normalize-any-window.
10248 (normalize-live-window): Rename to window-normalize-live-window.
10249 (make-window-atom): Rename to window-make-atom.
10250 (window-resize-reset): Rename to window--resize-reset.
10251 (window-resize-reset-1): Rename to window--resize-reset-1.
10252 (resize-mini-window): Rename to window--resize-mini-window.
10253 (resize-subwindows-skip-p): Rename to
10254 window--resize-subwindows-skip-p.
10255 (resize-subwindows-normal): Rename to
10256 window--resize-subwindows-normal.
10257 (resize-subwindows): Rename to window--resize-subwindows.
10258 (resize-other-windows): Rename to window--resize-siblings.
10259 (resize-this-window): Rename to window--resize-this-window.
10260 (resize-root-window): Rename to window--resize-root-window.
10261 (resize-root-window-vertically): Rename to
10262 window--resize-root-window-vertically.
10263 (normalize-buffer-to-display): Rename to
10264 window-normalize-buffer-to-display.
10265 (normalize-buffer-to-switch-to): Rename to
10266 window-normalize-buffer-to-switch-to.
10267 Correspondingly update all callers of the functions listed
10269 (display-buffer-alist, display-buffer-normalize-arguments)
10270 (display-buffer-normalize-options, display-buffer)
10271 (display-buffer-alist-set): Use "function" instead of
10274 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10276 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10277 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10278 debbugs.gnu.org. Mention acknowledgment email.
10280 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10282 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10283 buffer multibyteness, since it shouldn't matter.
10285 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10287 * window.el (display-buffer-in-side-window): Handle dedicated
10288 windows as in display-buffer-reuse-window.
10289 (display-buffer-normalize-alist): Use value of override
10291 (display-buffer-normalize-specifiers): Use value of
10292 other-window-means-other-frame specifier.
10293 (display-buffer-alist): Rewrite some texts in widgets.
10294 (display-buffer): Spread arguments when calling function
10295 specified by fun-with-args.
10297 2011-06-28 Deniz Dogan <deniz@dogan.se>
10299 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10302 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10303 selectors (Bug#5732).
10304 (css-proprietary-nmstart-re): Use `regexp-opt'.
10306 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10308 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10309 (eshell-ls-date-format): New defcustom.
10310 (eshell-ls-file): Use it.
10312 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10316 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10318 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10319 (ange-ftp-make-tmp-name): New arg.
10320 (ange-ftp-file-local-copy): Use it.
10322 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10324 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10325 no-conversion (Bug#8870).
10327 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10329 * window.el (window-right, window-left, window-child)
10330 (window-child-count, window-last-child)
10331 (window-iso-combination-p, walk-window-tree-1)
10332 (window-atom-check-1, window-tree-1, delete-window)
10333 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10334 new naming conventions - window-vchild, window-hchild,
10335 window-next and window-prev are now called window-top-child,
10336 window-left-child, window-next-sibling and window-prev-sibling
10338 (resize-window-reset): Rename to window-resize-reset.
10339 (resize-window-reset-1): Rename to window-resize-reset-1.
10340 (resize-window): Rename to window-resize.
10341 (window-min-height, window-min-width)
10342 (resize-mini-window, resize-this-window, resize-root-window)
10343 (resize-root-window-vertically, adjust-window-trailing-edge)
10344 (enlarge-window, shrink-window, maximize-window)
10345 (minimize-window, delete-window, quit-restore-window)
10346 (split-window, balance-windows, balance-windows-area-adjust)
10347 (balance-windows-area, window-state-put-2)
10348 (display-buffer-even-window-sizes, display-buffer-set-height)
10349 (display-buffer-set-width, set-window-text-height)
10350 (fit-window-to-buffer): Rename all "resize-window" prefixed
10351 calls to use the "window-resize" prefix convention.
10352 (display-buffer-alist): Fix symbol for label specifier.
10353 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10354 corresponding specifier.
10355 Reported by Juanma Barranquero <lekktu@gmail.com>.
10357 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10359 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10361 (ses-call-printer): Does not pass an empty string to formatter when the
10362 cell is empty to keep from barking printer Calc math-format-value.
10364 2011-06-27 Richard Stallman <rms@gnu.org>
10366 * battery.el (battery-mode-line-limit): New variable.
10367 (battery-update): Handle it.
10369 * mail/rmailmm.el (rmail-mime-process-multipart):
10370 Handle truncated messages.
10372 2011-06-27 Glenn Morris <rgm@gnu.org>
10374 * progmodes/flymake.el (flymake-err-line-patterns):
10375 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10377 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10379 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10380 (ses--clean-!, ses--clean-_): New functions.
10381 (ses-range): Add configurability of readout order, and conversion
10384 * ses.el (ses-repair-cell-reference-all): New function.
10385 (ses-cell-symbol): Set macro as safe, so that it can be used in
10388 * ses.el: Update cycle detection algorithm.
10389 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10390 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10391 (ses-set-localvars): New function.
10392 (ses-make-cell): Add property-list as a cell element.
10393 (ses-cell-property-get-fun, ses-cell-property-get)
10394 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10395 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10397 (ses-cell-property-set, ses-cell-property-pop)
10398 (ses-cell-property-get-handle): New macro.
10399 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10400 New aliases, used for code readability.
10401 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10403 (ses-self-reference-early-detection): New defcustom.
10404 (ses-formula-references): Robustify against self-referring cells.
10405 (ses-mode): Use ses-set-localvars.
10406 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10407 before lauching the update processing.
10408 (ses-initialize-Dijkstra-attempt): New function.
10409 (ses-recalculate-cell): Update for cycle detection based on
10410 Dijkstra algorithm.
10412 * ses.el: Fix commenting and indenting convention.
10414 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * bs.el (bs-cycle-next): Complete last change.
10418 2011-06-27 Drew Adams <drew.adams@oracle.com>
10420 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10422 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10424 * net/network-stream.el (network-stream-open-starttls):
10425 Don't re-get capabilities unless we've reestablished connection.
10426 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10428 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10429 to binary to possibly avoid line encoding issues on Windows (among
10432 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10434 * net/network-stream.el (open-network-stream): Return an :error
10435 saying what the problem was, if possible.
10437 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10440 * net/network-stream.el (network-stream-open-starttls): If we
10441 wanted to use STARTTLS, and the server offered it, but we weren't
10442 able to because we had no STARTTLS support, then close the connection.
10443 (open-network-stream): Return an :error element, if present.
10445 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10447 * hl-line.el (hl-line-sticky-flag): Doc fix.
10448 (global-hl-line-sticky-flag): New option (Bug#8323).
10449 (global-hl-line-highlight): Obey it.
10451 * vc/vc.el (vc-revert-show-diff): Default to t.
10453 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10455 * allout-widgets.el (allout-widgets-post-command-business):
10456 Stop decorating intermediate isearch matches. They're not being
10457 undecorated when an isearch is continued past, and isearch
10458 automatically collapses them. This leads to "widget leaks", where
10459 decorated items accumulate in collapsed areas. Lines with lots of
10460 hidden widgets can slow down cursor travel, substantially.
10461 Too much complicated machinery would be needed to ensure undecoration,
10462 so we're doing without this nicety.
10464 (allout-widgets-tally-string): Don't try to do a hash-table-count
10465 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10466 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10467 *Messages* when allout-widgets-maintain-tally is t.
10469 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10471 * window.el (display-buffer-normalize-argument): Rename to
10472 display-buffer-normalize-arguments. Handle special meaning of
10473 LABEL argument. Respect special-display-function when popping up
10474 a new frame. Fix code searching for a window showing the buffer
10476 (display-buffer-normalize-specifiers):
10477 Call display-buffer-normalize-arguments.
10478 (display-buffer-in-window): Don't undedicate the window if its
10479 buffer remains the same.
10480 Reported by Drew Adams <drew.adams@oracle.com>.
10481 (display-buffer-alist): Add choice for same-window macro
10483 (display-buffer): Mention special meaning of LABEL argument in
10484 doc-string. Fix quoting. Don't pop up a new frame even as
10487 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10489 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10490 avoid deleting the current window in some cases (bug#8911).
10492 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10494 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10497 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499 * net/network-stream.el (network-stream-open-starttls):
10500 Use built-in TLS support if `gnutls-available-p' is true.
10501 (network-stream-open-tls): Ditto.
10503 2011-06-26 Leo Liu <sdl.web@gmail.com>
10505 * register.el (registerv): New struct.
10506 (registerv-make): New function.
10507 (jump-to-register, describe-register-1, insert-register):
10508 Support the jump-func, print-func and insert-func slot of a registerv
10511 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10513 * vc/vc.el (vc-revert-show-diff): New defcustom.
10514 (vc-diff-internal): New arg specifying diff buffer.
10515 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10516 reuse an existing *vc-diff* buffer (Bug#8927).
10518 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10520 2011-06-26 Glenn Morris <rgm@gnu.org>
10522 * progmodes/f90.el (f90-critical-indent): New option.
10523 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10524 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10525 (f90-mode): Doc fix.
10526 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10527 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10528 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10529 (f90-match-end): Handle block, critical.
10531 2011-06-25 Glenn Morris <rgm@gnu.org>
10533 * calendar/diary-lib.el (diary-included-files): Doc fix.
10534 (diary-include-files): New function, extracted from
10535 diary-include-other-diary-files and diary-mark-included-diary-files.
10536 (diary-include-other-diary-files, diary-mark-included-diary-files):
10537 Just call diary-include-files.
10538 (diary-mark-entries): Reset diary-included-files on first call.
10540 * calendar/diary-lib.el (diary-mark-entries)
10541 (diary-mark-included-diary-files):
10542 Visit included diary-files in temp buffers.
10544 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10545 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10546 (f90-start-block-re, f90-imenu-generic-expression)
10547 (f90-looking-at-program-block-start, f90-no-block-limit):
10548 Add support for submodules.
10550 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10551 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10553 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10555 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10556 buffer-file-type before setting its value, to avoid disastrous
10557 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10559 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10561 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10563 * ses.el (ses-unload-function):
10564 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10566 * proced.el (proced-unload-function):
10567 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10569 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10571 * server.el (server-create-window-system-frame): Add parameters arg.
10572 (server-process-filter): Doc fix. Handle frame-parameters.
10574 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10576 Fix bug#8730, bug#8781.
10578 * loadhist.el (unload--set-major-mode): New function.
10579 (unload-feature): Use it.
10581 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10582 (python-unload-function): New function.
10584 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10588 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10590 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10591 the candidates list.
10593 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10595 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10597 2011-06-23 Richard Stallman <rms@gnu.org>
10599 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10600 (rmail-variables): Set next-error-move-function.
10601 (rmail-what-message): Take argument POS.
10602 (rmail-next-error-move): New function.
10604 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10607 messages for adjacent non-terminals.
10609 2011-06-23 Richard Stallman <rms@gnu.org>
10611 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10612 (rmail-show-message-1): Preserve buffer modified flag.
10613 (rmail-start-mail): Don't specify use of rmail-mail-return;
10614 that's done by mail-bury now.
10615 (rmail-mail-return): Handle arg NEWBUF.
10617 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10619 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10622 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10624 * window.el (get-lru-window, get-mru-window)
10625 (get-largest-window): Never return a minibuffer window.
10626 (display-buffer-pop-up-window): Fix a bug that could lead to
10627 reusing the minibuffer window.
10628 (display-buffer): Pass original specifier argument to
10629 display-buffer-function instead of the normalized one.
10630 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10632 2011-06-22 Leo Liu <sdl.web@gmail.com>
10634 * minibuffer.el (completing-read-function)
10635 (completing-read-default): Move from minibuf.c
10637 2011-06-22 Richard Stallman <rms@gnu.org>
10639 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10640 to Rmail even if not started by a special Rmail command.
10642 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10643 Copy the buffer currently showing just one message.
10645 2011-06-22 Roland Winkler <winkler@gnu.org>
10647 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10648 (bibtex-clean-entry): First delete the old key so that a
10649 customized algorithm for generating the new key does not get
10650 confused by the old key.
10651 (bibtex-url): Obey regexp of first step.
10652 (bibtex-search-entries): Do not use add-to-list with local
10655 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10657 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10658 stored a user name, then query for the password first, instead of
10659 waiting for SMTP to give an error message and the trying again.
10661 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10663 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10664 BUFFER in call-process.
10666 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10668 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10670 (smtpmail-try-auth-methods): Require user name and password from
10673 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10675 * window.el (display-buffer-default-specifiers)
10676 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10677 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10678 (split-window): Normalize SIDE argument (Bug#8916).
10680 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10681 (special-display-frame-alist, special-display-popup-frame):
10682 Remove duplicate declarations. These are now in window.el.
10684 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10686 * mail/smtpmail.el (smtpmail-via-smtp):
10687 Set :use-starttls-if-possible so that we always use STARTTLS if the
10688 server supports it. SMTP servers that support STARTTLS commonly
10691 * net/network-stream.el (network-stream-open-starttls): Support
10692 upgrading to STARTTLS always, even if we don't have built-in support.
10693 (open-network-stream): Add the :always-query-capabilities keyword.
10695 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10696 upgrades with `open-network-stream', and rely solely on
10697 auth-source for all credentials. Big changes throughout the file,
10699 (smtpmail-auth-credentials): Remove.
10700 (smtpmail-starttls-credentials): Remove.
10701 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10704 * net/network-stream.el (network-stream-open-starttls):
10705 Provide support for client certificates both for external and built-in
10707 (auth-source): Require.
10708 (open-network-stream): Document the :client-certificate keyword.
10709 (network-stream-certificate): Change cert-cert to cert and
10712 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10714 * net/tramp-cache.el (top): Don't load the persistency file when
10715 "emacs -Q" has been called.
10717 2011-06-21 Tim Harper <timcharper@gmail.com>
10719 * term/ns-win.el (ns-initialize-window-system):
10720 Set application-specific `ApplePressAndHoldEnabled' system
10721 resource to NO as it is not yet supported by the NS port.
10723 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10725 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10726 (list-dynamic-libraries): ...not here.
10728 2011-06-21 Leo Liu <sdl.web@gmail.com>
10730 * subr.el (sha1): Implement sha1 using secure-hash.
10732 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10734 * window.el (display-buffer-alist): In default value do not
10735 enforce searching a window on any but the selected frame.
10736 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10737 (display-buffer-select-window): Remove function.
10738 (display-buffer-in-window): When a window on another frame gets
10739 reused, do not select it any more but just raise its frame if
10740 necessary (Bug#8851) and (Bug#8856).
10741 (display-buffer-normalize-options): Handle pop-up-frames related
10742 options more faithfully.
10743 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10744 window if it is on another frame.
10745 (display-buffer-alist, display-buffer-default-specifiers):
10746 Don't make new frame unsplittable by default.
10747 (display-buffer-normalize-argument): Fix doc-string typo and use
10748 'same-frame-other-window instead of 'other-window when associating
10749 with display-buffer-macro-specifiers.
10751 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10753 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10755 (5x5-mode-map, 5x5-mode-menu): Bind them.
10756 (5x5-draw-grid): Tweak the solver's rendering.
10758 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10761 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10763 2011-06-21 Drew Adams <drew.adams@oracle.com>
10765 * menu-bar.el: Use function variable instead of switch-to-buffer.
10766 (menu-bar-select-buffer-function): New variable.
10767 (menu-bar-update-buffers): Use it (bug#8876).
10769 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10774 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10776 * x-dnd.el (x-dnd-version-from-flags)
10777 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10778 and long as number (Bug#8899).
10779 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10781 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10784 (completion-try-completion, completion-all-completions): Compute the
10785 metadata argument if it's missing; make it optional (bug#8795).
10787 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10788 (widget-complete): Use new :completion-function property.
10789 (widget-completions-at-point): New function.
10790 (default): Use :completion-function instead of :complete.
10791 (widget-default-completions): Rename from widget-default-complete;
10793 (widget-string-complete, widget-file-complete, widget-color-complete):
10795 (file, symbol, function, variable, coding-system, color):
10796 * international/mule-cmds.el (default-input-method, charset)
10797 (language-info-custom-alist):
10798 * cus-edit.el (face): Use new property :completions.
10800 * progmodes/pascal.el (pascal-completions-at-point): New function.
10801 (pascal-mode): Use it.
10802 (pascal-mode-map): Use completion-at-point.
10803 (pascal-toggle-completions): Make obsolete.
10804 (pascal-complete-word, pascal-show-completions):
10805 * progmodes/octave-mod.el (octave-complete-symbol):
10806 Redefine as obsolete alias.
10807 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10808 Signal absence of completion info for old Octave,
10809 (inferior-octave-complete): Redefine as obsolete alias.
10810 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10811 (meta-completions-at-point): Rename from meta-complete-symbol and
10812 adapt it for use on completion-at-point-functions.
10813 (meta-common-mode): Use it.
10814 (meta-looking-at-backward, meta-match-buffer): Remove.
10815 (meta-complete-symbol): Redefine as obsolete alias.
10816 (meta-common-mode-map): Use completion-at-point.
10817 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10818 (makefile-mode-map): Use completion-at-point.
10819 (makefile-completions-at-point): Rename from makefile-complete and
10820 adapt it for use on completion-at-point-functions.
10821 (makefile-mode): Use it.
10822 (makefile-complete): Redefine as obsolete alias.
10824 2011-06-20 Deniz Dogan <deniz@dogan.se>
10826 * net/rcirc.el: Delete trailing whitespaces once and for all.
10828 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10830 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10832 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10834 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10836 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10838 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10840 * window.el (display-buffer-other-window-means-other-frame):
10841 Call display-buffer-normalize-alist.
10842 (display-buffer-normalize-specifiers-1): Rename to
10843 display-buffer-normalize-argument. New argument other-frame.
10845 (display-buffer-normalize-specifiers-2): Rename to
10846 display-buffer-normalize-options.
10847 (display-buffer-normalize-alist-1): New function.
10848 (display-buffer-normalize-specifiers-3): Rename to
10849 display-buffer-normalize-alist.
10850 Call display-buffer-normalize-alist-1.
10851 (display-buffer-normalize-options-inhibit): New variable.
10852 (display-buffer-normalize-specifiers): Rewrite calling
10853 display-buffer-normalize-alist,
10854 display-buffer-normalize-argument, and
10855 display-buffer-normalize-options. Don't call the latter if
10856 display-buffer-normalize-options-inhibit is non-nil.
10857 (frame-auto-delete): New option.
10858 (window-deletable-p): Use frame-auto-delete.
10859 (window-list-no-nils, window-state-ignored-parameters)
10860 (window-state-get-1, window-state-get, window-state-put-list)
10861 (window-state-put-1, window-state-put-2, window-state-put):
10863 (display-buffer-normalize-options): Move special-display-p group
10864 after pop-up-frame group (Bug#8851) and (Bug#8856).
10866 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10868 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10870 (rx-submatch-n): New function.
10873 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10876 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10878 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10880 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10881 anytime existing face settings are present (Bug#8889).
10883 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10884 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10885 Remove unused argument.
10887 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10889 * window.el (display-buffer-default-specifiers):
10890 Remove pop-up-frame. Add pop-up-window-min-height,
10891 pop-up-window-min-width, and another reuse-window specifier
10892 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10893 (display-buffer-normalize-specifiers-2):
10894 Handle split-height-threshold and split-width-threshold also when
10895 pop-up-windows is unset. Add a reuse-window specifier for the
10896 case popping up a new window fails.
10897 (special-display-popup-frame): Remove double quoting.
10898 (display-buffer-normalize-specifiers-1): Fix thinko.
10900 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10903 according to comint-completion-addsuffix.
10905 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10906 (pcomplete-suffix-list): Mark as obsolete.
10907 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10908 pcomplete-seen in the closure.
10909 (pcomplete-comint-setup): Setup completion-at-point as well.
10910 (pcomplete--entries): New function.
10911 (pcomplete--env-regexp): New var.
10912 (pcomplete-entries): Rewrite to work with partial-completion and
10913 without relying on pcomplete-suffix-list.
10914 (pcomplete-pare-list): Remove, unused.
10916 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10918 * window.el (display-buffer-alist): Set pop-up-window-min-height
10919 and pop-up-window-min-width in default value. Reported by
10920 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10921 other-window-means-other-frame.
10922 (display-buffer-macro-specifiers): Comment out entry for
10923 other-window specifier.
10924 (display-buffer-other-window-means-other-frame): New function.
10925 (display-buffer-normalize-specifiers-1): New arguments
10926 buffer-name and label. Treat other-window case specially.
10927 (display-buffer-normalize-specifiers-2): Treat other-window case
10929 (display-buffer-normalize-specifiers-3): New function.
10930 (display-buffer-normalize-specifiers):
10931 Call display-buffer-normalize-specifiers-3.
10933 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10935 * window.el (same-window-p): Fix two typos introduced when
10936 adding with-no-warnings.
10937 (display-buffer-normalize-specifiers-1): Don't check
10938 pop-up-frames for 'unset initialization.
10939 (display-buffer-normalize-specifiers-2): Major rewrite using
10940 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10941 (pop-up-frames, display-buffer-reuse-frames)
10942 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10943 Suggested by David Engster <deng@randomsample.de>.
10944 (even-window-heights): Initialize to 'unset.
10945 (display-buffer-alist-set): Handle new 'unset initializations.
10946 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10949 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10951 * window.el (display-buffer-normalize-specifiers-1):
10952 Respect current value of pop-up-frames for most reasonable values of
10953 second argument of display-buffer (Bug#8865).
10954 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10955 (switch-to-buffer-other-window-same-frame)
10956 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10958 (display-buffer): Don't check noninteractive when calling
10959 display-buffer-pop-up-frame.
10960 (display-buffer-pop-up-frame): Never pop up a frame in
10961 noninteractive mode (Bug#8857).
10962 (enlarge-window, shrink-window): Don't report an error when the
10963 window can't be resized as requested (Bug#8862).
10965 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10967 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10969 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10971 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10973 2011-06-15 Alan Mackenzie <acm@muc.de>
10975 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10976 for declarators, disable knr checking to speed up for normal files.
10977 2: Refactor, replacing a sequence of nested if forms by a cond form.
10979 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981 * net/network-stream.el (open-network-stream): Add the keyword
10982 :always-query-capabilities for the case where you want to force a
10983 `plain' network connection, but the protocol still requires the
10984 capabilitiy command (i.e., SMTP and EHLO).
10986 * subr.el (process-live-p): Rename from `process-alive-p' for
10987 consistency with other `-live-p' functions.
10989 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * window.el (same-window-buffer-names, same-window-regexps)
10992 (special-display-frame-alist, special-display-popup-frame)
10993 (special-display-function, special-display-buffer-names)
10994 (special-display-regexps, pop-up-frame-alist)
10995 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10996 (pop-up-windows, split-window-preferred-function)
10997 (split-height-threshold, split-width-threshold, even-window-heights)
10998 (display-buffer-mark-dedicated): Don't encourage the use of
10999 display-buffer-alist from Elisp code.
11001 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11003 * progmodes/python.el (python-mode): Derive from prog-mode.
11004 * progmodes/ps-mode.el (ps-mode):
11005 * progmodes/mixal-mode.el (mixal-mode):
11006 * progmodes/cfengine.el (cfengine-mode):
11007 * progmodes/ld-script.el (ld-script-mode): Likewise.
11009 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11011 * window.el (display-buffer-alist): Trim default value to avoid
11012 popping up a new frame (Bug#8857) or reusing an arbitrary window
11014 (display-buffer): Do not fall back on popping up a new frame in
11015 batch mode (Bug#8857).
11017 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11019 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11020 (custom-theme-summary): New function.
11021 (customize-themes): Use it.
11023 2011-06-13 Glenn Morris <rgm@gnu.org>
11025 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11027 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11029 * help.el (help-window): Remove variable.
11030 (help-window-point-marker, temp-buffer-max-height)
11031 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11032 (help-print-return-message): Don't set help-window.
11033 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11034 (help-window-setup-finish): Remove.
11035 (help-window-display-message, help-window-setup)
11036 (with-help-window): Major rewrite based on new
11037 display-buffer-window variable.
11039 * help-mode.el (help-mode-finish): Remove help-window related
11042 * view.el (view-exits-all-viewing-windows): Remove reference to
11043 view-return-to-alist in doc-string.
11044 (view-return-to-alist): Make obsolete.
11045 (view-buffer): Call pop-to-buffer-same-window and remove
11047 (view-buffer-other-window): Call pop-to-buffer-other-window and
11048 simplify code. Ignore second argument.
11049 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11050 simplify code. Ignore second argument.
11051 (view-return-to-alist-update): Make obsolete.
11052 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11053 Rewrite using quit-restore window parameters.
11054 (view-mode-exit): Rename second argument to EXIT-ONLY.
11055 Rewrite using quit-restore-window.
11056 (View-exit, View-exit-and-edit, View-leave, View-quit)
11057 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11058 appropriate arguments.
11059 (view-end-message): Use quit-restore window parameter.
11061 * window.el (display-buffer-function): Rewrite doc-string.
11062 (display-buffer-window, display-buffer-alist): New variables.
11063 (display-buffer-split-specifiers)
11064 (display-buffer-side-specifiers)
11065 (display-buffer-macro-specifiers): New constants.
11066 (display-buffer-even-window-sizes, display-buffer-set-height)
11067 (display-buffer-set-width, display-buffer-select-window)
11068 (display-buffer-in-window, display-buffer-reuse-window)
11069 (display-buffer-split-window-1, display-buffer-split-window)
11070 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11071 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11072 (display-buffer-in-side-window, normalize-buffer-to-display)
11073 (display-buffer-normalize-specifiers-1)
11074 (display-buffer-normalize-specifiers-2)
11075 (display-buffer-normalize-specifiers, display-buffer-frame):
11077 (display-buffer): Major rewrite.
11078 (display-buffer-other-window, display-buffer-other-frame)
11079 (pop-to-buffer, switch-to-buffer-other-window)
11080 (switch-to-buffer-other-frame): Rewrite.
11081 (display-buffer-same-window, display-buffer-same-frame)
11082 (display-buffer-same-frame-other-window)
11083 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11084 (pop-to-buffer-other-window)
11085 (pop-to-buffer-same-frame-other-window)
11086 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11087 (switch-to-buffer-other-window-same-frame): New functions.
11088 (same-window-p, special-display-p): Rewrite disabling warnings.
11090 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11091 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11093 (same-window-buffer-names, same-window-regexps)
11094 (special-display-frame-alist, special-display-popup-frame)
11095 (special-display-function, special-display-buffer-names)
11096 (special-display-regexps, pop-up-frame-alist)
11097 (pop-up-frame-function, split-window-preferred-function)
11098 (split-height-threshold, split-width-threshold)
11099 (even-window-heights): Make obsolete.
11101 2011-06-12 Glenn Morris <rgm@gnu.org>
11103 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11104 Misc simplifications.
11106 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11108 * window.el (window-safely-shrinkable-p): Restore function which
11109 was inadvertently removed in change from 2011-06-11. Declare as
11112 * calendar/calendar.el (calendar-generate-window):
11113 Use window-iso-combined-p instead of combination of one-window-p and
11114 window-safely-shrinkable-p.
11116 2011-06-12 Glenn Morris <rgm@gnu.org>
11118 * progmodes/fortran.el (fortran-mode-syntax-table):
11119 * progmodes/f90.el (f90-mode-syntax-table):
11120 Set % to punctuation. (Bug#8820)
11121 (f90-find-tag-default): Remove, no longer needed.
11123 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11125 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11127 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11129 * image.el (image-animated-p): Return animation delay in seconds.
11130 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11131 (image-animate-timeout): Remove DELAY argument. Don't assume
11132 every subimage has the same delay; get it from image-animated-p.
11133 (image-animate): Caller changed.
11135 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11137 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11138 to ignored backtrace functions.
11140 2011-06-11 Glenn Morris <rgm@gnu.org>
11142 * calendar/appt.el (appt-disp-window-function): Doc fix.
11143 (appt-check): Handle overlapping appointments. (Bug#8337)
11145 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11147 * window.el (window-tree-1, window-tree): New functions, moving
11148 the latter to window.el.
11149 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11150 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11151 (bw-refresh-edges): Remove.
11152 (balance-windows-1, balance-windows-2): New functions.
11153 (balance-windows): Rewrite in terms of window tree functions,
11154 balance-windows-1 and balance-windows-2.
11155 (bw-adjust-window): Remove.
11156 (balance-windows-area-adjust): New function with functionality of
11157 bw-adjust-window but using resize-window.
11158 (set-window-text-height): Rewrite doc-string.
11159 Use normalize-live-window and resize-window.
11160 (enlarge-window-horizontally, shrink-window-horizontally):
11161 Rename argument to DELTA.
11162 (window-buffer-height): New function.
11163 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11164 Rewrite using new window resize routines.
11165 (kill-buffer-and-window, mouse-autoselect-window-select):
11166 Use ignore-errors instead of condition-case.
11167 (quit-window): Call delete-frame instead of delete-windows-on
11168 for the only buffer on frame.
11170 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11172 * loadup.el (top-level): Load window before files for the sake
11173 of replace-buffer-in-windows.
11175 * files.el (read-buffer-to-switch)
11176 (switch-to-buffer-other-window)
11177 (switch-to-buffer-other-frame, display-buffer-other-frame):
11180 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11181 (previous-buffer): Move to window.el.
11183 * bindings.el (unbury-buffer): Move to window.el.
11185 * window.el (delete-other-windows-vertically): Move after
11186 definition of delete-other-windows.
11187 (other-window, delete-windows-on, replace-buffer-in-windows):
11188 Move here from window.c.
11189 (record-window-buffer, unrecord-window-buffer)
11190 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11191 (switch-to-next-buffer): New functions.
11192 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11193 from simple.el. Call switch-to-next-buffer.
11194 (previous-buffer): Move here from simple.el.
11195 Call switch-to-prev-buffer.
11196 (bury-buffer): Move here from buffer.c. Switch to previous
11197 buffer when window cannot be deleted.
11198 (unbury-buffer): Move here from bindings.el.
11199 (ctl-x-map): Move binding for other-window from window.c to
11201 (read-buffer-to-switch, switch-to-buffer-other-window)
11202 (switch-to-buffer-other-frame): Move here from files.el.
11203 (normalize-buffer-to-switch-to): New functions.
11204 (switch-to-buffer): Move here from buffer.c.
11205 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11207 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11209 * window.el (window-min-height, window-min-width): Move here
11210 from window.c. Add defcustoms and rewrite doc-strings.
11211 (resize-mini-window, resize-window): New functions.
11212 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11213 Move here from window.c.
11214 (maximize-window, minimize-window): New functions.
11215 (delete-window, delete-other-windows, split-window): Move here
11217 (window-split-min-size): New function.
11218 (split-window-keep-point): Mention split-window-above-each-other
11219 instead of split-window-vertically.
11220 (split-window-above-each-other, split-window-vertically):
11221 Rename split-window-vertically to split-window-above-each-other
11222 and provide defalias for old definition.
11223 (split-window-side-by-side, split-window-horizontally):
11224 Rename split-window-horizontally to split-window-side-by-side
11225 and provide defalias for the old definition.
11226 (ctl-x-map): Move bindings for delete-window,
11227 delete-other-windows and enlarge-window here from window.c.
11228 Replace bindings for split-window-vertically and
11229 split-window-horizontally by bindings for
11230 split-window-above-each-other and split-window-side-by-side.
11232 * cus-start.el (all): Remove entries for window-min-height and
11233 window-min-width. Add entries for window-splits and
11236 2011-06-09 Glenn Morris <rgm@gnu.org>
11238 * calendar/appt.el (appt-mode-line): New function.
11239 (appt-check, appt-disp-window): Use it.
11241 * files.el (hack-one-local-variable-eval-safep):
11242 Allow minor-modes with explicit +/-1 arguments.
11244 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11246 * term/xterm.el (xterm): Add defgroup.
11247 (xterm-extra-capabilities): Add defcustom to supply known xterm
11248 capabilities, skip querying them, or query them (default).
11249 (terminal-init-xterm): Use it.
11250 (terminal-init-xterm-modify-other-keys): New function to set up
11251 modifyOtherKeys support to simplify `terminal-init-xterm'.
11253 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11255 * window.el (resize-window-reset, resize-window-reset-1)
11256 (resize-subwindows-skip-p, resize-subwindows-normal)
11257 (resize-subwindows, resize-other-windows, resize-this-window)
11258 (resize-root-window, resize-root-window-vertically)
11259 (window-deletable-p, window-or-subwindow-p)
11260 (frame-root-window-p): New functions.
11262 2011-06-09 Glenn Morris <rgm@gnu.org>
11264 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11265 (ange-ftp-get-files): Use it.
11267 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11269 * mail/sendmail.el (mail-recover-1, mail-recover):
11270 * files.el (recover-file, recover-session):
11271 Handle dired-listing-switches not being just a single short option.
11273 2011-06-09 Glenn Morris <rgm@gnu.org>
11275 * calendar/appt.el (appt-display-message, appt-disp-window):
11276 Handle lists of appointments.
11278 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11280 * window.el (one-window-p): Move down in code.
11281 Rewrite doc-string.
11282 (window-current-scroll-bars): Rewrite doc-string.
11283 Normalize live window argument.
11284 (walk-windows, get-window-with-predicate, count-windows):
11285 Rewrite doc-string. Use window-list-1.
11286 (window-in-direction-2, window-in-direction, get-mru-window):
11289 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11291 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11292 Doc fix (Bug#8713).
11294 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11296 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11298 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11300 * loadhist.el (unload-feature-special-hooks):
11301 Add `comint-output-filter-functions'.
11303 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11305 * calendar/appt.el (appt-check): Move some initializations into the let.
11307 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11309 * window.el (window-height): Defalias to window-total-height.
11310 (window-width): Defalias to window-body-width.
11312 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11314 * image-mode.el (image-toggle-animation): New command.
11315 (image-mode-map): Bind it to RET.
11316 (image-mode): Update message.
11317 (image-toggle-display-image): Avoid a spurious cache flush.
11318 (image-transform-rotation): Doc fix.
11319 (image-transform-properties): Return quickly in the normal case.
11320 (image-animate-loop): Rename from image-animate-max-time.
11322 * image.el (image-animate-max-time): Move to image-mode.el.
11323 (create-animated-image): Remove unnecessary function.
11324 (image-animate): Rename from image-animate-start. New arg.
11325 (image-animate-stop): Remove; just use image-animate-timer.
11326 (image-animate-timer): Use car-safe.
11327 (image-animate-timeout): Rename argument.
11329 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11331 * window.el (get-lru-window, get-largest-window): Move here from
11332 window.c. Rename first argument to ALL-FRAMES.
11333 Rephrase doc-strings.
11334 (get-buffer-window-list): Rewrite using window-list-1.
11335 Rephrase doc-string.
11336 (window-safe-min-height, window-safe-min-width): New constants.
11337 (window-size-ignore, window-min-size, window-min-size-1)
11338 (window-sizable, window-sizable-p, window-size-fixed-1)
11339 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11340 (window-max-delta-1, window-max-delta, window-resizable)
11341 (window-resizable-p, window-total-height, window-total-width)
11342 (window-body-width): New functions.
11343 (window-full-height-p, window-full-width-p): Rewrite using
11345 (window-body-height): Rewrite using window-body-size.
11347 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11349 * window.el (window-right, window-left, window-child)
11350 (window-child-count, window-last-child, window-any-p)
11351 (normalize-live-buffer, normalize-live-frame)
11352 (normalize-any-window, normalize-live-window)
11353 (window-iso-combination-p, window-iso-combined-p)
11354 (window-iso-combinations)
11355 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11356 (windows-with-parameter, window-with-parameter)
11357 (window-atom-root, make-window-atom, window-atom-check-1)
11358 (window-atom-check, window-side-check, window-check):
11360 (ignore-window-parameters, window-sides, window-sides-vertical)
11361 (window-sides-slots): New variables.
11362 (window-size-fixed): Move down in code. Minor doc-string fix.
11364 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11366 * comint.el (comint-dynamic-complete-as-filename)
11367 (comint-dynamic-complete-filename): Correctly call
11368 completion-in-region.
11370 2011-06-05 Deniz Dogan <deniz@dogan.se>
11372 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11375 2011-06-05 Deniz Dogan <deniz@dogan.se>
11377 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11378 (rcirc): Use it to prompt for encryption.
11380 2011-06-05 Roland Winkler <winkler@gnu.org>
11382 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11383 (bibtex-search-entries): New command bound to C-c C-a.
11384 (bibtex-display-entries): New function.
11386 2011-06-05 Roland Winkler <winkler@gnu.org>
11388 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11389 (bibtex-insert-kill): After yanking insert newline if necessary.
11390 (bibtex-initialize): Call bibtex-string-files-init only once.
11391 (bibtex-mode): Do not call easy-menu-add.
11392 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11393 (bibtex-yank): Set arg properly if nil.
11395 2011-06-05 Roland Winkler <winkler@gnu.org>
11397 * textmodes/bibtex.el (bibtex-search-entry-globally):
11399 (bibtex-search-entry): Use it.
11401 2011-06-05 Roland Winkler <winkler@gnu.org>
11403 * textmodes/bibtex.el (bibtex-entry-format): New option
11405 (bibtex-format-entry, bibtex-reformat): Honor this option.
11406 (bibtex-parse-entry): Return fields in proper order.
11408 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11410 * doc-view.el (doc-view-remove-if): Move computation of result out
11411 of `dolist' to silence misleading lexical-binding warning.
11413 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11415 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11416 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11418 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11420 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11423 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11425 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11426 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11427 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11428 (tramp-parse-putty):
11429 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11430 (tramp-completion-function-alist-ssh)
11431 (tramp-completion-function-alist-telnet)
11432 (tramp-completion-function-alist-su)
11433 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11436 * net/tramp-ftp.el:
11438 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11439 load "tramp.el" `tramp-set-completion-function'.
11441 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11443 * shell.el: Require and use pcomplete.
11444 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11445 (shell-completion-vars): Set pcomplete-default-completion-function.
11447 2011-06-04 Deniz Dogan <deniz@dogan.se>
11449 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11452 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11454 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11456 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11458 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11459 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11460 * vc/log-view.el (log-view-beginning-of-defun):
11461 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11462 (smerge-refine-forward, smerge-refine-chopup-region):
11463 Silence warning for unused `dotimes' counter variables.
11465 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * net/tramp.el (tramp-with-progress-reporter): Rename from
11468 with-progress-reporter. Use `declare'.
11469 * net/tramp-smb.el:
11471 * net/tramp-gvfs.el: Update all uses.
11473 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11475 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11476 buffer isn't killed before making it current.
11478 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11480 Silence various byte-compiler warnings.
11481 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11482 `access-type' and new obsolescence format.
11483 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11485 (byte-compile-check-variable): New `access-type' argument.
11486 Only warn if the access-type is obsolete.
11487 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11488 (byte-compile-variable-set): Adjust callers.
11489 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11490 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11491 setting it as obsolete.
11492 * simple.el (minibuffer-completing-symbol):
11493 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11494 access as obsolete.
11495 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11497 * international/quail.el (quail-mouse-choose-completion): Remove unused
11498 code referring to obsolete var.
11499 (quail-choose-completion-string): Remove.
11500 * server.el (server-clients-with, server-kill-buffer-query-function)
11501 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11502 * proced.el (proced-send-signal):
11503 * emacs-lisp/lisp.el (lisp-complete-symbol):
11504 Replace completion-annotate-function with completion-extra-properties.
11506 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * simple.el (goto-line): Use read-number.
11509 (overriding-map-is-bound): Remove.
11510 (saved-overriding-map): Change default.
11511 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11512 Take the map as argument.
11513 (universal-argument, negative-argument, digit-argument): Use it.
11514 (restore-overriding-map): Adjust.
11515 (do-auto-fill): Use fill-forward-paragraph.
11516 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11518 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11519 (minibuffer-inactive-mode): New major mode.
11520 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11521 the *Messages* buffer" hack.
11522 (mouse-popup-menubar): Don't burp if the event is a normal key.
11524 Miscellaneous tweaks.
11525 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11526 lexical scoping as in subr.el's dolist and dotimes.
11527 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11528 Silence compiler warning.
11529 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11530 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11531 * international/ccl.el (ccl-compile): Trivial simplification.
11532 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11533 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11534 `printflag' argument.
11535 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11536 Purecopy the whole obsolescence data.
11538 2011-06-01 Leo Liu <sdl.web@gmail.com>
11540 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11541 improve doc-string as suggested by Marco Pessotto
11542 <melmothx@gmail.com>.
11543 (rcirc-print): Fix last change.
11545 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * minibuffer.el (complete-with-action): Return nil for the metadata and
11548 boundaries of non-functional tables.
11549 (completion-table-dynamic): Return nil for the metadata.
11550 (completion-table-with-terminator): Add default case, using
11551 complete-with-action.
11552 (completion--metadata): New function.
11553 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11554 to try and avoid pathological performance problems.
11555 (completion--embedded-envvar-table): Return `category' metadata.
11557 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11559 * subr.el (process-alive-p): New tiny convenience function.
11561 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11563 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11564 content but also its previous major mode.
11566 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11568 * emacs-lisp/debug.el (debug): Restore the previous content of the
11569 *Backtrace* buffer when we exit with C-M-c.
11571 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11573 * minibuffer.el: Add metadata method to completion tables.
11574 (completion-category-overrides): New defcustom.
11575 (completion-metadata, completion--field-metadata)
11576 (completion-metadata-get, completion--styles)
11577 (completion--cycle-threshold): New functions.
11578 (completion-try-completion, completion-all-completions):
11579 Add `metadata' argument to choose completion-styles.
11580 (completion--do-completion): Use metadata to choose cycling.
11581 (completion-all-sorted-completions): Use metadata for sorting.
11582 Remove :completion-cycle-penalty which is not needed any more.
11583 (completion--try-word-completion): Add `metadata' argument.
11584 (minibuffer-completion-help): Check metadata for annotation function
11586 (completion-file-name-table): Return `category' metadata.
11587 (minibuffer-completing-file-name): Make obsolete.
11588 * simple.el (minibuffer-completing-symbol): Make obsolete.
11589 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11590 completion-try-completion.
11592 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11594 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11596 2011-05-30 Leo Liu <sdl.web@gmail.com>
11598 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11599 (rcirc-print): Decode all incoming messages (bug#8744).
11600 (rcirc-decode-coding-system): Allow value nil for automatic coding
11603 2011-06-01 Glenn Morris <rgm@gnu.org>
11605 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11607 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11609 * image.el (image-animate-max-time): Allow nil and t values.
11611 (create-animated-image): Doc fix.
11612 (image-animate-start): Remove second arg; just use
11613 image-animate-max-time.
11614 (image-animate-timeout): Doc fix. Args changed.
11616 * image-mode.el (image-toggle-display-image): Ensure that the
11617 image spec passed to the animate timer is the same object as in
11618 the buffer's display property (Bug#6981).
11619 (image-transform-properties): Doc fix.
11621 * image.el (image-animate-max-time): Default to nil.
11623 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11625 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11626 entire buffer list (Bug#8184).
11628 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11630 * image.el (imagemagick-types-inhibit)
11631 (imagemagick-register-types): Doc fix.
11633 2011-05-29 Deniz Dogan <deniz@dogan.se>
11635 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11638 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11640 * select.el: Don't perform clipboard-manager saving in hooks;
11641 leave the hooks empty.
11643 2011-05-28 Leo Liu <sdl.web@gmail.com>
11645 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11646 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11647 (occur-edit-mode): New major mode (Bug#8463).
11648 (occur-after-change-function): New function.
11649 (occur-engine): Give Occur tags a read-only property.
11651 2011-05-28 Kevin Ryde <user42@zip.com.au>
11653 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11655 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11657 * bindings.el (help-echo): Make the initial non-indicator dash
11658 empty on graphical terminals (Bug#7295).
11660 * files.el (auto-mode-alist): Move config rule after the
11661 in-stripping one (Bug#8547).
11663 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11665 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11666 setting (Bug#8740).
11668 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11670 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11671 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11674 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11676 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11678 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11680 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11681 (hs-hide-block-at-point, hs-find-block-beginning)
11682 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11685 2011-05-28 Glenn Morris <rgm@gnu.org>
11687 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11689 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11691 * help-fns.el (describe-function-1): If the function is a derived
11692 major mode, print the parent mode.
11694 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11695 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11697 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * minibuffer.el (completion--capf-wrapper): Check applicability before
11700 returning non-nil for non-exclusive completion data.
11701 * progmodes/etags.el (tags-completion-at-point-function):
11702 * info-look.el (info-lookup-completions-at-point): Mark as
11704 (info-complete): Adjust accordingly.
11706 * info-look.el: Convert to lexical-binding and completion-at-point.
11707 (info-lookup-completions-at-point): New function.
11708 (info-complete): Use it and completion-in-region.
11710 2011-05-28 Drew Adams <drew.adams@oracle.com>
11712 * isearch.el: Let M-e start with point at the first mismatched char.
11713 (isearch-fail-pos): New function.
11714 (isearch-edit-string): Use it.
11716 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11718 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11720 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11722 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11723 traversal functions for avl-trees.
11724 (avl-tree--stack): New struct.
11725 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11726 (avl-tree-enter): Add optional `updatefun' arg.
11727 (avl-tree--do-enter): Add optional `updatefun' arg.
11728 Change return value.
11729 (avl-tree-delete): Add optional `test' and `nilflag' args.
11730 (avl-tree--do-delete): Add `test' and `nilflag' args.
11731 Change return value.
11732 (avl-tree-member): Add optional `nilflag'
11733 (avl-tree-member-p): New function.
11734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11735 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11736 (avl-tree-stack-empty-p): New functions.
11738 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11739 avl-tree--del-balance1 and make it work both ways.
11740 (avl-tree--del-balance2): Remove.
11741 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11742 make it work both ways.
11743 (avl-tree--enter-balance2): Remove.
11744 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11746 (avl-tree--mapc, avl-tree-map): Add direction argument.
11748 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11750 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11752 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11754 * select.el: Support clipboard managers with built-in function
11755 x-clipboard-manager-save, via delete-frame-functions and
11757 (xselect-convert-to-targets): Add MULTIPLE target to list.
11758 (xselect-convert-to-save-targets): New function.
11760 2011-05-27 Kenichi Handa <handa@m17n.org>
11762 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11763 let-binding rfc2047-encode-encoded-words to nil.
11765 2011-05-27 Glenn Morris <rgm@gnu.org>
11767 * mail/emacsbug.el: Don't require url-util.
11769 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11771 * files.el (set-auto-mode):
11772 Also respect mode: entries at the end of the file. (Bug#8586)
11774 2011-05-26 Glenn Morris <rgm@gnu.org>
11776 * files.el (hack-local-variables-prop-line, hack-local-variables):
11777 Downcase mode names, as seems to be traditional.
11778 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11780 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11781 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11783 2011-05-25 Julien Danjou <julien@danjou.info>
11785 * textmodes/rst.el (rst-define-level-faces): Do not define face
11786 symbol if it is already defined.
11788 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11790 * play/5x5.el (5x5-new-game, 5x5-randomize):
11791 Reset 5x5-solver-output to nil when a new grid is cast.
11792 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11793 these debugging traces, as defmacro breaks the compiled code.
11795 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11797 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11799 2011-05-24 Leo Liu <sdl.web@gmail.com>
11801 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11802 (vc-bzr-sha1): Adapt.
11804 * sha1.el: Remove. Function `sha1' is now builtin.
11806 * bindings.el: Provide sha1 feature.
11808 2011-05-24 Kenichi Handa <handa@m17n.org>
11810 * mail/sendmail.el: Require `rfc2047'.
11811 (mail-insert-from-field): Do not perform RFC2047 encoding.
11812 (mail-encode-header): New function.
11813 (sendmail-send-it): Set buffer-file-coding-system of the work
11814 buffer to the return value of select-message-coding-system.
11815 Call mail-encode-header.
11817 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11819 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11821 * mail/supercite.el (sc-default-cite-frame):
11822 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11824 2011-05-24 Glenn Morris <rgm@gnu.org>
11826 * progmodes/python.el (brm-menu): Declare.
11828 * emulation/viper.el (viper-set-hooks): Declare.
11830 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11831 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11832 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11833 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11834 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11835 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11837 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11839 Add an :exit-function for completion-at-point.
11841 * minibuffer.el (completion--done): New fun.
11842 (completion--do-completion): Use it. New arg `expect-exact'.
11843 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11844 since completion--do-completion does it for us now.
11845 (minibuffer-force-complete): Use completion--done and
11846 completion--replace. Handle sole-completion case with more care.
11847 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11848 (completion-extra-properties): New var.
11849 (completion-annotate-function): Make obsolete.
11850 (minibuffer-completion-help): Adjust accordingly.
11851 Use completion-list-insert-choice-function.
11852 (completion-at-point, completion-help-at-point):
11853 Bind completion-extra-properties.
11854 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11855 * simple.el (completion-list-insert-choice-function): New var.
11856 (completion-setup-function): Preserve it.
11857 (choose-completion): Pay attention to it, shuffle the code a bit.
11858 (choose-completion-string): New arg `insert-function'.
11860 * textmodes/bibtex.el: Convert to lexical binding.
11861 (bibtex-mode-map): Use completion-at-point.
11862 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11863 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11864 (bibtex-complete): Define as obsolete alias.
11865 (bibtex-complete-internal): Remove.
11866 (bibtex-format-entry): Remove unused sub-group in regexp.
11867 * shell.el (shell--command-completion-data)
11868 (shell-environment-variable-completion):
11869 * pcomplete.el (pcomplete-completions-at-point):
11870 * comint.el (comint--complete-file-name-data): Use :exit-function
11871 instead of completion-table-with-terminator so it also works for
11874 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11876 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11878 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11881 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11883 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11885 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11886 customization variable and implement: If non-nil, auto-fill will
11887 be inhibited while on topic's header line.
11889 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11891 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11892 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11893 always have a solution in grid size = 5 cases.
11894 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11895 (5x5-solver-output, 5x5-log-buffer): New vars.
11896 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11897 Make these variables buffer local to achieve 5x5 multi-session-ness.
11898 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11899 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11900 (5x5-solve-suggest): New funs.
11901 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11902 randomize a grid so that we ensure that there is always a solution.
11903 (5x5-make-random-grid): Allow other movement than flipping.
11905 2011-05-23 Kevin Ryde <user42@zip.com.au>
11907 * emacs-lisp/advice.el (ad-read-advised-function):
11908 Use `function-called-at-point' as the default, if it has
11909 advice and passes PREDICATE.
11911 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11913 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11914 byte-compile-lambda if it's actually a lambda.
11916 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11917 Fix function quoting. Use backquote better.
11919 2011-05-22 Yuanle Song <sylecn@gmail.com>
11921 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11922 matching (Bug#8516).
11924 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11926 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11927 different face (Bug#8178).
11929 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11931 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11932 defface (Bug#8144).
11934 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11937 funcall as well (bug#8712). Warn when performing those conversions.
11938 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11940 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11942 2011-05-22 Glenn Morris <rgm@gnu.org>
11944 * files.el (hack-local-variables-prop-line): Small simplifications.
11945 (hack-local-variables, hack-local-variables-prop-line):
11946 If MODE-ONLY, return the mode, rather than just `t'.
11948 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11950 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11952 2011-05-21 Glenn Morris <rgm@gnu.org>
11954 * files.el (hack-local-variables-prop-line, hack-local-variables):
11955 If only interested in the mode, don't bother doing the other stuff.
11957 * image-mode.el (image-after-revert-hook):
11958 Redraw all frames on which the image is visible. (Bug#8567)
11960 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11962 * wid-edit.el (widget-checklist-match-inline):
11963 Fix 2011-04-19 change. (Bug#8649)
11965 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11968 Also allow singlespace after single-letter capitals followed by a dot.
11970 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11971 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11973 2011-05-20 Nix <nix@esperi.org.uk>
11975 * files.el (basic-save-buffer-2):
11976 Fix handling of break-hardlink-on-save with non-existent files.
11978 2011-05-19 Deniz Dogan <deniz@dogan.se>
11980 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11981 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11983 2011-05-19 Glenn Morris <rgm@gnu.org>
11985 * progmodes/f90.el (f90-type-def-re):
11986 Handle "type, bind(c)". (Bug#8691)
11988 * emacs-lisp/autoload.el (batch-update-autoloads):
11989 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11991 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11993 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11994 property for the correct connection in case of multihops.
11996 2011-05-18 Glenn Morris <rgm@gnu.org>
11998 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11999 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12001 Rationalize calendar handling of day and month abbrev-arrays.
12002 * calendar/calendar.el (calendar-customized-p): New function.
12003 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12004 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12006 (calendar-abbrev-length, calendar-day-abbrev-array)
12007 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12008 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12009 Elements may no longer be nil.
12010 (calendar-day-name, calendar-month-name):
12011 Update for changed nature of abbrev arrays.
12012 * calendar/diary-lib.el (diary-name-pattern):
12013 Update for changed nature of abbrev arrays.
12014 (diary-mark-entries-1): Update calendar-make-alist calls.
12015 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12016 * calendar/cal-html.el (cal-html-day-abbrev-array):
12017 Simply inherit from calendar-day-abbrev-array.
12019 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12021 * progmodes/grep.el (grep-mode): Disable default
12022 compilation-directory-matcher setting (bug#8684).
12024 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12026 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12027 instead of "head" and "tail". There were problems with SunOS 5.9,
12028 and it performs better.
12030 2011-05-17 Glenn Morris <rgm@gnu.org>
12032 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12034 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12035 Replace obsolete function.
12037 * shell.el (pcomplete-parse-arguments-function): Declare.
12039 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12040 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12041 (appt-check): Doc fixes.
12042 (appt-disp-window-function, appt-delete-window-function):
12043 Remove needless special case in custom :type.
12044 (appt-display-count): Default to 0, not nil.
12045 (appt-check): Reset appt-display-count to 0, not nil.
12047 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12049 * progmodes/python.el (python-font-lock-keywords):
12050 Add the Python 3.X keyword "nonlocal" (bug#8639).
12052 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12054 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12056 2011-05-16 Kevin Ryde <user42@zip.com.au>
12058 * info-look.el (makefile-automake-mode): New setups, looking in
12059 automake manual, then makefile-mode.
12060 (makefile-mode): Remove automake manual, have it just in
12061 makefile-automake-mode since there's various things different or
12062 not relevant to plain make.
12063 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12064 believe a hypothetical automake-mode would go to makefile-mode,
12065 not the other way around.
12067 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12069 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12070 hunk-end tags (Bug#8672).
12072 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12073 vc-annotate-show-diff-revision-at-line (Bug#8671).
12075 2011-05-14 Glenn Morris <rgm@gnu.org>
12077 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12078 in the middle of an existing one with multiple authors. (Bug#8645)
12079 (change-log-font-lock-keywords): Also handle multiple author lines
12080 with leading tabs. (Bug#8644)
12082 * calendar/appt.el (appt-check): Rename some local variables.
12083 Some simplification/reordering.
12085 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12086 (feedmail-sendmail-f-doesnt-sell-me-out)
12087 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12088 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12089 (feedmail-queue-runner-message-sender): Set :version.
12090 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12091 (bbdb-dwim-net-address, vm-mail): Declare.
12092 (feedmail-binmail-gnulinuxish-template):
12093 Rename from feedmail-binmail-linuxish-template.
12094 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12095 Use insert-buffer-substring.
12097 2011-05-14 Bill Carpenter <bill@carpenter.org>
12099 * mail/feedmail.el (feedmail-patch-level): Increase.
12100 (feedmail-debug): New custom group.
12101 (feedmail-confirm-outgoing-timeout)
12102 (feedmail-sendmail-f-doesnt-sell-me-out)
12103 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12104 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12105 (feedmail-sender-line, feedmail-from-line)
12106 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12107 (feedmail-spray-this-address)
12108 (feedmail-spray-address-fiddle-plex-list)
12109 (feedmail-queue-use-send-time-for-date)
12110 (feedmail-queue-use-send-time-for-message-id)
12111 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12112 (feedmail-buffer-eating-function):
12114 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12115 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12116 (feedmail-message-action-scroll-down): New functions.
12117 (feedmail-queue-directory, feedmail-queue-draft-directory):
12118 Use expand-file-name.
12119 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12120 Remove C-v help entry.
12121 (feedmail-queue-buffer-file-name): New variable.
12122 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12123 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12124 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12125 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12126 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12127 (feedmail-message-action-toggle-spray)
12128 (feedmail-run-the-queue-no-prompts)
12129 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12130 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12131 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12132 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12133 (feedmail-envelope-deducer, feedmail-fiddle-from)
12134 (feedmail-fiddle-sender, feedmail-default-date-generator)
12135 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12136 (feedmail-fiddle-spray-address)
12137 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12138 (feedmail-fiddle-list-of-fiddle-plexes)
12139 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12140 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12141 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12142 Change default. Doc fix.
12143 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12144 (feedmail-binmail-linuxish-template): New constant.
12145 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12146 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12147 (feedmail-send-it): Add debug call.
12148 Use feedmail-queue-buffer-file-name, and
12149 feedmail-send-it-immediately-wrapper.
12150 (feedmail-message-action-send): Add debug call.
12151 Use feedmail-send-it-immediately-wrapper.
12152 (feedmail-queue-express-to-queue): Add debug call.
12153 Run feedmail-queue-express-hook.
12154 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12155 (feedmail-message-action-help-blat):
12156 Rename from feedmail-queue-send-edit-prompt-help-first.
12157 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12158 Check line-endings. Handle errors better.
12159 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12160 Doc fix. Add debug call.
12161 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12162 Use feedmail-queue-send-edit-prompt-inner.
12163 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12164 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12165 from feedmail-queue-send-edit-prompt.
12166 (feedmail-queue-send-edit-prompt-help)
12167 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12168 (feedmail-tidy-up-slug): Add debug call.
12169 Respect feedmail-queue-slug-suspect-regexp.
12170 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12171 (feedmail-dump-message-to-queue): Add debug call.
12172 Expand queue-directory.
12173 (feedmail-dump-message-to-queue): Change message slightly.
12174 Use feedmail-say-chatter.
12175 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12176 (feedmail-send-it-immediately-wrapper): New function.
12177 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12178 Insert empty string rather than newline. Handle full-frame case.
12179 Use catch/throw. Use feedmail-say-chatter.
12180 (feedmail-fiddle-from): Try mail-host-address.
12181 (feedmail-default-message-id-generator): Doc fix.
12182 Bind system-time-locale. Handle missing end.
12183 (feedmail-fiddle-x-mailer): Add debug call.
12184 Handle feedmail-x-mailer-line being nil.
12185 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12186 Add debug call. Use buffer-substring-no-properties.
12187 (feedmail-say-debug, feedmail-say-chatter): New functions.
12188 (feedmail-find-eoh): Give an explicit error.
12190 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12192 * net/newst-treeview.el (newsticker-treeview-face): Change default
12193 family from helvetica to sans.
12194 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12195 etc/images/newsticker.
12197 * net/newst-reader.el (newsticker-feed-face): Change default
12198 family from helvetica to sans.
12200 * net/newst-plainview.el (newsticker-new-item-face)
12201 (newsticker-old-item-face, newsticker-immortal-item-face)
12202 (newsticker-obsolete-item-face, newsticker-date-face)
12203 (newsticker-statistics-face): Change default family from
12205 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12206 etc/images/newsticker.
12208 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12209 (newsticker--process-auto-mark-filter-match): Tell user about
12212 2011-05-13 Didier Verna <didier@xemacs.org>
12214 Common Lisp indentation improvements on defmethod and lambda-lists.
12215 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12217 (lisp-lambda-list-keyword-parameter-indentation)
12218 (lisp-lambda-list-keyword-parameter-alignment)
12219 (lisp-lambda-list-keyword-alignment): New customizable user options.
12220 (lisp-indent-defun-method): Improve docstring.
12221 (extended-loop-p): Fix comment.
12222 (lisp-indent-lambda-list-keywords-regexp): New variable.
12223 (lisp-indent-lambda-list): New function.
12224 (lisp-indent-259): Use it.
12225 (lisp-indent-defmethod): Support for more than one
12226 method qualifier and properly indent methods lambda-lists.
12227 (defgeneric): Provide a missing common-lisp-indent-function property.
12229 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12231 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12232 bounds for the empty string (bug#8667).
12234 2011-05-13 Glenn Morris <rgm@gnu.org>
12236 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12238 * mail/sendmail.el (sendmail-program): Try executable-find first.
12239 (sendmail-send-it): `sendmail-program' cannot be unbound.
12241 * calendar/appt.el (appt-make-list): Simplify.
12242 (appt-time-msg-list): Doc fix.
12243 (appt-check): Change mode-line message at the time of the appointment.
12245 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12247 * progmodes/ld-script.el (ld-script-keywords)
12248 (ld-script-builtins): Update keywords list.
12250 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12252 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12254 * shell.el (shell-completion-vars): New function.
12256 * simple.el (read-shell-command): Use it.
12257 (blink-matching-open): No need for " [...]" in minibuffer-message.
12259 2011-05-12 Glenn Morris <rgm@gnu.org>
12261 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12262 (appt-check): Simplify.
12264 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12266 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12267 literal "/dev/null".
12269 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12271 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12274 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12276 * progmodes/which-func.el (which-function):
12277 Use add-log-current-defun instead of add-log-current-defun-function,
12278 which might not be defined (Bug#8260).
12280 2011-05-12 Glenn Morris <rgm@gnu.org>
12282 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12283 Let byte-compile-initial-macro-environment always take precedence.
12285 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12287 * net/rcirc.el: Add support for SSL/TLS connections.
12288 (rcirc-server-alist): New field `encryption'.
12289 (rcirc): Check `encryption' settings.
12290 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12291 Merge make-local-variable into `set'.
12292 (rcirc--connection-open-p): New function.
12293 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12294 the process is not a network process (e.g. running gnutls-cli).
12295 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12296 Make rcirc-(en|de)code-coding-system local here.
12297 (rcirc-mode): Merge make-local-variable into `set'.
12298 (rcirc-parent-buffer): Make permanent buffer-local.
12299 (rcirc-multiline-minor-mode): Don't do it here.
12300 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12301 there's no server buffer.
12303 2011-05-11 Glenn Morris <rgm@gnu.org>
12305 * newcomment.el (comment-kill): Prefix "unused" local.
12307 * term/w32console.el (get-screen-color): Declare.
12309 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12310 Handle symbol elements of byte-compile-initial-macro-environment.
12312 2011-05-10 Leo Liu <sdl.web@gmail.com>
12314 * bookmark.el (bookmark-bmenu-mode-map):
12315 Bind bookmark-bmenu-search to `/'.
12317 * mail/footnote.el: Convert to utf-8 encoding.
12318 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12319 (Footnote-unicode): New function.
12320 (footnote-style-alist): Add unicode style to the list.
12321 (footnote-style): Doc fix.
12323 2011-05-10 Jim Meyering <meyering@redhat.com>
12325 Fix doubled-word typos.
12326 * international/quail.el (quail-insert-kbd-layout): and and -> and
12327 * kermit.el: and and -> and
12328 * net/ldap.el (ldap-search-internal): to to -> to
12329 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12330 * progmodes/js.el (js-mode): and and -> and
12331 * textmodes/artist.el (artist-move-to-xy): at at -> at
12332 (artist-draw-region-trim-line-endings): if if -> if
12333 And Safetyc -> Safety.
12334 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12336 2011-05-10 Glenn Morris <rgm@gnu.org>
12337 Stefan Monnier <monnier@iro.umontreal.ca>
12339 * files.el (hack-one-local-variable-eval-safep):
12340 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12342 2011-05-10 Glenn Morris <rgm@gnu.org>
12344 * calendar/diary-lib.el (diary-list-entries-hook)
12345 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12346 (diary-nongregorian-marking-hook, diary-list-entries)
12347 (diary-include-other-diary-files, diary-mark-entries)
12348 (diary-mark-included-diary-files): Doc fixes.
12350 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12352 * misc.el: Require tabulated-list.el during compilation.
12354 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12356 * progmodes/compile.el (compilation-start):
12357 Run compilation-filter-hook for the async case too.
12358 (compilation-filter-hook): Doc fix.
12360 2011-05-09 Deniz Dogan <deniz@dogan.se>
12362 * wdired.el: Remove outdated installation comment. Fix usage
12365 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12367 * misc.el: Implement new command `list-dynamic-libraries'.
12368 (list-dynamic-libraries--loaded-only-p): New variable.
12369 (list-dynamic-libraries--refresh): New function.
12370 (list-dynamic-libraries): New command.
12372 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12375 Fix the ant regexp to handle end-line and end-column info from jikes.
12376 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12377 higher priority to avoid clobbering by gnu.
12379 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12381 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12382 if the face has existing theme settings (Bug#8454).
12384 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12386 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12387 Only match variables declared via `my' or `our' (Bug#8261).
12389 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12390 special file names `.' and `..' (Bug#8259).
12392 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12394 * progmodes/grep.el (grep-mode-font-lock-keywords):
12395 Remove buffer-changing entries.
12396 (grep-filter): New function.
12397 (grep-mode): Add it to compilation-filter-hook.
12399 * progmodes/compile.el (compilation-filter-hook)
12400 (compilation-filter-start): New defvars.
12401 (compilation-filter): Call compilation-filter-hook prior to
12402 updating the process mark.
12404 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12406 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12408 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12410 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12411 mailclient-send-it even if window-system is nil. (Bug#8595)
12413 * term/w32console.el (terminal-init-w32console):
12414 Call get-screen-color and use its output to set the frame
12415 background-mode. (Bug#8597)
12417 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12419 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12420 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12422 (defgeneric, eieio--defmethod): Use them.
12423 (eieio-defgeneric): Remove.
12424 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12426 2011-05-07 Glenn Morris <rgm@gnu.org>
12428 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12429 Use let rather than let*.
12430 (timeclock-find-discrep): Remove unused local.
12432 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12434 * calendar/appt.el (appt-time-msg-list): Doc fix.
12436 2011-05-06 Noah Friedman <friedman@splode.com>
12438 * apropos.el (apropos-print-doc): Only use
12439 emacs-lisp-docstring-fill-column when it is bound to an integer,
12440 per that variable's documentation.
12442 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12445 and warnings are not silently discarded (e.g. use -d instead of -P).
12447 2011-05-06 Glenn Morris <rgm@gnu.org>
12449 * calendar/appt.el (appt-message-warning-time): Doc fix.
12450 (appt-warning-time-regexp): New option.
12451 (appt-make-list): Respect appt-message-warning-time.
12453 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12455 (diary-add-to-list): Strip comments from the displayed string.
12456 (diary-mode): Set comment-start and comment-end.
12458 * vc/diff-mode.el (smerge-refine-subst): Declare.
12459 (diff-refine-hunk): Don't require smerge-mode when compiling.
12461 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12463 * simple.el (list-processes): Return nil as the docstring says.
12465 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12467 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12469 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12470 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12471 determining of binary transfer. (Bug#7383)
12473 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12475 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12476 Fix port computation bug. (Bug#8618)
12478 2011-05-05 Glenn Morris <rgm@gnu.org>
12480 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12482 * simple.el (shell-dynamic-complete-functions)
12483 (comint-dynamic-complete-functions): Declare.
12485 * net/network-stream.el (gnutls-negotiate):
12486 * simple.el (tabulated-list-print): Fix declarations.
12488 * progmodes/gud.el (syntax-symbol, syntax-point):
12489 Remove unnecessary and incorrect declarations.
12491 * emacs-lisp/check-declare.el (check-declare-scan):
12492 Handle byte-compile-initial-macro-environment in bytecomp.el
12494 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12496 Fix earlier half-done eieio-defmethod change (bug#8338).
12497 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12498 Streamline and change calling convention.
12499 (defmethod): Adjust accordingly and simplify.
12500 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12501 new eieio--defmethod.
12502 (slot-boundp): Minor CSE simplification.
12504 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12506 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12507 (glasses-make-readable): Use glasses-separate-capital-groups.
12509 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12511 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12512 (warning-series): Doc fix.
12513 (display-warning): Don't try to create the buffer if we just found it.
12515 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12517 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12518 (autoload-find-generated-file): New function.
12519 (generate-file-autoloads): Bind generated-autoload-file to
12521 (update-file-autoloads, update-directory-autoloads):
12522 Use autoload-find-generated-file. If called interactively, prompt for
12523 output file (Bug#7989).
12524 (batch-update-autoloads): Doc fix.
12526 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12528 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12530 2011-05-04 Glenn Morris <rgm@gnu.org>
12532 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12533 function, so it follows changes in calendar-date-style.
12534 (diary-fancy-date-matcher): New function.
12535 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12536 (diary-fancy-font-lock-fontify-region-function):
12537 Use diary-fancy-date-pattern as a function.
12539 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12540 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12542 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12544 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12545 instead of positional arguments. Allow :keylist and :crlfiles
12547 (open-gnutls-stream): Call it.
12549 * net/network-stream.el (network-stream-open-starttls): Adjust to
12550 call `gnutls-negotiate' with :process and :hostname arguments.
12552 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12554 * minibuffer.el (completion--message): New function.
12555 (completion--do-completion, minibuffer-complete)
12556 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12557 (completion--do-completion): Don't ignore completion-auto-help when in
12560 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12561 internal encoding (e.g. tibetan zero is not whitespace).
12562 (global-whitespace-mode): Prefer save-current-buffer.
12563 (whitespace-trailing-regexp): Remove useless save-match-data.
12564 (whitespace-empty-at-bob-regexp): Minor simplification.
12566 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12568 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12570 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
12572 * textmodes/ispell.el (ispell-add-per-file-word-list):
12573 Use `concat' to create string for insertion.
12575 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12578 Avoid open-line which runs post-self-insert-hook.
12579 (bibtex-fill-entry): Remove unused `end' var.
12581 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12583 * textmodes/ispell.el (ispell-add-per-file-word-list):
12584 Protect against `nil' value of `comment-start' (Bug#8579).
12586 2011-05-03 Leo Liu <sdl.web@gmail.com>
12588 * isearch.el (isearch-yank-pop): New command.
12589 (isearch-mode-map): Bind it to `M-y'.
12590 (isearch-forward): Mention it.
12592 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12594 * simple.el (minibuffer-complete-shell-command): Remove.
12595 (minibuffer-local-shell-command-map): Use completion-at-point.
12596 (read-shell-command): Setup completion vars here instead.
12597 (read-expression-map): Bind TAB to symbol completion.
12599 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12600 error directly rather via storing it into `results'.
12602 2011-05-02 Leo Liu <sdl.web@gmail.com>
12604 * vc/diff.el: Fix description.
12606 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12608 * server.el (server-eval-at): New function.
12610 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12612 * net/network-stream.el (open-network-stream): Take a :nowait
12613 parameter and pass it on to `make-network-process'.
12614 (network-stream-open-plain): Ditto.
12616 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12618 * faces.el (face-spec-set-match-display): Don't match toolkit
12619 options on terminal frames.
12621 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * progmodes/pascal.el: Use lexical binding.
12624 (pascal-mode-map): Remove author preferences.
12626 * pcomplete.el (pcomplete-std-complete): Don't abuse
12627 completion-at-point.
12629 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12631 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12632 removing code that has been dead since 1991 or so.
12634 * startup.el (command-line): When warning about "_emacs", use a
12635 delayed warning to allow the user to filter it out.
12637 2011-04-28 Deniz Dogan <deniz@dogan.se>
12639 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12640 user has not joined.
12642 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12644 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12645 aren't any completions at point.
12647 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12649 * subr.el (display-delayed-warnings): New function.
12650 (delayed-warnings-hook): New variable.
12652 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * minibuffer.el (completion-at-point, completion-help-at-point):
12655 Don't presume that a given completion-at-point-function will always
12656 use the same calling convention.
12658 * pcomplete.el (pcomplete-completions-at-point):
12659 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12660 pcomplete-seen is non-nil.
12661 (pcomplete-comint-setup): Also recognize the new comint/shell
12662 completion functions.
12663 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12664 pcomplete-seen is non-nil.
12666 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12668 * calendar/icalendar.el (diary-lib): Add require statement.
12669 (icalendar--create-uid): Read out a uid from a text-property on
12670 the first character in the entry. This allows for code to add its
12671 own uid to the entry.
12672 (icalendar--convert-float-to-ical): Add export of
12673 `diary-float'-entries save for those with the optional DAY
12676 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12678 * subr.el (shell-quote-argument): Use alternate escaping strategy
12679 when we spot a variable reference in a string.
12681 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12683 * cus-start.el (all): Define customization for debug-on-event.
12685 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12687 * subr.el (shell-quote-argument): Escape correctly under Windows.
12689 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12691 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12693 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12695 * net/tramp.el (tramp-process-actions): Add POS argument.
12696 Delete region between POS and (pos).
12698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12699 Use `nil' position in `tramp-process-actions' call.
12700 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12702 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12703 position in `tramp-process-actions' call.
12705 * net/trampver.el: Update release number.
12707 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12709 * custom.el (defcustom): Obey lexical-binding.
12711 Fix octave-inf completion problems reported by Alexander Klimov.
12712 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12713 Inherit from octave-mode-syntax-table.
12714 (inferior-octave-mode): Set info-lookup-mode.
12715 (inferior-octave-completion-at-point): New function.
12716 (inferior-octave-complete): Use it and completion-in-region.
12717 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12718 comint-filename-completion.
12719 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12720 symbol elements which shouldn't be word elements.
12721 (octave-font-lock-keywords, octave-beginning-of-defun)
12722 (octave-function-header-regexp): Adjust regexps accordingly.
12723 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12725 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12727 * net/gnutls.el (gnutls-errorp): Declare before first use.
12729 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12731 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12732 verify-error, and verify-hostname-error parameters. Check whether
12733 default trustfile exists before going to use it. Add missing
12734 argument to gnutls-message-maybe call. Return value.
12735 Reported by Claudio Bley <claudio.bley@gmail.com>.
12736 (open-gnutls-stream): Add usage example.
12738 * net/network-stream.el (network-stream-open-starttls): Give host
12739 parameter to `gnutls-negotiate'.
12740 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12741 * subr.el (shell-quote-argument): Escape correctly under Windows.
12743 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12745 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12746 Use correct match group (bug#8438).
12748 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12750 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12751 (package-menu--generate): New arg specifying packages to show.
12752 (package-menu-refresh, package-menu-execute, list-packages):
12754 (package-show-package-list): New function, replacing deleted
12755 package--list-packages (renamed because it is non-internal).
12757 * finder.el (finder-list-matches): Use package-show-package-list
12758 instead of deleted package--list-packages.
12760 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12761 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12762 (vc-annotate-mode-map): Bind it to RET.
12764 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12766 * progmodes/etags.el (next-file): Don't use set-buffer to change
12767 buffers (Bug#8478).
12769 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12771 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12773 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12774 (apropos-accumulator): Doc fix.
12775 (apropos-function, apropos-macro, apropos-command)
12776 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12777 (apropos-plist): Add face property.
12778 (apropos-symbols-internal): Fix indentation.
12779 (apropos-print): Simplify help, and recognize apropos-multi-type.
12780 (apropos-print-doc): Use button-type-get to extract the button's
12781 face property. Fill docstring (Bug#8352).
12783 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12785 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12787 * play/mpuz.el (mpuz-silent): Doc fix.
12788 (mpuz-mode-map): Use mapc.
12789 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12790 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12791 Fix typos in docstrings.
12793 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12794 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12796 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12798 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12800 * minibuffer.el (completion--do-completion): Avoid the "Next char
12801 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12803 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12804 mouse-2 into unread-command-events, it is interpreted correctly.
12806 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12807 (image-toggle-display): Doc fix.
12809 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12811 * textmodes/page.el (what-page): Use line-number-at-pos to
12812 calculate line number (Bug#6825).
12814 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12816 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12817 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12818 Pass argument NO-DEFAULT to `find-tag-interactive'.
12820 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12822 Lexical-binding cleanup.
12824 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12825 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12826 * progmodes/ada-prj.el (ada-prj-initialize-values)
12827 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12828 (ada-prj-show-value):
12829 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12830 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12831 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12832 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12833 * progmodes/bug-reference.el (bug-reference-push-button):
12834 * progmodes/fortran.el (fortran-line-length):
12835 * progmodes/glasses.el (glasses-change):
12836 * progmodes/octave-mod.el (octave-fill-paragraph):
12837 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12838 (python-pdbtrack-grub-for-buffer, python-sentinel):
12839 * progmodes/sql.el (sql-save-connection):
12840 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12841 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12842 Mark unused parameters.
12844 * progmodes/compile.el (compilation--flush-directory-cache)
12845 (compilation--flush-parse, compile-internal): Mark unused parameters.
12846 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12847 (compilation-next-error-function): Remove unused variable `timestamp'.
12849 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12850 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12852 * progmodes/dcl-mode.el (dcl-end-of-command):
12853 Remove unused variable `start'.
12854 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12855 (dcl-option-value-basic, dcl-option-value-offset)
12856 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12857 Mark unused parameters.
12858 (dcl-save-local-variable): Remove unused variable `val'.
12861 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12862 Mark unused parameters.
12863 (delphi-ignore-changes): Move before first use.
12864 (delphi-charset-token-at): Remove unused variable `start'.
12865 (delphi-else-start): Remove unused variable `if-count'.
12866 (delphi-comment-block-start, delphi-comment-block-end):
12867 Remove unused variable `kind'.
12868 (delphi-indent-line): Remove unused variable `new-point'.
12870 * progmodes/ebrowse.el (ebrowse-files-list)
12871 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12872 Mark unused parameters. Don't quote `lambda'.
12873 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12874 Don't quote `lambda'.
12875 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12876 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12877 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12878 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12879 Use `ignore-errors'.
12880 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12881 (ebrowse-view/find-file-and-search-pattern)
12882 (ebrowse-view/find-member-declaration/definition):
12883 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12884 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12885 Rename parameter PREFIX-ARG to PREFIX.
12886 (ebrowse-tags-read-name): Remove unused variables `start' and
12888 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12891 * progmodes/etags.el (local-find-tag-hook): Declare.
12892 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12893 Mark unused parameters.
12895 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12896 (executable-interpret): Mark unused parameter.
12898 * progmodes/flymake.el (flymake-process-sentinel)
12899 (flymake-after-change-function)
12900 (flymake-create-temp-with-folder-structure)
12901 (flymake-get-include-dirs-dot): Mark unused parameters.
12902 (flymake-safe-delete-directory): Remove unused variable `err'.
12904 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12905 (speedbar-timer-fn, speedbar-line-text)
12906 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12907 (speedbar-center-buffer-smartly): Declare functions.
12908 (gdb-find-watch-expression): Remove unused variable `array'.
12909 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12910 (gdb-starting): Mark unused parameters.
12911 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12912 (gdb-table-string): Remove unused variable `res'.
12913 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12914 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12915 (gdb-display-buffer): Remove unused variable `cur-size'.
12917 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12918 allow lexical-binding compilation.
12919 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12920 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12921 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12922 Mark unused parameters.
12923 (gud-gdb-marker-filter): Remove unused variable `match'.
12924 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12925 lambda expressions and funcall them, instead of using `fset'.
12927 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12928 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12930 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12931 variable `header-beg'; use `let'.
12933 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12934 `restart', `last-sexp' and `at-do'.
12936 * progmodes/js.el (js--debug): Mark unused parameter.
12937 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12938 (js--splice-into-items): Remove unused variable `item'.
12939 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12941 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12942 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12943 (makefile-complete): Remove unused variable `try'.
12944 (makefile-fill-paragraph, makefile-match-function-end):
12945 Mark unused parameters.
12947 * progmodes/octave-inf.el (inferior-octave-complete):
12948 Remove unused variable `proc'.
12949 (inferior-octave-output-digest): Mark unused parameter.
12951 * progmodes/perl-mode.el (perl-calculate-indent):
12952 Remove unused variable `err'.
12954 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12955 (prolog-indent-line): Mark unused parameters.
12956 (prolog-indent-line): Remove unused variable `beg'.
12958 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12959 (reporter-dont-compact-list): Declare.
12961 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12962 Remove unused variable `char'.
12963 (sh-debug): Mark unused parameter.
12964 (sh-get-indent-info): Remove unused variable `start'.
12965 (sh-calculate-indent): Remove unused variable `var'.
12967 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12968 (simula-electric-keyword): Remove unused variable `null'.
12969 (simula-search-backward, simula-search-forward): Remove unused
12970 variables `begin' and `end'.
12972 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12973 Remove unused variable `pos'.
12974 (vera-electric-tab, vera-comment-uncomment-region):
12975 Mark unused parameters.
12976 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12978 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12980 * emacs-lisp/package.el (package--builtins, package-alist)
12981 (package-load-descriptor, package-built-in-p, package-activate)
12982 (define-package, package-installed-p)
12983 (package-compute-transaction, package-buffer-info)
12984 (package--push): Doc fix. Distinguish more clearly between
12985 version strings and version lists.
12987 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12989 Lexical-binding cleanup.
12991 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12992 (5x5-make-mutate-best):
12993 * play/fortune.el (fortune-in-buffer):
12994 * play/gomoku.el (gomoku-init-display):
12995 * play/solitaire.el (solitaire, solitaire-do-check):
12996 * play/tetris.el (tetris-default-update-speed-function):
12997 Mark unused parameters.
12999 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13000 (bubbles--shift): Remove unused variable `char-org'.
13001 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13002 (bubbles--show-images): Remove unused variable `char'.
13004 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13005 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13006 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13007 (decipher-analyze-buffer): Use ?\s.
13008 (decipher-make-checkpoint): Remove unused variable `mapping'.
13010 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13012 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13013 Remove unused variable `result'; use `let'.
13015 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13016 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13017 (gametree-children-shown-p, gametree-compute-reduced-score):
13018 Use `ignore-errors'.
13020 * play/handwrite.el (ps-lpr-switches): Declare.
13021 (handwrite): Remove unused variables `pmin' and `lastp'.
13023 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13025 * play/landmark.el (landmark-init-display)
13026 (landmark-update-naught-weights): Mark unused parameters.
13027 (landmark-y): Remove unused variable `noise'. Simplify.
13028 (landmark-human-plays): Remove unused variable `score'.
13030 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13031 (mpuz-try-proposal): Remove unused variable `game'.
13033 * play/zone.el (life-patterns): Declare.
13035 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13037 * vc/vc.el (ediff-vc-internal): Declare function.
13039 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * shell.el: Use lexical-binding and std completion UI.
13042 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13043 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13044 comint-preoutput-filter-functions rather than on
13045 comint-output-filter-functions.
13046 (shell-command-completion, shell--command-completion-data)
13047 (shell-filename-completion, shell-environment-variable-completion)
13048 (shell-c-a-p-replace-by-expanded-directory): New functions.
13049 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13050 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13051 (shell-dynamic-complete-environment-variable): Use them.
13052 (shell-dynamic-complete-as-environment-variable)
13053 (shell-dynamic-complete-as-command): Remove.
13054 (shell-match-partial-variable): Match past point.
13055 * comint.el: Clean up use of completion-at-point-functions.
13056 (comint-completion-at-point): New function.
13057 (comint-mode): Use it completion-at-point-functions.
13058 (comint-dynamic-complete): Make it obsolete.
13059 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13060 (comint-c-a-p-replace-by-expanded-history): New function.
13061 (comint-dynamic-complete-functions)
13062 (comint-replace-by-expanded-history): Use it.
13063 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13064 termination strings. Try harder to avoid second try-completion.
13065 (completion-in-region-mode-map): Disable bindings that don't work yet.
13067 * comint.el: Use lexical-binding. Require CL.
13068 (comint-dynamic-complete-functions): Use comint-filename-completion.
13069 (comint-completion-addsuffix): Tweak custom type.
13070 (comint-filename-completion, comint--common-suffix)
13071 (comint--common-quoted-suffix, comint--table-subvert)
13072 (comint--complete-file-name-data): New functions.
13073 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13074 (comint-dynamic-list-filename-completions): Use them.
13075 (comint-dynamic-simple-complete): Make obsolete.
13077 * minibuffer.el (completion-in-region-mode):
13078 Keep completion-in-region-mode--predicate global.
13079 (completion-in-region--postch):
13080 Assume completion-in-region-mode--predicate is not null.
13082 * progmodes/flymake.el (flymake-start-syntax-check-process):
13083 Obey `dir'. Simplify.
13085 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13086 we're in VC after all.
13088 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13090 * vc/vc.el (vc-diff-build-argument-list-internal)
13091 (vc-version-ediff, vc-ediff): New commands.
13092 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13094 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13096 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13099 * obsolete/erc-hecomplete.el: Make obsolete.
13100 * obsolete/: Standardize obsolescence info in the header.
13102 2011-04-20 Glenn Morris <rgm@gnu.org>
13104 * calendar/solar.el (solar-horizontal-coordinates):
13105 Use the longitude argument rather than `calendar-longitude'.
13106 (solar-date-next-longitude): Remove unused locals.
13108 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13110 * whitespace.el: New version 13.2.1.
13112 2011-04-20 felix <EmacsWiki> (tiny change)
13114 * whitespace.el (global-whitespace-mode): Keep highlight when
13115 switching between major modes on a file.
13117 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13119 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13120 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13121 multi-line comments as well.
13123 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13125 Lexical-binding cleanup.
13127 * arc-mode.el (archive-mode-revert):
13128 * cmuscheme.el (scheme-interactively-start-process):
13129 * custom.el (custom-initialize-delay):
13130 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13131 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13132 * emacs-lock.el (emacs-lock-clear-sentinel):
13133 * ezimage.el (defezimage):
13134 * follow.el (follow-avoid-tail-recenter):
13135 * fringe.el (set-fringe-mode-1):
13136 * generic-x.el (bat-generic-mode-compile):
13137 * help-mode.el (help-info-variable, help-do-xref)
13138 (help-mode-revert-buffer):
13139 * help.el (view-emacs-todo):
13140 * iswitchb.el (iswitchb-completion-help):
13141 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13142 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13143 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13144 * locate.el (locate-update):
13145 * longlines.el (longlines-encode-region)
13146 (longlines-after-change-function):
13147 * outline.el (outline-isearch-open-invisible):
13148 * ps-def.el (declare-function, charset-dimension, char-width)
13150 * ps-mule.el (ps-mule-plot-string):
13151 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13152 (recentf-edit-list-select, recentf-edit-list-validate)
13153 (recentf-open-files-action):
13154 * rect.el (delete-whitespace-rectangle-line)
13155 (rectangle-number-line-callback):
13156 * register.el (window-configuration-to-register)
13157 (frame-configuration-to-register):
13158 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13159 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13160 (xselect-convert-to-targets, xselect-convert-to-delete)
13161 (xselect-convert-to-filename, xselect-convert-to-charpos)
13162 (xselect-convert-to-lineno, xselect-convert-to-colno)
13163 (xselect-convert-to-os, xselect-convert-to-host)
13164 (xselect-convert-to-user, xselect-convert-to-class)
13165 (xselect-convert-to-name, xselect-convert-to-integer)
13166 (xselect-convert-to-atom, xselect-convert-to-identity):
13167 * subr.el (declare, ignore, process-kill-without-query)
13168 (text-clone-maintain):
13169 * terminal.el (te-get-char, te-tic-sentinel):
13170 * tool-bar.el (tool-bar-make-keymap):
13171 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13172 * type-break.el (type-break-mode, type-break-noninteractive-query):
13173 * view.el (View-back-to-mark):
13174 * wid-browse.el (widget-browse-action, widget-browse-widget)
13175 (widget-browse-widgets, widget-browse-sexp):
13176 * widget.el (define-widget-keywords):
13177 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13178 Mark unused parameters.
13180 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13181 (align-areas): Remove unused variable `look'.
13182 (align-region): Remove unused variables `real-end' and `pos-list'.
13184 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13186 * bindings.el (mode-line-modified, mode-line-remote):
13187 Mark unused parameters.
13188 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13190 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13191 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13193 * comint.el (comint-history-isearch-pop-state)
13194 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13195 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13196 (comint-substitute-in-file-name): Doc fix.
13198 * completion.el (cmpl-statistics-block): Mark unused parameter.
13199 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13200 (save-completions-to-file, load-completions-from-file):
13201 Remove unused local variable `e'.
13203 * composite.el (compose-chars): Remove unused variable `len'.
13204 (lgstring-insert-glyph): Remove unused variable `g'.
13205 (compose-glyph-string): Remove unused variables `ascent',
13206 `descent', `lbearing' and `rbearing'.
13207 (compose-glyph-string-relative): Remove unused variables
13208 `lbearing', `rbearing' and `wadjust'.
13209 (compose-gstring-for-graphic): Remove unused variables `header',
13210 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13211 (compose-gstring-for-terminal): Remove unused variables `header'
13212 and `nchars'. Use `let', not `let*'.
13214 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13215 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13216 (Custom-buffer-done, custom-buffer-create-internal)
13217 (custom-browse-visibility-action, custom-browse-group-tag-action)
13218 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13219 (widget-magic-mouse-down-action, custom-toggle-parent)
13220 (custom-add-parent-links, custom-toggle-hide-variable)
13221 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13222 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13223 (custom-face-menu-create, custom-variable-menu-create, get)
13224 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13225 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13226 (customize-apropos): Remove unused variable `tests'.
13227 (custom-group-value-create): Remove unused variable `hidden-p'.
13228 (sort-fold-case): Declare.
13230 * cus-theme.el (custom-reset-standard-faces-list)
13231 (custom-reset-standard-variables-list): Declare.
13232 (customize-create-theme, custom-theme-revert, custom-theme-write)
13233 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13234 Mark unused parameters.
13236 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13238 * delim-col.el (delimit-columns-max): Move defvar before first use.
13240 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13241 (describe-char): Don't quote `lambda'. Mark unused parameter.
13243 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13244 (auto-insert): Declare.
13245 (desktop-restore-file-buffer): Rename desktop-* parameters;
13247 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13248 (desktop-buffer): Rename desktop-* parameters.
13250 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13251 (dframe-reposition-frame-xemacs, dframe-help-echo)
13252 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13253 Mark unused parameters.
13255 * dired-aux.el (backup-extract-version-start, overwrite-query)
13256 (overwrite-backup-query, rename-regexp-query)
13257 (rename-non-directory-query): Declare.
13258 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13259 (dired-add-entry): Remove unused variable `orig-file-name'.
13260 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13261 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13262 `dired-copy-preserve-time' directly.
13263 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13264 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13266 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13267 (dired-virtual-revert, dired-make-relative-symlink):
13268 Mark unused parameters.
13269 (manual-program): Declare.
13270 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13271 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13272 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13274 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13276 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13278 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13281 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13283 * electric.el (Electric-command-loop): Rename parameter
13284 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13286 * expand.el (expand-in-literal): Remove unused variable `here'.
13288 * facemenu.el (facemenu-add-new-color):
13289 Remove unused variable `docstring'.
13291 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13292 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13293 (face-attr-construct): Mark unused parameter. Doc fix.
13294 (read-color): Remove unused variable `hex-string'.
13296 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13297 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13298 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13299 (display-buffer-other-frame): Remove unused variable `old-window'.
13300 (kill-buffer-hook): Declare.
13301 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13302 Mark unused parameters.
13303 (after-find-file): Pass 1 to `auto-save-mode', not t.
13305 * files-x.el (auto-insert): Declare.
13306 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13308 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13309 variable `buf'. Mark unused parameter.
13310 (find-lisp-insert-directory): Mark unused parameter.
13312 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13313 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13314 (format-common-tail): Remove, unused.
13315 (format-deannotate-region): Remove unused variable `loc'.
13316 (format-annotate-region): Remove unused variable `p'.
13317 (format-annotate-single-property-change): Remove unused variables
13318 `default' and `tail'.
13320 * forms.el (read-file-filter): Declare.
13321 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13323 * frame.el (frame-creation-function-alist): Mark unused parameter.
13324 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13326 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13327 Remove unused parameters.
13328 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13329 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13331 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13332 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13333 (hfy-prepare-tag-map): Mark unused parameters.
13334 (htmlfontify-buffer): Use `called-interactively-p'.
13336 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13337 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13338 (ibuffer-do-occur): Mark unused parameters.
13339 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13340 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13342 * ibuffer.el: Don't quote `lambda'.
13343 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13344 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13345 Mark unused parameters.
13347 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13348 (ido-completing-read): Mark unused parameters.
13349 (ido-copy-current-word): Mark unused parameters;
13350 remove unused variable `name'.
13351 (ido-sort-merged-list): Remove unused parameter `dirs'.
13353 * ielm.el (ielm-input-sender): Mark unused parameter.
13354 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13355 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13356 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13357 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13358 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13360 * image-dired.el (image-dired-display-thumbs): Remove unused
13361 variables `curr-file' and `count'.
13362 (image-dired-remove-tag): Remove unused variable `start'.
13363 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13364 variable `curr-file'
13365 (image-dired-rotate-original): Remove unused variable `temp-file'.
13366 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13367 Remove unused variable `file'.
13368 (image-dired-gallery-generate): Remove unused variable `curr'.
13369 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13371 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13373 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13375 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13377 * isearch.el (minibuffer-history-symbol): Declare.
13378 (isearch-edit-string): Remove unused variable `err'.
13379 (isearch-message-prefix, isearch-message-suffix):
13380 Mark unused parameters.
13382 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13384 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13386 * makesum.el (double-column): Remove unused variable `cnt'.
13388 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13389 (ido-ignore-item-temp-list): Declare.
13391 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13392 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13393 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13394 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13397 * mouse-sel.el (mouse-extend-internal):
13398 Remove unused variable `orig-window-frame'.
13400 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13401 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13402 Move declarations before first use.
13403 (pcomplete-opt): Mark unused parameters; doc fix.
13405 * proced.el (proced-revert): Mark unused parameter.
13406 (proced-send-signal): Remove unused variable `err'.
13408 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13409 Rename parameter PREFIX-ARG to ARG.
13410 (ps-basic-plot-string, ps-basic-plot-whitespace):
13411 Mark unused parameters.
13413 * replace.el (replace-count): Define.
13414 (occur-revert-function): Mark unused parameters.
13415 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13416 (isearch-case-fold-search, isearch-string): Declare.
13417 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13418 bind `case-fold-search'. Remove unused variables `beg' and `end',
13420 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13421 COUNT and bind `replace-count'.
13422 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13425 * savehist.el (print-readably, print-string-length): Declare.
13427 * shadowfile.el (shadow-expand-cluster-in-file-name):
13428 Remove unused variable `cluster'.
13429 (shadow-copy-file): Remove unused variable `i'.
13430 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13431 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13432 (shadow-define-literal-group, shadow-define-regexp-group)
13433 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13435 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13436 (shell): Use `called-interactively-p'.
13437 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13439 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13440 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13441 (delete-backward-char): Remove unused variable `ocol'.
13442 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13443 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13444 (event-apply-hyper-modifier, event-apply-shift-modifier)
13445 (event-apply-control-modifier, event-apply-meta-modifier):
13446 Mark unused parameters.
13447 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13448 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13450 * speedbar.el (speedbar-ignored-directory-expressions)
13451 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13452 (speedbar-find-file, speedbar-dir-follow)
13453 (speedbar-directory-buttons-follow, speedbar-tag-find)
13454 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13455 (speedbar-buffers-line-directory, speedbar-buffer-click):
13456 Mark unused parameters.
13457 (speedbar-tag-file): Remove unused variable `mode'.
13458 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13460 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13462 * talk.el (talk): Remove unused variable `display'.
13464 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13465 (tar-write-region-annotate): Mark unused parameter.
13467 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13468 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13469 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13470 warning by another.
13472 * time-stamp.el (time-stamp-string-preprocess):
13473 Remove unused variable `require-padding'.
13475 * tree-widget.el (widget-glyph-enable): Declare.
13476 (tree-widget-action): Mark unused parameter.
13478 * w32-fns.el (x-get-selection): Mark unused parameter.
13479 (autoload-make-program, generated-autoload-file): Declare.
13481 * wdired.el (wdired-revert): Mark unused parameters.
13482 (wdired-xcase-word): Remove unused variable `err'.
13484 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13485 (whitespace-help-scroll): Remove unused variable `data-help'.
13487 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13488 (widget-image-insert, widget-after-change, default)
13489 (widget-default-format-handler, widget-default-notify)
13490 (widget-default-prompt-value, widget-info-link-action)
13491 (widget-url-link-action, widget-function-link-action)
13492 (widget-variable-link-action, widget-file-link-action)
13493 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13494 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13495 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13496 (widget-insert-button-action, widget-delete-button-action, visibility)
13497 (widget-documentation-link-action, widget-documentation-string-action)
13498 (widget-const-prompt-value, widget-regexp-match, symbol)
13499 (widget-coding-system-prompt-value)
13500 (widget-key-sequence-value-to-external, sexp)
13501 (widget-sexp-value-to-internal, character, vector, cons)
13502 (widget-choice-prompt-value, widget-boolean-prompt-value)
13503 (widget-color--choose-action): Mark unused parameters.
13504 (widget-item-match-inline, widget-choice-match-inline)
13505 (widget-checklist-match, widget-checklist-match-inline)
13506 (widget-group-match): Rename parameter VALUES to VALS.
13507 (widget-field-value-set): Remove unused variable `size'.
13508 (widget-color-action): Remove unused variables `value' and `start'.
13510 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13511 variable `dir'. Doc fix.
13512 (windmove-find-other-window): Don't pass it.
13514 * window.el (count-windows): Mark unused parameter.
13515 (bw-adjust-window): Remove unused variable `err'.
13517 * woman.el (woman-file-name): Remove unused variable `default'.
13518 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13519 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13520 (global-font-lock-mode): Declare.
13521 (woman-decode-region): Mark unused parameter.
13522 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13524 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13525 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13526 (x-dnd-handle-moz-url): Remove unused variable `title'.
13527 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13529 * xml.el (xml-parse-tag, xml-parse-attlist):
13530 Remove unused variable `pos'.
13532 2011-04-19 Glenn Morris <rgm@gnu.org>
13534 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13535 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13536 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13537 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13538 * calendar/cal-html.el (cal-html-insert-minical):
13539 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13540 (calendar-mark-date-pattern):
13541 Prefix "unused" locals.
13543 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13544 optional argument `style'.
13546 * calendar/appt.el (appt-make-list):
13547 * calendar/cal-china.el (calendar-chinese-date-string):
13548 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13549 (diary-hebrew-yahrzeit):
13550 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13551 * calendar/calendar.el (calendar-generate-window):
13552 * calendar/time-date.el (time-to-days):
13553 Remove unused local variables.
13555 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13557 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13558 glyphless-char-display table.
13559 (tabulated-list-glyphless-char-display): New var.
13561 2011-04-18 Sam Steingold <sds@gnu.org>
13563 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13564 to acknowledgments.
13566 2011-04-17 Glenn Morris <rgm@gnu.org>
13568 * calendar/diary-lib.el (diary-sexp-entry):
13569 * calendar/holidays.el (holiday-sexp):
13570 Set debug-on-error rather than the removed stack-trace-on-error.
13572 2011-04-16 Glenn Morris <rgm@gnu.org>
13574 * progmodes/f90.el: Use lexical-binding.
13575 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13577 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13579 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13580 (mail-mode): Setup mailalias completion here instead.
13581 * mail/mailalias.el: Use lexical-binding.
13582 (pattern, mailalias-done): Declare dynamic.
13583 (mail-completion-at-point-function): New function, from mail-complete.
13584 (mail-complete): Use it.
13585 (mail-completion-expand): New function.
13586 (mail-get-names): Use it.
13587 (mail-directory, mail-directory-process, mail-directory-stream):
13588 Don't use `pattern' for lexically bound arg.
13590 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13592 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13593 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13594 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13596 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13597 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13598 (byte-interactive-p): Define them again, for use when inlining
13601 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13603 * loadup.el: Use `string-to-number', not `string-to-int'.
13605 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13607 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13608 gud-gdb-complete-command.
13609 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13610 (gud-gdb-completion-at-point): New function.
13611 (gud-gdb-completions): Remove.
13613 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13615 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13616 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13617 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13618 whether `executable-find' is bound.
13620 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13622 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13624 * minibuffer.el (completion-in-region-mode-predicate)
13625 (completion-in-region-mode--predicate): New vars.
13626 (completion-in-region, completion-in-region--postch)
13627 (completion-in-region-mode): Use them.
13628 (completion--capf-wrapper): Also return the hook function.
13629 (completion-at-point, completion-help-at-point):
13630 Adjust and provide a predicate.
13632 Preserve arg names for advice of subr and lexical functions (bug#8457).
13633 * help-fns.el (help-function-arglist): Consolidate the subr and
13634 new-byte-code cases. Add argument `preserve-names' to extract names
13635 from the docstring when needed.
13636 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13637 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13638 (ad-arglist): Use help-function-arglist's new arg.
13639 (ad-definition-type): Use cond.
13641 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13643 * autorevert.el (auto-revert-handler):
13644 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13645 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13646 Don't quote lambda.
13648 * image-mode.el (image-transform-set-scale):
13649 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13651 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13653 * net/network-stream.el (network-stream-open-starttls): Only do
13654 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13655 Upgrades via gnutls-cli are too slow to be done opportunistically.
13657 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13659 * dframe.el (dframe-current-frame): Remove spurious quote.
13661 2011-04-12 Glenn Morris <rgm@gnu.org>
13663 * calendar/cal-tex.el (cal-tex-end-document):
13664 Try to automatically use latin1 input if needed.
13666 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13667 Don't try to cons a mark onto an empty element.
13669 2011-04-11 Leo Liu <sdl.web@gmail.com>
13671 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13673 (ido-kill-buffer-at-head): Support killing virtual buffers.
13675 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13677 * minibuffer.el (completion-show-inline-help): New var.
13678 (completion--do-completion, minibuffer-complete)
13679 (minibuffer-force-complete, minibuffer-complete-word):
13680 Inhibit minibuffer messages if completion-show-inline-help is nil.
13682 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13683 to avoid interference from inline help (Bug#5849).
13685 2011-04-10 Leo Liu <sdl.web@gmail.com>
13687 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13690 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13692 * image-mode.el (image-toggle-display-image): Signal an error if
13694 (image-transform-mode, image-transform-resize)
13695 (image-transform-set-rotation): Doc fix.
13696 (image-transform-set-resize): Delete.
13697 (image-transform-set-scale, image-transform-fit-to-height)
13698 (image-transform-fit-to-width): Handle image-toggle-display-image
13699 and image-transform-resize directly.
13701 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13703 * doc-view.el (doc-view-fit-width-to-window)
13704 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13705 New functions for fitting the shown image to the Emacs window size.
13706 (doc-view-mode-map): Add bindings for the new functions.
13708 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13710 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13711 Fix typo in docstring.
13713 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13715 * files.el (file-size-human-readable): Produce one digit after
13716 decimal, like "ls -lh" does.
13718 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13719 the file size representation.
13721 * simple.el (list-processes): If async subprocesses are not
13722 available, error out with a clear error message.
13724 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13726 * help.el (help-form-show): New function, to be called from C.
13727 Put help-form output in a buffer named differently than *Help*.
13729 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13731 * files.el (file-size-human-readable): New function.
13733 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13734 computing the representation inline. Don't require `cl'.
13736 2011-04-08 Glenn Morris <rgm@gnu.org>
13738 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13740 * net/browse-url.el (browse-url-firefox):
13741 Test system-type, not system-configuration.
13743 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13744 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13745 Use log-edit-empty-buffer-p. (Bug#7598)
13747 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13748 (rlogin-mode-map): Initialize in the defvar.
13749 (rlogin): Use ignore-errors.
13751 * replace.el (occur-mode-map): Some fixes for menu items.
13753 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13755 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13757 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13759 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13760 issuing unused warnings.
13762 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13765 * simple.el: Lisp reimplement of list-processes. Based on an
13766 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13767 (process-menu-mode): New major mode.
13768 (list-processes--refresh, list-processes):
13769 (process-menu-visit-buffer): New functions.
13771 * files.el (save-buffers-kill-emacs): Don't assume any return
13772 value of list-processes, which is undocumented anyway.
13774 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13776 * emacs-lisp/tabulated-list.el: New file.
13778 * emacs-lisp/package.el: Use Tabulated List mode.
13779 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13780 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13781 table format using Tabulated List mode variables.
13782 (package--push): New macro, replacing package-list-maybe-add.
13783 (package-menu--generate): Use package--push. Renamed from
13784 package--generate-package-list.
13785 (package-menu-refresh, list-packages): Use it.
13786 (package-menu--print-info): Rename from package-print-package.
13787 Return insertion data instead of inserting it directly.
13788 (package-menu-describe-package, package-menu-execute):
13789 Use tabulated-list-get-id.
13790 (package-menu-mark-delete, package-menu-mark-install)
13791 (package-menu-mark-unmark, package-menu-backup-unmark)
13792 (package-menu-mark-obsolete-for-deletion):
13793 Use tabulated-list-put-tag.
13794 (package--list-packages, package-menu-revert)
13795 (package-menu-get-package, package-menu-get-version)
13796 (package-menu-sort-by-column): Functions deleted.
13797 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13798 (package-menu--status-predicate, package-menu--version-predicate)
13799 (package-menu--name-predicate)
13800 (package-menu--description-predicate): Handle arguments in the
13801 Tabulated List format.
13802 (package-list-packages-no-fetch): Call list-packages.
13804 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13806 * files.el (after-find-file-from-revert-buffer): Remove variable.
13807 (after-find-file): Don't bind it.
13808 (revert-buffer-in-progress-p): New variable.
13809 (revert-buffer): Bind it.
13810 Pass nil for `after-find-file-from-revert-buffer'.
13812 * saveplace.el (save-place-find-file-hook): Use new variable
13813 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13815 2011-04-06 Glenn Morris <rgm@gnu.org>
13817 * Makefile.in (AUTOGEN_VCS): New variable.
13818 (autoloads): Use $AUTOGEN_VCS.
13820 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13821 * calendar/calendar.el (calendar-mode-map):
13822 Check for toolkit scroll bars. (Bug#8305)
13824 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13826 * minibuffer.el (completion-in-region--postch)
13827 (completion-in-region-mode): Remove unnecessary messages.
13829 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13831 * font-lock.el (font-lock-refresh-defaults):
13832 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13833 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13835 * info.el (Info-directory-list, Info-read-node-name-2)
13836 (Info-split-parameter-string): Doc fixes.
13837 (Info-virtual-nodes): Reflow docstring.
13838 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13839 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13840 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13841 Fix typos in docstrings.
13842 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13843 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13844 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13845 (Info-restore-desktop-buffer): Mark unused parameters.
13846 (Info-directory-find-file, Info-directory-find-node)
13847 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13848 (Info-virtual-index-find-node, Info-apropos-find-file)
13849 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13850 Mark unused parameters; fix typos in docstrings.
13851 (Info-virtual-index): Remove unused local variable `nodename'.
13853 2011-04-05 Deniz Dogan <deniz@dogan.se>
13855 * net/rcirc.el: Update my e-mail address.
13856 (rcirc-mode-map): Remove M-o binding.
13858 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13860 * startup.el (command-line): Save the cursor's theme-face
13861 directly, instead of using face-override-spec.
13863 * custom.el (load-theme): Minor optimization in assigning faces.
13865 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13867 * help-fns.el (describe-variable): Complete all variables having
13868 documentation, including keywords.
13869 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13871 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13873 Convert to lexical-binding.
13875 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13876 (bs--get-marked-string, bs--get-modified-string)
13877 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13878 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13879 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13881 * ehelp.el (electric-help-execute-extended)
13882 (electric-help-ctrl-x-prefix):
13883 * hexl.el (hexl-revert-buffer-function):
13884 * linum.el (linum-after-change, linum-after-scroll):
13885 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13887 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13889 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13896 * epg.el: Use lexical binding.
13898 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13900 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13902 * textmodes/flyspell.el (flyspell-word): Recognize default
13903 dictionary case for flyspell-mark-duplications-exceptions.
13904 Use regexp matching for languages.
13905 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13906 default dictionary (Bug#7926).
13908 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13910 * emacs-lisp/package.el (package--with-work-buffer):
13911 Recognize https URLs.
13913 * net/network-stream.el: Move from gnus/proto-stream.el.
13914 Change prefix to network-stream throughout.
13915 (open-protocol-stream): Merge into open-network-stream, leaving
13916 open-protocol-stream as an alias. Handle nil BUFFER args.
13918 * subr.el (open-network-stream): Move to net/network-stream.el.
13920 2011-04-02 Glenn Morris <rgm@gnu.org>
13922 * find-dired.el (find-exec-terminator): New option.
13923 (find-ls-option): Test for -ls support.
13924 (find-ls-subdir-switches): Test for -b in find-ls-option.
13925 (find-dired, find-grep-dired): Doc fixes.
13926 (find-dired): Use find-exec-terminator.
13928 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13929 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13930 (find-name-arg): Remove purecopy.
13932 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13933 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13934 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13935 accordingly. Don't add the null-device if not needed.
13937 * files.el (save-some-buffers): Doc fix.
13939 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13941 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13943 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13945 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13946 Use `dolist' rather than `mapcar'.
13948 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13950 Add lexical binding.
13952 * subr.el (apply-partially): Use new closures rather than CL.
13953 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13954 (dolist, dotimes): Use slightly different expansion for lexical code.
13955 (functionp): Move to C.
13956 (letrec): New macro.
13957 (with-wrapper-hook): Use it and apply-partially instead of CL.
13958 (eval-after-load): Preserve lexical-binding.
13959 (save-window-excursion, with-output-to-temp-buffer): Turn them
13962 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13964 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13966 (help-add-fundoc-usage): Don't add `Not documented'.
13967 (help-function-arglist): Handle closures, subroutines, and new
13968 byte-code-functions.
13969 (help-make-usage): Remove leading underscores.
13970 (describe-function-1): Handle closures.
13971 (describe-variable): Use special-variable-p for completion.
13973 * files.el (lexical-binding): Declare safe.
13975 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13976 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13977 (pcase): Add `let' pattern.
13978 Change memoization so it actually works.
13979 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13980 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13983 * emacs-lisp/macroexp.el: Use lexical binding.
13984 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13985 Don't convert ' to #' without checking that it's indeed quoting
13988 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13989 Use eval-sexp-add-defvars.
13990 (eval-sexp-add-defvars): New fun.
13992 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13994 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13996 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13997 than the internal `byte-compile-lambda'.
13998 (defmethod): Don't hide code under quotes.
13999 (eieio-defmethod): New `code' argument.
14001 * emacs-lisp/eieio-comp.el: Remove.
14003 * emacs-lisp/edebug.el (edebug-eval-defun)
14004 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14005 (edebug-toggle): Avoid `eval'.
14007 * emacs-lisp/disass.el (disassemble-internal): Handle new
14009 (disassemble-1): Handle new byte codes.
14011 * emacs-lisp/cl.el (pushnew): Silence warning.
14013 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14014 (cl-byte-compile-throw): Remove.
14015 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14017 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14020 * emacs-lisp/cconv.el: New file.
14022 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14023 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14024 (byte-compile-initial-macro-environment):
14025 Handle declare-function here.
14026 (byte-compile--lexical-environment): New var.
14027 (byte-stack-ref, byte-stack-set, byte-discardN)
14028 (byte-discardN-preserve-tos): New lap codes.
14029 (byte-interactive-p): Don't use any more.
14030 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14032 (byte-compile-lapcode): Use them and handle new lap codes.
14033 (byte-compile-obsolete): Remove.
14034 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14035 (byte-compile-arglist-warn): Check late def of inlinable funs.
14036 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14037 since they should have been expanded by now.
14038 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14039 (byte-compile-from-buffer): Remove unused second arg.
14040 (byte-compile-preprocess): New function.
14041 (byte-compile-toplevel-file-form): New function to distinguish
14042 file-form calls from outside from file-form calls from hunk-handlers.
14043 (byte-compile-file-form): Simplify.
14044 (byte-compile-file-form-defsubst): Remove.
14045 (byte-compile-file-form-defmumble): Simplify now that
14046 byte-compile-lambda always returns a byte-code-function.
14047 (byte-compile): Preprocess.
14048 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14049 Remove, not used any more.
14050 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14051 (byte-compile-make-args-desc): New funs.
14052 (byte-compile-lambda): Handle lexical functions. Always return
14053 a byte-code-function.
14054 (byte-compile-reserved-constants): New var, to make up room for
14055 closed-over variables.
14056 (byte-compile-constants-vector): Obey it.
14057 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14058 (byte-compile-macroexpand-declare-function): New function.
14059 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14060 byte-code-functions.
14061 (byte-compile-form): Check obsolescence here.
14062 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14063 (byte-compile-variable-ref): Remove.
14064 (byte-compile-dynamic-variable-op): New fun.
14065 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14066 (byte-compile-variable-set): New funs.
14067 (byte-compile-discard): Add 2 args.
14068 (byte-compile-stack-ref, byte-compile-stack-set)
14069 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14070 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14071 macroexpand-all instead.
14072 (byte-compile-quote-form): Remove.
14073 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14074 (byte-compile-bind, byte-compile-unbind): New funs.
14075 (byte-compile-let): Handle let* and lexical binding.
14076 (byte-compile-let*): Remove.
14077 (byte-compile-catch, byte-compile-unwind-protect)
14078 (byte-compile-track-mouse, byte-compile-condition-case):
14079 Handle a new :fun-body form, used for lexical scoping.
14080 (byte-compile-save-window-excursion)
14081 (byte-compile-with-output-to-temp-buffer): Remove.
14082 (byte-compile-defun): Simplify.
14083 (byte-compile-stack-adjustment): New fun.
14084 (byte-compile-out): Use it.
14085 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14087 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14090 * emacs-lisp/byte-opt.el: Use lexical binding.
14091 (byte-inline-lapcode): Remove (to bytecomp).
14092 (byte-compile-inline-expand): Pay attention to inlining to/from
14093 lexically bound code.
14094 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14096 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14097 any more and don't call compiler-macros.
14098 (byte-compile-splice-in-already-compiled-code): Remove.
14099 (byte-code): Don't inline any more.
14100 (disassemble-offset): Receive `bytes' as argument rather than via
14102 (byte-compile-tag-number): Declare before first use.
14103 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14104 `return' even if make-spliceable.
14105 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14106 obsolete interactive-p.
14107 (byte-optimize-lapcode): Optimize new lap-codes.
14108 Don't trip up on new form of `byte-constant' lap code.
14110 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14112 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14114 * custom.el (custom-initialize-default, custom-declare-variable):
14117 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14119 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14120 (COMPILE_FIRST): Add macroexp and cconv.
14121 * makefile.w32-in: Mirror changes in Makefile.in.
14123 * vc/cvs-status.el:
14127 * vc/smerge-mode.el:
14128 * textmodes/bibtex-style.el:
14129 * textmodes/css.el:
14137 * emacs-lisp/smie.el:
14140 * abbrev.el: Use lexical binding.
14142 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14144 * info.el (info-display-manual): New function.
14146 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14148 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14150 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14152 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14153 an entry for that server in rcirc-authinfo. (Bug#8385)
14155 2011-03-31 Glenn Morris <rgm@gnu.org>
14157 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14159 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14161 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14163 * progmodes/python.el (python-default-interpreter)
14164 (python-python-command-args, python-jython-command-args)
14165 (python-which-shell, python-which-args, python-which-bufname)
14166 (python-file-queue, python-comint-output-filter-function)
14167 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14168 variables and functions.
14170 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14172 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14173 (completion-in-region-mode): New minor mode.
14174 (completion-in-region): Use it.
14175 (completion-in-region--data, completion-in-region-mode-map): New vars.
14176 (completion-in-region--postch): New function.
14177 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14179 (completion--capf-wrapper): New function.
14180 (completion-at-point): Use it to track well-behavedness of
14182 (completion-help-at-point): New command.
14184 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14186 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14187 syntax class to search for whitespace on a single line
14188 (Message-ID: <4D938140.4030905@redhat.com>).
14190 2011-03-30 Leo Liu <sdl.web@gmail.com>
14192 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14194 (edit-abbrevs-map): Bind them here.
14195 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14197 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14199 * allout.el (allout-hide-by-annotation, allout-flag-region):
14200 Reduce possibility of overlay leakage by making them volatile.
14202 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14203 hash is not shared between buffers. Mode initialization is
14204 responsible for giving it a useful starting value.
14205 (allout-item-span): Reduce possibility of overlay leakage by
14206 making them volatile.
14207 (allout-widgets-count-buttons-in-region): Add diagnostic function
14208 for tracking down button overlay leaks.
14210 2011-03-29 Leo Liu <sdl.web@gmail.com>
14212 * ido.el (ido-read-internal): Use the default history var
14213 minibuffer-history if no HISTORY is specified.
14215 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14217 * net/imap.el (imap-shell-open, imap-process-connection-type):
14218 Use imap-process-connection-type for 'shell' streams as well as
14219 Kerberos, SSL, other subprocesses.
14221 2011-03-28 Leo Liu <sdl.web@gmail.com>
14223 * abbrev.el (abbrev-table-empty-p): New function.
14224 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14225 nonempty ones. (Bug#5937)
14227 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14229 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14231 2011-03-27 Leo Liu <sdl.web@gmail.com>
14233 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14234 for foreground and background colors.
14235 (ansi-color-make-color-map): Adapt.
14237 2011-03-25 Leo Liu <sdl.web@gmail.com>
14239 * midnight.el (midnight-time-float): Remove. Note it calculates
14240 the microsecond component incorrectly and seconds-to-time does the
14242 Remove redundant (require 'timer).
14244 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14245 (ido-completions): Remove unused arguments. (Bug#8329)
14247 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14249 * minibuffer.el (completion--flush-all-sorted-completions):
14250 Remove itself from hook.
14251 (completion-at-point): Let the functions perform the completion
14252 immediately and return nil or t.
14253 * comint.el (comint-dynamic-complete-functions): Now identical to
14254 completion-at-point-functions.
14255 (comint-dynamic-list-input-ring): Remove unused var `index'.
14256 (comint--match-partial-filename, comint--unquote&expand-filename):
14257 New funs, split from comint-match-partial-filename.
14258 (comint-dynamic-complete): Use completion-at-point.
14259 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14261 2011-03-24 Drew Adams <drew.adams@oracle.com>
14263 * thingatpt.el: Support `defun'.
14265 2011-03-23 Leo Liu <sdl.web@gmail.com>
14267 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14269 * help-mode.el (help-mode-finish): Tweak regexp.
14271 2011-03-23 Glenn Morris <rgm@gnu.org>
14273 * eshell/esh-opt.el (eshell-eval-using-options):
14274 Do not bind unused local variable `eshell-option-stub'.
14276 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14278 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14280 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14281 keymap variable in `with-no-warnings' to avoid a warning when the
14282 keymap has been already `defconst'ed.
14284 2011-03-22 Leo Liu <sdl.web@gmail.com>
14286 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14287 encode all chars in abbrevs; otherwise use emacs-mule or
14288 utf-8-emacs. (Bug#8308)
14290 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14292 * simple.el (backward-delete-char-untabify):
14293 Avoid warning about using `delete-backward-char'.
14295 * image.el (image-type-file-name-regexps): Make it variable.
14296 `imagemagick-register-types' modifies it, and the user may want
14297 to add new extensions for known image types.
14298 (imagemagick-register-types): Throw error if not using ImageMagick.
14300 2011-03-22 Leo Liu <sdl.web@gmail.com>
14302 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14303 located before rcirc-prompt-end-marker.
14304 (rcirc-complete): Error if point is not after rcirc prompt.
14305 Handle the case when table is nil.
14306 (rcirc-user-authenticated): Define to fix compiler warning.
14308 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14310 * custom.el (custom--inhibit-theme-enable): Make it affect only
14311 custom-theme-set-variables and custom-theme-set-faces.
14312 (provide-theme): Ignore custom--inhibit-theme-enable.
14313 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14314 (custom-enabling-themes): Delete variable.
14315 (enable-theme): Accept only loaded themes as arguments.
14316 Ignore the special custom-enabled-themes variable.
14317 (custom-enabled-themes): Forbid themes from setting this.
14318 Eliminate use of custom-enabling-themes.
14319 (custom-push-theme): Quote "changed" custom var entry.
14321 2011-03-21 Leo Liu <sdl.web@gmail.com>
14323 * ido.el (ido-read-internal): Add ido-selected to history instead
14326 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * subr.el (deferred-action-list, deferred-action-function):
14331 2011-03-21 Leo Liu <sdl.web@gmail.com>
14333 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14334 change on 2011-02-13 (bug#8309).
14336 * minibuffer.el (read-file-name-function): Change default value.
14337 (read-file-name--defaults): Rename from read-file-name-defaults.
14338 (read-file-name-default): Rename from read-file-name.
14339 (read-file-name): Call read-file-name-function.
14341 2011-03-21 Glenn Morris <rgm@gnu.org>
14343 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14346 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14348 * cus-theme.el: Add missing provide statement.
14349 (customize-create-theme): Extract theme value correctly.
14350 (custom-theme-visit-theme): Autoload.
14351 (customize-create-theme): Prompt before inserting default faces.
14353 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14355 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14356 units and musical notes.
14358 2011-03-20 Leo Liu <sdl.web@gmail.com>
14360 * ido.el (ido-read-internal): Use completing-read-default.
14361 (ido-completing-read): Fix compatibility with completing-read.
14363 2011-03-20 Christian Ohler <ohler@gnu.org>
14365 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14366 (ert-delete-all-tests): Use `called-interactively-p' rather than
14368 (ert--make-xrefs-region): Respect END.
14370 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14372 * dired-aux.el (dired-create-directory): Signal an error if the
14373 directory already exists (Bug#8246).
14375 * facemenu.el (list-colors-display): Call list-faces-display
14376 inside with-help-window.
14377 (list-colors-print): Use display property to align the final
14378 column, instead of checking window-width.
14380 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14382 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14383 windows-nt systems.
14384 (emerge-protect-metachars): Quote correctly for ms-dos and
14385 windows-nt systems.
14387 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14389 * info.el (info-initialize): Replace all uses of `:' with
14390 path-separator for compatibility with non-Unix systems.
14391 Cache quoting of path-separator. (Bug#8258)
14393 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14395 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14396 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14397 (mouse-avoidance-mode): Fix typos in docstrings.
14399 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14401 * startup.el (package-subdirectory-regexp): Move from package.el.
14402 Omit \\` and \\', and let callers add them.
14404 * emacs-lisp/package.el (package-strip-version)
14405 (package-load-all-descriptors): Add \\` and \\' to
14406 package-subdirectory-regexp before using it.
14407 (package-untar-buffer): New arg DIR; ensure that file untars only
14408 into this expected directory. Remove superfluous delete-region.
14409 (package-unpack): Caller changed.
14410 (package-tar-file-info): Use package-subdirectory-regexp.
14412 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14414 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14415 diff-mode-shared-map (bug#8284).
14416 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14418 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14420 * calendar/time-date.el (format-seconds): Use assoc instead of
14421 assoc-string, since assoc-string doesn't exist in XEmacs.
14423 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14425 * custom.el (custom-known-themes): Reflow docstring.
14426 (custom-theme-load-path): Fix typo in docstring.
14427 (load-theme): Fix typo in error message.
14428 (custom-available-themes, custom-variable-theme-value):
14429 Use `let', not `let*'.
14431 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14433 * calc/README: Mention inclusion of musical notes.
14435 * calc/calc-units.el (calc-lu-quant): Rename from
14436 `calc-logunits-quantity'.
14437 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14438 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14439 (calc-db): Rename from `calc-dblevel'.
14440 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14441 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14442 (calc-np): Rename from `calc-nplevel'.
14443 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14444 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14445 (calc-lu-plus): Rename from `calc-logunits-add'.
14446 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14447 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14448 (calc-lu-minus): Rename from `calc-logunits-sub'.
14449 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14450 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14451 (calc-lu-times): Rename from `calc-logunits-mul'.
14452 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14453 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14454 (calc-lu-divide): Rename from `calc-logunits-div'.
14455 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14456 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14458 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14459 functions being autoloaded.
14461 * calc/calc.el (calc-lu-power-reference): Rename from
14462 `calc-logunits-power-reference'.
14463 (calc-lu-field-reference): Rename from
14464 `calc-logunits-field-reference'.
14466 * calc/calc-help.el (calc-l-prefix-help):
14467 Mention musical note functions.
14469 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14471 * minibuffer.el (completion-all-sorted-completions):
14472 Use :completion-cycle-penalty text property if present.
14474 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14476 * allout.el (allout-yank-processing): Adjust for new rebulleting
14477 regime so bullet being yanked is used without prompting the user
14480 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14482 * startup.el (command-line): Warn the user that _emacs is deprecated.
14484 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14486 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14487 (delphi-verbose, delphi-comment-face, delphi-string-face)
14488 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14489 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14490 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14491 (delphi-new-comment-line, delphi-font-lock-defaults)
14492 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14493 Fix typos in docstrings.
14495 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14497 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14498 Invert the roles of character and string values for INSTEAD, so a
14499 string is used for the more common case of a defaulting prompt.
14501 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14503 * progmodes/ruby-mode.el (ruby-backward-sexp):
14504 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14505 * play/gamegrid.el (gamegrid-make-face):
14506 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14507 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14508 * notifications.el (notifications-notify):
14509 * net/xesam.el (xesam-search-engines):
14510 * net/quickurl.el (quickurl-list-insert):
14511 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14513 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14515 * startup.el (command-line): Update package subdirectory regexp.
14517 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14519 * allout.el (allout-abbreviate-flattened-numbering)
14520 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14522 * subr.el (read-char-choice): Only show the cursor after the prompt,
14523 not after the answer.
14525 2011-03-15 Kevin Ryde <user42@zip.com.au>
14527 * help-fns.el (variable-at-point): Skip leading quotes, if any
14530 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14532 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14535 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14537 * shell.el (shell): When called interactively, offer to change the
14538 shell file name on remote hosts.
14540 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14542 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14543 integration for LDAP parameters. The host, base, user or binddn,
14544 and secret tokens can be specified in a netrc file, for instance.
14545 This is optional because an `auth-source' parameter must be
14546 specified in the search attributes.
14548 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14550 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14552 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14555 into declaration. Remove redundant and harmful binding.
14557 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14559 * files.el (file-ownership-preserved-p): Pass `integer' as an
14560 explicit 2nd argument to `file-attributes'. If the file's owner
14561 is the Administrators group on Windows, and the current user is
14562 Administrator, consider that a match.
14564 * server.el (server-ensure-safe-dir): Consider server directory
14565 safe on MS-Windows if its owner is the Administrators group while
14566 the current Emacs user is Administrator. Use `=' to compare
14567 numerical UIDs, since they could be integers or floats.
14569 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14571 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14573 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14575 Sync with Tramp 2.2.1.
14577 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14579 * net/trampver.el: Update release number.
14581 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14583 * progmodes/compile.el (compilation--previous-directory): Fix up
14584 various nil/dead-marker mismatches (bug#8014).
14585 (compilation-directory-properties, compilation-error-properties):
14586 Don't call it at a position past the one we're about to change.
14588 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14589 Disable obsolescence warnings in the file that declares it.
14591 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14593 * allout-widgets.el (allout-widgets-tally):
14594 Initialize allout-widgets-tally as a hash table rather than nil to
14595 prevent mode-line redisplay warnings. Also, clarify the module
14596 description and fix a comment typo.
14598 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14600 * help-fns.el (describe-variable): Don't complete keywords.
14601 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14603 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14605 * emacs-lisp/package.el (package-version-join): Impose a standard
14606 string representation for pre/alpha/beta version lists.
14607 (package-unpack-single): Standardize the directory name by passing
14608 it through package-version-join.
14609 (package-strip-rcs-id): Accept any version string that does not
14610 signal an error in version-to-list.
14612 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14614 * simple.el (delete-trailing-whitespace): Return nil for the
14615 benefit of `write-file-functions'.
14617 2011-03-10 Glenn Morris <rgm@gnu.org>
14619 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14621 * vc/vc-git.el (vc-git-program): New option.
14622 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14623 (vc-git--call): Use it.
14625 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14627 * cus-edit.el (Custom-newline): If no button at point, look
14628 for a subgroup button at start-of-line. (Bug#2298)
14630 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14632 2011-03-10 Julien Danjou <julien@danjou.info>
14634 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14635 `cursor-type' is nil.
14637 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14639 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14641 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14643 * allout.el: Change so yank of distinctive-bullet items
14644 preserves the existing header prefix, rebulleting it if necessary,
14645 rather than replacing it. This is necessary for proper operation
14646 of cooperative addons like allout-widgets.
14647 (allout-make-topic-prefix, allout-rebullet-heading):
14648 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14649 value as alternate bullet to be used, instead of prompting the user
14650 for a bullet character.
14652 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14655 Do not use `tramp-file-name-port', because this returns also
14656 `tramp-default-port'.
14658 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14660 * net/rcirc.el (rcirc-handler-001): Remove useless
14661 with-rcirc-process-buffer.
14662 (rcirc-check-auth-status): Swap arguments to string-match.
14664 2011-03-09 Glenn Morris <rgm@gnu.org>
14666 * shell.el (shell-mode):
14667 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14669 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14670 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14672 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14674 * emacs-lisp/package.el (package-refresh-contents)
14675 (package-menu-execute): Use condition-case-no-debug.
14677 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14679 * simple.el (shell-command-to-string): Use `process-file'.
14681 * emacs-lisp/package.el (package-tar-file-info): Handle also
14684 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14685 Use `equal' for upload base check.
14687 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14689 * textmodes/texinfo.el (texinfo-environments):
14690 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14692 2011-03-08 Glenn Morris <rgm@gnu.org>
14694 * cus-start.el (cursor-in-non-selected-windows):
14695 Fix :set quoting oddness. (Bug#8192)
14697 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14698 in some setf expressions. (Bug#2159)
14700 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14702 * custom.el (custom-available-themes): Return themes in
14703 alphabetical order.
14705 See ChangeLog.15 for earlier changes.
14707 ;; Local Variables:
14711 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14713 This file is part of GNU Emacs.
14715 GNU Emacs is free software: you can redistribute it and/or modify
14716 it under the terms of the GNU General Public License as published by
14717 the Free Software Foundation, either version 3 of the License, or
14718 (at your option) any later version.
14720 GNU Emacs is distributed in the hope that it will be useful,
14721 but WITHOUT ANY WARRANTY; without even the implied warranty of
14722 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14723 GNU General Public License for more details.
14725 You should have received a copy of the GNU General Public License
14726 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.