1 2012-06-07 Stefan Merten <smerten@oekonux.de>
3 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4 Silence compiler warnings. Fix versions.
6 (rst-position-if, rst-position, rst-some, rst-signum): New
8 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9 (rst-indent-line, rst-shift-region, rst-forward-line): Use new
12 (rst-package-emacs-version-alist): Correct Emacs version to
13 represent major merge with upstream.
14 (rst-transition, rst-adornment, rst-compile-toolsets): Fix
17 2012-06-06 Glenn Morris <rgm@gnu.org>
19 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
20 Only print environment variables if set.
22 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
24 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
25 (macroexp--cons): Rename from maybe-cons.
26 (macroexp--accumulate): Rename from macroexp-accumulate.
27 (macroexp--all-forms): Rename from macroexpand-all-forms.
28 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
29 (macroexp--expand-all): Rename from macroexpand-all-1.
31 2012-06-06 Sam Steingold <sds@gnu.org>
33 * calendar/calendar.el (calendar-in-read-only-buffer):
34 Call `special-mode' to enable the standard read-only keybindings.
36 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
38 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
39 with "loading" messages (bug#11635).
41 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
43 * files.el (enable-remote-dir-locals): New option.
44 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
46 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
47 Ensure, that the temp directory is local.
49 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
50 `temporary-file-directory'.
52 * progmodes/python.el (python-send-region): Ensure, that the
53 temporary file is created also in the remote case.
55 2012-06-06 Glenn Morris <rgm@gnu.org>
57 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
58 (vc-rcs-update-changelog): Use it.
60 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
62 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
63 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
64 (vc-sccs-diff): Replace use of the external vcdiff script.
66 2012-06-05 Glenn Morris <rgm@gnu.org>
68 * ledit.el: Move to obsolete/.
70 2012-06-05 Sam Steingold <sds@gnu.org>
72 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
75 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
77 * emacs-list/cust-print.el: Move to obsolete.
79 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
80 compiler-macro expansion.
82 Add native compiler-macro support.
83 * emacs-lisp/macroexp.el (macroexpand-all-1):
84 Support compiler-macros directly. Properly follow aliases and apply
85 the compiler macros more thoroughly.
86 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
87 macroexpand now properly follows aliases.
88 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
89 (cl-compiler-macroexpand): Use new prop.
90 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
92 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
94 2012-06-05 Martin Rudalics <rudalics@gmx.at>
96 * window.el (get-lru-window, get-mru-window, get-largest-window):
97 New argument NOT-SELECTED to avoid picking the selected window.
98 (window--display-buffer-1, window--display-buffer-2): Replace by
99 new function window--display-buffer
100 (display-buffer-same-window, display-buffer-reuse-window)
101 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
102 Use window--display-buffer.
103 (display-buffer-use-some-window): Remove temporary dedication
104 hack by calling get-lru-window and get-largest-window with
105 NOT-SELECTED argument non-nil. Call window--display-buffer.
107 2012-06-05 Glenn Morris <rgm@gnu.org>
109 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
110 Replace external vcdiff script.
112 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
114 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
116 2012-06-04 Chong Yidong <cyd@gnu.org>
118 * image.el (imagemagick-types-inhibit): Revert last change.
120 (imagemagick-enabled-types): Remove CIN and EPS*.
122 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
124 * emacs-lisp/cl-lib.el: Rename from cl.el.
125 * emacs-lisp/cl.el: New compatibility file.
126 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
127 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
128 to obey the "cl-" prefix.
129 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
131 2012-06-03 Glenn Morris <rgm@gnu.org>
133 * emacs-lisp/authors.el (authors-aliases): Addition.
135 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
138 2012-06-03 Stefan Merten <smerten@oekonux.de>
140 * textmodes/rst.el: Add comments.
141 (rst-transition, rst-adornment): New faces.
142 (rst-adornment-faces-alist): Make default safe to reevaluate.
144 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
145 Improve customization tags.
146 (rst-define-level-faces): Clarify meaning.
148 2012-06-03 Chong Yidong <cyd@gnu.org>
150 * progmodes/compile.el (compilation-mode-line-fail)
151 (compilation-mode-line-run, compilation-mode-line-exit):
153 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
155 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
157 * progmodes/which-func.el (which-func-update-ediff-windows):
158 New function. Use it in ediff-select-hook (Bug#11478).
160 2012-06-03 Chong Yidong <cyd@gnu.org>
162 * bindings.el: Remove explicit help text from format-mode-line.
163 It is now supplied by mode-line-default-help-echo.
164 (mode-line-front-space, mode-line-end-spaces)
165 (mode-line-misc-info): New variables.
166 (mode-line-modes, mode-line-position): Move the default value to
167 the variable definition.
168 (mode-line-default-help-echo): New defcustom.
169 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
170 (mode-line-modified-help-echo): New functions.
171 (mode-line-mule-info, mode-line-modified): Use them.
172 (mode-line-eol-desc, propertized-buffer-identification):
173 Consistency fixes for help text.
174 (mode-line-coding-system-map): Allow using mouse-3 to invoke
175 set-buffer-file-coding-system (Bug#289).
176 (mode-line-mule-info-help-echo): Update help text.
178 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
180 * simple.el (execute-extended-command): Set real-this-command
183 2012-06-02 Chong Yidong <cyd@gnu.org>
185 Remove incorrect uses of "modeline" in comments, docstrings, and
186 function/variable names (Bug#10329).
188 * cus-edit.el (mode-line):
189 * dframe.el (dframe-mouse-hscroll):
190 * emacs-lisp/re-builder.el:
191 * emacs-lisp/easy-mmode.el (define-minor-mode):
192 * frame.el (set-frame-name):
193 * help.el (lookup-minor-mode-from-indicator):
194 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
195 * progmodes/cc-cmds.el (c-toggle-auto-newline)
196 (c-toggle-hungry-state):
197 * progmodes/antlr-mode.el (antlr-language-alist):
198 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
199 * progmodes/vhdl-mode.el (vhdl-mode):
200 * progmodes/which-func.el (which-func, which-func-cleanup-function):
201 * term/ns-win.el (ns-face-at-pos):
202 * term/sup-mouse.el (sup-mouse-report):
203 * textmodes/flyspell.el (flyspell-mode-line-string):
204 * textmodes/ispell.el (ispell-highlight-face):
205 * textmodes/reftex-global.el:
206 * vc/vc-arch.el (vc-arch-mode-line-string):
207 * vc/vc-cvs.el (vc-cvs-mode-line-string):
208 * vc/vc-git.el (vc-git-mode-line-string):
209 * vc/vc-hooks.el (vc-display-status)
210 (vc-default-mode-line-string):
211 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
213 * ansi-color.el (ansi-color-faces-vector): Change default faces.
215 * dired.el (dired-sort-set-mode-line): Rename from
216 dired-sort-set-modeline. All callers changed.
218 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
219 eshell-status-in-modeline.
221 * foldout.el (foldout-mode-line-string): Rename from
222 foldout-modeline-string. All callers changed.
223 (foldout-update-mode-line): Rename from foldout-update-modeline.
225 * subr.el (redraw-modeline): Make into obsolete alias.
227 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
228 timeclock-modeline-display. Make old name an alias.
229 (timeclock-update-mode-line): Likewise. All callers changed.
230 (timeclock-mode-line-display): No need to check before using
232 (timeclock-relative, timeclock-day-over-hook)
233 (timeclock-use-elapsed, timeclock-mode-string)
234 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
236 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
237 crisp-mode-modeline-string.
239 * play/solitaire.el (solitaire-build-mode-line): Rename from
240 solitaire-build-modeline. All callers changed.
242 * play/zone.el (zone-hiding-mode-line): Rename from
243 zone-hiding-modeline. All callers changed.
244 (zone): Remove unusued `modeline-hidden-level' property.
246 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
247 xscheme-modeline-initialize. All callers changed.
249 * strokes.el (strokes-lighter): Rename from
250 strokes-modeline-string.
252 * textmodes/sgml-mode.el (html-face-tag-alist)
253 (html-tag-face-alist): Use mode-line face instead of obsolete
256 2012-06-02 Stefan Merten <smerten@oekonux.de>
258 * textmodes/rst.el: Always require `cl'.
259 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
261 2012-06-02 Chong Yidong <cyd@gnu.org>
263 * image.el (imagemagick-enabled-types): Rename from
264 imagemagick-types-enable. Add many more types.
265 (imagemagick-types-inhibit): Change default to nil.
266 (imagemagick-filter-types): Caller changed.
268 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
270 * emacs-lisp/cl-macs.el: Use backquotes.
271 (cl-transform-function-property): Use eval-and-compile rather than
273 (defstruct): Use declare-function instead of with-no-warnings.
275 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
276 (byte-compile-output-docform): Re-add the print-circle bindings.
277 (byte-compile-fix-header): Use #$ just because it's shorter.
278 (byte-compile-output-file-form): Remove defun/defmacro.
280 2012-06-01 Martin Rudalics <rudalics@gmx.at>
282 * simple.el (choose-completion): Remove now obsolete binding for
285 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
287 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
288 in order to avoid "Stack overflow in regexp matcher".
290 2012-05-31 Glenn Morris <rgm@gnu.org>
292 * image.el: For clarity, call imagemagick-register-types at
293 top-level, rather than relying on a custom :initialize.
294 (imagemagick-types-enable): New option. (Bug#11557)
295 (imagemagick-filter-types): New function. (Bug#7406)
296 (imagemagick-register-types): Use imagemagick-filter-types.
297 If disabling support, remove elements altogether rather
298 than using an impossible regexp.
299 (imagemagick-types-inhibit): Give it the default init function.
301 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
304 Handle arbitrary file name lengths (Bug#11585).
306 2012-05-31 Martin Rudalics <rudalics@gmx.at>
308 * desktop.el (desktop-read): Clear previous and next buffers for
309 all windows and bury *Messages* buffer (bug#11556).
311 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
313 Add `declare' for `defun'. Align `defmacro's with it.
314 * emacs-lisp/easy-mmode.el (define-minor-mode)
315 (define-globalized-minor-mode): Don't autoload the var definitions.
316 * emacs-lisp/byte-run.el: Use lexical-binding.
317 (defun-declarations-alist, macro-declarations-alist): New vars.
318 (defmacro, defun): Use them.
319 (make-obsolete, define-obsolete-function-alias)
320 (make-obsolete-variable, define-obsolete-variable-alias):
322 (macro-declaration-function): Mark obsolete.
323 * emacs-lisp/autoload.el: Use lexical-binding.
324 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
326 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
328 * textmodes/ispell.el (ispell-with-no-warnings):
330 (ispell-kill-ispell, ispell-change-dictionary):
331 Use `called-interactively-p' for Emacs instead of obsolete
334 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
336 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
337 (macro-declaration-function): Move var from C code.
338 (macro-declaration-function): Define function with defalias.
339 * emacs-lisp/macroexp.el (macroexpand-all-1):
340 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
341 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
342 defun/defmacro any more.
343 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
344 Provide fallback for unknown arglist.
345 (byte-compile-arglist-warn): Change calling convention.
346 (byte-compile-output-file-form): Move print-vars binding.
347 (byte-compile-output-docform): Simplify accordingly.
348 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
349 (byte-compile-defmacro-declaration): Remove.
350 (byte-compile-file-form-defmumble): Generalize to defalias.
351 (byte-compile-output-as-comment): Return byte-positions.
352 Simplify callers accordingly.
353 (byte-compile-lambda): Use `assert'.
354 (byte-compile-defun, byte-compile-defmacro): Remove.
355 (byte-compile-file-form-defalias):
356 Use byte-compile-file-form-defmumble.
357 (byte-compile-defalias-warn): Remove.
359 2012-05-29 Stefan Merten <smerten@oekonux.de>
361 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
362 possible. Fix authors. Improve comments. Improve loading of `cl'.
364 (rst-mode-abbrev-table): Merge definition.
365 (rst-mode): Make sure `font-lock-defaults' is buffer local.
366 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
368 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
370 * calendar/icalendar.el
371 (icalendar-export-region): Export UID properly.
373 2012-05-29 Leo <sdl.web@gmail.com>
374 * calendar/icalendar.el (icalendar-import-format):
375 Add `icalendar-import-format-uid' (Bug#11525).
376 (icalendar-import-format-uid): New.
377 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
380 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
382 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
383 different alternative patterns.
384 (pcase-codegen): Be more careful to preserve identity.
385 (pcase--u1): Don't forget to mark vars as used.
387 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
388 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
389 (byte-compile-from-buffer): ...rather than here.
391 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
392 functions from byte-compile-function-environment.
394 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
396 * window.el (window-deletable-p): Avoid deleting the root window
397 of a frame with an active minibuffer.
399 2012-05-29 Martin Rudalics <rudalics@gmx.at>
401 * simple.el (choose-completion): Use quit-window (Bug#11567).
403 2012-05-29 Chong Yidong <cyd@gnu.org>
405 * whitespace.el (whitespace-cleanup): Fix usage of
406 whitespace-empty-at-bob-regexp (Bug#11492).
408 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
410 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
413 2012-05-29 Juri Linkov <juri@jurta.org>
415 * isearch.el (isearch-mode-map): Bind `M-s _' to
416 `isearch-toggle-symbol'. Bind `M-s c' to
417 `isearch-toggle-case-fold'.
418 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
419 (isearch-forward): Add `M-s _' to the docstring.
420 (isearch-forward-symbol, isearch-toggle-case-fold)
421 (isearch-symbol-regexp): New functions. (Bug#11381)
423 2012-05-29 Juri Linkov <juri@jurta.org>
425 * isearch.el (isearch-word): Add docstring. (Bug#11381)
426 (isearch-occur, isearch-search-and-update): If `isearch-word' is
427 a function, call it to get the regexp.
428 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
429 property `isearch-message-prefix' instead of the string "word ".
430 (isearch-search-fun-default): For the case of `isearch-word',
431 return a lambda that calls re-search-forward/re-search-backward
432 with a regexp returned by `word-search-regexp' or by the function
435 2012-05-29 Juri Linkov <juri@jurta.org>
437 * isearch.el (isearch-search-fun-default): New function.
438 (isearch-search-fun): Move default part to the new function
439 `isearch-search-fun-default'.
440 (isearch-search-fun-function): Set the default value to
441 `isearch-search-fun-default'. (Bug#11381)
443 * comint.el (comint-history-isearch-end):
444 Use `isearch-search-fun-default'.
445 (comint-history-isearch-search): Use `isearch-search-fun-default'
446 and remove spacial case for `isearch-word'.
447 (comint-history-isearch-wrap): Remove spacial case for
450 * hexl.el (hexl-isearch-search-function):
451 Use `isearch-search-fun-default'.
453 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
454 Use `word-search-regexp' for `isearch-word'.
456 * misearch.el (multi-isearch-search-fun):
457 Use `isearch-search-fun-default'.
459 * simple.el (minibuffer-history-isearch-search):
460 Use `isearch-search-fun-default' and remove spacial case for
462 (minibuffer-history-isearch-wrap): Remove spacial case for
465 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
466 Remove spacial case for `isearch-word'.
467 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
469 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
471 Decrease XEmacs incompatibilities.
472 * textmodes/flyspell.el (flyspell-check-pre-word-p):
474 (flyspell-delete-region-overlays): Use alternative definition for
476 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
477 (flyspell-word): Use `process-kill-without-query' if XEmacs.
478 (flyspell-mode-on): Use `interactive-p' if XEmacs.
479 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
480 `define-obsolete-face-alias' under XEmacs, but old method.
482 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
483 `with-no-warnings' definition or Emacs alias.
484 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
485 (ispell-word): Do not use `region-p' if XEmacs.
487 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
489 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
490 Check for `ispell-dictionary-base-alist' instead of full
491 `ispell-dictionary-alist'.
492 (ispell-init-process): Show spellchecker when starting new Ispell
495 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
497 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
498 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
500 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
502 * version.el (motif-version-string, gtk-version-string)
503 (ns-version-string): Declare.
505 2012-05-27 Juri Linkov <juri@jurta.org>
507 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
508 after the `eval-defun-1' specialcaseing
509 like in `edebug-eval-defun' (bug#10181).
511 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
512 like in `eval-defun-1'.
514 2012-05-27 Eli Zaretskii <eliz@gnu.org>
516 * mail/sendmail.el (mail-yank-region):
517 Recognize rmail-yank-current-message in addition to insert-buffer.
518 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
519 a *mail* buffer created through rmail-start-mail with sendmail as
522 2012-05-27 Chong Yidong <cyd@gnu.org>
524 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
525 Default to 256 (Bug#11267).
527 * help.el (describe-mode): Doc fix.
529 2012-05-26 Glenn Morris <rgm@gnu.org>
531 * w32-fns.el (w32-init-info): Remove.
532 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
534 * info.el (info-initialize): For self-contained NS builds, put the
535 included info/ directory at the front. (Bug#2791)
537 * paths.el (Info-default-directory-list): Make it a defcustom,
538 mainly so that we can use custom-initialize-delay.
540 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
542 * subr.el (buffer-has-markers-at): Mark obsolete.
544 * subr.el (lambda): Use declare.
546 * emacs-lisp/lisp-mode.el (lambda):
547 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
549 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
551 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
553 2012-05-26 Glenn Morris <rgm@gnu.org>
555 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
557 2012-05-25 Glenn Morris <rgm@gnu.org>
559 * paths.el: Remove no-byte-compile.
560 * loadup.el: No need to load paths.el uncompiled.
562 * image.el (imagemagick-types-inhibit): Doc fix.
564 * version.el: Remove no-byte-compile and associated formatting.
565 * loadup.el: No need to load version.el uncompiled. AFAICS, this
566 is ancient code from when there was an "inc-vers.el".
568 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
570 * progmodes/gdb-mi.el: Minor style changes.
571 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
572 Turn into minor modes.
573 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
574 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
575 (gdb-shell): Remove unneeded let-binding.
576 (gdb-get-many-fields): Eliminate O(n²) behavior.
578 2012-05-25 Eli Zaretskii <eliz@gnu.org>
580 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
581 platforms that don't link in fontset.c.
583 2012-05-25 Juri Linkov <juri@jurta.org>
585 Use the same diff color scheme as in modern VCSes (bug#10181).
587 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
588 to avoid confusion with `diff-added' that now uses green colors.
589 (diff-removed): Use shades of red.
590 (diff-added): Use shades of green.
591 (diff-changed): Leave just the yellow color.
592 (diff-use-changed-face): New variable.
593 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
594 how to highlight context diff changes.
595 (diff-refine-change): Use shades of yellow.
596 (diff-refine-removed): New face that uses shades of red.
597 (diff-refine-added): New face that uses shades of green.
598 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
599 `diff-refine-removed' in the call to `smerge-refine-subst'
600 depending on the value of `diff-use-changed-face'.
602 * vc/smerge-mode.el (smerge-mine): Use shades of red.
603 (smerge-other): Use shades of green.
604 (smerge-base): Use shades of yellow.
605 (smerge-refined-change): Empty face.
606 (smerge-refined-removed): New face that uses shades of red.
607 (smerge-refined-added): New face that uses shades of green.
608 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
609 args `props-r' and `props-a', and use them. Doc fix.
610 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
611 on its value use different faces `smerge-refined-change',
612 `smerge-refined-removed', `smerge-refined-added' in the call to
613 `smerge-refine-subst'.
615 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
616 Add face condition `min-colors 88' with shades of red.
617 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
618 `min-colors 88' with shades of green.
619 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
620 `min-colors 88' with shades of yellow.
622 2012-05-24 Glenn Morris <rgm@gnu.org>
624 * paths.el (prune-directory-list, remote-shell-program): Move to...
625 * files.el (prune-directory-list, remote-shell-program): ...here.
626 For the latter, delay initialization, prefer ssh, just search PATH.
628 * paths.el (term-file-prefix): Move to faces.el (the only user).
629 * faces.el (term-file-prefix): Move here, make it a defcustom.
631 * paths.el (news-directory, news-path, news-inews-program):
632 Move to gnus/nnspool.el.
634 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
636 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
637 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
638 Make the latter a defcustom, with a delayed initialization.
640 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
641 These were deleted from Gnus itself late 2010.
643 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
645 * progmodes/which-func.el (which-func-ff-hook):
646 Check against user-error, not error.
648 * emacs-lisp/edebug.el (top): Do not load or set up loading of
649 cl-specs.el, which no longer exists.
651 2012-05-22 Glenn Morris <rgm@gnu.org>
653 * info.el (info-emacs-bug): New command.
654 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
655 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
657 2012-05-21 Glenn Morris <rgm@gnu.org>
659 * makefile.w32-in (update-subdirs-SH):
660 * Makefile.in (update-subdirs): Update for moved update-subdirs.
662 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
664 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
667 Simplify Maven regexp, and make sure the file can't start with a space
670 2012-05-21 Glenn Morris <rgm@gnu.org>
672 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
673 Scrap superfluous subshells.
675 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
677 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
678 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
680 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
682 * calc/calc.el (calc-ensure-consistent-units): New variable.
684 * calc/calc-units.el (math-consistent-units-p)
685 (math-check-unit-consistency): New functions.
686 (calc-quick-units, calc-convert-units):
687 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
689 (calc-extract-units): Fix typo.
691 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
693 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
695 * textmodes/flyspell.el: Commenting style, plus code simplifications.
696 (flyspell-default-deplacement-commands): Don't spell check after
697 repeated window/frame switches (e.g. triggered by mouse-movement).
698 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
699 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
700 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
701 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
703 (flyspell-get-casechars, flyspell-get-not-casechars):
704 Simplify; Don't bother removing a ] just to add it back.
705 * textmodes/ispell.el (ispell-program-name): Use executable-find.
707 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
709 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
711 (math-function-table): Add support for more C functions.
713 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
715 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
716 (flyspell-debug-signal-word-checked): Protect delay handling for
717 otherchars against empty otherchars.
719 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
721 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
722 their respective macro declarations.
723 * skeleton.el (define-skeleton):
724 * progmodes/compile.el (define-compilation-mode):
725 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
726 (define-ibuffer-filter):
727 * emacs-lisp/generic.el (define-generic-mode):
728 * emacs-lisp/easy-mmode.el (define-minor-mode)
729 (define-globalized-minor-mode):
730 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
731 * emacs-lisp/byte-run.el (defsubst):
732 * custom.el (deftheme): Add doc-string metadata.
734 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
736 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
738 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
740 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
742 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
743 * emacs-lisp/cl-macs.el: Idem.
744 * emacs-lisp/cl-specs.el: Remove.
746 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
748 Minor renaming of internal CL functions and variables.
749 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
750 (cl--position): Rename from cl-position.
751 (cl--delete-duplicates): Rename from cl-delete-duplicates.
752 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
753 (cl--random-state): Rename from *random-state*.
755 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
757 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
758 parens around the arg list (bug#11499).
760 2012-05-17 Juri Linkov <juri@jurta.org>
762 * isearch.el (word-search-regexp, word-search-backward)
763 (word-search-forward, word-search-backward-lax)
764 (word-search-forward-lax): Move functions from search.c
765 (bug#10145, bug#11381).
767 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
769 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
770 (flyspell-debug-signal-word-checked): Delay for otherchars as for
771 normal word components.
773 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
775 * minibuffer.el (completion--sifn-requote): Fix last change.
776 (minibuffer-local-must-match-filename-map):
777 Move define-obsolete-variable-alias before its var.
779 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
783 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
785 (completion--string-equal-p): New function.
786 (completion--twq-all): Use it to get better assertion failure data.
788 Only handle ".." and '..' quoting in shell-mode (bug#11466).
789 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
790 (shell--requote-argument): New functions.
791 (shell-completion-vars): Use them.
792 (shell--parse-pcomplete-arguments): Rename from
793 shell-parse-pcomplete-arguments.
794 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
795 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
796 Obey comint-file-name-quote-list.
798 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
799 (smie-indent-keyword): Use it.
801 2012-05-14 Stefan Merten <smerten@oekonux.de>
803 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
805 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
807 * net/rlogin.el (rlogin-mode-map): Fix last change.
809 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
811 * mail/smtpmail.el (smtpmail-send-command): Send the command and
812 the following \r\n using a single `process-send-string', since the
813 Lotus SMTP server refuses to accept any commands if they are sent
814 with two `process-send-string's (Bug#11444).
816 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
818 * shell.el (shell-parse-pcomplete-arguments):
819 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
821 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
823 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
824 (image-transform-scale, image-transform-right-angle-fudge): New vars.
825 (image-transform-width, image-transform-fit-width): New functions.
826 (image-transform-properties): Use them.
827 (image-transform-check-size): New function.
828 (image-toggle-display-image): Use it (for testing).
829 (image-transform-set-rotation): Reduce angle mod 360.
830 Delete obsolete comment.
832 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
834 * image-mode.el: Fix scaling (bug#11399).
835 (image-transform-resize): Doc fix.
836 (image-transform-properties): Default scale is 1 and height should
839 2012-05-13 Johan Bockgård <bojohan@gnu.org>
841 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
842 than hard-coding `car', to fix misbehavior when moving forward.
844 2012-05-13 Chong Yidong <cyd@gnu.org>
846 * emacs-lisp/tabulated-list.el (tabulated-list-format)
847 (tabulated-list-entries, tabulated-list-padding)
848 (tabulated-list-sort-key): Make permanent-local.
850 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
851 (electric-buffer-list): Put electric buffer menu
852 command descriptions in this docstring, instead of the docstring
853 of electric-buffer-menu-mode. Code cleanups.
854 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
855 Electric-buffer-menu-mode.
856 (electric-buffer-update-highlight): Minor code cleanup.
858 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
860 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
863 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
865 Move define-obsolete-variable-alias before the var's definition.
866 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
867 * tooltip.el (tooltip-hook):
868 * textmodes/reftex-toc.el (reftex-toc-map):
869 * textmodes/reftex-sel.el (reftex-select-label-map)
870 (reftex-select-bib-map):
871 * textmodes/reftex-index.el (reftex-index-map)
872 (reftex-index-phrases-map):
873 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
874 * progmodes/meta-mode.el (meta-mode-map):
875 * novice.el (disabled-command-hook):
876 * loadhist.el (unload-hook-features-list):
877 * frame.el (blink-cursor):
878 * files.el (find-file-not-found-hooks, write-file-hooks)
879 (write-contents-hooks):
880 * emulation/tpu-edt.el (GOLD-map):
881 * emacs-lock.el (emacs-lock-from-exiting):
882 * emacs-lisp/generic.el (generic-font-lock-defaults):
883 * emacs-lisp/chart.el (chart-map):
884 * dos-fns.el (register-name-alist):
885 * dired-x.el (dired-omit-files-p):
886 * desktop.el (desktop-enable):
887 * cus-edit.el (custom-mode-hook):
888 * buff-menu.el (buffer-menu-mode-hook):
889 * bookmark.el (bookmark-read-annotation-text-func)
890 (bookmark-exit-hooks):
891 * allout.el (allout-mode-deactivate-hook)
892 (allout-exposure-change-hook, allout-structure-added-hook)
893 (allout-structure-deleted-hook, allout-structure-shifted-hook):
894 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
895 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
896 comes before the corresponding variable's definition.
898 2012-05-12 Chong Yidong <cyd@gnu.org>
900 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
901 (Buffer-menu-mouse-select): Restore function (Bug#11459).
902 (Buffer-menu-mode-map): Bind it.
903 (Buffer-menu--pretty-name): Add a mouse-face property.
905 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
907 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
908 (prolog-upper-case-string, prolog-lower-case-string)
909 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
910 (prolog-use-smie, prolog-smie-grammar): New vars.
911 (prolog-smie-forward-token, prolog-smie-backward-token)
912 (prolog-smie-rules): New funs.
913 (prolog-comment-indent): Remove.
914 (prolog-mode-variables): Use default comment indentation instead.
916 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
917 (prolog-mode): Don't call them any more.
918 (prolog-electric-colon, prolog-electric-dash)
919 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
921 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
923 * minibuffer.el (completion--twq-all): Again, allow case differences.
925 * term.el: Move keymap initialization code to be more idiomatic.
926 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
927 (term-terminal-menu): Move initialization into declaration.
928 (term-escape-char): Let the user set it in her .emacs.
930 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
931 Provide SMIE-based indentation (not enabled by default yet).
932 (sh-mode-map): Don't bind electric keys.
933 Use electric-pair-mode instead of skeleton-pair.
934 (sh-assignment-regexp): Fit within 80 columns.
935 (sh-indent-supported): Specify actual shell name instead of boolean.
936 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
937 (sh-maybe-here-document): Use it. Make obsolete.
938 (sh-electric-here-document-mode) New minor mode.
939 (sh-mode): Use it. Don't set sh-indent-supported-here here.
940 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
941 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
942 (sh-smie-rc-grammar, sh-use-smie): New vars.
943 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
944 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
945 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
946 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
947 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
948 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
949 (sh-set-shell): Use smie-setup if requested.
951 * term.el (term-set-escape-char): Properly set term-escape-char.
952 See http://stackoverflow.com/questions/10524656.
954 2012-05-10 Chong Yidong <cyd@gnu.org>
956 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
957 Use url-generic-parse-url, and handle host names and Windows
959 (ffap-url-unwrap-remote): Use url-generic-parse-url.
960 (ffap-url-unwrap-remote): Accept list values, specifying a list of
961 URL schemes to work on.
962 (ffap--toggle-read-only): New function.
963 (ffap-read-only, ffap-read-only-other-window)
964 (ffap-read-only-other-frame): Use it.
965 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
966 necessary for ffap-url-unwrap-remote.
968 2012-05-10 Dave Abrahams <dave@boostpro.com>
970 * cus-start.el (create-lockfiles): Add it.
972 2012-05-09 Chong Yidong <cyd@gnu.org>
974 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
975 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
977 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
979 * shell.el (shell-completion-vars): Fix last change (bug#11348).
981 2012-05-09 Chong Yidong <cyd@gnu.org>
983 * ansi-color.el (ansi-color-process-output): Check for validity of
984 comint-last-output-start before using it. This avoids a bad
985 interaction with gdb-mi's input/output buffer.
987 2012-05-09 Glenn Morris <rgm@gnu.org>
989 * files.el (dir-locals-read-from-file):
990 Mention dir-locals in any error message.
992 2012-05-09 Chong Yidong <cyd@gnu.org>
994 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
997 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
998 variables into description.
1000 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1003 shell-delimiter-argument-list (bug#11348).
1004 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1006 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1008 * textmodes/rst.el: Silence byte-compiler warnings.
1009 (rst-re-alist, rst-reset-section-caches): Move around.
1010 (rst-re): Use `characterp', not `char-valid-p'.
1011 (font-lock-beg, font-lock-end): Declare.
1013 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1014 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1016 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1018 2012-05-08 Glenn Morris <rgm@gnu.org>
1020 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1022 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1024 * vc/log-edit.el: Add GNU coding standards highlighting.
1025 (log-edit-font-lock-gnu-style)
1026 (log-edit-font-lock-gnu-keywords): New vars.
1027 (log-edit-font-lock-keywords): New fun.
1028 (log-edit-mode): Don't fold case in font-lock.
1029 (log-edit-font-lock-keywords): Do not assume case-folding.
1031 * imenu.el: Misc cleanup. Make docstrings out of comments.
1032 Use lexical-binding.
1033 (imenu--index-alist, imenu--last-menubar-index-alist)
1034 (imenu-menubar-modified-tick): Use defvar-local.
1035 (imenu--split-menu): Remove unused var.
1036 (imenu--cleanup-seen): Declare as global.
1037 (imenu--cleanup): Use dolist.
1039 * subr.el (defvar-local): Add debug spec and doc-string position.
1041 2012-05-08 Glenn Morris <rgm@gnu.org>
1043 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1044 * language/english.el, language/georgian.el, language/greek.el:
1045 * language/japanese.el, language/khmer.el, language/korean.el:
1046 * language/lao.el, language/misc-lang.el, language/romanian.el:
1047 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1048 * language/thai.el, language/utf-8-lang.el:
1049 Remove no-byte-compile setting.
1051 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1053 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1055 * progmodes/make-mode.el (makefile-browse):
1056 Remove unnecessary interactive. (Bug#11324)
1058 2012-05-07 Glenn Morris <rgm@gnu.org>
1060 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1062 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1064 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * loadup.el: Preload newcomment.el.
1067 * newcomment.el: Move autoload-only code to toplevel.
1069 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1070 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1071 Handle new :right-align column property.
1072 (tabulated-list-print-col): Idem, plus use `display' text-property to
1073 try and preserve alignment for variable pitch fonts.
1075 2012-05-07 Chong Yidong <cyd@gnu.org>
1077 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1078 (tabulated-list-use-header-line): New var.
1079 (tabulated-list-init-header): Use it.
1080 (tabulated-list-print-fake-header): New function.
1081 (tabulated-list-print): Use it.
1082 (tabulated-list-sort-button-map): Add non-header-line commands.
1083 (tabulated-list-init-header): Add column name property to basic
1085 (tabulated-list-col-sort): Handle non-header-line button case.
1086 (tabulated-list--sort-by-column-name): Fix a corner case.
1088 * buff-menu.el (list-buffers--refresh):
1089 Handle Buffer-menu-use-header-line.
1091 2012-05-06 Chong Yidong <cyd@gnu.org>
1093 * buff-menu.el: Convert to Tabulated List mode.
1094 (Buffer-menu-buffer+size-width): Make obsolete.
1095 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1096 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1097 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1098 documentation into docstring of buffer-menu.
1099 (Buffer-menu-toggle-files-only): Add an informative message.
1100 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1101 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1102 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1103 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1104 (Buffer-menu-execute, Buffer-menu-select)
1105 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1106 (Buffer-menu-bury): Use Tabulated List machinery.
1107 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1108 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1110 (list-buffers--refresh): New function.
1111 (list-buffers-noselect): Use it.
1112 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1113 (Buffer-menu--pretty-file-name): New helper functions.
1115 * loadup.el: Preload tabulated-list.
1117 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1118 tabulated-list-sort-column.
1119 (tabulated-list-init-header): Add the initial aligning space even
1120 if tabulated-list-padding is zero.
1122 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1124 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1125 whose cdr is not a cons cell correctly (bug#11038).
1127 2012-05-06 Chong Yidong <cyd@gnu.org>
1129 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1130 Accept additional plist in column descriptors.
1131 (tabulated-list-init-header): Obey it.
1132 (tabulated-list-get-entry): New function.
1133 (tabulated-list-put-tag): Use it. Use string-width instead of
1135 (tabulated-list--column-number): New function.
1136 (tabulated-list-print): Use it.
1137 (tabulated-list-print-col): New function.
1138 Set `tabulated-list-column-name' property on each column's text.
1139 (tabulated-list-print-entry): Use it.
1140 (tabulated-list-delete-entry, tabulated-list-set-col):
1142 (tabulated-list-sort-column): New command (Bug#11337).
1144 * buff-menu.el (list-buffers): Move C-x C-b binding from
1145 buff-menu.el to bindings.el.
1147 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1148 :advertised-binding feature.
1150 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1152 * progmodes/compile.el (compilation-internal-error-properties):
1153 Calculate start position correctly when end-col is set but
1154 end-line is not (Bug#11382).
1156 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1158 * man.el (Man-unindent): Use text-property-default-nonsticky to
1159 prevent untabify from inheriting face properties (Bug#11408).
1161 2012-05-05 Stefan Merten <smerten@oekonux.de>
1163 * textmodes/rst.el: Major merge with upstream development up to
1164 Docutils SVN r7399 / rst.el V1.2.1.
1166 Clarify maintainership and authors.
1168 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1169 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1170 (rst-official-version, rst-official-cvs-rev, rst-version)
1171 (rst-package-emacs-version-alist): New functions and variables
1172 for version information.
1174 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1175 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1176 (rst-mode-syntax-table, rst-mode): New and corrected functions
1177 and variables representing reStructuredText features.
1179 (rst-re): New function for reStructuredText regexes. Use in
1182 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1183 (rst-mode-map): Rebind keys.
1185 (rst-mode-lazy, rst-font-lock-keywords)
1186 (rst-font-lock-extend-region)
1187 (rst-font-lock-extend-region-internal)
1188 (rst-font-lock-extend-region-extend)
1189 (rst-font-lock-find-unindented-line-limit)
1190 (rst-font-lock-find-unindented-line-match)
1191 (rst-adornment-level, rst-font-lock-adornment-level)
1192 (rst-font-lock-adornment-match)
1193 (rst-font-lock-handle-adornment-pre-match-form)
1194 (rst-font-lock-handle-adornment-matcher): Major revision of
1195 font-locking. Integrate with other code. Use `jit-lock-mode'.
1197 (rst-preferred-adornments, rst-adjust-hook)
1198 (rst-new-adornment-down, rst-preferred-bullets)
1199 (rst-preferred-bullets, rst-indent, rst-indent-width)
1200 (rst-indent-field, rst-indent-literal-normal)
1201 (rst-indent-literal-minimized, rst-indent-comment): Change,
1202 extend and improve customization.
1204 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1205 (rst-normalize-cursor-position, rst-get-decoration)
1206 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1207 (rst-rstrip, rst-toc-insert-find-delete-contents)
1208 (rst-shift-fill-region, rst-compute-bullet-tabs)
1209 (rst-debug-print-tabs, rst-debug-mark-found)
1210 (rst-shift-region-guts, rst-shift-region-right)
1211 (rst-shift-region-left, rst-use-char-classes)
1212 (rst-font-lock-keywords-function)
1213 (rst-font-lock-indentation-point)
1214 (rst-font-lock-find-unindented-line-begin)
1215 (rst-font-lock-find-unindented-line-end)
1216 (rst-font-lock-find-unindented-line)
1217 (rst-font-lock-adornment-point, rst-font-lock-level)
1218 (rst-adornment-level-alist): Remove functions and variables.
1220 (rst-compare-adornments, rst-get-adornment-match)
1221 (rst-suggest-new-adornment, rst-get-adornments-around)
1222 (rst-adornment-complete-p, rst-get-next-adornment)
1223 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1224 (rst-straighten-adornments): Standardize function names to
1225 use "adornment" instead of "decoration". Correct callers.
1226 Similar standardizing in many places.
1228 (rst-update-section, rst-adjust, rst-promote-region)
1229 (rst-enumerate-region, rst-bullet-list-region)
1230 (rst-repeat-last-character): Correct use of `interactive'.
1232 (rst-classify-adornment, rst-find-all-adornments)
1233 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1234 (rst-find-leftmost-column, rst-repeat-last-character):
1237 (rst-find-title-line, rst-reset-section-caches)
1238 (rst-get-adornments-around, rst-adjust-adornment-work)
1239 (rst-arabic-to-roman, rst-roman-to-arabic)
1240 (rst-insert-list-pos, rst-insert-list-new-item)
1241 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1244 (rst-all-sections, rst-section-hierarchy)
1245 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1248 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1249 configuration instead of only buffer. Change where necessary.
1251 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1252 (rst-shift-region, rst-adaptive-fill): New functions for
1253 indentation and filling.
1255 (rst-comment-line-break, rst-comment-indent)
1256 (rst-comment-insert-comment, rst-comment-region)
1257 (rst-uncomment-region): New functions for handling comments.
1259 (rst-compile): Quote shell arguments.
1261 (rst-compile-pdf-preview, rst-compile-slides-preview):
1262 Delete temporary files after use.
1264 2012-05-05 Glenn Morris <rgm@gnu.org>
1266 * calendar/cal-html.el: Optionally include holidays in the output.
1267 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1268 (cal-html-holidays): New option.
1269 (cal-html-css-default): Add holiday entry.
1270 (holiday-in-range): Autoload it.
1271 (cal-html-htmlify-entry): Add optional class argument.
1272 (cal-html-htmlify-list): Add optional holidays argument.
1273 (cal-html-insert-agenda-days): Include holidays in the output.
1274 (cal-html-one-month): Maybe include holidays.
1276 * calendar/holidays.el (holiday-in-range):
1277 Move here from cal-tex-list-holidays.
1278 * calendar/cal-tex.el (cal-tex-list-holidays):
1279 Make it an obsolete alias for holiday-in-range. Update all callers.
1281 2012-05-05 Chong Yidong <cyd@gnu.org>
1283 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1286 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1288 * files.el (file-auto-mode-skip): New var.
1289 (set-auto-mode-1): Use it.
1291 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1293 * repeat.el: Use lexical-binding.
1294 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1295 (repeat-undo-count): Remove.
1297 * progmodes/octave-mod.el (octave-abbrev-start):
1298 * progmodes/f90.el (f90-abbrev-start):
1299 * face-remap.el (text-scale-adjust):
1300 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1302 * emacs-lisp/pcase.el (pcase--let*): New function.
1303 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1305 (pcase--split-pred): Be more clever about ruling out overlap between
1306 a predicate and some constant pattern.
1307 (pcase--q1): Use `null' instead of (eq foo nil).
1309 * subr.el (setq-local, defvar-local): New macros.
1310 (kbd): Redefine as an alias.
1311 (with-selected-window): Leave unrelated frames alone.
1312 (set-temporary-overlay-map): New function.
1314 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * subr.el (user-error): New function.
1317 * window.el (switch-to-buffer):
1318 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1319 (smerge-match-conflict):
1320 * simple.el (previous-matching-history-element)
1321 (next-matching-history-element, goto-history-element, undo-more)
1323 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1324 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1325 (next-file, tags-loop-scan, list-tags, complete-tag):
1326 * progmodes/compile.el (compilation-loop):
1327 * mouse.el (mouse-minibuffer-check):
1328 * man.el (Man-bgproc-sentinel, Man-goto-page):
1329 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1330 (Info-history-forward, Info-follow-reference, Info-menu)
1331 (Info-extract-menu-item, Info-extract-menu-counting)
1332 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1333 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1334 (Info-next-reference, Info-prev-reference, Info-index)
1335 (Info-index-next, Info-follow-nearest-node)
1336 (Info-copy-current-node-name):
1337 * imenu.el (imenu--make-index-alist)
1338 (imenu-default-create-index-function, imenu-add-to-menubar):
1339 * files.el (basic-save-buffer, recover-file):
1340 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1341 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1342 (checkdoc-message-text, checkdoc-defun):
1343 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1344 * cus-edit.el (customize-changed-options, customize-rogue)
1345 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1346 (custom-variable-mark-to-reset-standard)
1347 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1349 * completion.el (check-completion-length):
1350 * comint.el (comint-search-arg)
1351 (comint-previous-matching-input-string-position)
1352 (comint-previous-matching-input)
1353 (comint-replace-by-expanded-history-before-point, comint-send-input)
1354 (comint-copy-old-input, comint-backward-matching-input)
1355 (comint-goto-process-mark, comint-set-process-mark):
1356 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1357 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1359 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1361 * dabbrev.el (dabbrev--ignore-case-p): New function.
1362 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1365 * files.el (automount-dir-prefix): Mark as obsolete.
1367 2012-05-04 Glenn Morris <rgm@gnu.org>
1369 * patcomp.el, play/bruce.el: Move to obsolete/.
1371 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1373 Fix minor Y10k bugs.
1374 * arc-mode.el (archive-unixdate):
1375 * autoinsert.el (auto-insert-alist):
1376 * calc/calc-forms.el (math-this-year):
1377 * emacs-lisp/copyright.el (copyright-current-year)
1378 (copyright-update-year, copyright):
1379 * tar-mode.el (tar-clip-time-string):
1380 * time.el (display-time-update):
1381 Don't assume years have 4 digits.
1383 2012-05-04 Chong Yidong <cyd@gnu.org>
1385 * dos-w32.el (file-name-buffer-file-type-alist)
1386 (direct-print-region-use-command-dot-com):
1387 * ffap.el (ffap-menu-regexp):
1388 * find-file.el (ff-special-constructs):
1389 * follow.el (follow-debug):
1390 * forms.el (forms--debug):
1391 * iswitchb.el (iswitchb-all-frames):
1392 * ido.el (ido-all-frames):
1393 * emacs-lisp/timer.el (timer-max-repeats):
1394 * mail/feedmail.el (feedmail-mail-send-hook)
1395 (feedmail-mail-send-hook-queued):
1396 * mail/footnote.el (footnote-signature-separator):
1397 * mail/mailabbrev.el (mail-alias-separator-string)
1398 (mail-abbrev-mode-regexp):
1399 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1400 * progmodes/idlwave.el (idlwave-libinfo-file)
1401 (idlwave-default-completion-case-is-down)
1402 (idlwave-library-routines): Convert defvars to defcustoms.
1404 * mail/rmail.el (rmail-decode-mime-charset):
1405 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1406 (idlwave-shell-fix-inserted-breaks)
1407 (idlwave-shell-activate-alt-keybindings)
1408 (idlwave-shell-use-breakpoint-glyph):
1409 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1411 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1415 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1417 * progmodes/verilog-mode.el (font-lock-keywords):
1418 Fix mis-highligting auto. Reported by Craig Barner.
1419 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1420 defines from global name space. Reported by Dan Dever.
1421 (verilog-auto-reset, verilog-auto-reset-widths)
1422 (verilog-auto-tieoff): Support using unbased numbers for
1423 AUTORESET and AUTOTIEOFF.
1424 (verilog-submit-bug-report): Update variable list.
1425 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1426 parenthesis from not matching. Reported by Michael Rytting.
1427 (verilog-auto-template-lint): Fix hash error when linting modules
1428 with no used templates.
1429 (verilog-warn, verilog-warn-error)
1430 (verilog-warn-fatal): When non-interactive report multiple
1431 warnings before exiting. Suggested by Brad Dobbie.
1432 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1433 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1434 to report unused template errors. Reported by Brad Dobbie.
1435 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1436 nets, bug438. Reported by Vns Blore.
1437 (verilog-auto-inout-module, verilog-auto-reg)
1438 (verilog-read-decls, verilog-read-sub-decls-sig)
1439 (verilog-signals-edit-wire-reg, verilog-signals-with):
1440 Fix passing of Verilog data types in ANSI input/output ports
1441 such as "output logic" into the AUTOs. Special case "wire" and
1442 "reg" for backwards compatibility presuming Verilog 2001.
1443 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1444 (verilog-preprocess): Fix replication of preprocess output.
1445 Reported by Brad Dobbie.
1446 (verilog-auto-inst-interfaced-ports):
1447 Create verilog-auto-inst-interfaced-ports, bug429.
1448 Reported by Julian Gorfajn.
1449 (verilog-after-save-font-hook)
1450 (verilog-before-save-font-hook): New variable.
1451 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1452 (verilog-save-font-mods): Wrap disabling fontification, reported
1454 (verilog-do-indent, verilog-pretty-declarations-auto)
1455 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1456 Reported by Pierre-David Pfister.
1457 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1458 of class declarations, bug292. Reported by Kevin Heilman.
1459 (verilog-read-decls): Fix 'parameter type' not appearing in
1460 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1461 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1462 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1463 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1464 Reported by David Kravitz.
1466 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1468 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1469 assignment with tests in ifs and for loops.
1470 (verilog-extended-complete-re, verilog-complete-reg): Change so
1471 that DPI inport functions don't look like fuction declarations.
1472 (verilog-pretty-expr): Don't line up assignment
1473 operations to the test and increment in if and for loops
1474 (verilog-extended-complete-re, verilog-complete-reg): Change so
1475 that DPI inport functions don't look like fuction declarations
1477 2012-05-03 Kenichi Handa <handa@m17n.org>
1479 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1480 decoding, and show a warning message without signaling an error
1483 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * emacs-lisp/bytecomp.el
1486 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1487 since cconv.el might have introduced :fun-body, internal-make-closure,
1488 and friends for bytecomp to handle (bug#11391).
1489 * custom.el (defcustom): Avoid ((λ ..) ..).
1491 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1495 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1497 * notifications.el (dbus-debug):
1498 * term/linux.el (gpm-mouse-enable):
1499 * term/screen.el (xterm-register-default-colors): Declare.
1501 2012-05-02 Chong Yidong <cyd@gnu.org>
1503 * cus-start.el (gc-cons-percentage, exec-suffixes)
1504 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1505 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1506 (make-cursor-line-fully-visible, void-text-area-pointer)
1507 (font-list-limit): Add customization data.
1509 * allout.el (allout-exposure-change-functions)
1510 (allout-structure-added-functions)
1511 (allout-structure-deleted-functions)
1512 (allout-structure-shifted-functions): Rename abnormal hooks from
1513 *-hook, and convert to defcustoms.
1514 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1515 Convert to defcustoms.
1516 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1518 * allout-widgets.el: Hook callers changed.
1520 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1522 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1523 the yanked message in preference to the default value of
1524 buffer-file-coding-system.
1526 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1528 * window.el (display-buffer--action-function-custom-type):
1531 2012-05-02 Alan Mackenzie <acm@muc.de>
1533 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1535 2012-05-01 Glenn Morris <rgm@gnu.org>
1537 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1539 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1541 * cus-edit.el (custom-variable-documentation): Simplify with format.
1543 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1544 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * simple.el (suggest-key-bindings, execute-extended-command):
1547 Move from keyboard.c.
1549 2012-05-01 Chong Yidong <cyd@gnu.org>
1551 * follow.el: Eliminate advice.
1552 (set-process-filter, process-filter, sit-for): Advice deleted.
1553 (follow-mode-off-hook): Obsolete hook removed.
1554 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1556 (follow-auto): Use a :set function.
1557 (follow-mode): Rewritten. Don't advise process filters.
1558 (follow-switch-to-current-buffer-all, follow-scroll-up)
1559 (follow-scroll-down): Assume follow-mode is bound.
1560 (follow-comint-scroll-to-bottom)
1561 (follow-align-compilation-windows): New functions.
1562 (follow--window-sorter): New function.
1563 (follow-all-followers): Use it to explicitly sort windows by their
1564 positions; don't make assumptions about next-window order.
1565 (follow-windows-start-end, follow-delete-other-windows-and-split)
1566 (follow-calc-win-start): Doc fix.
1567 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1568 vertical-motion unnecessarily.
1569 (follow-adjust-window): New function.
1570 (follow-post-command-hook): Use it.
1571 (follow-call-set-process-filter, follow-call-process-filter)
1572 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1573 (follow-stop-intercept-process-output, follow-generic-filter):
1575 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1576 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1577 New functions, replacing advice on scroll-bar-* commands.
1578 (follow-mwheel-scroll): New function (Bug#4112).
1580 * comint.el (comint-adjust-point): New function.
1581 (comint-postoutput-scroll-to-bottom): Use it.
1582 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1584 2012-05-01 Glenn Morris <rgm@gnu.org>
1586 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1587 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1588 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1589 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1590 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1591 Remove no-byte-compile setting.
1593 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1596 all-completions code to not return a number in the last cdr.
1598 2012-04-30 Leo Liu <sdl.web@gmail.com>
1600 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1603 2012-04-29 Chong Yidong <cyd@gnu.org>
1605 * follow.el (follow-calc-win-end): Rewrite to handle partial
1606 screen lines correctly (Bug#8390).
1607 (follow-avoid-tail-recenter): Minor cleanup.
1609 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1611 Avoid the obsolete `assoc' package.
1612 * speedbar.el (speedbar-refresh): Avoid adelete.
1613 (speedbar-file-lists): Simplify and avoid aput.
1614 * man.el (Man--sections, Man--refpages): New vars, replacing
1615 Man-sections-alist and Man-refpages-alist.
1616 (Man-build-section-alist, Man-build-references-alist):
1617 Use them; avoid aput.
1618 (Man--last-section, Man--last-refpage): New vars.
1619 (Man-follow-manual-reference): Use them.
1620 Use the `default' arg of completing-read.
1621 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1623 2012-04-27 Chong Yidong <cyd@gnu.org>
1625 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1627 * startup.el (x-apply-session-resources): New function.
1629 * term/ns-win.el (ns-initialize-window-system):
1630 * term/w32-win.el (w32-initialize-window-system):
1631 * term/x-win.el (x-initialize-window-system): Use it to properly
1632 set menu-bar-mode and other vars from X resources, even if the
1633 initial frame is not a window-system frame (Bug#2299).
1635 * subr.el (read-key): Avoid running filter function when setting
1636 up temporary tool bar entries (Bug#9922).
1638 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1640 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1643 2012-04-27 Chong Yidong <cyd@gnu.org>
1645 * select.el (xselect--encode-string): New function, split from
1646 xselect-convert-to-string.
1647 (xselect-convert-to-string): Use it.
1648 (xselect-convert-to-filename, xselect-convert-to-os)
1649 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1650 returned strings are properly encoded (Bug#11315).
1652 2012-04-27 Chong Yidong <cyd@gnu.org>
1654 * simple.el (delete-active-region): Move to killing custom group.
1656 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1658 * progmodes/which-func.el (which-func-current): Quote %
1659 characters for mode-line processing.
1661 2012-04-27 Chong Yidong <cyd@gnu.org>
1663 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1664 reaching eob (Bug#11286).
1666 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1668 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1669 (gdb): Make it buffer-local and init to zero.
1670 (gdb-control-commands-regexp): New variable.
1671 (gdb-send): Don't wrap in "-interpreter-exec console" if
1672 gdb-control-level is positive. Increment gdb-control-level
1673 whenever the command matches gdb-control-commands-regexp, and
1674 decrement it each time the command is "end". (Bug#11279)
1676 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1678 * window.el (adjust-window-trailing-edge, enlarge-window)
1679 (shrink-window, window-resize):
1680 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1681 windows (Bug#11276).
1683 2012-04-27 Chong Yidong <cyd@gnu.org>
1685 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1686 fix "missing prefix" warning. All callers changed.
1688 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * emacs-lisp/assoc.el: Move to obsolete/.
1692 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1696 * term/ns-win.el (ns-define-service):
1697 * progmodes/pascal.el (pascal-goto-defun):
1698 * progmodes/js.el (js--read-tab):
1699 * progmodes/etags.el (tags-lazy-completion-table):
1700 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1701 * emacs-lisp/ewoc.el (ewoc--wrap):
1702 * emacs-lisp/assoc.el (aput, adelete, amake):
1703 * doc-view.el (doc-view-convert-current-doc):
1704 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1706 2012-04-26 Chong Yidong <cyd@gnu.org>
1708 * image.el (image-type-from-buffer): Only return supported image
1711 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1712 value, for symmetry with diff-end-of-hunk.
1713 (diff-split-hunk, diff-find-source-location)
1714 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1715 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1716 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1717 compute the relevant hunk or file properly (Bug#6005).
1718 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1720 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * vc/vc.el: Replace lexical-let by lexical-binding.
1730 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1731 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1732 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1734 2012-04-26 Chong Yidong <cyd@gnu.org>
1736 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1737 (diff-mode-shared-map): Bind it to / and [remap undo].
1739 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1740 (ediff-window-setup-function): Use it as the default, to set up
1741 windows based on whether the current frame is graphical (Bug#2138).
1742 (ediff-choose-window-setup-function-automatically): Make obsolete.
1744 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1746 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * ffap.el: Remove old code for obsolete package.
1749 (ffap-complete-as-file-p): Remove.
1751 Use completion-table-with-quoting for comint and pcomplete.
1752 * comint.el (comint--unquote&requote-argument)
1753 (comint--unquote-argument, comint--requote-argument): New functions.
1754 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1755 (comint-quote-filename): Use regexp-opt-charset.
1756 (comint--common-suffix, comint--common-quoted-suffix)
1757 (comint--table-subvert): Remove.
1758 (comint-unquote-function, comint-requote-function): New vars.
1759 (comint--complete-file-name-data): Use them with
1760 completion-table-with-quoting.
1761 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1762 * pcomplete.el (pcomplete-arg-quote-list)
1763 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1764 (pcomplete-unquote-argument-function): Default to non-nil.
1765 (pcomplete-unquote-argument): Simplify.
1766 (pcomplete--common-quoted-suffix): Remove.
1767 (pcomplete-requote-argument-function): New var.
1768 (pcomplete--common-suffix): New function.
1769 (pcomplete-completions-at-point): Use completion-table-with-quoting
1770 and completion-table-subvert.
1772 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1773 (minibuffer--double-dollars): Preserve properties.
1774 (completion--sifn-requote): New function.
1775 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1777 * minibuffer.el: Add support for completion of quoted/escaped data.
1778 (completion-table-with-quoting, completion-table-subvert): New funs.
1779 (completion--twq-try, completion--twq-all): New functions.
1780 (completion--nth-completion): New function.
1781 (completion-try-completion, completion-all-completions): Use it.
1783 2012-04-25 Leo Liu <sdl.web@gmail.com>
1785 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1786 Use compilation-message if available to find real filename.
1788 2012-04-25 Chong Yidong <cyd@gnu.org>
1790 * vc/diff-mode.el (diff-setup-whitespace): New function.
1791 (diff-mode): Use it.
1793 * vc/diff.el (diff-sentinel):
1794 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1795 Whitespace mode variables based on diff style (Bug#8612).
1797 2012-04-25 Leo Liu <sdl.web@gmail.com>
1799 * progmodes/python.el (python-send-region): Add suffix .py to the
1802 * files.el (auto-mode-alist): Use javascript-mode instead.
1804 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1806 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1808 * soap-client.el (soap-resolve-references-for-sequence-type)
1809 (soap-resolve-references-for-array-type): Hack to prevent self
1810 references, see Bug#9.
1811 (soap-parse-envelope): Report the contents of the 'detail' node
1812 when receiving a fault reply.
1813 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1815 * soap-inspect.el (soap-sample-value-for-simple-type)
1816 (soap-inspect-simple-type): New function.
1818 * soap-client.el (soap-simple-type): New struct.
1819 (soap-default-xsd-types, soap-default-soapenc-types)
1820 (soap-decode-basic-type, soap-encode-basic-type):
1821 support unsignedInt and double basic types.
1822 (soap-resolve-references-for-simple-type)
1823 (soap-parse-simple-type, soap-encode-simple-type): New function.
1824 (soap-parse-schema): Parse xsd:simpleType declarations.
1826 * soap-client.el (soap-default-xsd-types)
1827 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1828 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1829 the local name of "soapenc:Array".
1830 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1831 decoding integer, byte and anyURI xsd types.
1833 2012-04-25 Chong Yidong <cyd@gnu.org>
1835 * cus-edit.el (custom-buffer-create-internal): Update header text.
1837 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1839 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1840 settings on 'system-type', not on 'window-system'. On MS-Windows,
1841 set interactive-mode on in GDB.
1843 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1846 (ruby-syntax-propertize-regexp): Remove.
1847 (ruby-syntax-propertize-function): Split regexp into chunks.
1848 Match following code directly.
1850 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1852 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1853 (ruby-syntax-propertize-regexp): New function.
1854 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1855 by a special keyword.
1857 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1858 (ruby-syntax-general-delimiters-goto-beg)
1859 (ruby-syntax-propertize-general-delimiters): New functions.
1860 (ruby-syntax-propertize-function): Use them to handle GDL.
1861 (ruby-font-lock-keywords): Move old handling of GDL...
1862 (ruby-font-lock-syntactic-keywords): .. to here.
1863 (ruby-calculate-indent): Adjust indentation for GDL.
1865 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1867 * notifications.el (top): Remove unneeded declarations.
1868 (notifications-specification-version): Change to "1.2".
1869 (notifications-interface, notifications-notify-method)
1870 (notifications-close-notification-method): Fix docstring.
1871 (notifications-get-capabilities-method): New defconst.
1872 (notifications-notify): Add :action-items, :resident and
1873 :transient hints. Change "image_data" to "image-data" and
1874 "image_path" to "image-path".
1875 (notifications-get-capabilities): New defun.
1877 2012-04-24 Leo Liu <sdl.web@gmail.com>
1879 * progmodes/python.el: Move hideshow setup to the end.
1881 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1883 * window.el (handle-select-window): Clear echo area since this is
1884 no more done by read_char (Bug#11304).
1886 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1889 and `/ M' to filter-derived-mode.
1890 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1891 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1892 (ibuffer-mark-by-mode): Use default rather than initial-input.
1893 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1895 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1897 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1898 (ibuffer-filter-by-derived-mode): New filter.
1899 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1901 2012-04-23 Andreas Politz <politza@fh-trier.de>
1903 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1905 2012-04-23 Chong Yidong <cyd@gnu.org>
1907 * cus-edit.el (customize-apropos, customize-apropos-options):
1908 Disable matching of non-option variables (Bug#11176).
1909 (customize-option, customize-option-other-window)
1910 (customize-changed-options): Doc fix.
1911 (customize-apropos-options, customize-apropos-faces)
1912 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1914 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1915 Fix word list splitting (Bug#11132).
1916 (apropos-symbol, apropos-keybinding, apropos-label)
1917 (apropos-property, apropos-function-button)
1918 (apropos-variable-button, apropos-misc-button): New faces.
1919 (apropos-symbol-face, apropos-keybinding-face)
1920 (apropos-label-face, apropos-property-face, apropos-match-face):
1921 Variables removed (Bug#8396).
1922 (apropos-library-button, apropos-format-plist, apropos-print)
1923 (apropos-print-doc, apropos-describe-plist): Callers changed.
1925 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1927 * net/xesam.el (xesam-mode-map): Use let-bound map in
1928 initialization. (Bug#11292)
1930 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1932 Preserve ispell session localwords when switching back to
1935 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1936 variable to hold buffer session localwords.
1937 (ispell-kill-ispell): add option 'clear to delete session
1939 (ispell-command-loop, ispell-change-dictionary)
1940 (ispell-buffer-local-words): Preserve session localwords when
1943 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1944 Preserve session localwords when needed.
1946 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1948 * ispell.el (ispell-insert-word) Remove unneeded function using
1949 obsolete `translation-table-for-input'.
1950 (ispell-word, ispell-process-line, ispell-complete-word):
1951 Use plain `insert' instead of removed `ispell-insert-word'.
1953 2012-04-22 Chong Yidong <cyd@gnu.org>
1955 * cus-edit.el (custom-variable-menu)
1956 (custom-variable-reset-saved, custom-face-menu)
1957 (custom-face-reset-saved): If there is no saved value, make the
1958 "reset-saved" operation bring back the default (Bug#9509).
1959 (custom-face-state): Properly detect themed faces.
1961 * faces.el (face-spec-set): Stop supporting deprecated form of
1964 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1966 Move functions from C to Lisp. Make non-blocking method calls
1967 the default. Implement further D-Bus standard interfaces.
1969 * net/dbus.el (dbus-message-internal): Declare function.
1970 Remove unneeded function declarations.
1971 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1972 (dbus-message-type-method-return, dbus-message-type-error)
1973 (dbus-message-type-signal): Declare variables. Remove local
1975 (dbus-interface-dbus, dbus-interface-peer)
1976 (dbus-interface-introspectable, dbus-interface-properties)
1977 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1979 (dbus-interface-objectmanager): New defconst.
1980 (dbus-call-method, dbus-call-method-asynchronously)
1981 (dbus-send-signal, dbus-method-return-internal)
1982 (dbus-method-error-internal, dbus-register-service)
1983 (dbus-register-signal, dbus-register-method): New defuns, moved
1985 (dbus-call-method-handler, dbus-setenv)
1986 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1988 (dbus-call-method-non-blocking): Make it an obsolete function.
1989 (dbus-unregister-object, dbus-unregister-service)
1990 (dbus-handle-event, dbus-register-property)
1991 (dbus-property-handler): Obey the new structure of
1992 `bus-registered-objects'.
1993 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1994 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1995 Use `dbus-call-method'.
1997 2012-04-22 Chong Yidong <cyd@gnu.org>
1999 * cus-edit.el (custom-commands, custom-reset-menu)
2000 (Custom-reset-standard): Tweak labels.
2001 (custom-reset-button-menu): Change default to t.
2002 (custom-buffer-create-internal): For the custom-reset-button-menu
2003 case, put the revert button first.
2004 (custom-group-subtitle): New face.
2005 (custom-group-value-create): Align docstring to a specific column.
2007 * wid-edit.el (widget-documentation-link-add): Don't handle
2008 indentation in this function.
2009 (widget-documentation-string-indent-to): New function.
2010 (widget-documentation-string-value-create): Use it.
2012 * autorevert.el (auto-revert):
2013 * epg-config.el (epg):
2014 * ibuffer.el (ibuffer):
2017 * eshell/eshell.el (eshell):
2018 * net/ange-ftp.el (ange-ftp):
2019 * progmodes/ebnf2ps.el (postscript):
2020 * progmodes/flymake.el (flymake):
2021 * progmodes/prolog.el (prolog):
2022 * progmodes/verilog-mode.el (verilog-mode):
2023 * progmodes/which-func.el (which-func):
2024 * term/xterm.el (xterm):
2025 * textmodes/picture.el (picture):
2026 * textmodes/tildify.el (tildify):
2027 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2028 customization buffers.
2030 2012-04-22 Alan Mackenzie <acm@muc.de>
2032 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2033 Adding a ) can hide the resulting (..) from searches. Fix it.
2034 Bound the backward search to the position of the existing (.
2036 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2038 * progmodes/verilog-mode.el (verilog-mode): Check whether
2039 which-func-modes is t before adding verilog-mode.
2040 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2042 2012-04-21 Leo Liu <sdl.web@gmail.com>
2044 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2046 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2048 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2049 filling of the last column of a table (Bug#5635).
2050 (woman-find-next-control-line): New arg, specifying an additional
2051 regexp component for the control line.
2052 (woman2-roff-buffer): Use it.
2053 (woman-break-table): New function.
2054 (woman2-TS): Use it.
2056 2012-04-21 Chong Yidong <cyd@gnu.org>
2058 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2059 (woman-horizontal-escapes, woman-negative-vertical-space)
2060 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2061 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2063 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * minibuffer.el (completion-file-name-table): Complete user names.
2067 2012-04-20 Leo Liu <sdl.web@gmail.com>
2069 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2072 2012-04-20 Chong Yidong <cyd@gnu.org>
2074 * server.el (server-execute): Respect initial-buffer-choice if it
2075 is a string and there are no files to open (Bug#2825).
2076 (server-create-window-system-frame, server-create-tty-frame):
2077 Don't switch buffers here.
2078 (server-process-filter): Only try to open a window system frame if
2079 compiled with graphical support (Bug#8314).
2081 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2083 * battery.el (battery-echo-area-format): Display remaining time
2084 for sysfs backend too (Bug#11269).
2085 (battery-linux-sysfs): Fix conditional for the charge.
2087 2012-04-20 Chong Yidong <cyd@gnu.org>
2089 * progmodes/gdb-mi.el (gdb): Revert previous change.
2090 (gdb-inferior-io--init-proc): New function.
2091 (gdb-init-1): Use it.
2092 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2093 responsible for allocating a new pty and hooking it to gdb when
2094 the old pty gets an EIO due to process exit.
2095 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2096 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2097 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2099 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2101 * window.el (window-min-size, window-sizable, window-min-delta)
2102 (window-max-delta, window--resizable, window-resizable)
2103 (window-total-size, window-full-height-p, window-full-width-p)
2104 (window-in-direction, window--resize-mini-window, window-resize)
2105 (window--resize-child-windows-normal)
2106 (window--resize-child-windows, window--resize-siblings)
2107 (window--resize-this-window, adjust-window-trailing-edge)
2108 (enlarge-window, shrink-window): Doc fixes.
2110 2012-04-20 Chong Yidong <cyd@gnu.org>
2112 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2113 New function to call delete-process on the gdb-inferior buffer's pty.
2114 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2115 pty process (Bug#11273).
2116 (gdb-update): New arg to suppress talking to the gdb process.
2117 (gdb-done-or-error): Use it.
2118 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2119 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2120 sentinel not being called.
2122 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2124 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2126 2012-04-20 Glenn Morris <rgm@gnu.org>
2128 * net/network-stream.el (open-network-stream): Doc fix.
2130 2012-04-20 Chong Yidong <cyd@gnu.org>
2132 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2134 2012-04-20 Alan Mackenzie <acm@muc.de>
2136 Ensure searching for keywords is case sensitive.
2138 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2139 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2140 (c-defun-name, c-mark-function, c-cpp-define-name)
2141 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2142 (c-context-line-break): Bind case-fold-search to nil.
2144 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2145 Bind case-fold-search to nil.
2147 2012-04-20 Chong Yidong <cyd@gnu.org>
2149 * mail/sendmail.el (mail-bury): Call return action with the right
2150 Rmail buffer (Bug#11242).
2152 * server.el (server-process-filter): Handle corner case where both
2153 tty and nowait options are present (Bug#11102).
2155 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2157 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2158 (top level): Put into the executable the ident-style '$Id:' tag on
2161 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2163 * electric.el (electric-indent-post-self-insert-function): Check that
2164 electric-indent-mode is enabled in current buffer.
2166 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2168 * imenu.el (imenu-progress-message): Restore; it is "used" in
2169 erc/erc-imenu.el and net/snmp-mode.el.
2171 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2173 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2174 (mouse-avoidance-nudge-mouse): Remove unused binding.
2176 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2178 * descr-text.el (describe-char):
2179 * progmodes/python.el (python-describe-symbol):
2180 Don't call `toggle-read-only', set `buffer-read-only'.
2182 * imenu.el (imenu-default-goto-function): Mark unused args.
2183 (imenu-progress-message): Remove obsolete macro; all callers changed.
2185 * subr.el (keymap-canonicalize): Remove unused binding.
2186 (read-passwd): Mark unused arg.
2188 * tutorial.el (tutorial--display-changes): Remove unused binding.
2189 (tutorial--save-tutorial-to): Remove unused variable.
2191 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2192 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2193 (package-generate-autoloads, package-menu--generate)
2194 (package-menu--find-upgrades): Remove unused bindings.
2196 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2197 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2198 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2199 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2200 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2201 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2202 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2203 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2204 (cua-delete-char-rectangle): Mark unused args.
2205 (cua-align-rectangle): Remove unused binding.
2207 * mail/rmail.el (compilation--message->loc)
2208 (epa--find-coding-system-for-mime-charset): Declare.
2210 * net/dbus.el (dbus-register-service): Declare.
2211 (dbus-name-owner-changed-handler): Remove unused binding.
2213 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2214 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2215 (nxml-scan-backward-within): Mark unused arg.
2216 (nxml-dynamic-markup-word): Remove unused binding.
2218 * mouse.el (mouse-menu-major-mode-map):
2219 * emacs-lisp/authors.el (authors-scan-change-log)
2220 (authors-add-to-author-list):
2221 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2222 * emacs-lisp/smie.el (smie-auto-fill):
2223 * mail/sendmail.el (mail-bury):
2224 * mail/unrmail.el (unrmail):
2225 * net/tls.el (open-tls-stream):
2226 * textmodes/picture.el (picture-mouse-set-point):
2227 Remove unused bindings.
2229 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2231 * net/tramp.el (tramp-action-password): Let-bind
2232 `enable-recursive-minibuffers' to t.
2234 2012-04-18 Sam Steingold <sds@gnu.org>
2236 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2237 instead of 'string to accommodate values like [f11].
2238 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2239 * progmodes/gdb-mi.el: Likewise.
2241 2012-04-18 Leo Liu <sdl.web@gmail.com>
2243 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2245 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2248 2012-04-18 Chong Yidong <cyd@gnu.org>
2250 * simple.el (line-move): Use forward-line if in batch mode
2253 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2255 * files.el (after-find-file): Do not try to add a final newline if
2256 the buffer is read-only (Bug#11156).
2258 2012-04-17 Richard Stallman <rms@gnu.org>
2260 * mail/rmail.el (rmail-start-mail):
2261 Pass (rmail-mail-return...) for the return-action.
2262 Pass (rmail-yank-current-message...) for the yank-action.
2263 (rmail-yank-current-message): New function.
2264 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2265 (rmail-reply): Likewise.
2266 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2268 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2269 buffer, not the last. Reject temp buffers. Use the rmail-mode
2272 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2274 * server.el (server-ensure-safe-dir): Simplify.
2276 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * emacs-lisp/smie.el: Provide smarter auto-filling.
2279 (smie-auto-fill): New function.
2280 (smie-setup): Use it.
2282 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2284 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2286 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2287 (comment-indent): Use it.
2289 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2291 * ses.el: The overall change is to add cell renaming, that is
2292 setting fancy names for cell symbols other than name matching
2293 "\\`[A-Z]+[0-9]+\\'" regexp .
2294 (ses-localvars): Add ses--renamed-cell-symb-list.
2295 (ses-create-cell-variable): New defun.
2296 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2297 (ses-relocate-formula): Relocate formulas only for cells the
2298 symbols of which are not renamed, i.e. symbols whose names do not
2299 match regexp "\\`[A-Z]+[0-9]+\\'".
2300 (ses-relocate-all): Relocate values only for cells the symbols of
2301 which are not renamed.
2302 (ses-load): Create cells variables as the (ses-cell ...) are read,
2303 in order to check row col consistency with cell symbol name only
2304 for cells that are not renamed.
2305 (ses-replace-name-in-formula): New defun.
2306 (ses-rename-cell): New defun.
2308 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2310 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2311 New option (bug#11118).
2312 (perl-calculate-indent): Respect it.
2314 2012-04-17 Glenn Morris <rgm@gnu.org>
2316 * dired-aux.el (dired-mark-read-string): Doc fix.
2318 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2320 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2321 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2323 2012-04-17 Glenn Morris <rgm@gnu.org>
2325 * mouse.el (mouse-drag-track):
2326 * speedbar.el (speedbar-frame-mode):
2327 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2329 2012-04-16 Leo Liu <sdl.web@gmail.com>
2331 * progmodes/python.el: Trivial cleanup.
2333 2012-04-16 Glenn Morris <rgm@gnu.org>
2335 * vc/vc.el (vc-string-prefix-p):
2336 * vc/pcvs-util.el (cvs-string-prefix-p):
2337 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2338 * mpc.el (mpc-string-prefix-p):
2339 Make all of these into obsolete aliases for string-prefix-p.
2341 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2343 * textmodes/two-column.el: Move custom options to the start.
2344 (frame-width): Remove compat definition.
2345 (2C-associate-buffer, 2C-dissociate):
2346 Use with-current-buffer rather than save-excursion.
2347 (2C-dissociate): Force a mode-line update.
2348 (2C-autoscroll): Use ignore-errors.
2350 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2353 * emacs-lisp/cl-extra.el (*random-state*):
2354 Remove unnecessary declaration.
2356 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2358 * play/cookie1.el (cookie-snarf):
2359 Give an explicit error if input file cannot be read.
2361 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2363 * progmodes/perl-mode.el (c-macro-expand):
2364 Remove unnecessary autoload (it is in loaddefs.el).
2366 * textmodes/picture.el (picture-desired-column)
2367 (picture-update-desired-column): Convert comments to doc-strings.
2368 (picture-substitute): Remove function.
2369 (picture-mode-map): Initialize in the defvar.
2371 * woman.el: Remove eval-after-load for tar-mode.
2372 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2373 (woman-tar-extract-file): Autoload it.
2375 * frame.el (automatic-hscrolling): Make this alias obsolete.
2377 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2379 * ispell.el (ispell-set-spellchecker-params): Post-process
2380 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2381 (ispell-dictionary-base-alist): Revert to original XEmacs
2382 friendly version for default. [:alpha:] will be added in
2383 `ispell-set-spellchecker-params' if needed
2385 2012-04-16 Chong Yidong <cyd@gnu.org>
2387 * image.el (imagemagick--extension-regexp): New variable.
2388 (imagemagick-register-types): Use it.
2389 (imagemagick-types-inhibit): Add :set function. Allow new value
2390 of t to inhibit all types.
2392 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2393 so we can preload it.
2395 * loadup.el (fboundp): Preload regexp-opt, needed by
2396 imagemagick-register-types.
2398 2012-04-15 Chong Yidong <cyd@gnu.org>
2400 * frame.el (scrolling): Remove nearly unused customization group.
2402 * scroll-all.el (scroll-all-mode): Move to windows group.
2404 2012-04-15 Chong Yidong <cyd@gnu.org>
2406 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2408 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2410 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2411 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2413 2012-04-15 Glenn Morris <rgm@gnu.org>
2415 * simple.el (process-file-side-effects): Doc fix.
2417 2012-04-15 Glenn Morris <rgm@gnu.org>
2419 * international/mule-cmds.el (set-language-environment): Doc fix.
2421 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2423 * server.el (server-auth-key, server-generate-key): Doc fixes.
2424 (server-get-auth-key): Doc fix. Use `string-match-p'.
2425 (server-start): Reflow docstring.
2427 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2429 * server.el (server-generate-key): `called-interactively-p'
2430 requires a parameter.
2432 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2434 * server.el (server-auth-key): New variable.
2435 (server-generate-key, server-get-auth-key): New function.
2436 (server-start): Use the new variable and functions to allow
2437 setting a permanent server key (bug#9423).
2439 2012-04-14 Leo Liu <sdl.web@gmail.com>
2441 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2443 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2446 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2447 Emacs uses American spelling.
2449 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2451 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2452 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2453 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2454 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2456 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * progmodes/which-func.el (which-func-modes): Change default.
2460 2012-04-14 Kim F. Storm <storm@cua.dk>
2462 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2463 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2465 2012-04-14 Chong Yidong <cyd@gnu.org>
2467 * custom.el (custom-theme-set-variables): Doc fix.
2469 2012-04-14 Glenn Morris <rgm@gnu.org>
2471 * international/mule.el (set-auto-coding-for-load): Doc fix.
2473 2012-04-14 Alan Mackenzie <acm@muc.de>
2475 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2476 imenu work again for Objective C Mode. Correct the *-index values,
2477 these having been disturbed by a previous change in 2011-08.
2479 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2480 Correct two search limits.
2482 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2486 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2488 * international/characters.el: Fix sorting.
2490 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2492 * international/characters.el: Add more missing Latin case pairs.
2494 2012-04-14 Glenn Morris <rgm@gnu.org>
2496 * files.el (dir-locals-set-class-variables): Doc fix.
2498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2500 * international/characters.el: Add set-case-syntax-pair call for
2501 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2502 counterpart. (Bug#11209)
2504 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2506 2012-04-14 Glenn Morris <rgm@gnu.org>
2508 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2510 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2512 * textmodes/ispell.el (ispell-dictionary-base-alist):
2513 Add data for Hebrew.
2515 2012-04-14 Chong Yidong <cyd@gnu.org>
2517 * net/rcirc.el (rcirc-cmd-quit):
2518 Revert 2012-03-18 change (Bug#11192).
2520 2012-04-14 Glenn Morris <rgm@gnu.org>
2522 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2524 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2526 * minibuffer.el (completion-in-region-mode-map):
2527 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2529 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2531 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2533 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2535 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2536 to allow `C-M-f' and `C-M-b' to move to the nearest path
2537 separator (bug#9511).
2539 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2541 * avoid.el: Require cl when compiling. And also move the
2542 `provide' to the end.
2544 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2546 * avoid.el (mouse-avoidance-banish-position): New variable.
2547 (mouse-avoidance-banish-destination): Use it (bug#10165).
2549 2012-04-13 Leo Liu <sdl.web@gmail.com>
2551 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2553 2012-04-13 Ken Brown <kbrown@cornell.edu>
2555 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2556 this is no longer needed now that cygstart understands file:// URLs.
2557 (browse-url-filename-alist): For the same reason, don't modify
2558 file:// URLs on Cygwin.
2560 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2563 the region on shift if the binding is already shifted (bug#11221).
2565 2012-04-12 Glenn Morris <rgm@gnu.org>
2567 * mail/mailpost.el: Move to obsolete/.
2569 2012-04-12 Drew Adams <drew.adams@oracle.com>
2571 * imenu.el (imenu--generic-function): Ignore invisible definitions
2574 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2576 * hexl.el (hexl-bits): New variable.
2577 (hexl-options): Mention the variable in the doc string.
2578 (hexl-rulerise, hexl-line-displen): New functions.
2579 (hexl-mode): Mention the new variable.
2580 (hexl-mode, hexl-current-address, hexl-current-address):
2582 (hexl-ascii-start-column): New function.
2583 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2584 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2586 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2588 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2589 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2590 the encoding, as expected by hunspell.
2592 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2594 * battery.el (battery--linux-sysfs-regexp): New const.
2595 (battery-status-function): Use it. Remove yeeloong special case.
2596 (battery-yeeloong-sysfs): Remove.
2597 (battery-echo-area-format): Remove yeeloong special case.
2599 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2601 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2602 Reported by Noah Friedman.
2604 * subr.el (read-passwd): Use read-string.
2606 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2608 * vcursor.el (vcursor-move): Increase the priority of the overlay
2611 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2613 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2614 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2616 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2618 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2619 define-minor-mode (bug#10760).
2621 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2623 * progmodes/grep.el (rgrep): Tweak the find command line so
2624 that directories matching `grep-find-ignored-files' won't be
2627 2012-04-11 Chong Yidong <cyd@gnu.org>
2629 * startup.el (command-line): Remove support for long-obsolete
2630 variable font-lock-face-attributes.
2632 2012-04-11 Glenn Morris <rgm@gnu.org>
2634 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2636 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * window.el (window--state-get-1): Obey window-point-insertion-type.
2640 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2642 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2643 to previous function when point is on the first character of a
2644 function. Take care of that in `narrow-to-defun' (bug#6157).
2646 2012-04-11 Glenn Morris <rgm@gnu.org>
2648 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2649 not just file-errors.
2651 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2652 (vc-bzr-sha1): Use internal sha1.
2654 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2658 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2660 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2661 that start in the middle of the line (bug#10496).
2663 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2665 * battery.el (battery-linux-proc-acpi): Only one battery is
2666 discharged at a time, but that seems to confuse battery.el when
2667 computing `rate-type' for the battery not being discharged
2670 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2674 * international/quail.el: Use dolist and simplify.
2675 (quail-define-package, quail-update-keyboard-layout)
2676 (quail-define-rules): Use dolist.
2677 (quail-insert-kbd-layout, quail-get-translation): CSE.
2679 * tmm.el: Use dolist, remove left over hook.
2680 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2682 (calendar-load-hook): Don't mess with it.
2684 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2685 Use derived-mode-p. Run the diff asynchronously.
2687 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2689 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2691 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2693 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2694 (list-dynamic-libraries--loaded): New function.
2695 (list-dynamic-libraries--refresh): Use it.
2697 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2699 * progmodes/python.el (python-fill-paragraph):
2700 Make python-fill-region in a multiline string work when font-lock is
2701 disabled (bug#7018).
2703 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2705 * language/european.el (cp775): Add oem/legacy (en)coding on
2706 DOS/MS Windows for the Baltic languages. There are still plenty
2707 of texts written in this encoding/codepage (bug#6519).
2709 2012-04-10 Glenn Morris <rgm@gnu.org>
2711 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2712 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2714 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2716 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2717 next-line "n" and previous-line "p" in order to make recentf more
2718 consistent with ibuffer, dired or org-mode (bug#9387).
2720 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2722 * image.el (put-image): Return the overlay created instead of the
2723 optional input string (bug#7834). Note that this may break code
2724 that is (for some reason or other) depending on `put-image'
2725 returning the string.
2727 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2729 * simple.el (zap-to-char): Allow zapping using input methods
2732 * textmodes/fill.el (fill-region): Leave point and mark where they
2733 were before filling (bug#5399).
2735 2012-04-09 Glenn Morris <rgm@gnu.org>
2737 * version.el (emacs-bzr-get-version):
2738 Handle lightweight checkouts of local branches.
2740 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2742 * international/characters.el: Recover lost case pairs. (Bug#11209)
2744 2012-04-09 Chong Yidong <cyd@gnu.org>
2746 * custom.el (custom-variable-p): Return nil for non-symbol
2747 arguments instead of signaling an error.
2748 (user-variable-p): Obsolete alias for custom-variable-p.
2750 * apropos.el (apropos-variable):
2751 * files-x.el (read-file-local-variable):
2752 * simple.el (set-variable):
2753 * woman.el (woman-mini-help):
2754 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2756 2012-04-09 Glenn Morris <rgm@gnu.org>
2758 * startup.el (normal-top-level): Don't look for leim-list.el
2759 in places where it will not be found. (Bug#910)
2761 * international/mule-cmds.el (set-default-coding-systems):
2762 * files.el (normal-mode):
2763 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2764 This function was removed with ucs-tables.el in 2008.
2766 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2768 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2769 ispell-encoding8-command to "-i", without a trailing space.
2770 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2771 separate command-line arguments, to specify the encoding, since
2772 that's how hunspell expects it.
2774 2012-04-08 Glenn Morris <rgm@gnu.org>
2776 * loadup.el: Load bindings before cus-start.
2777 This reduces somewhat the number of "rogue" settings in emacs -Q.
2779 2012-04-07 Glenn Morris <rgm@gnu.org>
2781 * version.el (emacs-bzr-get-version): New function.
2782 (emacs-bzr-version): New variable.
2783 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2784 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2786 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2788 * international/uni-bidi.el, international/uni-category.el:
2789 * international/uni-combining.el, international/uni-decimal.el:
2790 * international/uni-decomposition.el, international/uni-digit.el:
2791 * international/uni-lowercase.el, international/uni-mirrored.el:
2792 * international/uni-name.el, international/uni-numeric.el:
2793 * international/uni-titlecase.el, international/uni-uppercase.el:
2794 Update for Unicode 6.1.
2796 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2798 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2800 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2802 * window.el (shrink-window): Mention the `window-min-height'
2803 variable in the doc string.
2805 2012-04-05 Bastien Guerry <bzg@altern.org>
2807 * color.el (color-lighten-name): Fix typo.
2809 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * server.el (server--on-display-p): New function.
2812 (server--on-display-p): Use it.
2814 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2816 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2819 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * comint.el (comint--common-quoted-suffix): Check string boundary
2822 before comparing (bug#11158).
2823 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2825 2012-04-04 Chong Yidong <cyd@gnu.org>
2827 * minibuffer.el (completion-extra-properties): Doc fix.
2829 * subr.el (delayed-warnings-hook): Doc fix.
2831 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2833 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2834 selection (Bug#11159).
2835 (epa-insert-keys): Inform that the default public key will be
2836 exported if no key is selected.
2838 2012-04-04 Richard Stallman <rms@gnu.org>
2840 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2842 2012-04-03 Chong Yidong <cyd@gnu.org>
2844 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2845 mail-insert-file, not its obsolete alias mail-attach-file.
2847 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2849 * notifications.el (notifications-notify): Fix docstring.
2851 2012-04-02 Glenn Morris <rgm@gnu.org>
2853 * emacs-lisp/authors.el (authors-aliases): Another addition.
2855 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2857 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2858 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2859 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2861 2012-04-01 Chong Yidong <cyd@gnu.org>
2863 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2864 Handle root directory properly.
2865 (copy-directory): Caller changed.
2867 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2868 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2870 2012-03-31 Glenn Morris <rgm@gnu.org>
2872 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2874 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2876 * calendar/calendar.el (calendar-window-list)
2877 (calendar-hide-window): Restore. (Bug#11140)
2878 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2880 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2882 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2884 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2885 Check if file is a symlink (Bug#10489).
2887 * files.el (copy-directory): Likewise.
2889 2012-03-30 Chong Yidong <cyd@gnu.org>
2891 * image.el (imagemagick-types-inhibit)
2892 (imagemagick-register-types): Doc fix.
2894 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2896 * ispell.el (ispell-get-extended-character-mode):
2897 Disable extended-char-mode for hunspell. hunspell does not support it
2898 and treats ~word as ordinary words in pipe mode.
2900 2012-03-30 Glenn Morris <rgm@gnu.org>
2902 * tutorial.el (help-with-tutorial): Ensure local variables don't
2903 happen to make the buffer read-only. (Bug#11127)
2905 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2908 (perl-calculate-indent): Return `noindent' in strings.
2910 2012-03-28 Sam Steingold <sds@gnu.org>
2912 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2913 instead of the broken adhockery which does not prevent calendar
2914 buffers from being displayed at random after exit.
2915 (calendar-window-list, calendar-hide-window): Remove the broken
2918 2012-03-28 Glenn Morris <rgm@gnu.org>
2920 * replace.el (query-replace-map): Doc fix.
2922 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2924 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2925 contents. (Bug#11109)
2927 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2931 (avl-tree--check, avl-tree--check-node): New funs.
2933 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2935 * window.el (switch-to-visible-buffer): New option.
2936 (switch-to-prev-buffer, switch-to-next-buffer):
2937 Observe switch-to-visible-buffer. Make sure that checking for a window
2938 showing a buffer already is done on the same frame.
2940 2012-03-27 Glenn Morris <rgm@gnu.org>
2942 * startup.el (mail-host-address): Doc fix.
2944 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2946 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2949 2012-03-26 Ami Fischman <ami@fischman.org>
2951 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2953 2012-03-26 Glenn Morris <rgm@gnu.org>
2955 * files.el (save-buffers-kill-emacs): Doc fix.
2957 * startup.el (normal-top-level, command-line, command-line-1):
2958 Give them doc strings.
2960 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2962 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2963 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2965 2012-03-25 Chong Yidong <cyd@gnu.org>
2967 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2968 theme if it was previously enabled before (Bug#11031).
2970 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2971 spec with custom-face-get-current-spec if its :shown-value is not
2972 determined yet (Bug#9337).
2973 (customize-create-theme, custom-theme-revert): Doc fixes.
2975 * button.el (button-at): Minor addition to docstring.
2977 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2979 * vc/vc.el (vc-merge): Fix a prompt.
2981 2012-03-24 Chong Yidong <cyd@gnu.org>
2983 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2986 * button.el (button-at): Minor addition to docstring.
2988 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * newcomment.el (comment-choose-indent): No space after BOL.
2992 2012-03-22 Sam Steingold <sds@gnu.org>
2994 * window.el (switch-to-prev-buffer): Revert last patch because the
2995 bug turned out to be an advertised feature (Elisp manual 28.14).
2997 2012-03-22 Glenn Morris <rgm@gnu.org>
2999 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3000 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3002 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3004 * net/network-stream.el (network-stream-open-starttls): Make error
3005 message under Windows be less misleading.
3007 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3009 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3010 understands (bug#9942).
3012 2012-03-22 Chong Yidong <cyd@gnu.org>
3014 * simple.el (end-of-visible-line): Handle return value of
3015 next-single-property-change properly (Bug#9371).
3017 2012-03-22 Kenichi Handa <handa@m17n.org>
3019 * international/quail.el (quail-insert-kbd-layout): Fix previous
3020 change. To avoid unwanted bidi reordering, use
3021 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3023 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3025 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3026 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3027 (ruby-beginning-of-indent): Be more careful with the difference
3028 between word-boundary and symbol boundary.
3029 (ruby-mode-syntax-table): Make : a symbol constituent.
3031 2012-03-21 Andreas Politz <politza@fh-trier.de>
3033 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3035 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3037 * progmodes/etags.el (tags-completion-at-point-function):
3040 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3042 2012-03-21 Sam Steingold <sds@gnu.org>
3044 * progmodes/etags.el (tags-completion-at-point-function):
3045 Avoid the error when point is inside the pattern.
3047 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3049 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3052 2012-03-21 Drew Adams <drew.adams@oracle.com>
3054 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3056 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3058 * ido.el (ido-set-current-directory, ido-read-internal)
3059 (ido-choose-completion-string, ido-completion-help): Handle nil
3060 value of ido-completion-buffer (Bug#11008).
3062 2012-03-21 Sam Steingold <sds@gnu.org>
3064 * window.el (switch-to-prev-buffer): Do not switch to a visible
3065 window previous buffer, just like with the frame previous buffers.
3067 2012-03-21 Chong Yidong <cyd@gnu.org>
3069 * faces.el (make-face, make-empty-face, copy-face):
3070 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3073 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3076 (widget-complete): Remove broken use of it.
3078 2012-03-20 Chong Yidong <cyd@gnu.org>
3080 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3081 Use string-width and truncate-string-width to handle arbitrary
3084 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3086 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3087 to draw rectangles, not squares. (Regression introduced by revno
3088 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3090 2012-03-18 Chong Yidong <cyd@gnu.org>
3092 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3093 it is not yet defined (for temacs).
3095 2012-03-18 Leo Liu <sdl.web@gmail.com>
3097 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3099 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3101 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3102 (ispell-choices-win-default-height, ispell-silently-savep)
3103 (ispell-dictionary-alist, ispell-encoding8-command)
3104 (ispell-check-version, ispell-aspell-find-dictionary)
3105 (ispell-valid-dictionary-list, ispell-words-keyword)
3106 (ispell-get-word, ispell-internal-change-dictionary)
3107 (ispell-region, ispell-skip-region-list)
3108 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3109 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3110 (ispell-message-text-end, ispell-message)
3111 (ispell-buffer-local-parsing): Doc fix.
3113 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3115 * htmlfontify.el: Add support for code block fontification for ODT
3117 (hfy-optimisations): Define new option
3119 (hfy-fontify-buffer): Honor above setting.
3120 (hfy-begin-span, hfy-end-span): New routines factored out form
3121 `hfy-fontify-buffer'.
3122 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3123 that permit insertion of custom tags.
3124 (hfy-fontify-buffer): Use above handlers.
3125 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3126 (hfy-face-to-css): Re-defined to be a variable.
3127 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3128 over multiple runs. This is made possible by having the caller let
3129 bind a special variable `hfy-user-sheet-assoc'.
3130 (htmlfontify-string): New defun.
3131 (hfy-compile-face-map): Make sure that the last char in the
3132 buffer is correctly fontified.
3133 (hfy-face-resolve-face): Whitespace only change.
3135 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3137 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3140 2012-03-16 Leo Liu <sdl.web@gmail.com>
3142 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3144 2012-03-16 Alan Mackenzie <acm@muc.de>
3146 Further optimise the handling of large macros.
3148 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3149 limit to a call of `c-literal-limits'.
3150 (c-determine-+ve-limit): New function.
3151 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3152 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3153 In CASE 5B, restrict a search limit to 500.
3154 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3156 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3157 Restrict macro bounds to +-500 from after-change's BEG END.
3159 2012-03-16 Leo Liu <sdl.web@gmail.com>
3161 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3163 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3165 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3166 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3168 2012-03-16 Glenn Morris <rgm@gnu.org>
3170 * view.el (view-buffer, view-buffer-other-window)
3171 (view-buffer-other-frame): Doc fixes re special mode-class.
3173 * subr.el (eval-after-load): If named feature is provided not from
3174 a file, run after-load forms. (Bug#10946)
3176 * calendar/calendar.el (calendar-insert-at-column):
3177 Handle non-unit-width characters a bit better. (Bug#10978)
3179 2012-03-15 Chong Yidong <cyd@gnu.org>
3181 * emacs-lisp/ring.el (ring-extend): New function.
3182 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3184 * comint.el (comint-read-input-ring)
3185 (comint-add-to-input-history): Grow comint-input-ring lazily.
3187 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3189 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3190 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3192 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3193 (imenu-add-to-menubar): Don't add a redundant index.
3194 (imenu-update-menubar): Handle a dynamically composed keymap.
3196 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3198 * mail/sendmail.el (mail-encode-header):
3199 Bind rfc2047-encode-encoded-words to nil.
3201 2012-03-13 Glenn Morris <rgm@gnu.org>
3203 * calendar/calendar.el (calendar-string-spread):
3204 Handle non-unit-width characters a bit better. (Bug#10978)
3206 2012-03-13 Leo Liu <sdl.web@gmail.com>
3208 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3209 directory and file as argument (Bug#10822).
3211 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3213 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3214 For dynamically generated code, follow $PC.
3215 (gdb-disassembly-handler-custom): Handle no function name case.
3217 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3219 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3220 * emulation/ws-mode.el (ws-query-replace):
3221 * sort.el (sort-regexp-fields):
3222 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3224 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * dabbrev.el: Fix cycle completion order (bug#10963).
3227 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3228 (dabbrev-completion): Don't use an obarray; provide
3229 a cycle-sort-function.
3231 2012-03-12 Leo Liu <sdl.web@gmail.com>
3233 * simple.el (kill-new): Use equal-including-properties for comparison.
3234 (kill-do-not-save-duplicates): Doc fix.
3236 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * dabbrev.el: Fix cycle completion (bug#10963).
3239 Use lexical binding and wrap to 80 columns.
3240 (dabbrev-completion): Delay computing the list of completions.
3242 2012-03-12 Kenichi Handa <handa@m17n.org>
3244 * international/quail.el (quail-insert-kbd-layout): Surround each
3245 row by LRO and PDF instead of inserting many LRMs. Pad the left
3246 and right of each non-spacing marks. Insert invisible space
3247 between lower and upper characters to prevent composition.
3249 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * minibuffer.el (minibuffer-complete): Don't get confused when the
3252 function is run twice via different commands (bug#10958).
3253 (complete-with-action): Fix docstring.
3255 2012-03-12 Chong Yidong <cyd@gnu.org>
3257 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3258 (nxml-completion-at-point-function): New function.
3259 (nxml-mode): Use it.
3260 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3262 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3263 Load generated autoloads file before byte compiling (Bug#10970).
3264 (package--make-autoloads-and-compile): New helper fun.
3266 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3268 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3270 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3272 * autorevert.el (auto-revert-handler): Ensure, that
3273 file-readable-p is applied only for local files or in
3274 auto-revert-tail-mode.
3276 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3278 * server.el (server-eval-at): Handle non-tcp connections.
3279 Decode result string.
3281 * server.el (server-msg-size): New constant.
3282 (server-reply-print): New function.
3283 (server-eval-and-print): Use it.
3284 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3287 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3289 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3292 2012-03-11 Chong Yidong <cyd@gnu.org>
3294 * simple.el (goto-line): Doc fix (Bug#9938).
3296 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3298 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3299 when finished (Bug#10963).
3301 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3303 * window.el (split-window-below): Fix bug in case where
3304 split-window-keep-point is nil (Bug#10971).
3306 2012-03-11 Juri Linkov <juri@jurta.org>
3308 * replace.el (replace-highlight): Set isearch-word to nil
3309 unconditionally. (Bug#10887)
3311 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3313 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3314 mairix-replace-illegal-chars; all callers changed. Don't remove
3315 ^, ~, and = characters: they are meaningful in mairix search specs.
3316 (mairix-widget-create-query): Add usage information about mairix
3317 search forms: negating words, searching for substrings, etc.
3319 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3321 * international/fontset.el (font-encoding-alist): Add an entry for
3324 2012-03-10 Richard Stallman <rms@gnu.org>
3326 * mail/sendmail.el (mail-encode-header):
3327 Set rfc2047-encode-encoded-words.
3329 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3331 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3332 view buffer means not swapped.
3333 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3334 (rmail-write-region-annotate): Error if real text has disappeared.
3336 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3338 2012-03-10 Chong Yidong <cyd@gnu.org>
3340 * emulation/cua-rect.el (cua--init-rectangles):
3341 * emulation/cua-base.el (cua--init-keymaps):
3342 Add delete-forward-char to remappings (Bug#9666).
3344 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3346 * speedbar.el (speedbar-unhighlight-one-tag-line):
3347 Avoid unhighlighting due to frame switching (Bug#10275).
3349 2012-03-10 Chong Yidong <cyd@gnu.org>
3351 * minibuffer.el (completion-in-region, completion-help-at-point):
3352 Give the completion field overlay a high priority (Bug#6830).
3354 * dired.el (dired-goto-file): Recognize absolute file name
3355 listings (Bug#7126).
3356 (dired-goto-file-1): New helper function.
3357 (dired-toggle-read-only): Inhibit warnings.
3359 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3361 * net/dbus.el (dbus-property-handler): Return empty array if
3362 there are no properties.
3364 2012-03-09 Leo Liu <sdl.web@gmail.com>
3366 * savehist.el (savehist-printable): Stricter check for string
3369 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3371 * mail/smtpmail.el (smtpmail-send-it):
3372 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3375 2012-03-09 Glenn Morris <rgm@gnu.org>
3377 * files.el (dir-locals-find-file):
3378 Don't check result is regular, readable.
3379 (dir-locals-read-from-file): Demote errors.
3381 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3383 * international/quail.el (quail-insert-kbd-layout):
3384 Insert invisible LRM characters before each character in a keyboard
3385 layout cell, to prevent their reordering by bidi display engine.
3386 For details, see the discussion in
3387 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3389 2012-03-08 Alan Mackenzie <acm@muc.de>
3391 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3392 the starting position; make it extend the marked region when
3393 invoked repeatedly - all under appropriate circumstances.
3394 Fixes bugs #5525, #10906.
3396 2012-03-08 Glenn Morris <rgm@gnu.org>
3398 * files.el (locate-dominating-file, dir-locals-find-file):
3399 Undo 2012-03-06 change.
3401 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3403 * international/quail.el (quail-help):
3404 Force bidi-paragraph-direction be left-to-right. See discussion in
3405 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3408 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3410 Avoid superfluous registering of signals. (Bug#10807)
3412 * notifications.el (notifications-on-action-object)
3413 (notifications-on-close-object): New defvars.
3414 (notifications-on-action-signal, notifications-on-closed-signal):
3415 Unregister the signal if not needed any longer.
3416 (notifications-notify): Register `notifications-action-signal' or
3417 `notifications-closed-signal', if :on-action or :on-close has been
3420 2012-03-07 Chong Yidong <cyd@gnu.org>
3422 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3425 2012-03-06 Glenn Morris <rgm@gnu.org>
3427 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3428 (x-disown-selection-internal, x-get-selection-internal):
3429 Doc fix (add arglist signatures). (Bug#10783)
3431 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3433 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3434 Handle breakpoints with no "type".
3436 2012-03-06 Glenn Morris <rgm@gnu.org>
3438 * files.el (locate-dominating-file): Add optional predicate argument.
3439 (dir-locals-find-file): Make use of above change.
3441 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3443 * info.el (Info-insert-dir): Also try "dir.gz".
3445 2012-03-06 Glenn Morris <rgm@gnu.org>
3447 * files.el (dir-locals-find-file):
3448 Ignore non-readable or non-regular files. (Bug#10928)
3450 * files.el (locate-dominating-file): Doc fix.
3452 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3454 * calendar/calendar.el (calendar-set-mode-line):
3455 `getenv' returns a string. (Bug#10951)
3457 2012-03-05 Leo Liu <sdl.web@gmail.com>
3459 * simple.el (backward-delete-char-untabify): Constrain point to
3462 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3464 2012-03-05 Chong Yidong <cyd@gnu.org>
3466 * simple.el (count-words): If called from Lisp, return the word
3467 count, for symmetry with `count-lines'. Arglist changed.
3468 (count-words--message): Args changed. Consolidate counting code
3469 from count-words and count-words-region.
3470 (count-words-region): Caller changed.
3471 (count-lines-region): Make it an obsolete alias.
3473 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3475 * saveplace.el (save-place-to-alist)
3476 (save-place-ignore-files-regexp): Allow value nil to disable this
3479 2012-03-04 Chong Yidong <cyd@gnu.org>
3481 * faces.el (face-spec-reset-face): For the default face, reset the
3482 attributes to default values (Bug#10748).
3484 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3486 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3487 previous patch: Check `message-send-mail-function', and not the
3488 default function (bug#10897).
3490 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3492 * notifications.el (notifications-on-action-signal)
3493 (notifications-on-closed-signal): Check for unique service name of
3494 incoming event. Fix error in removing entry.
3495 (top): Register for signals with wildcard service name.
3496 (notifications-notify): Use daemon unique service name for map entries.
3498 2012-03-04 Chong Yidong <cyd@gnu.org>
3500 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3502 2012-03-04 Glenn Morris <rgm@gnu.org>
3504 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3505 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3506 (expand-abbrev, define-abbrev-table): Doc fixes.
3508 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3510 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3511 `message-default-send-mail-function' and not `send-mail-function'
3512 when doing the prompting for `sendmail-query-once' before sending
3513 in Message buffers (bug#10897).
3515 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3516 This is inconsistent with all the other stream functions, which leave
3517 the setting up to the higher levels (if so wanted) (bug#10931).
3519 2012-03-02 Alan Mackenzie <acm@muc.de>
3521 Depessimize the handling of very large macros.
3523 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3524 (c-macro-cache-syntactic): New variables to implement a one
3525 element macro cache.
3526 (c-invalidate-macro-cache): New function.
3527 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3528 Adapt to use the new cache.
3529 (c-state-safe-place): Use better the cache of safe positions.
3530 (c-state-semi-nonlit-pos-cache)
3531 (c-state-semi-nonlit-pos-cache-limit):
3532 New variables for...
3533 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3534 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3535 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3536 Use c-state-semi-safe-place.
3538 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3539 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3541 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3543 * jka-compr.el (jka-compr-call-process):
3544 Apply `file-accessible-directory-p' only when the default directory is
3547 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3549 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3550 access of FILE2, if FILE1 does not exist.
3552 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3553 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3555 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3556 Add "PAGER=" to `process-environment'.
3558 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3560 * progmodes/sql.el: Bug fix
3561 (sql-get-login-ext): Save login values in globals.
3562 (sql-get-login): Use new version of `sql-get-login-ext'.
3563 (sql-interactive-mode): Set global `sql-connection' to nil.
3564 (sql-connect): Set global values for connection.
3565 (sql-product-interactive): Save global values as buffer local.
3567 2012-02-29 Leo Liu <sdl.web@gmail.com>
3569 * abbrev.el (define-abbrevs): Reset sys to nil.
3571 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3573 * files.el (file-equal-p): Rename from `files-equal-p'.
3574 Return nil when one or both files don't exist.
3575 (file-subdir-of-p): Now only top directory must exists,
3576 return nil if it doesn't.
3577 (copy-directory): No need to test with `file-subdir-of-p' after
3579 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3582 2012-02-28 Glenn Morris <rgm@gnu.org>
3584 * shell.el (shell-mode):
3585 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3586 * play/landmark.el (landmark-font-lock-face-O):
3587 * play/handwrite.el (handwrite):
3588 * play/gomoku.el (gomoku-O):
3589 * net/browse-url.el (browse-url-browser-display):
3590 * international/mule.el (define-charset):
3591 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3592 * filesets.el (filesets-find-file-delay):
3593 * eshell/em-xtra.el (eshell-xtra):
3594 * eshell/em-unix.el (eshell-grep):
3595 * emulation/viper.el (viper-mode):
3596 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3597 * emacs-lisp/easymenu.el (easy-menu-define):
3598 * calendar/timeclock.el (timeclock-use-display-time):
3600 * bookmark.el (bookmark-save-flag):
3601 Doc fix (standardize possessive apostrophe usage).
3603 2012-02-27 Chong Yidong <cyd@gnu.org>
3605 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3606 Fix key-binding lookup for ESC key (Bug#9146).
3608 * font-lock.el (font-lock-specified-p): Rename from
3609 font-lock-spec-present. Callers changed.
3611 2012-02-27 Daniel Hackney <dan@haxney.org>
3613 * emacs-lisp/package.el (package-compute-transaction):
3614 Handle holding a package version to t in package-load-list.
3616 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3618 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3619 (tramp-get-inode, tramp-get-device): Use cached values.
3621 2012-02-26 Alan Mackenzie <acm@muc.de>
3623 Check there is a font-lock specification before doing initial
3626 * font-core.el (font-lock-mode): Move the conditional from
3627 :after-hook to font-lock-initial-fontify.
3628 (font-lock-default-function): Move the check for a specification
3629 to font-lock-spec-present.
3631 * font-lock.el (font-lock-initial-fontify): Call ...
3632 (font-lock-spec-present): New function.
3634 2012-02-26 Jim Blandy <jimb@red-bean.com>
3636 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3637 (gdb-send): Apply it to the operand of the '-interpreter-exec
3638 console' command, so that we can pass arguments with (say) quotes
3639 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3641 2012-02-26 Chong Yidong <cyd@gnu.org>
3643 * help-fns.el (describe-function-1): Clarify description of
3644 remapping (Bug#10844).
3646 * files.el (files-equal-p): Doc fix.
3647 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3648 and quit the loop once a mismatch is found.
3650 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3652 * bs.el (bs--show-with-configuration): Don't throw an error
3653 if the window cannot be split; otherwise, subsequent calls to
3654 bs-show fail, restoring a stale window config. (Bug#10882)
3656 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3658 * term/ns-win.el (global-map): Bind ns-drag-file to
3659 ns-find-file (Bug#5855, Bug#10050).
3661 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3663 * calendar/parse-time.el (parse-time-string): Allow extractor to
3666 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp.el (tramp-file-name-for-operation):
3669 Add `files-equal-p' and `file-subdir-of-p'.
3671 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3672 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3673 Add COPY-CONTENTS argument.
3675 2012-02-25 Chong Yidong <cyd@gnu.org>
3677 Add custom groups for VC backends, for consistency with vc-bzr.
3679 * vc/vc-arch.el (vc-arch):
3680 * vc/vc-cvs.el (vc-cvs):
3681 * vc/vc-git.el (vc-git):
3682 * vc/vc-hg.el (vc-hg):
3683 * vc/vc-mtn.el (vc-mtn):
3684 * vc/vc-rcs.el (vc-rcs):
3685 * vc/vc-sccs.el (vc-sccs):
3686 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3687 All relevant defcustoms reassigned.
3689 2012-02-25 Chong Yidong <cyd@gnu.org>
3691 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3693 * term/x-win.el (x-initialize-window-system): Reduce default for
3694 x-selection-timeout to 5 seconds (Bug#8869).
3696 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3698 * files.el (files-equal-p, file-subdir-of-p): New functions.
3699 (copy-directory): Error when trying to copy a directory on itself.
3700 Add missing copy-contents arg to tramp handler.
3701 * dired-aux.el (dired-copy-file-recursive): Same.
3702 (dired-create-files): Modify destination when source is equal to
3703 dest when copying files.
3704 Return also when dest is a subdir of source. (Bug#10489)
3706 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3708 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3711 2012-02-23 Alan Mackenzie <acm@muc.de>
3713 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3714 parameter "after-hook:" to allow the expansion to run code after
3715 the execution of the mode hooks.
3717 * font-lock.el (font-lock-initial-fontify): New function extracted
3718 from font-lock-mode-internal.
3720 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3723 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3725 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3726 (completion--cache-all-sorted-completions): New function.
3727 (completion-all-sorted-completions): Use it.
3728 (completion--do-completion, minibuffer-force-complete):
3729 Use it to re-instate the flush hook.
3731 * icomplete.el (icomplete-completions): Replace last fix with a better
3734 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3736 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3737 when it might call us back infinitely (bug#10797).
3739 2012-02-23 Glenn Morris <rgm@gnu.org>
3741 * minibuffer.el (completion-category-overrides): Doc fix.
3743 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3746 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3748 2012-02-23 Glenn Morris <rgm@gnu.org>
3750 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3751 (authors-obsolete-files-regexps, authors-ignored-files)
3752 (authors-ambiguous-files, authors-renamed-files-alist):
3755 2012-02-23 Juri Linkov <juri@jurta.org>
3757 * isearch.el (isearch-occur): Sync interactive spec with occur's
3758 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3760 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3762 2012-02-22 Juri Linkov <juri@jurta.org>
3764 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3765 (ucs-insert): Doc fix. Check for hex digits in the string.
3766 Don't display `nil' in the error message. (Bug#10857)
3768 2012-02-22 Alan Mackenzie <acm@muc.de>
3770 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3772 2012-02-22 Glenn Morris <rgm@gnu.org>
3774 * ffap.el (ffap-c-path):
3775 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3777 2012-02-22 Chong Yidong <cyd@gnu.org>
3779 * custom.el (load-theme): Doc fix.
3781 2012-02-22 Glenn Morris <rgm@gnu.org>
3783 * dired-x.el (dired-guess-shell-alist-default):
3784 Remove escape sequences from nroff output. (Bug#172)
3786 2012-02-21 Glenn Morris <rgm@gnu.org>
3788 * vc/emerge.el (emerge-defvar-local):
3789 Set `permanent-local' property rather than unused `preserved'.
3791 * textmodes/picture.el (picture-delete-char): New alias.
3792 (picture-mode-map): Use it. (Bug#10860)
3793 (picture-mode): Doc fix.
3795 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3797 * newcomment.el (uncomment-region-default): Remove unused binding.
3799 2012-02-21 Glenn Morris <rgm@gnu.org>
3801 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3802 (picture-self-insert, picture-tab-chars): Doc fix.
3803 (picture-mode-map): Fix C-a, C-e.
3805 2012-02-20 Glenn Morris <rgm@gnu.org>
3807 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3809 2012-02-20 Leo Liu <sdl.web@gmail.com>
3811 * icomplete.el (icomplete-completions): Check FROM arg before
3812 passing to substring (Bug#10850).
3814 2012-02-19 Chong Yidong <cyd@gnu.org>
3816 * comint.el: Require ansi-color.
3817 (comint-output-filter-functions): Add ansi-color-process-output.
3819 * ansi-color.el: Don't set comint-output-filter-functions; it is
3820 now in the initial value defined in comint.el.
3821 (ansi-color-apply-face-function): New variable.
3822 (ansi-color-apply-on-region): Use it.
3823 (ansi-color-apply-overlay-face): New function.
3825 * shell.el (shell): No need to require ansi-color.
3826 (shell-mode): Use ansi-color-apply-face-function to highlight
3827 color escapes using font-lock-face property (Bug#10835).
3829 2012-02-19 Chong Yidong <cyd@gnu.org>
3831 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3832 mode-line formats (Bug#10839).
3834 2012-02-18 Glenn Morris <rgm@gnu.org>
3836 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3838 * mail/undigest.el (unforward-rmail-message): Doc fix.
3840 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3842 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3844 * international/characters.el (script-list): Sync with the latest
3845 Unicode Character Database.
3847 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3849 * international/titdic-cnv.el: Remove duplicate coding tag.
3850 * language/cham.el: Likewise.
3851 * language/tai-viet.el: Likewise.
3853 2012-02-18 Glenn Morris <rgm@gnu.org>
3855 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3856 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3857 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3858 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3859 * calendar/holidays.el (holiday-bahai-holidays)
3860 (calendar-holidays, list-holidays):
3861 Use utf-8 Bahá'í in doc-strings, menus, etc.
3863 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3865 * saveplace.el (save-place-ignore-files-regexp): New variable
3866 allowing for excluding files from saving their location of point.
3867 The default value matches the temporary commit message editing
3868 files from Git, SVN, Bazaar, and Mercurial.
3869 (save-place-to-alist): Use it.
3871 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3872 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * newcomment.el (uncomment-region-default): Don't leave extra space
3875 when an arg is provided (bug#8150).
3877 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3879 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3881 2012-02-17 Glenn Morris <rgm@gnu.org>
3883 * net/socks.el: Require network-stream. (Bug#10599)
3885 2012-02-17 Kenichi Handa <handa@m17n.org>
3887 * international/charprop.el:
3888 * international/uni-name.el:
3889 * international/uni-old-name.el:
3890 * international/uni-comment.el: Regenerate.
3892 2012-02-16 Glenn Morris <rgm@gnu.org>
3894 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3895 Interactively in calendar buffer, give an error if not on a date.
3897 2012-02-15 Glenn Morris <rgm@gnu.org>
3899 * shell.el (shell-delimiter-argument-list):
3900 Revert 2011-02-17 change. (Bug#8027)
3902 2012-02-15 Chong Yidong <cyd@gnu.org>
3904 * minibuffer.el (completion-at-point-functions): Doc fix.
3906 * custom.el (defcustom): Doc fix; note use of defvar.
3908 2012-02-15 Glenn Morris <rgm@gnu.org>
3910 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3913 2012-02-14 Glenn Morris <rgm@gnu.org>
3915 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3917 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3919 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3920 way the ports list is computed.
3921 (smtpmail-query-smtp-server): Prompt the user for a port number if
3922 we can't connect to any of the standard ports (bug#10810).
3924 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3926 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3928 2012-02-13 Glenn Morris <rgm@gnu.org>
3930 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3932 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3934 * net/gnutls.el (gnutls-trustfiles): New variable.
3935 (gnutls-negotiate): Use it.
3937 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3939 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3940 does its stuff if Gnus is running.
3942 2012-02-13 Alan Mackenzie <acm@muc.de>
3944 Fix a loop in c-set-fl-decl-start.
3946 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3947 c-backward-syntactic-ws actually moves backwards.
3949 2012-02-13 Leo Liu <sdl.web@gmail.com>
3951 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3952 beginning so that all \C-o chars are removed.
3954 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3956 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3958 2012-02-12 Alan Mackenzie <acm@muc.de>
3960 Fix infinite loop with long macros.
3961 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3963 2012-02-12 Chong Yidong <cyd@gnu.org>
3965 * window.el (display-buffer): Doc fix (Bug#10785).
3967 2012-02-12 Glenn Morris <rgm@gnu.org>
3969 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3970 (x-disown-selection-internal, x-get-selection-internal):
3971 Sync docs with the xselect.c versions.
3973 * allout-widgets.el: Add missing license notice.
3975 2012-02-11 Glenn Morris <rgm@gnu.org>
3977 * select.el (x-get-selection-internal, x-own-selection-internal)
3978 (x-disown-selection-internal):
3979 * x-dnd.el (x-get-selection-internal): Update declarations.
3981 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3983 * window.el (window-sides-slots):
3984 * tool-bar.el (tool-bar-position):
3985 * term/xterm.el (xterm-extra-capabilities):
3986 * ses.el (ses-self-reference-early-detection):
3987 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3988 (verilog-auto-wire-type)
3989 (verilog-auto-delete-trailing-whitespace)
3990 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3991 (verilog-auto-tieoff-declaration):
3992 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3993 (sql-oracle-statement-starters, sql-oracle-scan-on):
3994 * progmodes/prolog.el (prolog-align-comments-flag)
3995 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3996 (prolog-left-indent-regexp, prolog-paren-indent-p)
3997 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3998 (prolog-types, prolog-mode-specificators)
3999 (prolog-determinism-specificators, prolog-directives)
4000 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4001 (prolog-electric-dot-flag)
4002 (prolog-electric-dot-full-predicate-template)
4003 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4004 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4005 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4006 (prolog-program-switches, prolog-prompt-regexp)
4007 (prolog-debug-on-string, prolog-debug-off-string)
4008 (prolog-trace-on-string, prolog-trace-off-string)
4009 (prolog-zip-on-string, prolog-zip-off-string)
4010 (prolog-use-standard-consult-compile-method-flag)
4011 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4012 (prolog-imenu-max-lines, prolog-info-predicate-index)
4013 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4014 (prolog-char-quote-workaround):
4015 * progmodes/cc-vars.el (c-defun-tactic):
4016 * net/tramp.el (tramp-encoding-command-interactive)
4017 (tramp-local-end-of-line):
4018 * net/soap-client.el (soap-client):
4019 * net/netrc.el (netrc-file):
4020 * net/gnutls.el (gnutls):
4021 * minibuffer.el (completion-category-overrides)
4022 (completion-cycle-threshold)
4023 (completion-pcm-complete-word-inserts-delimiters):
4024 * man.el (Man-name-local-regexp):
4025 * mail/feedmail.el (feedmail-display-full-frame):
4026 * international/characters.el (glyphless-char-display-control):
4027 * eshell/em-ls.el (eshell-ls-date-format):
4028 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4029 (lisp-lambda-list-keyword-parameter-indentation)
4030 (lisp-lambda-list-keyword-parameter-alignment):
4031 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4032 * dired-x.el (dired-omit-verbose):
4033 * cus-theme.el (custom-theme-allow-multiple-selections):
4034 * calc/calc.el (calc-highlight-selections-with-faces)
4035 (calc-lu-field-reference, calc-lu-power-reference)
4036 (calc-note-threshold):
4037 * battery.el (battery-mode-line-limit):
4038 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4039 (archive-7z-update):
4040 * allout.el (allout-prefixed-keybindings)
4041 (allout-unprefixed-keybindings)
4042 (allout-inhibit-auto-fill-on-headline)
4043 (allout-flattened-numbering-abbreviation):
4044 * allout-widgets.el (allout-widgets-auto-activation)
4045 (allout-widgets-icons-dark-subdir)
4046 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4047 (allout-widgets-theme-dark-background)
4048 (allout-widgets-theme-light-background)
4049 (allout-widgets-item-image-properties-emacs)
4050 (allout-widgets-item-image-properties-xemacs)
4051 (allout-widgets-run-unit-tests-on-load)
4052 (allout-widgets-time-decoration-activity)
4053 (allout-widgets-hook-error-post-time)
4054 (allout-widgets-track-decoration):
4055 Add missing :version tags to new defcustoms and defgroups.
4057 * progmodes/sql.el (sql-ansi-statement-starters)
4058 (sql-oracle-statement-starters): Add custom type.
4060 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4061 (prolog-system-version): Give it a type.
4063 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4065 * term/pc-win.el (x-select-text, x-selection-owner-p)
4066 (x-own-selection-internal, x-disown-selection-internal)
4067 (x-get-selection-internal): Sync doc strings and argument lists
4068 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4070 2012-02-11 Leo Liu <sdl.web@gmail.com>
4072 * progmodes/python.el (python-end-of-statement): Fix infinite
4075 2012-02-10 Glenn Morris <rgm@gnu.org>
4077 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4078 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4080 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4082 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4083 about SMTP before checking the From header.
4085 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4086 into own function for reuse by emacsbug.el.
4088 2012-02-10 Leo Liu <sdl.web@gmail.com>
4090 * subr.el (condition-case-unless-debug): Rename from
4091 condition-case-no-debug. All callers changed.
4092 (with-demoted-errors): Fix caller.
4094 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4095 * nxml/rng-valid.el (rng-do-some-validation):
4096 * emacs-lisp/package.el (package-refresh-contents)
4097 (package-menu-execute):
4098 * desktop.el (desktop-create-buffer):
4099 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4101 2012-02-10 Glenn Morris <rgm@gnu.org>
4103 * textmodes/bibtex.el:
4104 Add missing :version tags for new/changed defcustoms.
4106 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4108 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4110 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4111 (smtpmail-via-smtp): Use it, or fall back on the From address.
4112 (smtpmail-send-it): Ditto.
4114 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4116 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4117 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4118 (byte-compile-tmp-var): New const.
4119 (byte-compile-defvar): Use it to minimize .elc size.
4120 Just use `defvar' rather than simulate it (bug#10761).
4122 2012-02-09 Glenn Morris <rgm@gnu.org>
4124 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4126 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4129 * progmodes/compile.el (compilation-error-screen-columns)
4130 (compilation-first-column, compilation-filter-start): Doc fixes.
4132 * vc/log-view.el (log-view-toggle-entry-display):
4133 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4135 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4136 (report-emacs-bug-can-use-xdg-email):
4137 (report-emacs-bug-insert-to-mailer): Doc fixes.
4138 (report-emacs-bug): Message fix.
4140 * net/browse-url.el (browse-url-can-use-xdg-open)
4141 (browse-url-xdg-open): Doc fixes.
4143 * electric.el (electric-indent-mode, electric-pair-mode)
4144 (electric-layout-rules, electric-layout-mode): Doc fixes.
4145 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4147 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4149 * server.el (server-unselect-display): Don't inadvertently kill
4150 the current buffer. (Bug#10729)
4152 2012-02-08 Glenn Morris <rgm@gnu.org>
4154 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4155 (sql-list-table): Doc fixes.
4157 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4158 Comment out (does nothing).
4160 * completion.el (dynamic-completion-mode):
4161 * dirtrack.el (dirtrack-debug-mode):
4162 * electric.el (electric-layout-mode):
4163 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4164 * face-remap.el (text-scale-mode, buffer-face-mode):
4165 * iimage.el (iimage-mode):
4166 * image-mode.el (image-transform-mode):
4167 * minibuffer.el (completion-in-region-mode):
4168 * scroll-lock.el (scroll-lock-mode):
4169 * simple.el (next-error-follow-minor-mode):
4170 * tar-mode.el (tar-subfile-mode):
4171 * tooltip.el (tooltip-mode):
4172 * vcursor.el (vcursor-use-vcursor-map):
4173 * wid-browse.el (widget-minor-mode):
4174 * emulation/tpu-edt.el (tpu-edt-mode):
4175 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4176 * international/iso-ascii.el (iso-ascii-mode):
4177 * language/thai-util.el (thai-word-mode):
4178 * mail/supercite.el (sc-minor-mode):
4179 * net/goto-addr.el (goto-address-mode):
4180 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4181 * progmodes/cwarn.el (cwarn-mode):
4182 * progmodes/flymake.el (flymake-mode):
4183 * progmodes/glasses.el (glasses-mode):
4184 * progmodes/hideshow.el (hs-minor-mode):
4185 * progmodes/pascal.el (pascal-outline-mode):
4186 * textmodes/enriched.el (enriched-mode):
4187 * vc/smerge-mode.el (smerge-mode):
4188 Doc fixes (minor mode argument).
4190 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4192 * ls-lisp.el (ls-lisp-sanitize): New function.
4193 (ls-lisp-insert-directory): Use it to fix or remove any elements
4194 in file-alist with missing attributes. (Bug#4673)
4196 2012-02-07 Alan Mackenzie <acm@muc.de>
4198 Fix spurious recognition of c-in-knr-argdecl.
4200 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4201 putative K&R region.
4203 2012-02-07 Alan Mackenzie <acm@muc.de>
4205 * progmodes/cc-engine.el (c-forward-objc-directive):
4206 Prevent looping in "#pragma mark @implementation".
4208 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4210 * notifications.el (notifications-on-closed-signal): Make `reason'
4211 optional. (Bug#10744)
4213 2012-02-07 Glenn Morris <rgm@gnu.org>
4215 * emacs-lisp/easy-mmode.el (define-minor-mode):
4216 Doc fixes for the macro and the mode it defines.
4218 * image.el (imagemagick-types-inhibit): Doc fix.
4220 * cus-start.el (imagemagick-render-type): Add it.
4222 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4224 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4225 Set the default at load time, too, so that `font-lock-fontify-buffer'
4226 can be called without setting up the entire mode first. This fixes
4227 a bug in `mm-inline-text' with C MIME parts.
4229 2012-02-06 Chong Yidong <cyd@gnu.org>
4231 * simple.el (list-processes--refresh): Delete exited processes
4234 * comint.el (comint-next-prompt): next-single-char-property-change
4235 and prev-single-char-property-change never return nil (Bug#8657).
4237 * custom.el (defcustom): Doc fix (Bug#9711).
4239 2012-02-05 Chong Yidong <cyd@gnu.org>
4241 * cus-edit.el (custom-variable-reset-backup): Quote the value
4242 before storing it in the customized-value property (Bug#6712).
4243 (custom-display): Add a customization type tag.
4244 (custom-buffer-create-internal): Improve tooltip message.
4246 * wid-edit.el (widget-field-value-get): New optional arg to
4247 suppress trailing whitespace truncation.
4248 (character): Use it (Bug#2689).
4250 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4252 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4253 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4255 2012-02-05 Chong Yidong <cyd@gnu.org>
4257 * cus-edit.el (custom-variable-value-create): For mismatched
4258 types, show the current value (Bug#7600).
4260 * custom.el (defcustom): Doc fix.
4262 2012-02-05 Glenn Morris <rgm@gnu.org>
4264 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4266 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4268 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4269 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4270 (pp-last-sexp): Use `looking-at-p'.
4272 2012-02-04 Glenn Morris <rgm@gnu.org>
4274 * files.el (revert-buffer):
4275 Doc fix (mention revert-buffer-in-progress-p).
4277 * emacs-lisp/ert-x.el (ert-simulate-command):
4278 Check deferred-action-list (which is obsolete) is bound.
4280 * subr.el (with-wrapper-hook): Doc fixes.
4282 * simple.el (filter-buffer-substring-functions)
4283 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4285 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4287 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4288 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4290 2012-02-04 Leo Liu <sdl.web@gmail.com>
4292 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4294 2012-02-04 Glenn Morris <rgm@gnu.org>
4296 * image.el (image-extension-data): Add obsolete alias.
4298 * isearch.el (isearch-update): Doc fix.
4300 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4302 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4304 2012-02-03 Glenn Morris <rgm@gnu.org>
4306 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4307 (image-animate-timeout): Doc fix.
4309 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4311 2012-02-02 Glenn Morris <rgm@gnu.org>
4313 * server.el (server-auth-dir): Doc fix.
4314 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4316 * subr.el (run-mode-hooks): Doc fix.
4318 2012-02-02 Juri Linkov <juri@jurta.org>
4320 * image-mode.el (image-toggle-display-image): Remove tautological
4321 `major-mode' from the `derived-mode-p' test.
4323 2012-02-02 Kenichi Handa <handa@m17n.org>
4325 * composite.el (compose-region): Cancel previous change.
4327 2012-02-02 Kenichi Handa <handa@m17n.org>
4329 * composite.el (compose-region, compose-string): Signal error for
4330 a null string component (Bug#6988).
4332 2012-02-01 Chong Yidong <cyd@gnu.org>
4334 * view.el (view-buffer-other-window, view-buffer-other-frame):
4335 Handle special modes like view-buffer (Bug#10650).
4336 (view-buffer): Simplify.
4338 * frame.el (set-frame-font): Tweak meaning of third argument.
4340 * dynamic-setting.el (font-setting-change-default-font):
4341 Use set-frame-font (Bug#9982).
4343 2012-02-01 Glenn Morris <rgm@gnu.org>
4345 * progmodes/compile.el (compilation-internal-error-properties):
4346 Respect compilation-first-column in the "*compilation*" buffer.
4348 * emacs-lisp/easy-mmode.el (define-minor-mode):
4349 Relax :variable's test for a named function.
4351 2012-01-31 Alan Mackenzie <acm@muc.de>
4353 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4356 2012-01-31 Chong Yidong <cyd@gnu.org>
4358 * frame.el (set-frame-font): New arg ALL-FRAMES.
4360 * menu-bar.el (menu-set-font): Use set-frame-font.
4362 * faces.el (face-spec-reset-face): Don't apply unspecified
4363 attribute values to the default face.
4365 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4367 * progmodes/cwarn.el (cwarn): Remove dead link.
4368 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4369 Remove * from defcustom docstrings.
4370 (turn-on-cwarn-mode): Make obsolete.
4371 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4372 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4374 2012-01-31 Glenn Morris <rgm@gnu.org>
4376 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4377 Fix :variable handling of mode a symbol not equal to modefun.
4378 Allow named functions to be used as the cdr of :variable.
4380 2012-01-30 Glenn Morris <rgm@gnu.org>
4382 * emacs-lisp/authors.el (authors-fixed-entries):
4383 Remove reference to deleted file rnewspost.el.
4385 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4387 * window.el (window-with-parameter): Remove unused variable `windows'.
4388 (window--side-check): Remove unused variable `code'.
4389 (window--resize-siblings): Remove unused variable `first'.
4390 (adjust-window-trailing-edge): Remove unused variable `failed'.
4391 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4392 Use `let', not `let*'.
4393 (balance-windows-2): Remove unused variable `found'.
4394 (window--state-put-2): Remove unused variable `splits'.
4395 (window-state-put): Remove unused variable `selected'.
4396 (same-window-p): Use `string-match-p'.
4397 (display-buffer-assq-regexp): Remove unused variable `value'.
4398 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4399 Mark argument ALIST as ignored.
4400 (pop-to-buffer): Remove unused variable `old-window'.
4402 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4404 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4405 and .lzma compressed files.
4407 2012-01-29 Chong Yidong <cyd@gnu.org>
4409 * frame.el (window-system-default-frame-alist): Doc fix.
4411 * dynamic-setting.el (font-setting-change-default-font): Don't
4412 change the default face if SET-FONT argument is non-nil (Bug#9982).
4414 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4416 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4418 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4420 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4421 breakpoints in files outside current directory (Bug#6098).
4423 2012-01-29 Chong Yidong <cyd@gnu.org>
4425 * progmodes/python.el: Require ansi-color at top-level.
4427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4428 Define and use in Emacs Lisp mode (Bug#9360).
4429 (lisp-mode-abbrev-table): Add doc.
4430 (lisp-mode-variables): Don't set local-abbrev-table.
4431 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4433 2012-01-28 Roland Winkler <winkler@gnu.org>
4435 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4437 2012-01-28 Roland Winkler <winkler@gnu.org>
4439 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4440 (bibtex-set-dialect): Use it. Either set global values of
4441 dialect-dependent variables or bind these variables buffer-locally
4443 (bibtex-mode): Call bibtex-set-dialect via
4444 hack-local-variables-hook.
4445 (bibtex-dialect): Update docstring.
4446 Add safe-local-variable predicate.
4447 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4449 (bibtex-mode-map): Define menu for each dialect.
4450 (bibtex-entry): Fix docstring.
4452 2012-01-28 Chong Yidong <cyd@gnu.org>
4454 * eshell/esh-arg.el (eshell-quote-argument): New function.
4456 * eshell/esh-ext.el (eshell-invoke-batch-file):
4457 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4458 first arg to eshell-parse-command (Bug#10523).
4460 2012-01-28 Drew Adams <drew.adams@oracle.com>
4462 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4463 `default-directory' is non-nil.
4465 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4467 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4468 line that displays system-configuration-options. (Bug#9924)
4470 2012-01-28 Drew Adams <drew.adams@oracle.com>
4472 * descr-text.el (describe-char): Show information about POS, in
4473 addition to information about the character at POS. Improve and
4474 update the doc string. Change "code point" to "code point in
4475 charset", to avoid confusion with the character's Unicode code
4476 point shown above that. (Bug#10129)
4478 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4480 * descr-text.el (describe-char): Show the raw character, not only
4481 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4482 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4485 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4487 * emacs-lisp/package.el (package-install):
4488 Run package-refresh-contents if there is no archive yet (Bug#9798).
4490 2012-01-28 Chong Yidong <cyd@gnu.org>
4492 * emacs-lisp/package.el (package-maybe-load-descriptor):
4493 New function, split from package-maybe-load-descriptor.
4494 (package-maybe-load-descriptor): Use it.
4495 (package-download-transaction): Fully load required packages
4496 inside the loop, so that `require' calls work (Bug#10593).
4497 (package-install): No need to call package-initialize now.
4499 2012-01-28 Chong Yidong <cyd@gnu.org>
4501 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4503 * tooltip.el (tooltip-mode): Doc fix.
4504 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4506 * frame.el (set-cursor-color): Doc fix (Bug#352).
4508 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4509 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4511 * cus-edit.el (custom-buffer-create-internal): Fix search button
4513 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4515 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4517 * dired.el (dired-mark-files-regexp):
4518 Include any subdirectory components. (Bug#10445)
4520 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4522 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4523 Handle [host]:port syntax. (Bug#10533)
4525 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4527 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4529 2012-01-26 Glenn Morris <rgm@gnu.org>
4531 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4532 * term.el (term-raw-escape-map): Use Control-X-prefix.
4533 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4535 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4537 * window.el (window-state-get, window--state-get-1): Don't deal
4538 with fixed-sizeness of windows. Simplify code.
4540 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4542 * window.el (window--state-get-1, window--state-put-2):
4543 Don't save and restore the mark.
4545 2012-01-25 Chong Yidong <cyd@gnu.org>
4547 * custom.el (custom-variable-p): Doc fix.
4549 2012-01-25 Glenn Morris <rgm@gnu.org>
4551 * dired.el (dired-goto-file): Handle some of the more common
4552 characters that `ls -b' escapes. (Bug#10596)
4554 * progmodes/compile.el (compilation-next-error-function):
4555 Respect compilation-first-column in the "*compilation*" buffer.
4556 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4558 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4560 2012-01-24 Glenn Morris <rgm@gnu.org>
4562 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4564 2012-01-24 Julien Danjou <julien@danjou.info>
4566 * color.el (color-rgb-to-hsl): Fix value computing.
4567 (color-hue-to-rgb): New function.
4568 (color-hsl-to-rgb): New function.
4569 (color-clamp, color-saturate-hsl, color-saturate-name)
4570 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4571 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4573 2012-01-24 Glenn Morris <rgm@gnu.org>
4575 * vc/vc-rcs.el (vc-rcs-create-tag):
4576 * vc/vc-sccs.el (vc-sccs-create-tag):
4577 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4579 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4581 * eshell/esh-util.el (eshell-read-hosts-file):
4582 Skip comment lines. (Bug#10549)
4584 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4586 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4588 * subr.el (display-delayed-warnings): Doc fix.
4589 (collapse-delayed-warnings): New function to collapse identical
4591 (delayed-warnings-hook): Add it.
4593 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4595 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4597 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4598 properties, when "login-as" is set.
4600 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4601 (tramp-default-user-alist): Don't add "pscp".
4602 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4603 property "login-as", if set. (Bug#10530)
4605 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4607 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4608 "plink1" and "psftp". (Bug#10530)
4610 2012-01-21 Kenichi Handa <handa@m17n.org>
4612 * international/mule-cmds.el (prefer-coding-system): Show a
4613 warning message if the default value of file-name-coding-system
4616 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4618 * windmove.el (windmove-reference-loc):
4619 Fix windmove-reference-loc miscalculation.
4621 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4623 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4626 2012-01-21 Glenn Morris <rgm@gnu.org>
4628 * international/mule.el (auto-coding-alist): Add .tbz.
4630 * files.el (local-enable-local-variables): Doc fix.
4631 (inhibit-local-variables-regexps): Rename from
4632 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4633 Doc fix. Add some extensions from auto-coding-alist.
4634 (inhibit-local-variables-suffixes):
4635 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4636 (inhibit-local-variables-p):
4637 New function, extracted from set-auto-mode-1.
4638 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4639 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4640 (hack-local-variables): Doc fix. Make the mode-only case
4641 respect enable-local-variables and friends.
4642 Respect inhibit-local-variables-regexps for file-locals, but
4643 not for directory-locals.
4644 (set-visited-file-name):
4645 Take account of inhibit-local-variables-regexps.
4646 Whether it applies may change as the file name is changed.
4647 * jka-cmpr-hook.el (jka-compr-install):
4648 * jka-compr.el (jka-compr-uninstall):
4649 Update for inhibit-first-line-modes-suffixes name change.
4651 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4653 * help-macro.el (make-help-screen): Temporarily restore original
4654 binding for minor-mode-map-alist (Bug#10454).
4656 2012-01-19 Julien Danjou <julien@danjou.info>
4658 * color.el (color-name-to-rgb): Use the white color to find the max
4659 color component value and return correctly computed values.
4660 (color-name-to-rgb): Add missing float conversion for max value.
4662 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4664 * window.el (window--state-get-1, window-state-get): Do not use
4665 special state value for window-persistent-parameters.
4666 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4667 (window--state-put-2): Reset all window parameters to nil before
4668 assigning values of persistent parameters.
4670 2012-01-18 Alan Mackenzie <acm@muc.de>
4672 Eliminate sluggishness and hangs in fontification of "semicolon
4675 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4676 Change value 10000 -> 3000.
4677 (c-state-safe-place): Reformulate so it doesn't stack up an
4678 infinite number of wrong entries in c-state-nonlit-pos-cache.
4679 (c-determine-limit-get-base, c-determine-limit): New functions to
4680 determine backward search limits disregarding literals.
4681 (c-find-decl-spots): Amend commenting.
4682 (c-cheap-inside-bracelist-p): New function which detects "={".
4684 * progmodes/cc-fonts.el
4685 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4687 (c-font-lock-declarations): Fix an occurrence of point being
4688 undefined. Check additionally for point being in a bracelist or
4689 near a macro invocation without a semicolon so as to avoid a
4690 fruitless time consuming search for a declarator. Give a more
4691 precise search limit for declarators using the new
4694 2012-01-18 Glenn Morris <rgm@gnu.org>
4696 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4697 (set-auto-mode): Doc fixes.
4699 2012-01-17 Glenn Morris <rgm@gnu.org>
4701 * isearch.el (search-nonincremental-instead): Fix doc typo.
4703 * dired.el (dired-insert-directory): Handle newlines in directory name.
4704 (dired-build-subdir-alist): Unescape newlines in directory name.
4706 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4708 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4709 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4710 (tramp-action-terminal): Use it. (Bug#10530)
4712 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4716 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4718 * window.el (window-state-ignored-parameters): Remove variable.
4719 (window--state-get-1): Rename argument MARKERS to IGNORE.
4720 Handle persistent window parameters. Make copy of clone-of
4721 parameter only if requested. (Bug#10348)
4722 (window--state-put-2): Install a window parameter only if it has
4723 a non-nil value or an existing parameter shall be overwritten.
4725 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4727 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4729 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4731 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4732 don't pass the (nil) value of `upnode' to string-match.
4734 2012-01-14 Chong Yidong <cyd@gnu.org>
4736 * startup.el (command-line): Fix X resource class for cursorColor.
4737 Fix values recognized by the cursorBlink resource.
4739 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4741 * epg.el (epg--make-temp-file): Avoid permission race condition
4742 when running on old Emacs versions (bug#10403).
4744 2012-01-14 Glenn Morris <rgm@gnu.org>
4746 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4748 2012-01-13 Alan Mackenzie <acm@muc.de>
4750 Fix filling for when filladapt mode is enabled.
4752 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4753 c-mask-paragraph, pass in `fill-paragraph' rather than
4754 `fill-region-as-paragraph'. (This is a reversion of a previous
4756 * progmodes/cc-mode.el (c-basic-common-init):
4757 Make fill-paragraph-handle-comment buffer local and set it to nil.
4759 2012-01-13 Glenn Morris <rgm@gnu.org>
4761 * dired.el (dired-switches-escape-p): New function.
4762 (dired-insert-directory): Use dired-switches-escape-p.
4763 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4765 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4767 2012-01-12 Glenn Morris <rgm@gnu.org>
4769 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4770 changes in adaptive-fill-regexp. (Bug#10276)
4772 2012-01-11 Alan Mackenzie <acm@muc.de>
4774 Fix Emacs bug #10463 - put `widen's around the critical spots.
4776 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4777 widen around each invocation of c-state-pp-to-literal. Remove an
4778 unused let variable.
4780 2012-01-11 Glenn Morris <rgm@gnu.org>
4782 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4785 2012-01-10 Chong Yidong <cyd@gnu.org>
4787 * net/network-stream.el (network-stream-open-starttls):
4788 Avoid emitting a confusing error message when the server gives a bad
4789 response to the capability command.
4791 2012-01-10 Glenn Morris <rgm@gnu.org>
4793 * mail/unrmail.el (unrmail): Tweak previous change.
4795 2012-01-09 Chong Yidong <cyd@gnu.org>
4797 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4799 2012-01-08 Alan Mackenzie <acm@muc.de>
4801 Optimise font locking in long enum definitions.
4803 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4804 arm to a cond form to handle enums.
4805 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4806 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4808 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4810 * files.el (move-file-to-trash): Preserve default file modes on error.
4813 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815 * faces.el (set-face-attribute): Clarify the meaning of the nil
4818 * subr.el (with-selected-frame): Mention that the selected frame
4819 is restored (bug#9980).
4821 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4824 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4825 (password-read): Don't autoload unused function.
4827 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4829 * progmodes/which-func.el (which-func-mode): Turn into a
4830 non-interactive function and mark as obsolete (bug#10428).
4832 2012-01-06 Chong Yidong <cyd@gnu.org>
4834 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4835 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4836 functions, along with 1 and -1.
4838 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4840 * time.el (display-time-load-average)
4841 (display-time-default-load-average): Doc fixes. See the thread
4843 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4846 2012-01-06 Glenn Morris <rgm@gnu.org>
4848 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4849 has no messages. (Bug#10377)
4851 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4852 than Info-edit. (Bug#10385)
4854 * time.el (display-time-load-average, display-time-next-load-average):
4857 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4858 local setting of buffer-read-only to the input buffer. (Bug#10419)
4860 * calendar/calendar.el (calendar-mode):
4861 Locally set scroll-margin to 0. (Bug#10379)
4863 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4865 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4867 2012-01-05 Glenn Morris <rgm@gnu.org>
4869 * eshell/em-unix.el (diff-no-select): Autoload it.
4870 (eshell/diff): Use diff-no-select. (Bug#10420)
4872 2012-01-05 Chong Yidong <cyd@gnu.org>
4874 * shell.el (shell-dynamic-complete-functions): Revert last change.
4875 (shell-command-completion-function): New function.
4876 (shell-completion-vars): Use it to implement
4877 shell-completion-execonly (Bug#10417).
4879 * custom.el (enable-theme): Don't set custom-safe-themes.
4881 * cus-theme.el (custom-theme-merge-theme):
4882 Ignore custom-enabled-themes and custom-safe-themes.
4884 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4886 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4887 first prompt in `sql-interacive-mode'.
4888 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4890 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4891 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4892 context of original buffer. Invoke `sql-login-hook'.
4894 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4896 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4897 letters in cite-prefix.
4899 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4901 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4903 2012-01-03 Chong Yidong <cyd@gnu.org>
4905 * shell.el (shell-dynamic-complete-functions):
4906 Put pcomplete-completions-at-point, so as to try
4907 comint-filename-completion first (Bug#10417).
4909 2012-01-02 Richard Stallman <rms@gnu.org>
4911 * battery.el (battery-status-function):
4912 Detect when to use battery-yeeloong-sysfs.
4913 (battery-echo-area-format): Add string for Yeeloong.
4914 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4915 (battery-yeeloong-sysfs): New function.
4917 2012-01-02 Chong Yidong <cyd@gnu.org>
4919 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4920 (dirtrack): Merge code for handling relative filenames in prompt
4921 from shell-dir-cookie-watcher.
4922 (dirtrack-debug-message): New arg to avoid excess format calls.
4924 * shell.el (shell-dir-cookie-re): Variable deleted.
4925 (shell-dir-cookie-watcher): Function deleted.
4926 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4929 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4931 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4932 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4935 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4937 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4939 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4941 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4942 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4944 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4946 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4947 also for alternative shells.
4948 (tramp-open-connection-setup-interactive-shell): Check, whether
4949 the shell is a busybox.
4950 (tramp-send-command): Don't suppress multiple prompts for
4951 busyboxes, it hurts.
4953 2011-12-28 Chong Yidong <cyd@gnu.org>
4955 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4956 (gdb-get-source-file): Move mode line update to
4957 gdb-get-source-file (Bug#10087).
4959 2011-12-25 Chong Yidong <cyd@gnu.org>
4961 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4962 gud-gdb-marker-filter without taking it as an argument.
4963 (gud-gdb-run-command-fetch-lines): Caller changed.
4964 (gud-gdb-completion-function): New variable.
4965 (gud-gdb-completion-at-point): Use it.
4966 (gud-gdb-completions-1): Split from gud-gdb-completions.
4968 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4969 function as separate arguments.
4970 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4971 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4972 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4973 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4974 (gdb-stopped, def-gdb-auto-update-trigger)
4975 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4976 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4978 (gud-gdbmi-completions): New function.
4979 (gdb): Use it for generating the completion table.
4981 2011-12-24 Alan Mackenzie <acm@muc.de>
4983 Introduce a mechanism to widen the region used in context font
4984 locking. Use this to protect declarations from losing their contexts.
4986 * progmodes/cc-langs.el (c-before-font-lock-functions):
4987 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4988 (c-before-context-fontification-functions): New defvar, a list of
4989 functions to be run just before context (etc.) font locking.
4991 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4992 New, functionality extracted from
4993 c-neutralize-syntax-in-and-mark-CPP.
4994 (c-in-after-change-fontification): New variable.
4995 (c-after-change): Set c-in-after-change-fontification.
4996 (c-set-fl-decl-start): Rejig its interface, so it can be called
4997 from both after-change and context fontifying.
4998 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5000 (c-standard-font-lock-fontify-region-function): New variable.
5001 (c-font-lock-fontify-region): New function.
5003 2011-12-24 Juri Linkov <juri@jurta.org>
5005 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5008 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5010 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5011 existence of source file. (Bug#10325)
5013 2011-12-23 Alan Mackenzie <acm@muc.de>
5015 Fix unstable fontification inside templates.
5017 * progmodes/cc-langs.el (c-before-font-lock-functions):
5018 Newly created from the singular version. The (c c++ objc) entry now
5019 additionally has c-set-fl-decl-start. The other languages (apart
5020 from AWK) have that as a single entry.
5022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5023 The functionality for "local" declarations has been extracted to
5024 c-set-fl-decl-start.
5026 * progmodes/cc-mode.el (c-common-init, c-after-change):
5027 Changes due to pluralisation of c-before-font-lock-functions.
5028 (c-set-fl-decl-start): New function, extracted from
5029 c-font-lock-enclosing-decls and enhanced.
5031 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5033 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5035 2011-12-22 Juri Linkov <juri@jurta.org>
5037 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5039 2011-12-22 Chong Yidong <cyd@gnu.org>
5041 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5043 2011-12-21 Drew Adams <drew.adams@oracle.com>
5045 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5047 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5049 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5051 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5053 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5054 highlighting and support. Fix up comments for capitalization.
5055 (cfengine-mode-debug): New var.
5056 (cfengine3-mode): Change the modeline indicator to "CFE3".
5057 (cfengine3-font-lock-keywords): Improve defun highlighting.
5058 (cfengine2-actions): Rename from `cfengine-actions'.
5059 (cfengine2-font-lock-keywords): Rename from
5060 `cfengine-font-lock-keywords'.
5061 (cfengine2-imenu-expression): Rename from
5062 `cfengine-imenu-expression'.
5063 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5064 (cfengine2-beginning-of-defun): Rename from
5065 `cfengine-beginning-of-defun'.
5066 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5067 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5068 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5069 modeline indicator to "CFE2".
5070 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5071 (cfengine-mode-abbrevs): Mark obsolete.
5073 2011-12-21 Chong Yidong <cyd@gnu.org>
5075 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5078 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5080 * window.el (window-normalize-buffer-to-display): Remove.
5081 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5083 2011-12-19 Chong Yidong <cyd@gnu.org>
5085 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5086 Don't signal an error in a predicate function; return non-nil.
5087 (vc-dir-mark-file): Move the error here.
5088 (vc-dir-mark-unmark): If acting on the region, keep going if one
5089 of the entries cannot be marked/unmarked.
5090 (vc-dir-mark-all-files): If current entry is a directory, mark
5091 only child files, as documented.
5093 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5095 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5096 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5099 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5101 * term/ns-win.el (ns-get-selection-internal)
5102 (ns-store-selection-internal): Declare.
5103 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5104 Declare as obsolete.
5105 (ns-get-pasteboard, ns-paste-secondary):
5106 Use ns-get-selection-internal.
5107 (ns-set-pasteboard, ns-copy-including-secondary):
5108 Use ns-store-selection-internal.
5110 2011-12-17 Chong Yidong <cyd@gnu.org>
5112 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5113 (vc-deduce-fileset): Doc fix.
5115 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5117 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5119 2011-12-13 Sam Steingold <sds@gnu.org>
5121 * man.el (Man-getpage-in-background): When running under a
5122 window-system, ignore $MANWIDTH and $COLUMNS.
5124 2011-12-15 Kenichi Handa <handa@m17n.org>
5126 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5127 (setup-ethiopic-environment-internal): Comment out key-binding for
5128 ethio-toggle-punctuation.
5130 2011-12-13 Alan Mackenzie <acm@muc.de>
5132 Add the switch statement to AWK Mode.
5134 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5135 "default" to the keywords regexp.
5137 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5138 expression as the rest.
5139 (c-nonlabel-token-key): Allow string literals for AWK.
5140 Refactor for the other modes.
5142 Large brace-block initialisation makes CC Mode slow: Fix.
5143 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5144 routines. Limit backward searching in c-font-lock-enclosing.decl.
5146 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5147 pp-state and literal type in addition to the limits.
5148 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5149 (c-state-literal-at): Use the above new defun.
5150 (c-slow-in-literal, c-fast-in-literal): Remove.
5151 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5153 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5154 being in a literal. Add a limit for backward searching.
5156 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5159 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5163 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5165 * window.el (delete-other-windows): Use correct frame in call to
5166 window-with-parameter.
5168 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5170 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5171 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5172 (makefile-gmake-statements, makefile-makepp-statements):
5173 Use it and add new makepp keywords.
5174 (makefile-makepp-font-lock-keywords): Add new patterns.
5175 (makefile-match-function-end): Match new [...] and [[...]].
5177 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5179 * ses.el (ses-call-printer-return, ses-cell-property-get)
5180 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5181 (ses-create-cell-variable, ses-reset-header-string)
5182 (ses-cell-set-formula, ses-repair-cell-reference-all)
5183 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5184 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5185 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5186 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5187 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5188 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5189 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5190 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5191 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5192 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5193 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5194 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5196 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5198 * ses.el: The overall change is to add cell renaming, that is
5199 setting fancy names for cell symbols other than name matching
5200 "\\`[A-Z]+[0-9]+\\'" regexp .
5201 (ses-create-cell-variable): New defun.
5202 (ses-relocate-formula): Relocate formulas only for cells the
5203 symbols of which are not renamed, i.e. symbols whose names do not
5204 match regexp "\\`[A-Z]+[0-9]+\\'".
5205 (ses-relocate-all): Relocate values only for cells the symbols of
5206 which are not renamed.
5207 (ses-load): Create cells variables as the (ses-cell ...) are read,
5208 in order to check row col consistency with cell symbol name only
5209 for cells that are not renamed.
5210 (ses-replace-name-in-formula): New defun.
5211 (ses-rename-cell): New defun.
5213 2011-12-11 Chong Yidong <cyd@gnu.org>
5215 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5216 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5218 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5220 * window.el (other-window): Fix docstring.
5222 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5224 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5225 `from' or `to' address before taking its substring.
5226 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5227 encoded name is chopped in the middle of the encoded string, and
5228 thus displayed encoded.
5230 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5232 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5234 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5236 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5237 to use texinfo-update-node and commands that call it if the
5238 Texinfo file uses @node lines without next/prev/up pointers.
5239 Correct outdated description about texinfo-master-menu.
5240 (texinfo-all-menus-update, texinfo-master-menu)
5241 (texinfo-update-node, texinfo-every-node-update)
5242 (texinfo-multiple-files-update): Doc fix. Warn against updating
5243 all the @node lines.
5244 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5245 argument is numeric. Explain better in the doc string what the
5246 function really does.
5247 (texinfo-insert-master-menu-list): Improve the error message
5248 displayed if there's no menu in the Top node.
5249 (Bug#2975) See also this thread:
5250 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5252 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5254 * speedbar.el (speedbar-supported-extension-expressions):
5255 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5257 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5259 * printing.el (pr-mode-alist):
5260 * simple.el (filter-buffer-substring-functions)
5261 (completion-list-insert-choice-function):
5262 * window.el (window-with-parameter, window-atom-root)
5263 (window-sides-slots, window-size-fixed, window-min-delta)
5264 (window-max-delta, window--resize-mini-window)
5265 (window--resize-child-windows-normal, window-tree)
5266 (delete-other-windows, quit-window, split-window)
5267 (display-buffer-record-window, special-display-buffer-names)
5268 (special-display-regexps, special-display-popup-frame)
5269 (same-window-p, split-window-sensibly)
5270 (display-buffer-overriding-action, display-buffer-alist)
5271 (display-buffer-base-action, display-buffer, switch-to-buffer)
5272 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5273 (fit-window-to-buffer, recenter-positions)
5274 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5275 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5276 and remove unneeded backslashes in docstrings.
5278 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5282 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5283 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5285 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5286 when reading the makefile (bug#10116).
5288 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5290 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5293 2011-12-06 Glenn Morris <rgm@gnu.org>
5295 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5297 2011-12-06 Chong Yidong <cyd@gnu.org>
5299 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5301 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5303 * textmodes/table.el (table-shorten-cell): Fix typo.
5305 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5307 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5309 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5311 * descr-text.el (describe-char): Fix display of strong
5312 right-to-left characters and directional embeddings and overrides.
5314 * simple.el (what-cursor-position): Fix display of codepoints of
5315 strong right-to-left characters.
5317 2011-12-05 Chong Yidong <cyd@gnu.org>
5319 * faces.el (read-color): Doc fix.
5321 2011-12-05 Glenn Morris <rgm@gnu.org>
5323 * align.el (align--set-marker): Add doc-string.
5324 Don't try to move something that is not a marker. (Bug#10216)
5326 2011-12-04 Glenn Morris <rgm@gnu.org>
5328 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5329 overly zealous deletion of trailing whitespace.
5331 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5333 * server.el (server-delete-client): On Windows, do not try to delete
5335 (server-process-filter): On Windows, treat requests for a tty frame as
5336 if they were for a GUI frame if the running server is in GUI mode.
5338 2011-12-03 Glenn Morris <rgm@gnu.org>
5340 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5342 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * electric.el: Streamline electric-indent's hook.
5345 (electric-indent-chars): Revert to simple list.
5346 (electric-indent-functions): New var.
5347 (electric-indent-post-self-insert-function): Use it.
5349 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5350 there's no inferior buffer (bug#10196).
5351 (prolog-consult-compile): Don't use toggle-read-only.
5353 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5355 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5356 interrupt. (Bug#10187)
5358 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5360 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5363 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5366 2011-12-02 Juri Linkov <juri@jurta.org>
5368 * info.el (Info-search): Display "end of manual" when Isearch
5369 reaches the end of single-file Info manual. (Bug#9918)
5371 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5373 * isearch.el (isearch-message-prefix): Run the input method part
5374 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5376 2011-12-02 Juri Linkov <juri@jurta.org>
5378 * isearch.el (isearch-occur): Use `word-search-regexp' for
5380 (isearch-search-and-update): Add condition for `isearch-word' and
5381 call `word-search-regexp'. (Bug#10145)
5383 2011-12-01 Glenn Morris <rgm@gnu.org>
5385 * eshell/em-hist.el (eshell-hist-initialize):
5386 Handle eshell-history-size nil and HISTSIZE set or unset.
5387 (eshell-history-file-name, eshell-history-size): Fix custom type.
5389 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5393 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5395 * progmodes/verilog-mode.el (verilog-pretty-expr):
5396 Rework verilog-pretty-expr to handle new assignment operators in system
5397 verilog, such as += *= and the like.
5398 (verilog-assignment-operator-re): Regular expression to find the
5399 assigment operator in a verilog assignment.
5400 (verilog-assignment-operation-re): Regular expression to find an
5401 assignment statement for pretty-expr.
5402 (verilog-in-attribute-p): Query returns true if point is in an
5403 attribute context; used to skip these for expression line up from
5405 (verilog-in-parameter-p): Query returns true if point is in an
5406 parameter definition context; used to skip these for expression
5407 line up from pretty-expr.
5408 (verilog-in-parenthesis-p): Query returns true if point is in a
5409 parenthetical expression, specifically ( ) but not [ ] or { };
5410 used by pretty-expr.
5411 (verilog-just-one-space): If there is no space, don't add one.
5412 (verilog-get-lineup-indent-2): Specifically skip just attribute
5413 contexts for expression lineup, rather than skipping all
5414 parenthetical expressions.
5415 (verilog-calculate-indent): Fix comment, and fix indent.
5416 (verilog-do-indent): Indent declarations in lists (suggested by
5418 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5420 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5423 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5425 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5426 parameters with embedded comments. Reported by Ray Stevens.
5427 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5428 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5429 Reported by Tim Holt.
5430 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5431 instantiated by upper module causing wrong expansion until AUTOed a
5432 second time. Reported by K C Buckenmaier.
5433 (verilog-diff-auto): Fix showing .* as a difference when
5434 `verilog-auto-star-save' off. Reported by Dan Dever.
5435 (verilog-auto-reset, verilog-read-always-signals)
5436 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5437 temporary signals in reset list if
5438 verilog-auto-reset-blocking-in-non is nil, and match assignment
5439 style to each signal's assignment type, bug381.
5440 Reported by Thomas Esposito.
5441 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5442 (verilog-uvm-statement-re): Support UVM indentation and
5443 highlighting, with old OVM keywords only.
5444 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5445 Support AUTOTIEOFF creating non-wire data types.
5446 Suggested by Jonathan Greenlaw.
5447 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5448 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5449 (verilog-inject-sense, verilog-read-inst-pins)
5450 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5451 Fix mismatching parenthesis inside commented out code when deleting
5452 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5453 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5454 non-numeric vector width. Reported by Alex Reed.
5455 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5456 detecting signals with parameter widths. Reported by Alex Reed.
5457 (verilog-auto-delete-trailing-whitespace):
5458 With `verilog-auto-delete-trailing-whitespace' remove trailing
5459 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5460 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5461 Fix verilog-scan-cache corruption when running user AUTO expansion
5462 hooks that call indentation routines.
5463 (verilog-simplify-range-expression): Fix typo ignoring lower case
5465 (verilog-delete-auto): Fix delete-autos to also remove user created
5466 automatics, as long as they start with AUTO.
5467 (verilog-batch-diff-auto, verilog-diff-auto)
5468 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5469 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5470 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5471 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5472 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5473 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5474 is disabled and its cache will get corrupt, causing AUTOS not to
5475 expand. Instead use only -quick functions.
5476 (verilog-scan-region): Fix scanning over escaped quotes.
5477 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5478 (verilog-re-search-backward-quick)
5479 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5480 related functions now ignore strings, to fix misparsing of strings
5481 with magic comments embedded in them.
5482 (verilog-read-auto-template):
5483 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5484 Reported by Brad Dobbie.
5485 (verilog-read-auto-template):
5486 Fix 'verilog-auto-inst-template-numbers' with comments.
5487 Reported by Brad Dobbie.
5488 (verilog-auto-inst, verilog-auto-inst-param)
5489 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5490 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5491 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5492 debugging templates without merge conflicts, bug357.
5493 Reported by Brad Dobbie.
5494 (verilog-read-auto-template):
5495 Fix verilog-auto-inst-template-numbers with multiple templates.
5496 Reported by Brad Dobbie.
5497 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5498 abbrevs so user won't be asked to save.
5499 (verilog-read-auto-lisp-present): Fix to start at beginning of
5500 buffer in case called outside of verilog-auto.
5501 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5502 to "X-2". Reported by Matthew Myers.
5503 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5504 all inputs from module templates. Reported by Leith Johnson.
5505 (verilog-module-inside-filename-p): Fix locating programs as with
5507 (verilog-auto-inst-port): Fix vl-width expressions when using
5508 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5509 (verilog-decls-get-regs, verilog-decls-get-signals,
5510 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5511 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5512 verilog-read-decls): Combine reg and wire structures into one var
5513 structure to represent SystemVerilog concepts.
5514 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5515 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5516 (verilog-auto-wire-type, verilog-insert-definition):
5517 Add verilog-auto-wire-type and AUTOLOGIC to support using
5518 SystemVerilog "logic" keyword instead of "wire"/"reg".
5519 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5520 to declares outputs that also have assignments (presumably in an
5521 ifdef or generate if so there's not a driver conflict).
5522 Reported by Matthew Myers.
5523 (verilog-auto-declare-nettype, verilog-insert-definition):
5524 Add verilog-auto-declare-nettype to fix declarations using
5525 `default_nettype none. Reported by Julian Gorfajn.
5526 (verilog-read-always-signals-recurse, verilog-read-decls)
5527 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5528 malformed end statement, bug325. Reported by Joshua Wise and
5530 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5531 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5532 when expanding .* in interfaces, bug320.
5533 Reported by Pierre-David Pfister.
5534 (verilog-read-module-name): Fix import statements between module
5535 name and open parenthesis, bug317.
5536 Reported by Pierre-David Pfister.
5537 (verilog-simplify-range-expression): Fix simplification of
5538 multiplications inside AUTOWIRE connections, bug303.
5539 (verilog-auto-inst-port): Support parameter expansion in
5540 multidimensional arrays.
5541 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5542 after "assert property". Reported by Julian Gorfajn.
5543 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5544 with multiplication, bug303.
5545 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5546 Reported by Jan Frode Lonnum.
5548 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5550 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5551 (hfy-shell-file-name, hfy-shell):
5552 * international/fontset.el (x-decompose-font-name): Fix typos.
5554 2011-11-29 Ken Brown <kbrown@cornell.edu>
5556 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5557 (gdb-version): Remove defvar.
5558 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5559 (gdb-gud-context-command, gdb-non-stop-handler)
5560 (gdb-current-context-command, gdb-stopped): Use it.
5561 (gdb-init-1): Enable pretty printing here.
5562 (gdb-non-stop-handler): Don't enable pretty-printing here.
5563 Check to see if the target supports non-stop mode; if not, turn off
5564 non-stop mode. Use the following.
5565 (gdb-check-target-async): New defun.
5566 (gud-watch, gdb-stopped): Fix whitespace.
5567 (gdb-get-source-file): Don't try to display the source file if
5568 `gdb-main-file' is nil.
5570 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * align.el: Try to generate fewer markers (bug#10047).
5573 (align--set-marker): New macro.
5574 (align-region): Use it.
5576 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5580 2011-11-29 Chong Yidong <cyd@gnu.org>
5582 * indent.el (indent-for-tab-command, indent-according-to-mode):
5584 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5586 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5588 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5589 aware of remote file names. (Bug#10124)
5591 2011-11-29 Chong Yidong <cyd@gnu.org>
5593 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5595 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5597 * files.el (find-file): Don't use force-same-window (bug#10144).
5598 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5599 use pop-to-buffer if the selected window can't be used.
5600 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5602 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5604 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5607 2011-11-28 Chong Yidong <cyd@gnu.org>
5609 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5611 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5613 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5614 gdb-get-source-file-list on gdb-create-source-file-list.
5616 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5618 * whitespace.el (whitespace-newline): Use a different foreground
5619 color for 16-color light-background displays.
5621 2011-11-24 Chong Yidong <cyd@gnu.org>
5623 * window.el (display-buffer--special-action): Doc fix.
5625 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5627 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5628 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5629 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5630 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5631 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5632 (avl-tree-stack-first):
5633 * emacs-lisp/cconv.el (cconv--analyse-use):
5634 * net/gnutls.el (gnutls-negotiate): Fix typos.
5636 2011-11-24 Glenn Morris <rgm@gnu.org>
5638 * lpr.el (lpr-windows-system, lpr-lp-system):
5639 * mail/binhex.el (binhex-begin-line):
5640 * progmodes/grep.el (grep-history, grep-find-history):
5641 * textmodes/flyspell.el:
5642 * vc/pcvs-defs.el (cvs-global-menu):
5643 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5644 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5645 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5647 * net/tls.el: Fix case of "GnuTLS".
5649 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5651 * version.el (emacs-build-system): Give it a doc-string.
5653 2011-11-24 Juri Linkov <juri@jurta.org>
5655 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5657 2011-11-24 Glenn Morris <rgm@gnu.org>
5659 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5660 if called on a non-mime message just toggle the headers. (Bug#8006)
5662 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5664 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5665 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5666 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5667 (allout-rebullet-heading, allout-open-sibtopic)
5668 (allout-toggle-current-subtree-encryption)
5669 (allout-toggle-subtree-encryption, allout-encrypt-string)
5670 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5671 (allout-distinctive-bullets-string, allout-auto-activation):
5672 * window.el (window-normalize-buffer-to-display):
5673 * progmodes/verilog-mode.el (verilog-batch-indent):
5674 * textmodes/bibtex.el (bibtex-field-braces-opt)
5675 (bibtex-field-strings-opt):
5676 * vc/cvs-status.el (cvs-tree-merge):
5679 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5681 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5682 `non-essential' to t, in order to avoid remote connections.
5684 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5687 On MS-DOS and MS-Windows, compare with loaddefs.el
5690 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5692 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5694 2011-11-23 Glenn Morris <rgm@gnu.org>
5696 * paths.el (rmail-file-name): Reformat the doc-string so that it
5699 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5700 (rmail-auto-file): Ignore case in the "special" field names,
5701 as mail-fetch-field does for all others.
5703 * mail/rmail.el (rmail-forward):
5704 * mail/rmailkwd.el (rmail-set-label):
5705 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5706 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5708 * mail/rmail.el (rmail-current-message): Doc fix.
5710 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5712 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5716 2011-11-22 Glenn Morris <rgm@gnu.org>
5718 * mail/rmailmm.el (test-rmail-mime-handler)
5719 (test-rmail-mime-bulk-handler)
5720 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5722 2011-11-21 Juri Linkov <juri@jurta.org>
5724 * calc/calc.el (calc-read-key-sequence):
5725 Let-bind `input-method-function' to nil. (Bug#10018)
5727 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5730 Tell the caller that the next line needs recomputation, even
5731 though it doesn't start a sexp (bug#10094).
5733 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5737 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5740 Use force-same-window.
5742 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5744 * descr-text.el (describe-char-unicode-data):
5745 * json.el (json-string-escape):
5746 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5747 (Footnote-unicode, Footnote-style-p):
5748 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5750 2011-11-20 Chong Yidong <cyd@gnu.org>
5752 * window.el (replace-buffer-in-windows): Restore interactive spec.
5754 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5756 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5758 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5759 (byte-compile-global-not-obsolete-vars): New var.
5760 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5762 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5764 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5766 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5767 * progmodes/pascal.el (electric-pascal-equal):
5768 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5769 * xml.el (xml-substitute-special): Fix typos.
5771 2011-11-20 Glenn Morris <rgm@gnu.org>
5773 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5774 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5776 (rmail-decode-mime-charset): Mark as obsolete.
5778 * mail/rmailsum.el (rmail-message-regexp-p-1):
5779 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5780 Before using mime functions, check they are set. (Bug#10077)
5782 2011-11-19 Juri Linkov <juri@jurta.org>
5784 * info.el (Info-finder-find-node): Use `package--builtins' instead
5785 of `package-alist'. Use node names formed by the pattern "Keyword "
5786 and the keyword name.
5788 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5790 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5792 2011-11-19 Juri Linkov <juri@jurta.org>
5794 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5795 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5796 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5797 `old-history', `old-history-forward'. Add let-binding
5798 `window-selected'. Remove calls to `kill-buffer',
5799 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5800 before calling `Info-find-node', so `Info-find-node-2' will reread
5801 the Info file. Restore window positions only when `window-selected'
5804 2011-11-19 Juri Linkov <juri@jurta.org>
5806 * isearch.el (isearch-lazy-highlight-new-loop):
5807 Remove condition `(not isearch-error)'. (Bug#9918)
5809 * misearch.el (multi-isearch-search-fun): Add condition
5810 `(not bound)' to ignore lazy-highlighting search.
5811 Add the search-failed message "end of multi" when the end of
5812 multi-sequence is reached. Uncapitalize the search-failed
5813 message "Repeat for next buffer".
5815 * info.el (Info-search): Add the search-failed message
5816 "end of the manual" when the end of the manual is reached
5819 2011-11-19 Juri Linkov <juri@jurta.org>
5821 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5822 Use non-destructive `remove' instead of `delete' because
5823 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5824 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5826 2011-11-19 Juri Linkov <juri@jurta.org>
5828 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5829 to nil instead of binding `search-ring' and `regexp-search-ring'.
5832 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5834 * simple.el (line-move): Force movement by logical lines for any
5835 hscrolled window, not only when auto-hscroll-mode is on.
5836 (line-move-visual): Update doc string to that effect. (Bug#10076)
5838 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5840 * language/european.el (macintosh): Define as alias for mac-roman.
5842 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5844 * mail/rmailmm.el (rmail-mime-display-header)
5845 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5846 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5847 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5848 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5849 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5851 (rmail-mime-entity-segment): To get past the tagline, move forward
5852 2 more lines, to account for the 2 empty lines that precede and
5853 follow the line with the buttons.
5854 (rmail-mime-update-tagline): Move one more line, to get past the
5855 empty line that follows the buttons in the tagline. (Bug#9520)
5857 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5859 * window.el (window-max-delta-1, window-min-delta-1)
5860 (window-min-size-1, window-state-get-1, window-state-put-1)
5861 (window-state-put-2): Use "window--" prefix.
5863 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5865 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5866 (smie-warning-count): New var.
5867 (smie-set-prec2tab): Use it.
5868 (smie-bnf->prec2): Improve warnings. Add docstring.
5869 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5870 (smie-bnf--set-class): New function.
5871 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5874 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5875 (compilation-error-properties, compilation-move-to-column):
5876 Handle compilation-first-column while in the target buffer.
5878 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5879 Don't hardcode point-min==1.
5881 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5882 (eshell-rewrite-for-command): Remove workaround.
5883 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5884 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5885 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5887 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5889 2011-11-17 Glenn Morris <rgm@gnu.org>
5891 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5892 Ignore buffer-local generated-autoload-file if it is the same
5893 as the global value. (Bug#10049)
5895 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5897 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5898 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5899 (reftex-toc-previous-heading, reftex-toc-max-level)
5900 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5901 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5902 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5903 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5904 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5905 (reftex-toc-rename-label, reftex-toc-visit-location)
5906 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5907 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5908 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5909 leaving "*toc*" only for references to the buffer.
5911 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5913 * window.el (window-resize, delete-window, split-window):
5914 Replace window-splits by window-combination-resize.
5915 * cus-start.el (window-splits): Replace by window-combination-resize.
5917 2011-11-17 Glenn Morris <rgm@gnu.org>
5919 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5920 Make bash entry derive from sh entry, not shell entry.
5922 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5924 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5925 properties of linked files. (Bug#9879)
5927 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5930 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5932 * menu-bar.el (menu-bar-file-menu):
5933 * printing.el (pr-ps-utility):
5934 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5935 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5936 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5937 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5938 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5939 (icalendar--convert-cyclic-to-ical)
5940 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5941 (icalendar--convert-ical-to-diary)
5942 (icalendar--convert-recurring-to-diary)
5943 (icalendar--convert-non-recurring-all-day-to-diary)
5944 (icalendar-import-format-sample):
5945 * progmodes/idlw-shell.el (idlwave-shell-mode):
5946 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5947 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5948 (vhdl-ps-print-init): Fix typos.
5950 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5952 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5953 FSF and collapse date sequence, obscure author/maintainer email address
5954 better, remove extra version line, track relocation of author's webpage.
5956 * progmodes/python.el (python-pdbtrack-input-prompt)
5957 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5958 regular python pdb prompts. Adjustments shamelessly taken exactly as
5959 suggested in EmacsWiki page (tiny change):
5960 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5962 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5964 * expand.el (expand-pos, expand-index, expand-point):
5965 Remove redundant info from docstring.
5966 (expand-add-abbrevs): Doc fix.
5967 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5968 (expand-sample-perl-mode-expand-list): Fix typos.
5970 * net/dbus.el (dbus-event-member-name):
5971 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5972 * term/pc-win.el (msdos-create-frame-with-faces):
5973 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5975 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5977 * window.el (split-window, window-state-get-1)
5978 (window-state-put-1, window-state-put-2): Rename occurrences of
5979 window-nest to window-combination-limit.
5980 * cus-start.el (window-nest): Rename to window-combination-limit.
5982 2011-11-16 Chong Yidong <cyd@gnu.org>
5984 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5987 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5990 `completing-read' will remove *Completions* and will preserve
5991 current-buffer for us.
5992 (tmm-add-prompt): Users of *Completions* will always (re)set its
5994 (tmm-old-comp-map): Remove.
5996 2011-11-16 Glenn Morris <rgm@gnu.org>
5998 * mail/rmailedit.el: Require rmailmm when compiling.
5999 (rmail-old-mime-state): New declaration.
6000 (rmail-edit-current-message): If editing a mime message,
6001 edit the "raw" message from the mbox buffer.
6002 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6004 2011-11-15 Glenn Morris <rgm@gnu.org>
6006 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6007 which wasn't being used. Add optional arg to force given state.
6008 (rmail-mime): Add optional arg to force given state.
6010 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6012 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6013 * frame.el (display-mm-dimensions-alist):
6014 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6015 (outline-move-subtree-down):
6016 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6017 (newsticker--treeview-do-get-node):
6018 * net/quickurl.el (quickurl-list-buffer-name):
6019 * progmodes/dcl-mode.el (dcl-mode):
6020 * progmodes/gdb-mi.el (gdb-mapcar*):
6021 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6023 2011-11-15 Glenn Morris <rgm@gnu.org>
6025 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6026 in a boolean sense, so just make it a boolean, and fix the doc.
6027 (rmail-show-mime-function, rmail-mime-feature)
6028 (rmail-require-mime-maybe): Doc fixes.
6029 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6031 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6033 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6035 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6036 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6037 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6038 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6040 2011-11-15 Glenn Morris <rgm@gnu.org>
6042 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6043 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6044 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6045 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6046 (rmail-mime, rmail-show-mime): Doc fixes.
6048 * term/ns-win.el (mode-line-frame-identification):
6049 Leave it alone. (Bug#10051)
6051 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6053 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6054 Handle empty buffers. (Bug#9978)
6056 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6058 * international/mule.el (define-charset):
6059 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6060 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6061 * progmodes/verilog-mode.el (verilog-backward-token):
6062 * textmodes/ispell.el (lookup-words):
6063 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6065 2011-11-14 Glenn Morris <rgm@gnu.org>
6067 * progmodes/executable.el
6068 (executable-make-buffer-file-executable-if-script-p):
6069 Handle file-modes returning nil.
6071 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6072 message - not necessary, and causes problems. (Bug#9831)
6074 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6076 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6078 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6079 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6080 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6082 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6084 * window.el (window-resize, delete-window): Use window-splits
6085 variable instead of function.
6086 (window-state-get-1, window-state-put-2, window-state-put):
6087 Don't deal with windows' splits status.
6089 2011-11-12 Glenn Morris <rgm@gnu.org>
6091 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6092 (apropos-documentation): Doc fixes.
6094 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6096 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6097 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6099 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * electric.el (electric-indent-post-self-insert-function): Make it
6102 possible for a char to only indent in some circumstances.
6103 (electric-indent-mode): Simplify.
6105 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6107 * window.el (windows-with-parameter): Remove unused function.
6108 (windows-at-side): Rename to window-at-side-list.
6109 (window-check, window-atom-check, window-atom-check-1)
6110 (window-side-check, window-size-ignore, window-size-fixed-1)
6111 (window-in-direction-2): Prefix with "window--".
6112 (window-tree-1): Rename to window--subtree, fix doc-string.
6114 2011-11-11 Glenn Morris <rgm@gnu.org>
6116 * subr.el (eval-after-load): If FILE is already loaded,
6117 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6119 2011-11-10 Glenn Morris <rgm@gnu.org>
6121 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6122 Call svn via vc-svn-command rather than vc-do-command.
6123 (vc-svn-command): Add --non-interactive. (Bug#9993)
6124 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6126 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6127 Add toggle-read-only. (Bug#7292)
6128 * files.el (toggle-read-only): Mention that it should only
6129 be used interactively. (Bug#10006)
6131 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6134 Adjust regexp for OCaml warnings.
6136 * electric.el (electric-pair-post-self-insert-function): Let user
6137 turn it off buffer-locally (bug#9932).
6139 * progmodes/python.el (python-beginning-of-statement):
6142 * progmodes/compile.el: Better handle TABs (bug#9749).
6143 (compilation-internal-error-properties)
6144 (compilation-next-error-function): Obey the target buffer's
6145 compilation-error-screen-columns.
6147 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6149 * progmodes/meta-mode.el: Remove obsolete comments.
6150 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6151 Fix typos in docstrings.
6153 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6155 * window.el (window-size-fixed-p): Rewrite doc-string.
6156 (window-resizable-p): Rename to window--resizable-p. Update callers.
6157 (window--resizable): New function. Make all callers of
6158 window-resizable call window--resizable instead.
6159 (window-resizable): Rewrite in terms of window--resizable.
6161 2011-11-08 Glenn Morris <rgm@gnu.org>
6163 * progmodes/delphi.el (delphi-mode-syntax-table):
6164 Let define-derived-mode define a proper syntax table. (Bug#9994)
6166 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6168 * window.el: Stay away from defsubst.
6169 (window-list-no-nils): Remove.
6170 (window-state-get-1, window-state-get): Use backquote instead.
6172 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6174 * emacs-lisp/find-func.el (find-function-read):
6175 Fix incorrect use of default argument in `completing-read'.
6177 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6179 * window.el (display-buffer-function, special-display-function):
6180 Mention display-buffer-record-window but do not mention
6181 help-setup parameter in doc-strings.
6182 (window-min-delta): Fix doc-string typo.
6184 2011-11-08 Chong Yidong <cyd@gnu.org>
6186 * window.el (window-total-height, window-total-width): Doc fix.
6187 (window-body-size): Move from C.
6188 (window-body-height, window-body-width): Move to C.
6190 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * window.el: Make special-display like display-buffer-alist (bug#9532).
6193 (display-buffer--special-action): New function, morphed
6194 from display-buffer--special.
6195 (display-buffer): Use it to handle special-display-buffers at higher
6196 priority (just after display-buffer-alist).
6197 (display-buffer-fallback-action, display-buffer--other-frame-action)
6198 (pop-to-buffer-same-window): Remove display-buffer--special.
6200 2011-11-07 Glenn Morris <rgm@gnu.org>
6202 * calendar/cal-menu.el (cal-menu-set-date-title):
6203 Do nothing if not in a calendar. (Bug#9976)
6205 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6207 * files.el (find-file): Always use selected-window.
6209 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6211 * window.el (window-combinations): Make WINDOW argument
6212 mandatory. Rewrite doc-string.
6213 (walk-window-subtree, window-atom-check, window-min-delta)
6214 (window-max-delta, window--resize-this-window)
6215 (window--resize-root-window-vertically, window-tree)
6216 (balance-windows, window-state-put): Rewrite doc-strings as to
6217 not mention the term "subwindow".
6218 (window--resize-subwindows-skip-p): Rename to
6219 window--resize-child-windows-skip-p.
6220 (window--resize-subwindows-normal): Rename to
6221 window--resize-child-windows-normal.
6222 (window--resize-subwindows): Rename to
6223 window--resize-child-windows.
6224 (window-or-subwindow-p): Rename to window--in-subtree-p.
6226 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6228 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6229 Ensure that mbox format messages end in two newlines (Bug#9974).
6231 2011-11-06 Chong Yidong <cyd@gnu.org>
6233 * window.el (window-combination-p): Function deleted; its
6234 side-effect is not used in any existing code.
6235 (window-combinations, window-combined-p): Call window-*-child
6238 2011-11-05 Chong Yidong <cyd@gnu.org>
6240 * window.el (window-valid-p): Rename from window-any-p.
6241 (window-size-ignore, window-state-get): Callers changed.
6242 (window-normalize-window): Rename from window-normalize-any-window.
6243 New arg LIVE-ONLY, replacing window-normalize-live-window.
6244 (window-normalize-live-window): Delete.
6245 (window-combination-p, window-combined-p, window-combinations)
6246 (walk-window-subtree, window-atom-root, window-min-size)
6247 (window-sizable, window-sizable-p, window-size-fixed-p)
6248 (window-min-delta, window-max-delta, window-resizable)
6249 (window-resizable-p, window-full-height-p, window-full-width-p)
6250 (window-current-scroll-bars, window-point-1, set-window-point-1)
6251 (window-at-side-p, window-in-direction, window-resize)
6252 (adjust-window-trailing-edge, maximize-window, minimize-window)
6253 (window-deletable-p, delete-window, delete-other-windows)
6254 (record-window-buffer, unrecord-window-buffer)
6255 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6256 (quit-window, split-window, window-state-put)
6257 (set-window-text-height, fit-window-to-buffer)
6258 (shrink-window-if-larger-than-buffer): Callers changed.
6260 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6262 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6263 rfc2047-decode-string.
6264 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6267 * window.el (window-body-height, window-body-width): Mention in
6268 the doc string that the return values are in frame's canonical
6271 2011-11-03 Alan Mackenzie <acm@muc.de>
6273 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6274 change in cc-engine.el.
6276 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6280 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6282 * window.el (quit-window): Call unrecord-window-buffer after
6283 showing another buffer in the window. (Bug#9937)
6284 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6286 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6288 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6289 Accept status with more than 9 shelves. (Bug#9935)
6290 Reported by Colin D Bennett <colin@gibibit.com>.
6292 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6294 * help.el (with-help-window): Don't reference
6295 temp-buffer-show-specifiers in doc-string.
6297 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6299 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6302 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6304 * whitespace.el: New version 13.2.2.
6305 (whitespace-newline-mode): Disable properly. Reported by Sarah
6308 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6310 * net/newst-treeview.el: Remove "Time-stamp".
6311 (newsticker--group-manage-orphan-feeds): Do not call
6312 newsticker--treeview-tree-update.
6313 (newsticker-treeview-update, newsticker-treeview):
6314 Call newsticker--treeview-tree-update if necessary.
6316 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6318 * window.el (window-iso-combination-p, window-iso-combined-p)
6319 (window-iso-combinations): Remove "iso-" infix.
6320 Suggested by Chong Yidong.
6321 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6322 (window-max-delta-1, window-resize, window--resize-siblings)
6323 (window--resize-this-window, adjust-window-trailing-edge)
6324 (split-window, balance-windows-1)
6325 (shrink-window-if-larger-than-buffer):
6326 * calendar/calendar.el (calendar-generate-window):
6327 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6329 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6331 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6332 in place (bug#9907).
6333 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6334 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6335 (eshell-structure-basic-command, eshell-rewrite-while-command)
6336 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6337 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6338 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6339 (eshell-do-pipelines-synchronously, eshell-eval-command):
6340 Use backquotes and prefer setq to set.
6341 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6342 (eshell-macrop): Use functionp.
6343 (eshell-do-eval): Handle multiple expressions in `while' body.
6345 2011-10-30 Chong Yidong <cyd@gnu.org>
6347 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6348 instead of set-mark (Bug#9810).
6350 2011-10-30 Chong Yidong <cyd@gnu.org>
6352 * window.el (split-window-below, split-window-right): Rename from
6353 split-window-above-each-other and split-window-side-by-side
6354 respectively. All callers changed.
6355 (split-window-sensibly, split-window-sensibly): Use them.
6356 (split-window-keep-point): Doc fix.
6358 * isearch.el: Add isearch-scroll property to split-window-below
6359 and split-window-right.
6361 * follow.el (follow-mode):
6362 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6363 * progmodes/ada-xref.el (ada-gdb-application):
6364 * emulation/vip.el (vip-buffer-in-two-windows):
6365 * image-dired.el (image-dired-dired-with-window-configuration):
6366 * dired-x.el (dired-do-find-marked-files):
6367 * dired.el (dired-pop-to-buffer):
6368 * bs.el (bs--show-with-configuration):
6369 * vc/emerge.el (emerge-setup-windows):
6370 * textmodes/two-column.el (2C-two-columns):
6371 * textmodes/reftex-toc.el (reftex-toc):
6372 * progmodes/gdb-mi.el (gdb-setup-windows):
6373 * progmodes/fortran.el (fortran-window-create):
6374 * net/newst-treeview.el (newsticker--treeview-window-init):
6375 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6376 * emulation/tpu-edt.el (tpu-gold-map):
6377 * emulation/crisp.el (crisp-mode-map):
6378 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6380 2011-10-29 Chong Yidong <cyd@gnu.org>
6382 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6384 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6386 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6387 forged Ispell output (Bug#7904).
6389 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6391 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6393 * doc-view.el: Avoid ugly errors about not finding nil.
6394 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6395 (doc-view-dvipdf-program, doc-view-unoconv-program)
6396 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6397 Avoid nil or absolute file name as default value.
6398 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6400 2011-10-28 Alan Mackenzie <acm@muc.de>
6402 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6404 2011-10-28 Alan Mackenzie <acm@muc.de>
6406 Amend the handling of c-beginning/end-of-defun in nested declaration
6409 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6410 cc-langs.el. Change it to a defcustom.
6412 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6415 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6416 Prevent "class foo : bar" being spuriously recognized as a label.
6418 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6419 Add parameter `inclusive' (to include enclosing braces in the region).
6420 (c-widen-to-enclosing-decl-scope): New function.
6421 (c-while-widening-to-decl-block): New macro.
6422 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6423 outward for defun boundaries, and correspondingly change symbol
6424 `respect-enclosure' to `go-outward'.
6425 (c-declaration-limits): Change algorithm to report only the "innermost"
6428 2011-10-28 Deniz Dogan <deniz@dogan.se>
6430 * net/rcirc.el (rcirc-mode): Use hard newlines.
6432 2011-10-28 Alan Mackenzie <acm@muc.de>
6434 Amend to indent and fontify macros "which include their own semicolon"
6435 correctly, using the "virtual semicolon" mechanism.
6437 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6439 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6440 Recode to scan one line at a time rather than having \n and \r
6441 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6442 (c-forward-label): Amend for virtual semicolons.
6443 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6445 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6446 of the new C macros.
6448 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6449 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6450 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6451 (c-opt-cpp-macro-define): Make into a full language variable.
6452 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6453 AWK Mode (including \n, \r) removed, no longer needed.
6455 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6456 Invoke c-make-macro-with-semi-re.
6458 * progmodes/cc-vars.el (c-macro-with-semi-re):
6459 (c-macro-names-with-semicolon): New variables.
6460 (c-make-macro-with-semi-re): New function.
6462 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6464 * vc/log-edit.el: Fill empty field rather than adding new one.
6465 (log-edit-add-field): New function.
6466 (log-edit-insert-changelog): Use it.
6468 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6470 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6472 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6474 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6475 (gdb--check-interpreter): New function.
6478 2011-10-27 Glenn Morris <rgm@gnu.org>
6480 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6481 (least-positive-float, least-negative-float)
6482 (least-positive-normalized-float, least-negative-normalized-float)
6483 (float-epsilon, float-negative-epsilon):
6484 Remove unnecessary declarations.
6486 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6487 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6488 (least-positive-float, least-negative-float)
6489 (least-positive-normalized-float, least-negative-normalized-float)
6490 (float-epsilon, float-negative-epsilon): Add doc-strings,
6491 based on those in cl.texi.
6493 * files.el (set-visited-file-name): If the major-mode changed,
6494 reload the local variables. (Bug#9796)
6496 2011-10-27 Chong Yidong <cyd@gnu.org>
6498 * subr.el (change-major-mode-after-body-hook): New hook.
6499 (run-mode-hooks): Run it.
6501 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6502 Use change-major-mode-before-body-hook.
6504 * simple.el (fundamental-mode):
6505 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6506 change introducing fundamental-mode-hook.
6508 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6510 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6512 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6514 * ido.el (ido-file-name-all-completions-1): Do not require
6515 tramp.el explicitly. (Bug#7583)
6517 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6519 * progmodes/octave-mod.el:
6520 * progmodes/octave-inf.el: Update maintainer.
6522 2011-10-26 Chong Yidong <cyd@gnu.org>
6524 * subr.el (with-wrapper-hook): Rewrite doc.
6526 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6528 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6529 filenames "/method:foo:". (Bug#9793)
6531 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6533 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6536 2011-10-24 Glenn Morris <rgm@gnu.org>
6538 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6540 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6542 * notifications.el: Add the requirement of a running D-Bus session
6543 bus to the Commentary.
6545 2011-10-24 Juri Linkov <juri@jurta.org>
6547 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6548 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6551 2011-10-24 Juri Linkov <juri@jurta.org>
6553 * info.el (Info-following-node-name-re): Add newline to the list
6554 of allowed characters for leading space. (Bug#9824)
6556 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * progmodes/octave-inf.el (inferior-octave-mode-map):
6559 Fix C-c C-h binding.
6560 * progmodes/octave-mod.el (octave-help): Remove.
6562 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6564 Sync with Tramp 2.2.3.
6566 * net/tramp-cache.el (top): Pacify byte-compiler using
6567 `init-file-user' and `site-run-file'.
6569 * net/trampver.el: Update release number.
6571 2011-10-23 Chong Yidong <cyd@gnu.org>
6573 * files.el (toggle-read-only): Remove obsolete comment about
6576 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6577 for toggle-read-only. Note that this hasn't called vc-next-action
6578 since 2008-05-02, though it wasn't documented at the time.
6580 * vc/ediff-init.el (ediff-toggle-read-only-function):
6581 Use toggle-read-only.
6583 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6585 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6588 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6589 correct faulty logical expression.
6590 (c-parse-state-state, c-record-parse-state-state):
6591 (c-replay-parse-state-state): New defvar/defuns.
6592 (c-debug-parse-state): Use new functions.
6594 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6596 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6597 last fix. Use window-in-direction correctly.
6599 2011-10-21 Chong Yidong <cyd@gnu.org>
6601 * progmodes/idlwave.el (idlwave-mode):
6602 * progmodes/vera-mode.el (vera-mode): No need to set
6603 require-final-newline; that's done in prog-mode.
6604 Suggested by Stefan Monnier.
6606 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6608 * mouse.el (mouse-drag-window-above)
6609 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6610 (mouse-drag-mode-line-1, mouse-drag-header-line)
6611 (mouse-drag-vertical-line-rightward-window): Remove.
6612 (mouse-drag-line): New function.
6613 (mouse-drag-mode-line, mouse-drag-header-line)
6614 (mouse-drag-vertical-line): Call mouse-drag-line.
6615 * window.el (window-at-side-p, windows-at-side): New functions.
6617 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6619 * tar-mode.el (tar-grind-file-mode):
6620 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6622 2011-10-21 Chong Yidong <cyd@gnu.org>
6624 * progmodes/idlwave.el (idlwave-mode):
6625 * progmodes/vera-mode.el (vera-mode):
6626 Use mode-require-final-newline.
6628 2011-10-20 Glenn Morris <rgm@gnu.org>
6630 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6632 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6634 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6636 2011-10-20 Chong Yidong <cyd@gnu.org>
6638 * emulation/cua-base.el (cua-mode):
6639 * mail/footnote.el (footnote-mode):
6640 * mail/mailabbrev.el (mail-abbrevs-mode):
6641 * net/xesam.el (xesam-minor-mode):
6642 * progmodes/bug-reference.el (bug-reference-mode):
6643 * progmodes/cap-words.el (capitalized-words-mode):
6644 * progmodes/compile.el (compilation-minor-mode)
6645 (compilation-shell-minor-mode):
6646 * progmodes/gud.el (gud-tooltip-mode):
6647 * progmodes/hideif.el (hide-ifdef-mode):
6648 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6649 * progmodes/subword.el (subword-mode):
6650 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6651 * progmodes/which-func.el (which-function-mode):
6652 * term/tvi970.el (tvi970-set-keypad-mode):
6653 * term/vt100.el (vt100-wide-mode):
6654 * textmodes/flyspell.el (flyspell-mode):
6655 * textmodes/ispell.el (ispell-minor-mode):
6656 * textmodes/nroff-mode.el (nroff-electric-mode):
6657 * textmodes/paragraphs.el (use-hard-newlines):
6658 * textmodes/refill.el (refill-mode):
6659 * textmodes/reftex.el (reftex-mode):
6660 * textmodes/rst.el (rst-minor-mode):
6661 * textmodes/sgml-mode.el (html-autoview-mode)
6662 (sgml-electric-tag-pair-mode):
6663 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6664 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6665 * emulation/crisp.el (crisp-mode):
6666 * emacs-lisp/eldoc.el (eldoc-mode):
6667 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6668 minor mode behavior.
6670 2011-10-19 Juri Linkov <juri@jurta.org>
6672 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6673 the list of hard-coded chars with escape-glyph face.
6675 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6679 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6681 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6684 2011-10-19 Glenn Morris <rgm@gnu.org>
6686 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6687 Ignore ignored files. (Bug#9726)
6689 2011-10-19 Chong Yidong <cyd@gnu.org>
6691 Doc fix for minor modes, stating that an omitted argument enables
6692 the mode unconditionally when called from Lisp.
6694 * abbrev.el (abbrev-mode):
6695 * allout.el (allout-mode):
6696 * autoinsert.el (auto-insert-mode):
6697 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6698 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6699 (global-auto-revert-mode):
6700 * battery.el (display-battery-mode):
6701 * composite.el (global-auto-composition-mode)
6702 (auto-composition-mode):
6703 * delsel.el (delete-selection-mode):
6704 * desktop.el (desktop-save-mode):
6705 * dired-x.el (dired-omit-mode):
6706 * dirtrack.el (dirtrack-mode):
6707 * doc-view.el (doc-view-minor-mode):
6708 * double.el (double-mode):
6709 * electric.el (electric-indent-mode, electric-pair-mode):
6710 * emacs-lock.el (emacs-lock-mode):
6711 * epa-hook.el (auto-encryption-mode):
6712 * follow.el (follow-mode):
6713 * font-core.el (font-lock-mode):
6714 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6715 * help.el (temp-buffer-resize-mode):
6716 * hilit-chg.el (highlight-changes-mode)
6717 (highlight-changes-visible-mode):
6718 * hi-lock.el (hi-lock-mode):
6719 * hl-line.el (hl-line-mode, global-hl-line-mode):
6720 * icomplete.el (icomplete-mode):
6721 * ido.el (ido-everywhere):
6722 * image-file.el (auto-image-file-mode):
6723 * image-mode.el (image-minor-mode):
6724 * iswitchb.el (iswitchb-mode):
6725 * jka-cmpr-hook.el (auto-compression-mode):
6726 * linum.el (linum-mode):
6727 * longlines.el (longlines-mode):
6728 * master.el (master-mode):
6729 * mb-depth.el (minibuffer-depth-indicate-mode):
6730 * menu-bar.el (menu-bar-mode):
6731 * minibuf-eldef.el (minibuffer-electric-default-mode):
6732 * mouse-sel.el (mouse-sel-mode):
6733 * msb.el (msb-mode):
6734 * mwheel.el (mouse-wheel-mode):
6735 * outline.el (outline-minor-mode):
6736 * paren.el (show-paren-mode):
6737 * recentf.el (recentf-mode):
6738 * reveal.el (reveal-mode, global-reveal-mode):
6739 * rfn-eshadow.el (file-name-shadow-mode):
6740 * ruler-mode.el (ruler-mode):
6741 * savehist.el (savehist-mode):
6742 * scroll-all.el (scroll-all-mode):
6743 * scroll-bar.el (scroll-bar-mode):
6744 * server.el (server-mode):
6745 * shell.el (shell-dirtrack-mode):
6746 * simple.el (auto-fill-mode, transient-mark-mode)
6747 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6748 (line-number-mode, column-number-mode, size-indication-mode)
6749 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6750 * strokes.el (strokes-mode):
6751 * time.el (display-time-mode):
6752 * t-mouse.el (gpm-mouse-mode):
6753 * tool-bar.el (tool-bar-mode):
6754 * tooltip.el (tooltip-mode):
6755 * type-break.el (type-break-mode-line-message-mode)
6756 (type-break-query-mode):
6757 * view.el (view-mode):
6758 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6759 (global-whitespace-mode, global-whitespace-newline-mode):
6760 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6762 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6763 Fix autogenerated docstring.
6765 2011-10-19 Juri Linkov <juri@jurta.org>
6767 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6768 by checking environment variables "DESKTOP_SESSION" and
6769 "XDG_CURRENT_DESKTOP". (Bug#9779)
6771 2011-10-19 Juri Linkov <juri@jurta.org>
6773 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6774 (browse-url-chromium-program, browse-url-chromium-arguments):
6776 (browse-url-default-browser): Check for `browse-url-chromium' and
6777 call `browse-url-chromium-program'.
6778 (browse-url-chromium): New command. (Bug#9779)
6780 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6782 * facemenu.el (list-colors-duplicates): On Windows, detect more
6783 duplicates by assuming that only colors matching "^System" are
6784 special "system colors". (Bug#9722)
6786 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6789 to distinguish the author from the committer.
6791 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6793 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6795 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6797 * international/mule.el (sgml-html-meta-auto-coding-function):
6798 Add support for detecting encoding in HTML5 specified only as
6799 <meta charset="UTF-8">. Implementation just makes http-equiv and
6800 content-type parts from HTML4 encoding string optional. (Bug#9716)
6802 2011-10-18 Glenn Morris <rgm@gnu.org>
6804 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6806 2011-10-18 Chong Yidong <cyd@gnu.org>
6808 * faces.el (cursor): Doc fix.
6810 2011-10-17 Chong Yidong <cyd@gnu.org>
6812 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6814 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6816 * dirtrack.el (dirtrack): Support shell buffers with path
6817 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6819 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6821 * json.el: Bump version to 1.3 and note change in History.
6822 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6824 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6826 * comint.el (comint-insert-input, comint-send-input)
6827 (comint-get-old-input-default, comint-backward-matching-input)
6828 (comint-next-prompt): Use nil instead of `input' for field property of
6829 past user input (bug#114).
6831 * minibuffer.el (completion--replace): Inherit surrounding properties
6833 (minibuffer-complete-and-exit): Use it.
6835 * comint.el (comint--table-subvert): Quote the all-completions output
6838 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6840 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6842 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6843 window on right of selected. (Bug#9350) Reword other window
6844 entries and separate them from frame entries.
6846 2011-10-15 Glenn Morris <rgm@gnu.org>
6848 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6851 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6853 * net/network-stream.el (network-stream-open-starttls):
6854 Improve detection of failure due to lack of TLS support.
6856 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6857 putting the input text in front and in bold.
6859 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6863 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6866 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6867 unread-command-events rather than pushing yet-another event.
6869 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6871 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6872 the explanation of the possible choices. Make the options passed
6873 to completing-read shorter.
6875 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6877 * textmodes/flyspell.el (flyspell-large-region): Make sure
6878 extended character mode is used if defined (Bug#1339).
6880 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6882 * simple.el (what-cursor-position): Fix the display of the
6883 character info for LRE, LRO, RLE, and RLO characters by appending
6886 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6889 even in case of error; add debug spec; simplify data flow.
6890 (with-timeout-handler): Remove.
6892 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6894 Fix Bug#6019, Bug#9315.
6896 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6897 complete `buffer-file-name', the local file name part could look
6898 remotely (for example on VMS).
6900 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6901 `tramp-run-real-handler'.
6902 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6903 already quoted by '"'.
6905 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6906 Let `file-name-handler-alist' be nil, the local file name part
6907 could look remotely (for example on VMS).
6909 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6911 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6913 (flyspell-post-command-hook): ...to here.
6915 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6919 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6920 using completion. Protect against "slow" callers.
6921 Remove the "message hack".
6923 2011-10-11 Juri Linkov <juri@jurta.org>
6925 * isearch.el (isearch-lazy-highlight-word): New variable.
6926 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6929 2011-10-11 Glenn Morris <rgm@gnu.org>
6931 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6932 like f90-previous-statement does.
6934 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6936 * eshell/eshell.el (eshell-command): History should be saved
6937 only in interactive use, to avoid error.
6939 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6941 * minibuffer.el (completion-file-name-table): Fix last change,
6942 i.e. ignore normal errors but not the other ones.
6944 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6946 * window.el (special-display-buffer-names)
6947 (special-display-regexps): Remove some remnants of earlier
6948 changes from doc-strings.
6949 (quit-windows-on): New function.
6951 * vc/vc.el (vc-revert, vc-rollback):
6952 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6953 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6954 (Bug#6183) (Bug#7074) (Bug#7447)
6956 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6958 * window.el (frame-auto-hide-function): Add version tag.
6961 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6963 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6966 2011-10-09 Leo Liu <sdl.web@gmail.com>
6968 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6971 2011-10-08 Glenn Morris <rgm@gnu.org>
6973 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6974 before the first code statement zero indent. (Bug#9690)
6976 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6978 * simple.el (count-words-region): Always count in the region.
6979 Report the number of lines and characters too.
6980 (count-words): New command, which counts in the buffer if the
6981 region is inactive, as count-words-region used to.
6982 (count-words--message): New function. Handle plurals.
6983 (count-lines-region): Make it an alias for count-words-region.
6985 * bindings.el (esc-map): Replace count-lines-region with
6988 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6990 * window.el (window--delete): Delete dedicated frame
6991 unconditionally when argument KILL is non-nil. (Bug#9699)
6992 (switch-to-buffer): Fix doc-string typo.
6994 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6996 * eshell/eshell.el (eshell-command): Avoid using hooks.
6998 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7000 * bindings.el ([M-left],[M-right]): Bind to left-word and
7001 right-word respectively.
7003 2011-10-07 Glenn Morris <rgm@gnu.org>
7005 * cus-start.el (debug-on-quit): Fix custom type.
7007 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009 * subr.el (define-key-after): Clarify that the function is not
7010 useful for non-menu keymaps.
7012 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7014 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7016 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7017 in current minibuffer (Fix bug with recursive minibuffers).
7019 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7021 * progmodes/gdb-mi.el (gdb): Doc fix.
7023 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7025 * window.el (frame-auto-hide-function): New option replacing
7026 frame-auto-delete. Suggested by Stefan Monnier.
7027 (window--delete): Call frame-auto-hide-function instead of
7028 investigating frame-auto-delete.
7029 (window-point-1, set-window-point-1): New functions.
7030 (window-in-direction, record-window-buffer, window-state-get-1)
7031 (display-buffer-record-window): Use window-point-1 instead of
7033 (set-window-buffer-start-and-point): Use set-window-point-1.
7035 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7039 2011-10-05 Glenn Morris <rgm@gnu.org>
7041 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7042 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7044 2011-10-05 Leo Liu <sdl.web@gmail.com>
7046 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7047 works with buffer object.
7049 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7051 * mpc.el (mpc-tool-bar-map): Add labels.
7053 2011-10-04 Glenn Morris <rgm@gnu.org>
7055 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7057 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7059 * window.el (window--delete): New function.
7060 (frame-auto-delete): Resuscitate option.
7061 (bury-buffer, replace-buffer-in-windows)
7062 (quit-window): Rewrite using window--delete.
7063 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7064 Pass display-buffer-mark-dedicated to window--display-buffer-2
7067 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7070 returns a list (bug#9554). Add remote file name completion.
7071 * comint.el (comint--table-subvert): Curry and get quote&unquote
7072 functions as arguments.
7073 (comint--complete-file-name-data): Adjust call accordingly.
7074 * pcomplete.el (pcomplete--table-subvert): Remove.
7075 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7077 * minibuffer.el (completion-table-case-fold): Use currying.
7078 (completion--styles-type, completion--cycling-threshold-type):
7080 (completion-styles, completion-category-overrides)
7081 (completion-cycle-threshold): Use them.
7082 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7083 completion-table-case-fold.
7085 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7087 * minibuffer.el (completion-category-overrides): Fix type of styles
7088 and add more user friendly tags (bug#9660).
7090 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7093 (mule-input-method-string): New widget.
7094 (default-input-method, language-info-custom-alist): Use it.
7096 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7098 * pcomplete.el: Require comint.
7099 (pcomplete--common-suffix): Remove.
7100 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7101 (pcomplete--table-subvert): Sync with comint--table-subvert.
7102 (pcomplete--entries): Use comint-completion-file-name-table.
7103 * comint.el (comint-unquote-filename): Simplify.
7104 (comint-completion-file-name-table): New function (bug#9616).
7105 (comint--complete-file-name-data): Use it.
7107 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7108 (pcmpl-gnu-tar-buffer): Remove.
7109 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7110 around. Make sure pcomplete-suffix-list is only changed temporarily.
7111 Don't look inside the tar's file if it's too large.
7113 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7115 * cus-edit.el (custom-mode-map):
7116 * epa.el (epa-key-list-mode-map):
7117 * man.el (Man-mode-map):
7118 * startup.el (splash-screen-keymap):
7119 * simple.el (special-mode-map): Use scroll-up-command and
7120 scroll-down-command.
7122 * progmodes/idlw-help.el (idlwave-help-mode-map):
7123 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7124 * net/newst-plainview.el (newsticker-mode-map):
7125 * emulation/ws-mode.el (wordstar-mode-map):
7126 * emulation/vi.el (vi-com-map):
7127 * calc/calc-graph.el (calc-graph-show-dumb):
7128 * term/sun.el (terminal-init-sun):
7129 * term/ns-win.el (global-map):
7130 * progmodes/grep.el (grep-mode-map):
7131 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7132 * mail/rmail.el (rmail-mode-map):
7133 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7135 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7136 custom-safe-themes as special.
7138 2011-10-01 Julien Danjou <julien@danjou.info>
7140 * notifications.el (notifications-notify): Fix docstring.
7142 2011-10-01 Per Starbäck <per@starback.se>
7144 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7146 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7148 * startup.el (command-line-1): Fix last fix by inserting
7149 initial-scratch-message into *scratch* before displaying it.
7150 (Bug#9605) and (Bug#9636)
7152 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7154 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7155 window is hscrolled, move by logical lines. (Bug#9607)
7156 (line-move-visual): Update the doc string to the above effect.
7158 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7160 * window.el (display-buffer-record-window): When WINDOW is the
7161 selected window use `point' instead of `window-point'. (Bug#9626)
7163 * startup.el (command-line-1): Use insert-before-markers when
7164 inserting initial-scratch-message. (Bug#9605)
7166 * help.el (help-window): Remove variable.
7168 2011-09-29 Glenn Morris <rgm@gnu.org>
7170 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7172 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7174 * descr-text.el (describe-char-categories): Accept category
7175 descriptions more than one line long.
7177 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * simple.el (delete-trailing-whitespace): Fix last change.
7181 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7182 Don't confuse "y => 3" as the beginning of a `y' operation.
7184 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7185 object has more than 4 slots (bug#9613).
7187 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7189 * subr.el (with-output-to-temp-buffer):
7190 * net/quickurl.el (quickurl, quickurl-browse-url):
7191 Fix typos in docstrings.
7193 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7195 * minibuffer.el (completion-styles)
7196 (completion-category-overrides): Cross reference each other in doc
7199 2011-09-27 Glenn Morris <rgm@gnu.org>
7201 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7202 to split-string. (Bug#9606)
7204 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7209 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7211 * emacs-lisp/package.el (list-packages): Fix echo area message.
7213 2011-09-27 Leo Liu <sdl.web@gmail.com>
7215 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7217 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7219 * net/dbus.el (dbus-unregister-object): Don't release services for
7220 registered signals. (Bug#9581)
7222 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7224 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7225 function that picks between cfengine 2 and 3 support
7226 automatically. Update docs accordingly.
7228 2011-09-22 Kenichi Handa <handa@m17n.org>
7230 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7232 (indian-itrans-v5-table-for-tamil): New variable.
7233 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7235 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7237 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7238 that's true if the current command involved collapsing of text.
7239 It's reset to false at the beginning of the next command.
7240 (allout-post-command-business): Move the cursor to the beginning
7241 of entry if the cursor is hidden and collapsing activity just
7244 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7246 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7247 tracking (Bug#9541).
7249 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7251 * net/newst-reader.el (newsticker-html-renderer)
7252 (newsticker-show-news): Automatically load html rendering package
7253 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7254 because w3m-fill-column is let-bound" and the error "Symbol's value
7255 as variable is void: w3m-fill-column".
7257 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7259 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7260 Release services only if they are defined. (Bug#9581)
7262 2011-09-23 Richard Stallman <rms@gnu.org>
7264 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7265 distinguish start of paragraph from start of its text.
7267 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7269 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7270 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7271 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7273 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7275 * international/mule-diag.el (mule-diag): Insert a newline after
7276 each fontset description.
7278 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * simple.el (delete-trailing-whitespace):
7281 Document last change; simplify.
7283 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7285 * simple.el (delete-trailing-whitespace): Also delete
7286 extra newlines at the end of the buffer.
7288 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7289 (picture-newline): Use forward-line so as to ignore fields.
7291 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7293 * subr.el (with-wrapper-hook): Fix edebug spec.
7295 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7300 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7302 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7303 Fix nasty bug using wrong cached values.
7305 2011-09-23 Alan Mackenzie <acm@muc.de>
7307 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7309 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7311 * window.el (pop-to-buffer): Ensure right window is selected if we
7312 chose another frame.
7314 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7316 * simple.el (what-cursor-position): Use get-char-property-change
7317 and next-single-char-property-change, to be able to show display
7318 properties that come from overlays as well as text properties.
7320 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7322 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7324 * cmuscheme.el (run-scheme, switch-to-scheme):
7325 * cus-edit.el (customize-group, custom-buffer-create)
7329 * mail/sendmail.el (mail):
7330 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7332 2011-09-22 Richard Stallman <rms@gnu.org>
7334 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7335 move back only to line beg, don't move back over blank lines.
7337 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7339 * files.el (copy-directory): Set directory attributes only in case
7340 they could be retrieved from the source directory. (Bug#9565)
7342 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7344 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7345 (hs-find-block-beginning, hs-hide-level-recursive):
7346 Ignore strings as well as comments. (Bug#9502)
7348 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7350 * progmodes/sql.el (sql-comint-postgres):
7351 Convert port number to a string. (Bug#9566)
7353 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7355 * window.el (quit-window): Undedicate window when switching to
7356 previous buffer. Reported by Thierry Volpiatto
7357 <thierry.volpiatto@gmail.com>.
7358 (special-display-popup-frame): When popping up a new frame reset
7359 its previous buffers to nil. Simplify code.
7361 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7363 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7364 and process filter, as done also in `shell-command'.
7366 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7368 * window.el (set-window-buffer-start-and-point):
7369 Call set-window-start with NOFORCE argument t.
7370 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7371 (quit-window): Reword doc-string. Handle new format of
7372 quit-restore parameter. Don't delete window if it has a
7373 previous buffer we can show instead of the present one.
7374 (display-buffer-record-window): Rewrite using a new format for
7375 the quit-restore window parameter
7376 (special-display-popup-frame, display-buffer-same-window)
7377 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7378 (display-buffer-pop-up-window, display-buffer-use-some-window):
7379 Adapt symbol passed to display-buffer-record-window.
7380 * help.el (help-window-setup): Handle new format of quit-restore
7383 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7385 * faces.el (face-list): Fix docstring (bug#9564).
7387 * window.el (display-buffer--action-function-custom-type):
7388 Don't include internal functions in the Custom interface.
7390 2011-09-20 Juri Linkov <juri@jurta.org>
7392 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7393 (Info-forward-node, Info-backward-node, Info-next-preorder)
7394 (Info-last-preorder): Use it. (Bug#9528)
7396 2011-09-20 Juri Linkov <juri@jurta.org>
7398 * info.el (Info-last-preorder): Visit last menu item only when
7399 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7401 2011-09-20 Julien Danjou <julien@danjou.info>
7403 * password-cache.el (password-cache-remove): Remove entries even if the
7404 value is nil, so that password with a nil value (negative caching) is
7405 possible to invalidate.
7407 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7409 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7410 all whitespace around breakpoint. (Bug#9553)
7411 (f90-find-breakpoint): Only break at whitespace inside a comment.
7413 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7415 * minibuffer.el (completion-file-name-table): Keep track of errors.
7416 (completion-table-with-predicate): Handle the case where pred1 is nil.
7417 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7419 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7421 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7422 (debugger-return-value): Signal an error if the debugging context does
7423 not await any return value.
7425 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7426 * image-mode.el (image-toggle-display-text)
7427 (image-toggle-display-image): Stay away from evil `intangible'.
7429 2011-09-19 Leo Liu <sdl.web@gmail.com>
7431 * replace.el (occur-revert-arguments): Make it permanent-local.
7432 (occur-mode): Don't call font-lock-defontify.
7434 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7436 * net/ldap.el (ldap-search-internal): Don't push empty search
7439 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7443 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7445 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7446 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7448 2011-09-18 Juri Linkov <juri@jurta.org>
7450 * buff-menu.el (Buffer-menu-mode-map):
7451 * dired.el (dired-mode-map):
7452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7453 (lisp-interaction-mode-map):
7454 * emacs-lisp/package.el (package-menu-mode-map):
7455 * epa.el (epa-key-list-mode-map):
7456 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7457 (menu-bar-options-menu):
7458 * outline.el (outline-mode-menu-bar-map):
7459 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7460 * vc/vc-dir.el (vc-dir-menu-map):
7461 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7462 Capitalize non-function content words in menu item strings.
7464 * dired.el (dired-mode-map): Add menu item for
7465 `image-dired-dired-toggle-marked-thumbs'.
7467 2011-09-18 Juri Linkov <juri@jurta.org>
7469 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7470 to `isearch-case-fold-search' and restore its original value
7471 after the `isearch-mode' call.
7473 2011-09-18 Juri Linkov <juri@jurta.org>
7475 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7476 because `zgrep' returns 1 for successful matches (bug#9226).
7478 2011-09-18 Juri Linkov <juri@jurta.org>
7480 * info.el (Info-extract-menu-node-name): Check the second match
7481 for empty string (second test-case of bug#9528).
7482 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7483 intermediate nodes to the history (first test-case of bug#9528).
7485 2011-09-18 Juri Linkov <juri@jurta.org>
7487 * info.el (Info-mode-syntax-table): New variable.
7488 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7490 2011-09-18 Juri Linkov <juri@jurta.org>
7492 * info.el (Info-file-supports-index-cookies):
7493 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7494 outputs one more line for long file names (bug#4142).
7496 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7498 * newcomment.el (comment-normalize-vars): If prompting for
7499 comment-start, set comment-start-skip too (Bug#8424).
7501 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7503 * icomplete.el: Fix previous fix of Bug#5849.
7504 (icomplete-mode): Don't set completion-show-inline-help.
7505 (icomplete-minibuffer-setup): Set completion-show-inline-help
7506 locally during icompletion.
7508 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7510 * woman.el (woman2-process-escapes): Don't delete unrecognized
7513 * files.el (inhibit-first-line-modes-regexps): Add image files.
7514 (hack-local-variables-prop-line): Return nil for malformed
7515 prop-lines (Bug#9044).
7517 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7519 * net/tramp.el (top): Don't require 'shell.
7520 (tramp-methods): Fix docstring.
7521 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7522 Return complete remote file name. Handle "smb" case.
7523 Use `tramp-tmpdir', if defined for the respective method.
7524 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7526 * net/tramp-compat.el (top): Require 'shell.
7528 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7529 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7530 `tramp-current-host'.
7531 (tramp-get-remote-tmpdir): Remove.
7533 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7534 `tramp-tmpdir' entries.
7535 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7536 (tramp-smb-handle-file-attributes): Ignore errors.
7537 (tramp-smb-wait-for-output): Check also for process end.
7539 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7541 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7542 when sending QUIT (bug#9312).
7544 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7546 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7547 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7548 occur-mode-display-occurrence.
7549 (occur-edit-mode): Add usage message.
7550 (occur-cease-edit): New command.
7551 (occur-after-change-function): Use text properties to find the
7552 position of the prefix text.
7553 (occur-engine): Set stickiness of prefix text properties.
7555 2011-09-17 Glenn Morris <rgm@gnu.org>
7557 * progmodes/etags.el (complete-tag):
7558 Fix call to completion-in-region. (Bug#9526)
7560 2011-09-17 Juri Linkov <juri@jurta.org>
7562 * textmodes/ispell.el (ispell-word): Add to the error message
7563 the word, ispell program name and current dictionary (bug#9121).
7564 (ispell-tex-arg-end): Capitalize "error" in the error message.
7566 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7568 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7571 2011-09-17 Juri Linkov <juri@jurta.org>
7573 * window.el (window-safe-min-height, window-safe-min-width):
7574 Fix typos (followup to bug#9522).
7576 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7578 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7580 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7582 * simple.el (line-move): If goal-column is set, move by logical
7583 lines, not by display lines. (Bug#971)
7584 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7585 to reflect the above change.
7587 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * image.el (imagemagick-register-types): Use regexp-opt.
7591 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7593 * window.el (display-buffer-base-action): Rename from
7594 display-buffer-default-action. Make default value empty.
7595 (display-buffer-overriding-action): Convert to defvar.
7596 (display-buffer-fallback-action): New var.
7598 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7600 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7602 (package--add-to-archive-contents): If there is a duplicate entry
7603 with an older version, remove it.
7604 (package-menu-mark-delete, package-menu-mark-install)
7605 (package-menu-mark-unmark): Make unused args optional.
7606 (package-menu-mark-obsolete-for-deletion):
7607 Use package-menu-get-status instead of a regexp search.
7608 (package-menu-get-status): Use tabulated-list-entry.
7609 (package-menu-mark-upgrades): New command.
7610 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7611 (package-menu-execute): Do installation before deletion.
7612 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7613 instead of checking major-mode.
7614 (package-menu--find-upgrades): New function.
7616 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7619 passwords in the log buffer.
7620 (smtpmail-process-filter): Update the process marker so that the
7621 "broken by peer" status message is inserted in the right place.
7623 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7626 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7627 bibtex-completion-at-point-function.
7628 (bibtex-completion-at-point-function): Use them.
7630 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7632 * mpc.el (mpc-constraints-tag-lookup): New function.
7633 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7634 also to browser "album|playlist".
7636 2011-09-14 Juri Linkov <juri@jurta.org>
7638 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7639 (isearch-edit-string): Use length of `isearch-string' when
7640 `isearch-fail-pos' returns nil.
7641 (isearch-message): Remove duplicate code and call
7642 `isearch-fail-pos' with arg `t'.
7644 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7646 * replace.el (occur-mode-goto-occurrence): Don't force using other
7649 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7651 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7653 * window.el (display-buffer-window): Remove.
7654 (display-buffer-record-window): Use help-setup window parameter
7655 instead of variable display-buffer-window.
7656 (display-buffer-function, special-display-buffer-names)
7657 (special-display-function): Mention help-setup parameter instead
7658 of display-buffer-window in doc-string.
7659 * help.el (help-window-setup): New argument help-window.
7660 Use help-window-setup parameter instead of display-buffer-window.
7661 Reword some messages.
7662 (with-help-window): Pass window used for displaying the buffer
7663 to help-window-setup. Don't set display-buffer-window.
7665 2011-09-13 Glenn Morris <rgm@gnu.org>
7667 * emacs-lisp/debug.el (debugger-make-xrefs):
7668 Preserve point. (Bug#9462)
7670 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7672 * window.el (window-deletable-p): Use next-frame.
7674 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7676 * window.el (window-auto-delete): Remove.
7677 (window-deletable-p): Remove argument FORCE. Don't deal with
7678 dedication and previous buffers.
7679 (switch-to-prev-buffer): Don't delete window.
7680 (delete-windows-on): Delete a window's frame if and only if the
7681 window is dedicated.
7682 (replace-buffer-in-windows): Delete buffer's window or frame if
7683 and only if window is dedicated.
7684 (quit-window): Handle quit-restore as before last change.
7685 (bury-buffer): Delete window only if window-deletable-p returns t.
7687 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7689 * window.el (window-deletable-p): Never delete the last frame on a
7692 2011-09-13 Glenn Morris <rgm@gnu.org>
7694 * help.el (describe-key-briefly): Copy previous standard-output change.
7696 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7698 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7700 2011-09-13 Glenn Morris <rgm@gnu.org>
7702 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7703 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7705 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7707 * dired-aux.el (dired-mark-read-string): Don't return default
7708 value on empty input (Bug#9361).
7709 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7710 Omit initial minibuffer contents.
7711 (dired-do-chmod): Signal an error on empty input.
7712 (dired-mark-read-string): Don't return default on empty input.
7714 * files.el (file-modes-symbolic-to-number): Doc fix.
7716 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * international/mule-cmds.el (ucs-completions): Remove.
7719 (read-char-by-name): Use complete-with-action instead; add metadata.
7721 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7723 * window.el (display-buffer--action-function-custom-type)
7724 (display-buffer--action-custom-type): New vars.
7725 (display-buffer-alist, display-buffer-default-action)
7726 (display-buffer-overriding-action): Add defcustom types.
7728 * frame.el (delete-other-frames): Doc fix (Bug#276).
7730 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7734 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7736 Change modes that used same-window-* vars to use switch-to-buffer.
7738 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7739 Use switch-to-buffer.
7741 * cus-edit.el (customize-group, custom-buffer-create)
7742 (customize-browse, custom-buffer-create-other-window):
7743 Use switch-to-buffer or switch-to-buffer-other-window.
7745 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7746 (Info-prev, Info-up, Info-speedbar-goto-node)
7747 (info-display-manual): Use switch-to-buffer.
7748 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7750 * mail/sendmail.el (mail): Use switch-to-buffer.
7751 (mail-recover): Use switch-to-buffer-other-window.
7753 * cmuscheme.el (run-scheme, switch-to-scheme):
7756 * net/rlogin.el (rlogin):
7757 * net/telnet.el (telnet, rsh):
7758 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7760 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7762 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7764 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7766 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7767 so don't mention it (bug#9301).
7768 (dired-sort-toggle-or-edit): Clarify string further.
7770 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7771 match `x', `w32' and `ns', like the manual says (bug#9029).
7773 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7774 (process-kill-buffer-query-function): Mention the buffer name in
7777 * image-mode.el (image-next-line): The line parameter is mandatory
7780 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7781 which can be useful (bug#9301).
7783 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7785 * subr.el (match-string): Mention that the current buffer should
7786 be the same as the search was done in (bug#9282).
7788 * facemenu.el: Disable the remove-* commands if the mark isn't
7791 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7793 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7795 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7797 * replace.el (occur-mode-goto-occurrence)
7798 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7801 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7804 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7805 special-display and same-window variables.
7806 (mail-other-window): Use switch-to-buffer-other-window.
7807 (mail-other-frame): USe switch-to-buffer-other-frame.
7809 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7810 Use display-buffer-other-frame.
7811 (gdb-display-gdb-buffer): Use pop-to-buffer.
7813 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7815 * progmodes/python.el: Don't set same-window-buffer-names.
7817 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7819 * window.el (display-buffer-alist): Add *Python*.
7821 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7823 * window.el (display-buffer-alist): Add entry for buffers
7824 previously handled same-window-*.
7825 (display-buffer-alist, display-buffer-default-action)
7826 (display-buffer-overriding-action): Mark as risky.
7827 (display-buffer-alist): Document action function changes.
7828 (display-buffer--same-window-action)
7829 (display-buffer--other-frame-action): New variables.
7830 (switch-to-buffer, display-buffer-other-frame): Use them.
7831 (display-buffer): Rename reuse-frame entry to reusable-frames.
7832 (display-buffer-reuse-selected-window): Function deleted.
7833 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7834 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7835 (display-buffer-special): New function.
7836 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7837 display-buffer-reuse-or-pop-window. Split off special-display
7838 part into display-buffer-special.
7839 (display-buffer-use-some-window): Don't perform any special
7840 pop-up-frames handling.
7841 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7842 (display-buffer--maybe-same-window): Rename from
7843 display-buffer-maybe-same-window.
7845 * info.el: Don't set same-window-regexps.
7846 (info-setup): New function.
7847 (info-other-window, info): Call it.
7849 * cus-edit.el: Don't set same-window-regexps.
7850 (customize-group): New argument.
7851 (customize-group-other-window): Use it.
7852 (customize-face, customize-face-other-window): Likewise.
7853 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7857 * progmodes/gud.el: Don't set same-window-regexps.
7863 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7865 2011-09-10 Juri Linkov <juri@jurta.org>
7867 * isearch.el (isearch-edit-string): Remove obsolete mention of
7868 `C-w' (`isearch-yank-word-or-char') from docstring.
7869 (isearch-query-replace): Fix typo in docstring (bug#9466).
7871 2011-09-10 Juri Linkov <juri@jurta.org>
7873 * paren.el (show-paren-function): Don't show escaped parens.
7874 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7876 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7878 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7879 (mm-default-file-encoding): Remove autoload forms, they are
7880 replaced with autoload cookies in mml.el and mm-encode.el.
7881 (mail-add-attachment): New command.
7882 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7883 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7885 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7887 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7889 * simple.el (count-words-region): Use buffer if there's no region
7892 2011-09-09 Juri Linkov <juri@jurta.org>
7894 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7895 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7896 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7898 2011-09-09 Alan Mackenzie <acm@muc.de>
7900 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7901 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7903 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7905 Fix for Savannah bug#9392.
7906 * simple.el (mail-encode-mml): New defvar.
7908 * mail/rmail.el (mail-encode-mml): Add a defvar.
7909 (rmail-enable-mime-composing): Default to t.
7910 (rmail-forward): Use MIME method of forwarding only if both
7911 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7912 Set mail-encode-mml non-nil if the MIME method was used.
7914 * mail/sendmail.el (mml-to-mime): Add autoload form.
7915 (mail-encode-mml): Add a defvar.
7916 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7918 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7919 message through mml-to-mime, and reset mail-encode-mml to nil.
7921 2011-09-09 Glenn Morris <rgm@gnu.org>
7923 * woman.el (woman-if-body): When processing an .el block,
7924 do not delete the next .el block as well. (Bug#9447)
7925 (woman-special-characters): Add oq, cq, and hy characters.
7927 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7929 * window.el (window-deletable-p): Make sure window is live before
7930 invoking window-prev-buffers.
7932 2011-09-08 Leo Liu <sdl.web@gmail.com>
7934 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7936 2011-09-08 Juri Linkov <juri@jurta.org>
7938 * progmodes/compile.el (compilation-environment): Make it
7939 a defcustom (bug#8340).
7941 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7943 * window.el (frame-auto-delete): Rename to window-auto-delete.
7944 Make it control auto-deletion of windows and/or frames.
7945 (window-deletable-p): New argument FORCE. Rewrite conditions
7946 for deleting window/frame. (Bug#9419)
7947 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7948 Rewrite handling of case when window/frame can be deleted.
7949 (delete-windows-on): Call window-deletable-p with new FORCE
7950 argument t. (Bug#9456)
7952 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7954 * help-mode.el (help-mode): Restore autoload.
7956 2011-09-07 Juri Linkov <juri@jurta.org>
7958 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7959 `compilation-environment'. Set buffer-local
7960 `compilation-environment' to `thisenv' later after (funcall mode).
7963 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7964 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7965 instead of replacing its value. (Bug#8340)
7967 2011-09-07 Juri Linkov <juri@jurta.org>
7969 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7970 based on text properties put by `grep-filter' instead of matching
7972 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7973 to the value of `grep-error-screen-columns' (bug#9438).
7975 2011-09-07 Juri Linkov <juri@jurta.org>
7977 * simple.el (next-error-highlight, next-error-highlight-no-select):
7980 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7982 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7983 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7985 2011-09-07 Leo Liu <sdl.web@gmail.com>
7987 * net/rcirc.el (rcirc-mode): Conditionally initialize
7990 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * emacs-lisp/find-func.el (find-function-C-source): Only set
7993 find-function-C-source-directory after checking that we found a source
7994 file there (bug#9440).
7996 2011-09-06 Alan Mackenzie <acm@muc.de>
7998 * isearch.el (isearch-other-meta-char): Wherever a key list is
7999 unread, "unread" the prefix arg, too. This fixes bug #8901.
8001 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8003 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8005 2011-09-05 Juri Linkov <juri@jurta.org>
8007 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8009 2011-09-05 Juri Linkov <juri@jurta.org>
8011 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8012 keeping point where processing of grep matches begins, and
8013 continue to delete remaining escape sequences from the same point.
8014 (grep-filter): Make leading zero optional in "0?1;31m" because
8015 git-grep emits "\033[1;31m" escape sequences unlike expected
8016 "\033[01;31m" as GNU Grep does (bug#9408).
8017 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8019 2011-09-05 Juri Linkov <juri@jurta.org>
8021 * subr.el (y-or-n-p): Capitalize "yes".
8023 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8025 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8026 `tramp-cache-unload-hook' where appropriate.
8027 (tramp-methods): Rename `tramp-remote-sh' to
8028 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8029 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8031 * net/tramp-sh.el (top): Don't require 'shell.
8032 (tramp-methods): Add `tramp-remote-shell' and
8033 `tramp-remote-shell-args' entries.
8034 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8035 (tramp-sh-handle-shell-command): Remove.
8036 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8037 Use `tramp-remote-shell'.
8039 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8041 * mail/sendmail.el (sendmail-query-once-function): Delete.
8042 (sendmail-query-once): Save directly to send-mail-function.
8043 Update message-send-mail-function too.
8045 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8047 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8049 * progmodes/python.el (python-mode-map): Use correct function to
8050 start python interpreter from menu-bar (as reported by Geert
8052 (inferior-python-mode-map): Fix typo.
8053 (python-shell-map): Remove.
8055 2011-09-03 Deniz Dogan <deniz@dogan.se>
8057 * net/rcirc.el (rcirc-print): Simplify code for
8058 rcirc-scroll-show-maximum-output. There is no need to walk
8059 through all windows to find the right one.
8061 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8063 * help.el (help-return-method): Doc fix.
8065 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8067 * window.el (window-deletable-p): Don't return a non-nil value
8068 when there's a buffer that was shown in the window before.
8070 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8071 Set window's previous buffers to nil.
8073 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8075 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8076 newline before and after the tag line, so it doesn't interfere
8077 with determining the paragraph direction of bidirectional text.
8079 2011-09-03 Leo Liu <sdl.web@gmail.com>
8081 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8083 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8085 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8086 (pop-to-buffer): Change interactive spec. Pass second argument
8087 directly to display-buffer.
8088 (display-buffer): Fix interactive spec. Use functionp to
8089 distinguish between a function and a list of functions.
8091 * abbrev.el (edit-abbrevs):
8092 * arc-mode.el (archive-extract):
8093 * autoinsert.el (auto-insert):
8094 * bookmark.el (bookmark-bmenu-list):
8095 * files.el (find-file):
8096 * view.el (view-buffer):
8097 * progmodes/compile.el (compilation-goto-locus):
8098 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8100 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8102 * window.el (display-buffer-alist): Doc fix.
8103 (display-buffer): Add docstring. Don't treat
8104 display-buffer-default specially.
8105 (display-buffer-reuse-selected-window)
8106 (display-buffer-same-window, display-buffer-maybe-same-window)
8107 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8108 (display-buffer-pop-up-window)
8109 (display-buffer-reuse-or-pop-window)
8110 (display-buffer-use-some-window): New functions.
8111 (display-buffer-default-action): Use them.
8112 (display-buffer-default): Delete.
8113 (pop-to-buffer-1): Fix choice of actions.
8115 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * minibuffer.el (completion--insert-strings): Don't get confused by
8118 completion entries that end with an LF char.
8120 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8122 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8124 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8126 * window.el (display-buffer): Restore interactive spec.
8127 (display-buffer-same-window, display-buffer-other-window):
8129 (pop-to-buffer-1): New function. Use the above.
8130 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8131 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8133 * view.el (view-buffer-other-window, view-buffer-other-frame):
8134 Just use pop-to-buffer.
8136 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8138 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8140 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8142 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8144 2011-08-31 Richard Stallman <rms@gnu.org>
8146 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8147 of the separation of rmail-view-buffer from rmail-buffer.
8148 If you say no to "replace original", the decrypt is in the
8149 view buffer. If you say yes, the decrypt goes into the
8152 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8154 * window.el (display-buffer-window): Rewrite doc-string.
8155 (display-buffer-record-window): New function.
8156 (display-buffer-macro-specifiers)
8157 (display-buffer-even-window-sizes, display-buffer-set-height)
8158 (display-buffer-set-width, display-buffer-in-window)
8159 (display-buffer-reuse-window, display-buffer-split-specifiers)
8160 (display-buffer-side-specifiers, display-buffer-split-window-1)
8161 (display-buffer-split-window, display-buffer-split-atom-window)
8162 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8163 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8164 (display-buffer-other-window-means-other-frame)
8165 (display-buffer-normalize-special)
8166 (display-buffer-normalize-default)
8167 (display-buffer-normalize-argument)
8168 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8169 (display-buffer-normalize-specifiers, display-buffer-frame)
8170 (display-buffer-same-window, display-buffer-same-frame)
8171 (display-buffer-other-window)
8172 (display-buffer-same-frame-other-window)
8173 (display-buffer-other-frame, pop-to-buffer-same-window)
8174 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8175 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8176 (switch-to-buffer-same-frame)
8177 (switch-to-buffer-other-window-same-frame)
8178 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8179 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8180 (display-buffer-alist-set): Remove.
8181 (display-buffer-function, special-display-buffer-names)
8182 (special-display-regexps, special-display-function):
8183 In doc-string refer to display-buffer-window and quit-restore
8185 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8186 (special-display-frame-alist, special-display-popup-frame)
8187 (same-window-buffer-names, same-window-regexps, same-window-p)
8188 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8189 (split-window-preferred-function, split-height-threshold)
8190 (split-width-threshold, window-splittable-p)
8191 (split-window-sensibly, window--try-to-split-window)
8192 (window--frame-usable-p, even-window-heights)
8193 (window--even-window-heights, window--display-buffer-1)
8194 (window--display-buffer-2, display-buffer-other-frame):
8195 Restore old Emacs 23 code, order and doc-strings where applicable.
8196 (display-buffer-default, display-buffer-assq-regexp): New functions.
8197 (display-buffer-alist): Rewrite doc-string.
8198 (display-buffer-default-action)
8199 (display-buffer-overriding-action): New variables.
8200 (display-buffer, switch-to-buffer): Rewrite.
8201 (pop-to-buffer): Restore Emacs 23 behavior but use
8202 window-normalize-buffer-to-display.
8203 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8204 Restore Emacs 23 behavior but use
8205 window-normalize-buffer-to-switch-to.
8206 (pop-to-buffer-same-window): Rewrite.
8207 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8208 Rewrite using Emacs 23 options.
8210 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8212 * net/tramp.el (tramp-root-regexp): Remove.
8213 (tramp-completion-file-name-regexp-unified)
8214 (tramp-completion-file-name-regexp-separate)
8215 (tramp-completion-file-name-regexp-url): Don't use leading volume
8216 letter on win32 systems. (Bug#5303, Bug#9311)
8217 (tramp-drop-volume-letter): Simplify definition.
8218 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8220 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8222 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8225 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8227 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8229 2011-08-29 Juri Linkov <juri@jurta.org>
8231 * isearch.el (isearch-done): Don't display message "Mark saved"
8232 when arg `edit' is non-nil to prevent its flicker in the echo area.
8234 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8236 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8237 obsolete packages for deletion.
8239 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8241 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8242 (help-mode): Derive help-mode from special-mode. Don't invoke
8243 view-mode from help-mode.
8244 (help-xref-override-view-map): Remove.
8245 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8246 view-mode is not used anymore.
8248 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8250 * server.el (server-port): Doc fix.
8252 * cus-theme.el (custom-theme-choose-mode): Inherit from
8253 special-mode (Bug#9124).
8254 (custom-theme-choose-mode-map): Add special-mode to parent.
8256 2011-08-28 Alan Mackenzie <acm@muc.de>
8258 * progmodes/cc-fonts.el
8259 (c-make-font-lock-BO-decl-search-function): New function.
8260 (c-basic-matchers-after - "Fontify the clauses after various
8261 keywords"): Extract the three keyword lists for the 3 erroneous
8262 constructs from the list of four, and use the new function above
8263 in place of an old one.
8265 2011-08-28 Deniz Dogan <deniz@dogan.se>
8267 * net/rcirc.el (rcirc-insert-prev-input)
8268 (rcirc-insert-next-input): Remove unused argument.
8270 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8274 2011-08-27 Alan Mackenzie <acm@muc.de>
8276 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8277 handle function pointer parameters properly.
8279 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8281 * window.el (display-buffer-reuse-window): Fix case where
8282 selected window was reused with non-nil OTHER-WINDOW argument.
8285 2011-08-27 Deniz Dogan <deniz@dogan.se>
8287 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8288 oftc's NickServ messages.
8290 2011-08-27 Glenn Morris <rgm@gnu.org>
8292 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8294 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8296 * emacs-lisp/package.el (package-install): Call package-initialize
8297 if called interactively.
8299 2011-08-26 Leo Liu <sdl.web@gmail.com>
8301 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8303 2011-08-25 Juri Linkov <juri@jurta.org>
8305 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8306 `search-whitespace-regexp' (bug#9364).
8308 2011-08-25 Juri Linkov <juri@jurta.org>
8310 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8311 `regexp-search-ring' to their global values to protect from
8312 updating by `read-from-minibuffer' (bug#9185).
8314 2011-08-25 Juri Linkov <juri@jurta.org>
8316 * textmodes/ispell.el (ispell-command-loop): Add newline
8317 at the end of the "Use option `i'..." line.
8319 2011-08-25 Juri Linkov <juri@jurta.org>
8321 * battery.el (display-battery-mode): If `battery-status-function'
8322 or `battery-mode-line-format' is nil, display the message and set
8323 `display-battery-mode' to nil (bug#9363).
8325 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8327 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8328 bidi-string-mark-left-to-right; they are unnecessary now.
8330 2011-08-25 Deniz Dogan <deniz@dogan.se>
8332 * net/quickurl.el: Documentation typo fixes.
8334 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8336 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8338 2011-08-25 Glenn Morris <rgm@gnu.org>
8340 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8342 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8343 (smtpmail-via-smtp): Handle nil response from smtp.
8345 2011-08-24 Juri Linkov <juri@jurta.org>
8347 * proced.el (proced-marked): Inherit from `error' instead of
8348 `font-lock-warning-face'.
8350 * ibuffer.el (ibuffer-marked-face): Change default face from
8351 `font-lock-warning-face' to `warning'.
8352 (ibuffer-deletion-face): Change default face from
8353 `font-lock-type-face' to `error'.
8355 * battery.el (battery-update): Use the face `error' instead of
8356 `font-lock-warning-face' (bug#6117).
8358 2011-08-24 Juri Linkov <juri@jurta.org>
8360 * faces.el (success): Change face color from "Green3" to
8361 "ForestGreen" on light background (bug#9353).
8363 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8365 * window.el (quit-window): Rename from quit-restore-window.
8366 Use same arglist as old quit-window.
8367 (frame-auto-delete): Doc fix.
8369 * view.el (view-mode-exit): Use quit-window.
8371 2011-08-24 Juri Linkov <juri@jurta.org>
8373 * isearch.el (isearch-ring-adjust1): Start visiting previous
8374 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8375 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8376 for empty search string (when the last search string is reused
8377 automatically) to adjust the isearch ring to the last element and
8378 prepare the correct index for further M-p commands (bug#9185).
8380 2011-08-24 Kenichi Handa <handa@m17n.org>
8382 * international/ucs-normalize.el: If decomposition property of
8383 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8385 (nfd, nfkd): Likewise.
8387 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8390 from process filters aren't reliably transmitted to the surrounding
8391 accept-process-output.
8392 (mpc-proc-check): New function.
8393 (mpc-proc-sync): Use it (bug#8293)
8395 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8398 Add compatibility functions (bug#9313).
8400 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8402 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8404 * international/uni-bidi.el: Regenerate.
8406 2011-08-23 Kenichi Handa <handa@m17n.org>
8408 * international/charprop.el:
8409 * international/uni-bidi.el:
8410 * international/uni-category.el:
8411 * international/uni-combining.el:
8412 * international/uni-comment.el:
8413 * international/uni-decimal.el:
8414 * international/uni-decomposition.el:
8415 * international/uni-digit.el:
8416 * international/uni-lowercase.el:
8417 * international/uni-mirrored.el:
8418 * international/uni-name.el:
8419 * international/uni-numeric.el:
8420 * international/uni-old-name.el:
8421 * international/uni-titlecase.el:
8422 * international/uni-uppercase.el: Regenerate.
8424 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8426 * help.el (help-window-setup): Fix message displayed when other
8427 window is reused. (Bug#9341)
8429 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8432 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8434 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8436 * shell.el (shell-parse-pcomplete-arguments): New function.
8437 (shell-completion-vars): Use it instead (bug#9160).
8439 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8441 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8442 strings and comments (bug#9333).
8444 * emacs-lisp/debug.el (debug-arglist): New function.
8445 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8446 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8448 2011-08-22 Juri Linkov <juri@jurta.org>
8450 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8451 Revert regexp that highlights output switches to its old
8452 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8454 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8455 to check for empty output (bug#9226).
8457 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8459 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8460 symbol-constituent as the default, as that stops font-lock from
8461 working properly (Bug#8843).
8463 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8465 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8466 `coding-system-for-*' around the process open call to avoid
8467 auth-source side effects.
8468 (smtpmail-try-auth-methods): Expand the secret password.
8469 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8472 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8474 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8476 * emacs-lisp/find-func.el (find-function-noselect): New arg
8479 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8480 signal an error for built-in functions (Bug#6664).
8482 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8484 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8485 (smtpmail-try-auth-methods): Use it.
8487 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8489 * font-lock.el (font-lock-fontify-region)
8490 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8491 (font-lock-default-unfontify-buffer)
8492 (font-lock-default-fontify-region)
8493 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8495 * progmodes/compile.el (compilation-error-properties):
8496 Fix confusion between file struct and message struct (Bug#9319).
8497 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8500 * net/browse-url.el (browse-url-firefox): Don't call
8501 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8503 2011-08-20 Glenn Morris <rgm@gnu.org>
8505 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8507 * tutorial.el (tutorial--default-keys): Update some default bindings.
8509 * files.el (hack-local-variables): Fully ignore case for "mode:".
8511 2011-08-20 Alan Mackenzie <acm@muc.de>
8513 Resolve invalid use of a regexp in regexp-opt.
8515 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8516 detection for a java annotation.
8518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8519 detection for a java annotation.
8521 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8523 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8525 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8527 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8530 2011-08-20 Alan Mackenzie <acm@muc.de>
8532 Fontify CPP expressions correctly when starting in the middle of
8533 such a construct. Mainly for when jit-lock etc. starts a chunk
8536 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8538 (c-make-font-lock-search-form): New function, extracted from
8539 c-make-font-lock-search-function.
8540 (c-make-font-lock-search-function): Use the above function.
8541 (c-make-font-lock-context-search-function): New function.
8542 (c-cpp-matchers): Enhance the preprocessor expression case with
8544 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8545 which takes an expression.
8547 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8549 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8551 * window.el (display-buffer-reuse-window)
8552 (display-buffer-pop-up-window): Don't reuse or split a side
8555 2011-08-19 Glenn Morris <rgm@gnu.org>
8557 * files.el (hack-local-variables-prop-line, hack-local-variables):
8558 Downcase "Mode:". (Bug#9331)
8560 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8562 * international/characters.el: Add L and R categories.
8564 * subr.el (bidi-string-mark-left-to-right): Rename from
8565 string-mark-left-to-right. Use category search.
8567 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8569 2011-08-18 Juri Linkov <juri@jurta.org>
8571 * faces.el (error, warning, success): New faces with definitions
8572 copied from old default values of `font-lock-warning-face',
8573 `compilation-warning', `compilation-info' (bug#6117).
8575 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8577 * progmodes/compile.el (compilation-error): Inherit from `error'.
8578 (compilation-warning): Inherit from `warning'.
8579 (compilation-info): Inherit from `success'.
8581 * dired.el (dired-marked): Inherit from `warning'.
8582 (dired-flagged): Inherit from `error'.
8584 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586 * mail/smtpmail.el (auth-source): Require to avoid problems with
8587 binding variables (bug#9298). Also clean up some unused
8590 * net/network-stream.el (network-stream-open-starttls):
8591 Support using starttls.el without using gnutls-cli.
8593 2011-08-17 Juri Linkov <juri@jurta.org>
8595 * progmodes/grep.el (rgrep): Handle the case when
8596 `grep-find-command' is a cons cell (bug#9278).
8598 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8600 * window.el (display-buffer-pop-up-frame): Run frame creation
8601 function with BUFFER current (as special-display-popup-frame
8602 does). Reported by Drew Adams.
8604 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8606 * epa-mail.el: Simplify GnuPG group expansion using
8608 (epa-mail-group-alist, epa-mail-group-modtime)
8609 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8610 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8611 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8614 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8616 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8618 2011-08-16 Alan Mackenzie <acm@muc.de>
8620 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8621 Correct, to avoid the inside of macros.
8623 2011-08-16 Richard Stallman <rms@gnu.org>
8625 * epa-mail.el: Handle GnuPG group definitions.
8626 (epa-mail-group-alist, epa-mail-group-modtime)
8627 (epa-mail-gnupg-conf-file): New variables.
8628 (epa-mail-parse-groups, epa-mail-sync-groups)
8629 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8630 (epa-mail-expand-recipients): New functions.
8631 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8633 * mail/rmail.el (rmail-epa-decrypt): New command.
8635 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8636 Don't bind buffer-read-only, just inhibit-read-only.
8637 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8638 (epa-decrypt-armor-in-region): Make error message clearer.
8640 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8643 and "a2b" to "ab" for `prefix'.
8645 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8647 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8649 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8650 Fourquet (Bug#8804).
8652 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8654 * startup.el (argi): Declare as global variable (bug#9275).
8656 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8658 * subr.el (string-mark-left-to-right): Search the entire string
8659 for RTL script, not just the terminating character. Doc fix.
8661 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8665 (js--regexp-literal, js-syntax-propertize-function): Remove.
8666 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8667 (js-mode-map): Don't rebind electric keys.
8668 (js-insert-and-indent): Remove.
8669 (js-mode): Setup electric-layout and electric-indent instead.
8671 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8673 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8675 * epa.el (epa-progress-callback-function): Fix the logic of
8676 displaying progress.
8677 * epa-file.el (epa-file-insert-file-contents): Make progress
8678 display more user-friendly.
8679 (epa-file-write-region): Ditto.
8681 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8683 * subr.el (string-mark-left-to-right): New function.
8685 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8686 Use string-mark-left-to-right.
8687 (list-buffers-noselect): Caller changed.
8689 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8690 Use string-mark-left-to-right.
8691 (tabulated-list-print): Recenter after moving point.
8693 2011-08-10 Juri Linkov <juri@jurta.org>
8695 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8696 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8697 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8699 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8701 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8704 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8706 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8707 character. (Bug#6594)
8709 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8711 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8712 (image-dired--with-db-file): New macro.
8713 (image-dired-write-tags, image-dired-remove-tag)
8714 (image-dired-create-gallery-lists, image-dired-write-comments)
8715 (image-dired-get-comment, image-dired-mark-tagged-files)
8716 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8717 (image-dired-gallery-generate): Use insert-file-contents.
8719 * time.el (display-time-world-list, display-time-world-display):
8720 * time-stamp.el (time-stamp-string):
8721 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8722 set-time-zone-rule (Bug#7337).
8724 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8726 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8727 (epg-error-to-string, epg-errors-to-string): New function.
8728 (epg-wait-for-completion): Reverse errors list.
8729 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8730 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8731 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8732 (epg-sign-keys, epg-generate-key-from-file)
8733 (epg-generate-key-from-string): Format errors by using
8734 epg-errors-to-string (bug#9255).
8735 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8737 2011-08-07 Juri Linkov <juri@jurta.org>
8739 * faces.el (list-faces-display): Remove extra angle bracket
8740 from `help-mode-map'.
8742 * info.el (Info-history-toc-nodes): Doc fix.
8744 * longlines.el (longlines-mode): Doc fix.
8746 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8748 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8749 of statements and in a few more cases (bug#9183).
8751 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8753 (cl-transform-lambda): Use them (bug#9239).
8755 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8757 * window.el (display-buffer-same-window)
8758 (display-buffer-same-frame, display-buffer-other-window)
8759 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8760 (pop-to-buffer-other-window)
8761 (pop-to-buffer-same-frame-other-window)
8762 (pop-to-buffer-other-frame): Make them defuns.
8763 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8765 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * subr.el (make-composed-keymap): Move from C. Change calling
8768 convention, and improve docstring to bring attention to a subtle point.
8769 * minibuffer.el (completing-read-default): Adjust accordingly.
8771 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8773 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8774 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8776 * net/trampver.el: Update release number.
8778 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8783 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8785 * mail/sendmail.el (sendmail-query-once): Restore the current
8786 buffer after querying (bug#9074).
8788 * dired.el (dired-flagged): Use different faces for marked and
8789 flagged files (bug#6117).
8791 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8794 * ido.el (ido-mode): Switch off the message if called
8797 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8798 before 587, since it appears that that's more likely to work for
8801 * cus-edit.el (custom-file): When running under emacs -q, always
8802 refuse to save the customizations, even if the .emacs file doesn't
8805 * info.el: Remove the `Info-beginning-of-buffer' function
8808 * net/network-stream.el (network-stream-open-starttls):
8809 Use `starttls-available-p' to see whether starttls.el can be used.
8811 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8813 * window.el (display-buffer-in-window): Don't set dedicated status
8814 of window here (Bug#9215).
8815 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8816 (display-buffer-pop-up-side-window)
8817 (display-buffer-in-side-window): Set dedicated status of window here.
8819 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8821 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8822 before binding generated-autoload-file.
8824 2011-08-01 Deniz Dogan <deniz@dogan.se>
8826 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8828 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8830 Sync with Tramp 2.2.2.
8832 * net/trampver.el: Update release number.
8834 2011-07-30 Juri Linkov <juri@jurta.org>
8836 * dired-aux.el (dired-touch-initial): Remove function.
8837 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8838 current time, and `default' to the last modification time of the
8839 current marked file (bug#6887).
8841 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8843 * simple.el (goto-line): Use string-to-number to provide a
8844 numeric argument to read-number (bug#9163).
8846 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8848 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8849 connection process, it could be nil.
8851 2011-07-27 Leo Liu <sdl.web@gmail.com>
8853 Simplify url handling in rcirc-mode.
8855 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8856 (rcirc-browse-url-at-mouse): Remove.
8857 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8859 2011-07-26 Alan Mackenzie <acm@muc.de>
8861 Fontify bitfield declarations properly.
8863 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8864 (c-symbol-chars): Now exported as a lang variable.
8865 (c-not-primitive-type-keywords): New lang variable.
8867 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8868 QT keyword "more" to prevent "more slots: ...." being spuriously
8869 parsed as a bitfield declaration.
8871 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8872 Refactor and enhance to handle bitfield declarations.
8873 (c-punctuation-in): New function.
8874 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8875 declarations properly.
8877 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8879 * calendar/icalendar.el (icalendar--all-events): Take care of
8880 multiple vcalendars in a single file.
8881 (icalendar--convert-float-to-ical): Checkdoc fixes.
8883 2011-07-25 Deniz Dogan <deniz@dogan.se>
8885 * image.el (insert-image): Clarifying docstring.
8887 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8889 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8890 `tramp-send-command-and-check' if there is no error.
8891 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8893 2011-07-22 Alan Mackenzie <acm@muc.de>
8895 Prevent cc-langs.elc being loaded at run time.
8897 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8900 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8901 "(require 'cc-langs)". Quote a form so it will evaluate at
8902 (cc-mode's) compilation time.
8904 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8906 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8909 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8911 * window.el (display-buffer-pop-up-window)
8912 (display-buffer-pop-up-side-window)
8913 (display-buffer-in-side-window): Call display-buffer-set-height
8914 and display-buffer-set-width after setting the new window's
8915 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8917 2011-07-20 Sam Steingold <sds@gnu.org>
8919 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8920 (etags-tags-included-tables): Call `convert-standard-filename' on
8921 the file names contained in TAGS so that windows Emacs can handle
8922 TAGS files created by cygwin ctags.
8924 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8926 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8927 which apparently didn't work.
8929 2011-07-19 Roland Winkler <winkler@gnu.org>
8931 * proced.el (proced-send-signal): For *Marked Processes* buffer
8932 put point at beginning of buffer.
8934 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8936 * proced.el (proced-format): Make header lines align with the text
8939 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8941 * view.el (view-buffer): Allow running in `special' modes if we're
8942 visiting a file (bug#8615).
8944 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8946 * window.el (display-buffer-alist-of-strings-p)
8947 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8949 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8952 2011-07-18 Alan Mackenzie <acm@muc.de>
8954 Fontify declarators properly when, e.g., a jit-lock chunk begins
8955 inside a declaration.
8957 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8959 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8961 (c-complex-decl-matchers): Insert reference to
8962 c-font-lock-enclosing-decls.
8964 * progmodes/cc-engine.el (c-backward-single-comment):
8965 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8966 to nil around calls to (forward-comment -1).
8968 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8970 * image.el (put-image): Doc typo fix.
8972 * progmodes/etags.el (tags-search): Doc typo fix.
8974 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8975 password if we get errors 550 to 554.
8977 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8979 * net/gnutls.el (gnutls-log-level): Remove.
8981 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8982 indentation character (bug#6380).
8984 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8986 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8987 to clarify what the problem is (bug#4291).
8989 * simple.el (current-kill): Clarify what
8990 `interprogram-paste-function' does (bug#7500).
8991 (auto-fill-mode): Document `auto-fill-function' in relation to
8992 `auto-fill-mode' (bug#2470).
8994 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8996 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8997 method if slot is read-only (bug#9035).
8999 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9001 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9002 * window.el (pop-to-buffer): Select window used even if it was
9003 selected before, see discussion of (Bug#8615), (Bug#6954).
9004 Pass argument NORECORD on to select-frame-set-input-focus.
9006 2011-07-15 Glenn Morris <rgm@gnu.org>
9008 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9011 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9013 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9014 (gnutls-negotiate): Use it.
9016 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018 * net/gnutls.el (gnutls-negotiate):
9019 Upcase `gnutls-algorithm-priority'.
9021 2011-07-15 Glenn Morris <rgm@gnu.org>
9023 * jka-compr.el (jka-compr-verbose): Move from here...
9024 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9025 Add missing :version tag.
9026 * info.el: No need to require jka-compr when compiling.
9028 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9030 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9031 (gnutls-negotiate): Use it.
9033 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9035 * info.el (Info-beginning-of-buffer): New command.
9036 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9037 announcing `b' as the key (bug#8325).
9038 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9040 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9042 * international/mule-cmds.el
9043 (describe-specified-language-support): Make the error message
9046 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9048 * isearch.el (isearch-barrier): Add a doc string, since it's
9049 mentioned in a function doc string (bug#8678).
9051 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9053 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9054 buffer argument (Bug#9083) and self-identifying label argument.
9056 2011-07-15 Glenn Morris <rgm@gnu.org>
9058 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9060 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062 * man.el (Man-fontify-manpage): Fix message when formatting the
9063 man page (bug#7929).
9065 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9067 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9068 argument LRM; if non-nil, append an invisible LRM character to the
9070 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9071 last argument non-nil, when formatting buffer names.
9072 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9073 paragraph direction.
9075 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9077 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9078 the man page name (bug#7929).
9080 * image.el (put-image): Mention the `put-image' overlay property
9083 * scroll-bar.el (set-scroll-bar-mode): Mention that
9084 `scroll-bar-mode' lists the values (bug#7772).
9086 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9089 * rect.el (apply-on-rectangle): Return the point after the last
9091 (string-rectangle): Go to the point after the last operation
9094 * printing.el (pr-toggle-region): Clarify the documentation
9095 slightly (bug#7493).
9097 * time.el (display-time-update):
9098 Allow `display-time-mail-function' to return nil (bug#7158).
9099 Fix suggested by Detlev Zundel.
9101 * vc/diff.el (diff): Clarify the order the file names are read
9104 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9105 the doc string (bug#7015).
9107 * font-lock.el (font-lock-maximum-decoration): Mention what
9108 numeric levels mean (bug#6935).
9110 * startup.el (initial-buffer-choice): Don't mention the `none'
9111 selection, which is against policy.
9113 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9115 * window.el (display-buffer-normalize-special):
9116 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9118 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9120 * subr.el (version<, version<=, version=): Mention "-CVS" and
9121 "-12345" alpha version numbers.
9123 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9125 * bindings.el: Add advertised binding for set-mark-command
9128 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9130 * bindings.el (mode-line-other-buffer):
9131 * bookmark.el (bookmark-bmenu-2-window):
9132 * bs.el (bs-cycle-next, bs-cycle-previous):
9133 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9136 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9139 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9141 * follow.el (follow-debug-message, follow-redisplay):
9142 * jka-cmpr-hook.el (with-auto-compression-mode):
9143 Fix typos in docstrings.
9145 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9147 * subr.el (with-silent-modifications): Clarify somewhat what the
9148 macro inhibits (bug#6525).
9150 * simple.el (eval-expression): Note what it does if called
9151 interactively (bug#6495).
9153 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9155 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9156 Use pop-to-buffer buffer-or-name if it is nil.
9158 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9159 Remove switch-to-buffer.
9161 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163 * files.el (make-directory): Clarify that an error will be raised
9164 if there's an error (bug#6397).
9166 * startup.el (initial-buffer-choice): Add `none' as a choice
9169 * subr.el (add-hook): Clarify section about buffer-local hooks
9172 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9174 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9176 * tabify.el (untabify): Preserve the current column so that point
9177 doesn't move (bug#6032).
9179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9182 Rewrite to avoid awkward possessive "s" (bug#5986).
9184 2011-07-13 Glenn Morris <rgm@gnu.org>
9186 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9187 (dired-insert-directory): Give a message the first time
9188 if ls is found not to support --dired.
9190 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9192 * simple.el (toggle-truncate-lines): Clarify what is toggled
9193 (bug#5580). Text by Drew Adams.
9195 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9197 * simple.el (blink-matching-open): Make the error message from the
9198 last change less verbose.
9200 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9202 * font-lock.el (font-lock-comment-face): Use the high contrast
9203 "yellow" color for font-lock-comment-face on low color terminals
9204 using a dark background color (bug#4221).
9206 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9208 * dired.el (dired-insert-set-properties): Make the doc string
9209 reflect what it does now (bug#5325).
9211 * simple.el (blink-matching-open): Say that we were unable to find
9212 the match within the limit, if we're limited (bug#5122).
9214 * international/mule-cmds.el (prefer-coding-system): Add an
9217 * progmodes/etags.el (tags-search): Document `file-list-form'
9220 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9222 * net/browse-url.el (browse-url-default-browser)
9223 (browse-url-browser-function): Make the default browser choice a
9224 bit more logical (bug#4300). Also clean up the doc string.
9226 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9228 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9229 binary endings (bug#4440).
9231 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9233 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9234 which can be pretty annoying (bug#8971).
9236 * jka-compr.el (jka-compr-verbose): New variable, and use
9237 throughout (bug#8971).
9239 * info.el (Info-find-file): Fall back on the installation
9240 directory if we can't find the info node anywhere else.
9242 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9244 * vc/vc.el (vc-revert-file):
9245 Don't set file time-stamp in the past. (Bug#5181)
9247 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249 * files.el (after-find-file): Give a better error message when
9250 trying to find a symlink that points to a file that doesn't exist
9253 * progmodes/cc-vars.el: Remove (probably) misleading comment
9256 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9258 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9260 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9262 * mouse-sel.el: Hack restoring functionality, while keeping
9263 compatibility with 2010-07-03 changes to mouse selection.
9264 (mouse-sel-primary-overlay): New var.
9265 (mouse-sel-selection-alist): Use it.
9266 (mouse-sel-mode): Doc fix; remove points that are default features
9269 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9272 Fix previous fix (bug#2490).
9274 2011-07-12 Roland Winkler <winkler@gnu.org>
9276 * textmodes/bibtex.el (bibtex-initialize):
9277 Use pop-to-buffer-same-window.
9278 (bibtex-search-entries): Fix interactive call.
9280 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9283 Fontise bytecomp Error lines more correctly (bug#2490).
9284 Fix suggested by Johan Bockgård.
9286 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9288 * dired-x.el (dired-guess-default): Use `delete-dups'.
9290 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9292 * dired.el (dired-mark-prompt):
9293 * dired-aux.el (dired-read-shell-command): Doc fix.
9295 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297 * mail/sendmail.el (sendmail-query-once):
9298 Use `customize-save-variable' unconditionally, now that it works under
9301 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9303 * cus-edit.el (custom-file): Take an optional no-error variable.
9304 (customize-save-variable): Set the variable, and give a warning if
9305 running under "emacs -q".
9307 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9309 * loadhist.el (unload-feature-special-hooks):
9310 Add `auto-coding-functions', `fill-nobreak-predicate' and
9311 `find-directory-functions' (bug#5327).
9313 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9315 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9317 * cus-edit.el (custom-guess-name-alist): -alist variables should
9318 use the `alist' type (bug#3120). Suggested by Drew Adams.
9320 * printing.el: Add documentation to all the `pr-toggle-' commands.
9322 2011-07-11 Leo Liu <sdl.web@gmail.com>
9324 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9325 backends where it makes sense (bug#2623).
9327 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9329 * dired-x.el (dired-guess-default): Remove duplicate shell command
9331 (dired-guess-default): Fix grammar in doc string (bug#2028).
9332 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9334 * subr.el (remove-duplicates): New conveniency function.
9336 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9338 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9341 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9343 * window.el (display-buffer-normalize-default): Don't invert
9344 meaning of even-window-heights. Reported by Eli Zaretskii
9347 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9349 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9351 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9353 * window.el (display-buffer): Fix arguments to
9354 display-buffer-reuse-window in last change.
9356 * faces.el (link): Use a less saturated blue on light backgrounds.
9358 * startup.el (fancy-startup-text, fancy-about-text)
9359 (fancy-startup-tail): Use font-lock faces, for background safety.
9361 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9363 * emulation/viper-cmd.el (viper-change-state-to-vi):
9364 Limit triggering of abbrev expansion (Bug#9038).
9366 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9368 * window.el (display-buffer-default-specifiers): Remove.
9369 (display-buffer-macro-specifiers): Remove default specifiers.
9370 (display-buffer-alist): Default to nil.
9371 (display-buffer-reuse-window): New optional argument other-window.
9372 (display-buffer-pop-up-window): Allow splitting internal
9373 windows. Check whether a live window was created.
9374 (display-buffer-other-window-means-other-frame)
9375 (display-buffer-normalize-arguments): Rename to
9376 display-buffer-normalize-argument and rewrite. Set the
9377 other-window specifier.
9378 (display-buffer-normalize-special): New function.
9379 (display-buffer-normalize-options): Rename to
9380 display-buffer-normalize-default and rewrite.
9381 (display-buffer-normalize-options-inhibit): Remove.
9382 (display-buffer-normalize-specifiers): Rewrite.
9383 (display-buffer): Process other-window specifier and call
9384 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9386 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9387 (display-buffer-alist-set): Don't handle 'unset default values.
9388 (display-buffer-in-window, display-buffer-alist-set):
9389 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9390 <tassilo@member.fsf.org>.
9392 2011-07-09 Leo Liu <sdl.web@gmail.com>
9394 * register.el (insert-register): Restore accidental change on
9395 2011-06-26. (Bug#9028)
9397 2011-07-09 Glenn Morris <rgm@gnu.org>
9399 * subr.el (remq): Handle the empty list. (Bug#9024)
9401 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9403 * mail/sendmail.el (send-mail-function): No longer delay custom
9405 * custom.el (custom-initialize-delay): Doc fix.
9407 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9411 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9413 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9414 human-friendly prompt.
9416 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9418 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9419 provided by a particular plugin.
9421 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9423 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9424 save customizations (with "emacs -Q"), just set the variable
9425 instead of erroring out.
9427 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9429 2011-07-08 Juri Linkov <juri@jurta.org>
9431 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9432 (archive-zip-update-case): Use 7z if found by `executable-find'.
9433 The order of searching the available programs is the same as in
9434 `archive-zip-extract' (bug#8968).
9436 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9438 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9439 (menu-bar-options-menu): Tweak descriptions.
9441 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9443 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9444 menu items into verb phrases (bug#1421). Also refill to fit under
9447 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9449 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9450 (Info-read-node-name): Doc fix (Bug#1084).
9452 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9453 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9454 (end-of-sexp, beginning-of-sexp)
9455 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9456 (forward-symbol, forward-same-syntax, word-at-point)
9457 (sentence-at-point): Doc fix (Bug#1144).
9459 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9461 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9462 should cover it (bug#1281).
9464 * cus-edit.el (custom-show): Mark as obsolete.
9466 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9467 negotiation fails, then possibly try again with a non-encrypted
9468 connection (bug#9017).
9470 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9473 2011-07-07 Richard Stallman <rms@gnu.org>
9475 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9476 property, and handle its changed format.
9477 Look for the correct line number.
9478 Use file's line contents (but not past first =) to find
9479 correct line in message.
9481 2011-07-07 Kenichi Handa <handa@m17n.org>
9483 * international/characters.el (build-unicode-category-table):
9485 (unicode-category-table): Set it by unicode-property-table-internal.
9487 * international/mule-cmds.el (char-code-property-alist): Move to
9489 (get-char-code-property): Call unicode-property-table-internal to
9490 load a file. Call get-unicode-property-internal where necessary.
9491 (put-char-code-property): Call unicode-property-table-internal to
9492 load a file. Call put-unicode-property-internal where necessary.
9493 put-unicode-property-internal where necessary.
9494 (char-code-property-description):
9495 Call unicode-property-table-internal to load a file.
9497 * international/charprop.el:
9498 * international/uni-bidi.el:
9499 * international/uni-category.el:
9500 * international/uni-combining.el:
9501 * international/uni-comment.el:
9502 * international/uni-decimal.el:
9503 * international/uni-decomposition.el:
9504 * international/uni-digit.el:
9505 * international/uni-lowercase.el:
9506 * international/uni-mirrored.el:
9507 * international/uni-name.el:
9508 * international/uni-numeric.el:
9509 * international/uni-old-name.el:
9510 * international/uni-titlecase.el:
9511 * international/uni-uppercase.el: Regenerate.
9513 * loadup.el: Load international/charprop.el before
9514 international/characters.
9516 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9518 * window.el (next-buffer, previous-buffer): Signal an error if
9519 called from a minibuffer window.
9521 * bindings.el: Revert 2011-07-04 change.
9523 2011-07-06 Richard Stallman <rms@gnu.org>
9525 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9526 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9527 Treat markers like ints.
9528 (rmail-mime-entity): Doc fix.
9530 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9533 defcustom again for backwards compatibility.
9535 * simple.el (shell-command-on-region): Fill.
9537 * dired-aux.el (dired-kill-line): Add a doc string.
9539 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9540 to "\\sw\\|\\s_" (bug#358).
9542 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9543 (dired-unmark-backward): Ditto.
9544 (dired-flag-backup-files): Ditto.
9546 * dired-x.el (dired-mark-sexp): Ditto.
9548 2011-07-06 Richard Stallman <rms@gnu.org>
9550 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9551 (rmail-mime-entity): New arg TRUNCATED.
9552 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9554 (rmail-mime-save): Warn if entity is truncated.
9555 (rmail-mime-toggle-hidden): Likewise, for showing.
9556 (rmail-mime-process-multipart): Record when an entity is truncated.
9558 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9559 if ENTITY is a string.
9561 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9563 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9564 of faces when `M-C-x'-ing their definitions (bug#8378).
9565 Also clean up the code slightly.
9567 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9568 because that makes the colors go away.
9570 * mail/sendmail.el (send-mail-function): Change the default to
9571 `sendmail-query-once'.
9572 (sendmail-query-once): Add an autoload cookie.
9574 * net/network-stream.el (network-stream-open-starttls): Try using
9575 a plain connection even if the server offered STARTTLS, and we
9576 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9577 capability. This should make smtpmail.el work in slightly more
9580 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9582 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9584 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9586 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9588 * progmodes/sql.el: Version 3.0
9589 (sql-product-alist): Add product :completion-object,
9590 :completion-column, and :statement attributes.
9591 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9592 (sql-mode-syntax-table): Mark all punctuation.
9593 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9595 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9596 (sql-mode-oracle-font-lock-keywords): Improve.
9597 (sql-oracle-show-reserved-words): New function for development.
9598 (sql-product-font-lock): Simplify for source code buffers.
9599 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9601 (sql-highlight-product): Set product specific syntax table.
9602 (sql-mode-map): Add statement movement functions.
9603 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9605 (sql-statement-regexp, sql-beginning-of-statement)
9606 (sql-end-of-statement, sql-signum): New functions.
9607 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9608 (sql-show-sqli-buffer): Bug fix.
9609 (sql-interactive-mode): Store connection data as buffer local.
9610 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9611 with sql-interactive-mode.
9612 (sql-save-connection): Save buffer local settings.
9613 (sql-connection-menu-filter): Change menu entry name.
9614 (sql-product-interactive): Bug fix.
9615 (sql-preoutput-hold): New variable.
9616 (sql-interactive-remove-continuation-prompt): Bug fixes.
9617 (sql-debug-redirect): New variable.
9618 (sql-str-literal): New function.
9619 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9621 (sql-oracle-save-settings, sql-oracle-restore-settings)
9622 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9623 (sql-completion-object, sql-completion-column)
9624 (sql-completion-sqlbuf): New variables.
9625 (sql-build-completions-1, sql-build-completions)
9626 (sql-try-completion): New functions.
9627 (sql-read-table-name): Use them.
9628 (sql-contains-names): New buffer local variable.
9629 (sql-list-all, sql-list-table): Use it.
9630 (sql-oracle-completion-types): New variable.
9631 (sql-oracle-completion-object, sql-sqlite-completion-object)
9632 (sql-postgres-completion-object): New functions.
9634 2011-07-06 Glenn Morris <rgm@gnu.org>
9636 * window.el (pop-to-buffer): Doc fix.
9638 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9640 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9642 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9644 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9646 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9648 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9650 * button.el (button): Inherit from link face. Suggested by Dan
9653 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9655 * progmodes/gdb-mi.el: Fit in 80 columns.
9656 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9659 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9660 if imenu is simply not configured (bug#8941).
9662 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9664 * allout.el (allout-post-undo-hook): New allout outline-change
9665 event hook to signal undo activity.
9666 (allout-post-command-business): Run allout-post-undo-hook if an
9668 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9669 * allout-widgets.el (allout-widgets-after-undo-function):
9670 Ensure the integrity of the current item's decoration after it has been
9671 in the vicinity of an undo.
9672 (allout-widgets-mode): Include allout-widgets-after-undo-function
9673 on the new allout-post-undo-hook.
9675 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9677 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9678 Let define-derived-mode define it.
9679 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9680 cycles of abbrev-table inheritance (bug#8998).
9682 2011-07-05 Roland Winkler <winkler@gnu.org>
9684 * textmodes/bibtex.el: Add support for biblatex.
9685 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9686 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9687 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9688 (bibtex-entry-alist, bibtex-field-alist): New variables.
9689 (bibtex-entry-field-alist): Obsolete alias for
9690 bibtex-BibTeX-entry-alist.
9691 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9692 (bibtex-set-dialect): New command.
9693 (bibtex-entry-type, bibtex-entry-head)
9694 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9695 Bind via bibtex-set-dialect.
9696 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9697 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9698 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9699 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9700 Define via bibtex-set-dialect.
9701 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9702 Obey bibtex-no-opt-remove-re.
9703 (bibtex-vec-push, bibtex-vec-incr): New functions.
9704 (bibtex-format-entry, bibtex-field-list)
9705 (bibtex-print-help-message, bibtex-validate)
9706 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9708 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * progmodes/compile.el (compilation-goto-locus):
9711 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9712 * bs.el (bs-cycle-next, bs-cycle-previous):
9713 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9714 * bindings.el (mode-line-other-buffer):
9715 * autoinsert.el (auto-insert):
9716 * arc-mode.el (archive-extract):
9717 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9719 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9721 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9722 Fix check of `emacs-lock-unlockable-modes'.
9723 Coerce true values of `emacs-lock--try-unlocking' to t.
9725 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9727 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9728 * emacs-lock.el: New file.
9730 2011-07-05 Julien Danjou <julien@danjou.info>
9732 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9733 than `boundp' to check if face is set.
9735 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9737 * register.el (registerv-make):
9738 * window.el (window-min-height): Fix typos in docstrings.
9740 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9742 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9745 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9747 * server.el (server-execute): Catch quit and call
9748 `server-return-error' to pass the error back to emacsclient and
9749 close the connection (bug#8942).
9751 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9753 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9754 insecure exception for current topic. Also note that auto-saves
9755 are handled differently.
9757 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9758 State variables for tracking auto-save inhibition situation.
9760 (allout-write-contents-hook-handler): Rename from
9761 'allout-write-file-hook-handler', and describe how it depends on
9762 write-contents-functions sensitivity to non-nil value to prevent
9765 (allout-auto-save-hook-handler): Remove. auto-save does not check
9766 this in individual buffers, only in the starting buffer, so this
9767 is not the right way for us to inhibit auto-save in a buffer
9768 according to its condition.
9770 (allout-mode): Use new allout-write-contents-hook-handler, and
9771 only with write-contents-functions. Remove auto-save provisions -
9772 they're implemented elsewhere.
9774 (allout-before-change-handler): If undo is in progress, note that
9775 for attention of allout-post-command-business.
9777 (allout-post-command-business): If the command we're following was
9778 an undo, check for change in the status of encrypted items and
9779 adjust auto-save inhibitions accordingly.
9781 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9782 according to whether there are or aren't any plain-text topics
9785 (allout-inhibit-auto-save-info-for-decryption):
9786 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9787 if there are plain-text topics pending encryption.
9789 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9790 buffer-saved-size and some allout state to not inhibit auto-saves
9791 if there are no longer any plain-text topics pending encryption.
9793 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9794 No longer provide for exemption of the current topic.
9796 2011-07-04 Juri Linkov <juri@jurta.org>
9798 Add 7z operations to delete and save changed members (bug#8968).
9799 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9801 (archive-7z-write-file-member): New function.
9802 (archive-7z-summarize): Fix the number of dashes in the
9805 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9810 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9812 * bindings.el: Ignore next-buffer and previous-buffer in
9813 minibuffer-local-map.
9815 * font-lock.el (font-lock-builtin-face): Change light background
9816 color to dark slate blue (Bug#6693).
9818 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9820 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9822 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9825 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9826 Add switch-to-buffer.
9828 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9830 * isearch.el (isearch-search-fun-function): Clarify further the
9831 meaning of the function returned.
9833 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9835 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9837 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9838 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9840 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9841 `tramp-default-remote-path' does not exist.
9842 (tramp-send-command-and-read): New optional argument NOERROR.
9843 (tramp-open-connection-setup-interactive-shell)
9844 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9845 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9846 (tramp-process-sentinel): Flush also process' connection property.
9847 (tramp-sh-handle-start-file-process): Do not set process
9848 sentinel. It is done now ...
9849 (tramp-maybe-open-connection): ... here. (Bug#8929)
9851 2011-07-04 MON KEY <monkey@sandpframing.com>
9853 * play/animate.el (animate-string): Doc fixes and allow changing
9854 the buffer name (bug#5417).
9856 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9858 * play/animate.el (animation-buffer-name): Rename from *animate*.
9860 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9862 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9863 This is simpler and helps future-proof the code.
9864 (timer-until): Use time-subtract and float-time.
9865 (timer--time-less-p): Use time-less-p.
9867 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9869 * type-break.el (timep): Use the value of `float-time' to avoid a
9870 byte-compiler warning.
9872 * server.el (server-eval-and-print): Return any result, even nil.
9874 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9876 * type-break.el: Accept time formats that the builtins accept.
9877 (timep, type-break-time-difference): Accept any format that
9878 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9879 This is simpler and helps future-proof the code.
9880 (type-break-time-difference): Round rather than ignoring
9881 subseconds components.
9883 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885 * info.el (Info-apropos-matches): Make non-interactive, since it
9886 doesn't seem to do anything useful as a command (bug#8829).
9888 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9890 * frame.el (frame-background-mode, frame-set-background-mode):
9892 (frame-default-terminal-background): New function.
9894 * custom.el (custom-push-theme): Don't record faces in `changed'
9895 theme; this doesn't work correctly for per-frame face settings.
9896 (disable-theme): Use face-set-after-frame-default to reset faces.
9897 (custom--frame-color-default): New function.
9899 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9901 * dired.el (dired-flagging-regexp): Remove unused variable
9904 2011-03-29 Kevin Ryde <user42@zip.com.au>
9906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9907 `perl-Test2' extend to match possible "fail #N" rep count
9910 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9912 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9913 `smtpmail-via-smtp' now returns the error instead of nil.
9915 * isearch.el (isearch-search-fun-function): Clarify the doc string
9918 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9920 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9921 unnecessary spaces (bug#8987).
9923 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925 * net/network-stream.el (open-network-stream): Use the
9926 :end-of-capability command thoughout.
9928 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9930 * net/network-stream.el (open-network-stream): Add the
9931 :end-of-capability command parameter, used by pop3.el.
9933 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9935 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9937 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9938 for list)" (bug#6475).
9940 * files.el (file-expand-wildcards): Ignore non-readable
9941 sub-directories while trying to find matches instead of signaling
9942 an error (bug#6297).
9944 * man.el (Man-reference-regexp): Allow matching possible
9945 word-wrapped references (bug#6289).
9947 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9948 for consistency with the other vc buffers (bug#6197).
9949 (vc-checkin): Ditto.
9951 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9953 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9955 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9957 * custom.el (defcustom): Clarify that :set is only used in the
9958 Customize user interface (bug#6089).
9960 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9961 associated with a file, refuse to run instead of erroring out
9964 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9965 the doc string, since it appears that using `fill-column' always
9966 controls the width (bug#7845).
9968 * simple.el (shell-command-on-region): Say where the error output
9969 went if `shell-command-default-error-buffer' is set (bug#6857).
9971 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9973 * allout.el (allout-yank-processing): Adjust cursor position for
9974 backwards-deleted space.
9976 (allout-rebullet-heading): Register changes with
9977 allout-exposure-changed-hook, so the modified topic is properly
9980 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9982 * minibuffer.el (completion-in-region): Document PREDICATE
9985 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9986 of keyword/argument pairs (bug#6904).
9988 * replace.el (multi-occur):
9989 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9991 2011-07-02 Drew Adams <drew.adams@oracle.com>
9993 * dired.el (dired-mark-if): Make the message about whether it's
9994 marking or unmarking clearer (bug#8523).
9996 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998 * disp-table.el (display-table-print-array): New function.
9999 (describe-display-table): Use it to print the vectors more pretty
10002 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10004 * window.el (window-state-get-1): Don't assign clone numbers.
10005 Add clone-of item to list of window parameters.
10006 (window-state-put-2): Don't process clone numbers.
10007 (display-buffer-alist): Fix doc-string.
10009 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * subr.el (remq): Don't allocate if it's not needed.
10012 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10013 (keymap--merge-bindings): New functions.
10014 (keymap-canonicalize): Use them to refine the canonicalization.
10015 * minibuffer.el (minibuffer-local-completion-map)
10016 (minibuffer-local-must-match-map): Move initialization from C.
10017 (minibuffer-local-filename-completion-map): Move initialization from C;
10018 don't inherit from anything here.
10019 (minibuffer-local-filename-must-match-map): Make obsolete.
10020 (completing-read-default): Use make-composed-keymap to combine
10021 minibuffer-local-filename-completion-map with either
10022 minibuffer-local-must-match-map or
10023 minibuffer-local-filename-completion-map.
10025 2011-07-01 Glenn Morris <rgm@gnu.org>
10027 * type-break.el (type-break-time-sum): Use dolist.
10029 * textmodes/flyspell.el (flyspell-word-search-backward):
10030 Replace CL function.
10032 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * mouse.el (mouse--strip-first-event): New function.
10035 (function-key-map): Use it to map fringe clicks to normal clicks
10038 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10039 (vc-bzr-revision-completion-table): Add support for annotate and date.
10041 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10042 inherit from parent.
10044 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10046 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10047 (dired-show-file-type): Doc fixup (bug#8818).
10049 * dired.el (dired-mode): Fix up the doc string as suggested by
10050 Drew Adams (bug#8817).
10052 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10053 cookie, since the manual says that it should be possible to add
10054 this function to `find-file-hook' (bug#8709).
10056 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10058 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10059 here. Noted Ted Zlatanov as the maintainer.
10060 (cfengine-common-settings, cfengine-common-syntax): New functions
10061 to set up common things between `cfengine-mode' and
10063 (cfengine3-mode): New mode.
10064 (cfengine3-defuns cfengine3-defuns-regex
10065 (cfengine3-class-selector-regex cfengine3-category-regex)
10066 (cfengine3-vartypes cfengine3-font-lock-keywords)
10067 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10068 (cfengine3-indent-line): Add from cfengine3.el.
10070 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10072 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10074 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10076 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10078 * window.el (same-window-buffer-names, same-window-regexps)
10079 (same-window-p, special-display-frame-alist)
10080 (special-display-popup-frame, special-display-function)
10081 (special-display-buffer-names, special-display-regexps)
10082 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10083 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10084 (split-window-preferred-function, split-height-threshold)
10085 (split-width-threshold, even-window-heights)
10086 (display-buffer-mark-dedicated, window-splittable-p)
10087 (split-window-sensibly, window-safely-shrinkable-p):
10089 (display-buffer): Don't spread args with function specifier
10090 because special-display-popup-frame won't like it.
10092 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10094 Time-stamp simplifications and fixes.
10095 These improve accuracy slightly, and future-proof the code
10096 against some potential changes to current-time format.
10098 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10099 by using time-since and float-time.
10101 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10102 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10103 + NNN microseconds".
10105 * type-break.el (type-break-time-sum): Rewrite using time-add.
10107 * play/hanoi.el (hanoi-current-time-float): Remove.
10108 All uses replaced by float-time.
10110 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10111 This yields a more-accurate answer.
10112 (rng-time-to-float): Remove; no longer needed.
10114 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10116 * calendar/timeclock.el (timeclock-seconds-to-time):
10117 Defalias to seconds-to-time, since they're the same thing.
10119 * emacs-lisp/elp.el (elp-elapsed-time):
10120 * emacs-lisp/benchmark.el (benchmark-elapse):
10121 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10123 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10125 * window.el (bury-buffer): Don't iconify the only frame.
10126 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10127 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10129 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10131 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10132 Add mouse-yank-primary.
10134 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10136 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10138 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10141 (find-library-name): Use it to find relative load names when provided
10142 absolute file name (bug#8803).
10144 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10146 * textmodes/flyspell.el (flyspell-word): Consider words that
10147 differ only in case as potential doublons (bug#5687).
10149 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10150 Remove two rather uninteresting debugging-like messages to make
10151 debbugs.el more silent.
10153 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10154 a password-like phrase.
10156 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10158 * progmodes/cc-guess.el: New file.
10160 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10162 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10163 derived from `c-basic-common-init'.
10165 * progmodes/cc-mode.el (top-level): Require cc-guess.
10166 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10168 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10170 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10172 2011-06-30 Alan Mackenzie <acm@muc.de>
10174 * progmodes/cc-engine.el (c-guess-continued-construct):
10175 Correct the handling of template-args-cont, particularly for when font
10176 lock is disabled. Name this case as "CASE G".
10178 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10180 * allout.el (allout-yank-processing): Fix injection of extra space
10181 between bullet and non-whitespace character in first topic when
10182 pasting, ensuring that the actual spacing in the pasted topic
10183 following the bullet char is preserved. This extra space was
10184 causing pasted encrypted topics to get a decrypted status even
10185 when the content was actually still encrypted. Now the decryption
10186 status from before the paste is preserved.
10188 (allout-flag-region): Set all allout overlays so they evaporate
10189 when reduced to zero length (evanescent), to prevent overlay
10192 2011-06-30 Glenn Morris <rgm@gnu.org>
10194 * w32-fns.el (w32-charset-info-alist): Declare.
10196 * find-dired.el (find-grep-options): Simplify.
10198 * term/ns-win.el (ns-set-resource): Declare.
10200 * ses.el (row, col): Declare dynamic variables honestly.
10202 * textmodes/reftex-parse.el (index-tags): Declare.
10204 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10206 * cus-edit.el (customize-push-and-save): New function.
10208 * files.el (hack-local-variables-confirm): Use it.
10210 * custom.el (load-theme): New arg NO-CONFIRM.
10211 Use customize-push-and-save (Bug#8720).
10212 (custom-enabled-themes): Doc fix.
10214 * cus-theme.el (customize-create-theme)
10215 (custom-theme-merge-theme): Callers to load-theme changed.
10217 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10219 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10220 short URLs have at least one dot in them (bug #7614).
10222 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10223 nil, because using a pty is apparently too slow (bug #895).
10225 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10227 * mail/sendmail.el (sendmail-query-once): New function.
10228 (sendmail-query-once-function): New variable.
10230 2011-06-29 Glenn Morris <rgm@gnu.org>
10232 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10234 * ses.el (top-level): Require cl when compiling.
10235 (ses-set-localvars): Fix error statement.
10236 Call it at compile time to silence a storm of warnings.
10238 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10240 * window.el (normalize-live-buffer): Rename to
10241 window-normalize-buffer.
10242 (normalize-live-frame): Rename to window-normalize-frame.
10243 (normalize-any-window): Rename to window-normalize-any-window.
10244 (normalize-live-window): Rename to window-normalize-live-window.
10245 (make-window-atom): Rename to window-make-atom.
10246 (window-resize-reset): Rename to window--resize-reset.
10247 (window-resize-reset-1): Rename to window--resize-reset-1.
10248 (resize-mini-window): Rename to window--resize-mini-window.
10249 (resize-subwindows-skip-p): Rename to
10250 window--resize-subwindows-skip-p.
10251 (resize-subwindows-normal): Rename to
10252 window--resize-subwindows-normal.
10253 (resize-subwindows): Rename to window--resize-subwindows.
10254 (resize-other-windows): Rename to window--resize-siblings.
10255 (resize-this-window): Rename to window--resize-this-window.
10256 (resize-root-window): Rename to window--resize-root-window.
10257 (resize-root-window-vertically): Rename to
10258 window--resize-root-window-vertically.
10259 (normalize-buffer-to-display): Rename to
10260 window-normalize-buffer-to-display.
10261 (normalize-buffer-to-switch-to): Rename to
10262 window-normalize-buffer-to-switch-to.
10263 Correspondingly update all callers of the functions listed
10265 (display-buffer-alist, display-buffer-normalize-arguments)
10266 (display-buffer-normalize-options, display-buffer)
10267 (display-buffer-alist-set): Use "function" instead of
10270 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10272 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10273 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10274 debbugs.gnu.org. Mention acknowledgment email.
10276 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10278 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10279 buffer multibyteness, since it shouldn't matter.
10281 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10283 * window.el (display-buffer-in-side-window): Handle dedicated
10284 windows as in display-buffer-reuse-window.
10285 (display-buffer-normalize-alist): Use value of override
10287 (display-buffer-normalize-specifiers): Use value of
10288 other-window-means-other-frame specifier.
10289 (display-buffer-alist): Rewrite some texts in widgets.
10290 (display-buffer): Spread arguments when calling function
10291 specified by fun-with-args.
10293 2011-06-28 Deniz Dogan <deniz@dogan.se>
10295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10298 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10299 selectors (Bug#5732).
10300 (css-proprietary-nmstart-re): Use `regexp-opt'.
10302 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10304 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10305 (eshell-ls-date-format): New defcustom.
10306 (eshell-ls-file): Use it.
10308 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10310 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10312 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10314 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10315 (ange-ftp-make-tmp-name): New arg.
10316 (ange-ftp-file-local-copy): Use it.
10318 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10320 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10321 no-conversion (Bug#8870).
10323 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10325 * window.el (window-right, window-left, window-child)
10326 (window-child-count, window-last-child)
10327 (window-iso-combination-p, walk-window-tree-1)
10328 (window-atom-check-1, window-tree-1, delete-window)
10329 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10330 new naming conventions - window-vchild, window-hchild,
10331 window-next and window-prev are now called window-top-child,
10332 window-left-child, window-next-sibling and window-prev-sibling
10334 (resize-window-reset): Rename to window-resize-reset.
10335 (resize-window-reset-1): Rename to window-resize-reset-1.
10336 (resize-window): Rename to window-resize.
10337 (window-min-height, window-min-width)
10338 (resize-mini-window, resize-this-window, resize-root-window)
10339 (resize-root-window-vertically, adjust-window-trailing-edge)
10340 (enlarge-window, shrink-window, maximize-window)
10341 (minimize-window, delete-window, quit-restore-window)
10342 (split-window, balance-windows, balance-windows-area-adjust)
10343 (balance-windows-area, window-state-put-2)
10344 (display-buffer-even-window-sizes, display-buffer-set-height)
10345 (display-buffer-set-width, set-window-text-height)
10346 (fit-window-to-buffer): Rename all "resize-window" prefixed
10347 calls to use the "window-resize" prefix convention.
10348 (display-buffer-alist): Fix symbol for label specifier.
10349 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10350 corresponding specifier.
10351 Reported by Juanma Barranquero <lekktu@gmail.com>.
10353 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10355 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10357 (ses-call-printer): Does not pass an empty string to formatter when the
10358 cell is empty to keep from barking printer Calc math-format-value.
10360 2011-06-27 Richard Stallman <rms@gnu.org>
10362 * battery.el (battery-mode-line-limit): New variable.
10363 (battery-update): Handle it.
10365 * mail/rmailmm.el (rmail-mime-process-multipart):
10366 Handle truncated messages.
10368 2011-06-27 Glenn Morris <rgm@gnu.org>
10370 * progmodes/flymake.el (flymake-err-line-patterns):
10371 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10373 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10375 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10376 (ses--clean-!, ses--clean-_): New functions.
10377 (ses-range): Add configurability of readout order, and conversion
10380 * ses.el (ses-repair-cell-reference-all): New function.
10381 (ses-cell-symbol): Set macro as safe, so that it can be used in
10384 * ses.el: Update cycle detection algorithm.
10385 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10386 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10387 (ses-set-localvars): New function.
10388 (ses-make-cell): Add property-list as a cell element.
10389 (ses-cell-property-get-fun, ses-cell-property-get)
10390 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10391 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10393 (ses-cell-property-set, ses-cell-property-pop)
10394 (ses-cell-property-get-handle): New macro.
10395 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10396 New aliases, used for code readability.
10397 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10399 (ses-self-reference-early-detection): New defcustom.
10400 (ses-formula-references): Robustify against self-referring cells.
10401 (ses-mode): Use ses-set-localvars.
10402 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10403 before lauching the update processing.
10404 (ses-initialize-Dijkstra-attempt): New function.
10405 (ses-recalculate-cell): Update for cycle detection based on
10406 Dijkstra algorithm.
10408 * ses.el: Fix commenting and indenting convention.
10410 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10412 * bs.el (bs-cycle-next): Complete last change.
10414 2011-06-27 Drew Adams <drew.adams@oracle.com>
10416 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10418 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10420 * net/network-stream.el (network-stream-open-starttls):
10421 Don't re-get capabilities unless we've reestablished connection.
10422 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10424 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10425 to binary to possibly avoid line encoding issues on Windows (among
10428 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430 * net/network-stream.el (open-network-stream): Return an :error
10431 saying what the problem was, if possible.
10433 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10436 * net/network-stream.el (network-stream-open-starttls): If we
10437 wanted to use STARTTLS, and the server offered it, but we weren't
10438 able to because we had no STARTTLS support, then close the connection.
10439 (open-network-stream): Return an :error element, if present.
10441 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10443 * hl-line.el (hl-line-sticky-flag): Doc fix.
10444 (global-hl-line-sticky-flag): New option (Bug#8323).
10445 (global-hl-line-highlight): Obey it.
10447 * vc/vc.el (vc-revert-show-diff): Default to t.
10449 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10451 * allout-widgets.el (allout-widgets-post-command-business):
10452 Stop decorating intermediate isearch matches. They're not being
10453 undecorated when an isearch is continued past, and isearch
10454 automatically collapses them. This leads to "widget leaks", where
10455 decorated items accumulate in collapsed areas. Lines with lots of
10456 hidden widgets can slow down cursor travel, substantially.
10457 Too much complicated machinery would be needed to ensure undecoration,
10458 so we're doing without this nicety.
10460 (allout-widgets-tally-string): Don't try to do a hash-table-count
10461 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10462 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10463 *Messages* when allout-widgets-maintain-tally is t.
10465 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10467 * window.el (display-buffer-normalize-argument): Rename to
10468 display-buffer-normalize-arguments. Handle special meaning of
10469 LABEL argument. Respect special-display-function when popping up
10470 a new frame. Fix code searching for a window showing the buffer
10472 (display-buffer-normalize-specifiers):
10473 Call display-buffer-normalize-arguments.
10474 (display-buffer-in-window): Don't undedicate the window if its
10475 buffer remains the same.
10476 Reported by Drew Adams <drew.adams@oracle.com>.
10477 (display-buffer-alist): Add choice for same-window macro
10479 (display-buffer): Mention special meaning of LABEL argument in
10480 doc-string. Fix quoting. Don't pop up a new frame even as
10483 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10485 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10486 avoid deleting the current window in some cases (bug#8911).
10488 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10490 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10493 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10495 * net/network-stream.el (network-stream-open-starttls):
10496 Use built-in TLS support if `gnutls-available-p' is true.
10497 (network-stream-open-tls): Ditto.
10499 2011-06-26 Leo Liu <sdl.web@gmail.com>
10501 * register.el (registerv): New struct.
10502 (registerv-make): New function.
10503 (jump-to-register, describe-register-1, insert-register):
10504 Support the jump-func, print-func and insert-func slot of a registerv
10507 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10509 * vc/vc.el (vc-revert-show-diff): New defcustom.
10510 (vc-diff-internal): New arg specifying diff buffer.
10511 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10512 reuse an existing *vc-diff* buffer (Bug#8927).
10514 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10516 2011-06-26 Glenn Morris <rgm@gnu.org>
10518 * progmodes/f90.el (f90-critical-indent): New option.
10519 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10520 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10521 (f90-mode): Doc fix.
10522 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10523 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10524 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10525 (f90-match-end): Handle block, critical.
10527 2011-06-25 Glenn Morris <rgm@gnu.org>
10529 * calendar/diary-lib.el (diary-included-files): Doc fix.
10530 (diary-include-files): New function, extracted from
10531 diary-include-other-diary-files and diary-mark-included-diary-files.
10532 (diary-include-other-diary-files, diary-mark-included-diary-files):
10533 Just call diary-include-files.
10534 (diary-mark-entries): Reset diary-included-files on first call.
10536 * calendar/diary-lib.el (diary-mark-entries)
10537 (diary-mark-included-diary-files):
10538 Visit included diary-files in temp buffers.
10540 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10541 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10542 (f90-start-block-re, f90-imenu-generic-expression)
10543 (f90-looking-at-program-block-start, f90-no-block-limit):
10544 Add support for submodules.
10546 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10547 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10549 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10551 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10552 buffer-file-type before setting its value, to avoid disastrous
10553 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10555 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10557 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10559 * ses.el (ses-unload-function):
10560 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10562 * proced.el (proced-unload-function):
10563 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10565 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10567 * server.el (server-create-window-system-frame): Add parameters arg.
10568 (server-process-filter): Doc fix. Handle frame-parameters.
10570 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10572 Fix bug#8730, bug#8781.
10574 * loadhist.el (unload--set-major-mode): New function.
10575 (unload-feature): Use it.
10577 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10578 (python-unload-function): New function.
10580 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10584 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10586 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10587 the candidates list.
10589 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10591 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10593 2011-06-23 Richard Stallman <rms@gnu.org>
10595 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10596 (rmail-variables): Set next-error-move-function.
10597 (rmail-what-message): Take argument POS.
10598 (rmail-next-error-move): New function.
10600 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10603 messages for adjacent non-terminals.
10605 2011-06-23 Richard Stallman <rms@gnu.org>
10607 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10608 (rmail-show-message-1): Preserve buffer modified flag.
10609 (rmail-start-mail): Don't specify use of rmail-mail-return;
10610 that's done by mail-bury now.
10611 (rmail-mail-return): Handle arg NEWBUF.
10613 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10615 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10618 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10620 * window.el (get-lru-window, get-mru-window)
10621 (get-largest-window): Never return a minibuffer window.
10622 (display-buffer-pop-up-window): Fix a bug that could lead to
10623 reusing the minibuffer window.
10624 (display-buffer): Pass original specifier argument to
10625 display-buffer-function instead of the normalized one.
10626 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10628 2011-06-22 Leo Liu <sdl.web@gmail.com>
10630 * minibuffer.el (completing-read-function)
10631 (completing-read-default): Move from minibuf.c
10633 2011-06-22 Richard Stallman <rms@gnu.org>
10635 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10636 to Rmail even if not started by a special Rmail command.
10638 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10639 Copy the buffer currently showing just one message.
10641 2011-06-22 Roland Winkler <winkler@gnu.org>
10643 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10644 (bibtex-clean-entry): First delete the old key so that a
10645 customized algorithm for generating the new key does not get
10646 confused by the old key.
10647 (bibtex-url): Obey regexp of first step.
10648 (bibtex-search-entries): Do not use add-to-list with local
10651 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10653 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10654 stored a user name, then query for the password first, instead of
10655 waiting for SMTP to give an error message and the trying again.
10657 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10659 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10660 BUFFER in call-process.
10662 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10666 (smtpmail-try-auth-methods): Require user name and password from
10669 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10671 * window.el (display-buffer-default-specifiers)
10672 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10673 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10674 (split-window): Normalize SIDE argument (Bug#8916).
10676 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10677 (special-display-frame-alist, special-display-popup-frame):
10678 Remove duplicate declarations. These are now in window.el.
10680 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10682 * mail/smtpmail.el (smtpmail-via-smtp):
10683 Set :use-starttls-if-possible so that we always use STARTTLS if the
10684 server supports it. SMTP servers that support STARTTLS commonly
10687 * net/network-stream.el (network-stream-open-starttls): Support
10688 upgrading to STARTTLS always, even if we don't have built-in support.
10689 (open-network-stream): Add the :always-query-capabilities keyword.
10691 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10692 upgrades with `open-network-stream', and rely solely on
10693 auth-source for all credentials. Big changes throughout the file,
10695 (smtpmail-auth-credentials): Remove.
10696 (smtpmail-starttls-credentials): Remove.
10697 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10700 * net/network-stream.el (network-stream-open-starttls):
10701 Provide support for client certificates both for external and built-in
10703 (auth-source): Require.
10704 (open-network-stream): Document the :client-certificate keyword.
10705 (network-stream-certificate): Change cert-cert to cert and
10708 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10710 * net/tramp-cache.el (top): Don't load the persistency file when
10711 "emacs -Q" has been called.
10713 2011-06-21 Tim Harper <timcharper@gmail.com>
10715 * term/ns-win.el (ns-initialize-window-system):
10716 Set application-specific `ApplePressAndHoldEnabled' system
10717 resource to NO as it is not yet supported by the NS port.
10719 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10721 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10722 (list-dynamic-libraries): ...not here.
10724 2011-06-21 Leo Liu <sdl.web@gmail.com>
10726 * subr.el (sha1): Implement sha1 using secure-hash.
10728 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10730 * window.el (display-buffer-alist): In default value do not
10731 enforce searching a window on any but the selected frame.
10732 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10733 (display-buffer-select-window): Remove function.
10734 (display-buffer-in-window): When a window on another frame gets
10735 reused, do not select it any more but just raise its frame if
10736 necessary (Bug#8851) and (Bug#8856).
10737 (display-buffer-normalize-options): Handle pop-up-frames related
10738 options more faithfully.
10739 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10740 window if it is on another frame.
10741 (display-buffer-alist, display-buffer-default-specifiers):
10742 Don't make new frame unsplittable by default.
10743 (display-buffer-normalize-argument): Fix doc-string typo and use
10744 'same-frame-other-window instead of 'other-window when associating
10745 with display-buffer-macro-specifiers.
10747 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10749 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10751 (5x5-mode-map, 5x5-mode-menu): Bind them.
10752 (5x5-draw-grid): Tweak the solver's rendering.
10754 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10757 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10759 2011-06-21 Drew Adams <drew.adams@oracle.com>
10761 * menu-bar.el: Use function variable instead of switch-to-buffer.
10762 (menu-bar-select-buffer-function): New variable.
10763 (menu-bar-update-buffers): Use it (bug#8876).
10765 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10770 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10772 * x-dnd.el (x-dnd-version-from-flags)
10773 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10774 and long as number (Bug#8899).
10775 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10777 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10780 (completion-try-completion, completion-all-completions): Compute the
10781 metadata argument if it's missing; make it optional (bug#8795).
10783 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10784 (widget-complete): Use new :completion-function property.
10785 (widget-completions-at-point): New function.
10786 (default): Use :completion-function instead of :complete.
10787 (widget-default-completions): Rename from widget-default-complete;
10789 (widget-string-complete, widget-file-complete, widget-color-complete):
10791 (file, symbol, function, variable, coding-system, color):
10792 * international/mule-cmds.el (default-input-method, charset)
10793 (language-info-custom-alist):
10794 * cus-edit.el (face): Use new property :completions.
10796 * progmodes/pascal.el (pascal-completions-at-point): New function.
10797 (pascal-mode): Use it.
10798 (pascal-mode-map): Use completion-at-point.
10799 (pascal-toggle-completions): Make obsolete.
10800 (pascal-complete-word, pascal-show-completions):
10801 * progmodes/octave-mod.el (octave-complete-symbol):
10802 Redefine as obsolete alias.
10803 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10804 Signal absence of completion info for old Octave,
10805 (inferior-octave-complete): Redefine as obsolete alias.
10806 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10807 (meta-completions-at-point): Rename from meta-complete-symbol and
10808 adapt it for use on completion-at-point-functions.
10809 (meta-common-mode): Use it.
10810 (meta-looking-at-backward, meta-match-buffer): Remove.
10811 (meta-complete-symbol): Redefine as obsolete alias.
10812 (meta-common-mode-map): Use completion-at-point.
10813 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10814 (makefile-mode-map): Use completion-at-point.
10815 (makefile-completions-at-point): Rename from makefile-complete and
10816 adapt it for use on completion-at-point-functions.
10817 (makefile-mode): Use it.
10818 (makefile-complete): Redefine as obsolete alias.
10820 2011-06-20 Deniz Dogan <deniz@dogan.se>
10822 * net/rcirc.el: Delete trailing whitespaces once and for all.
10824 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10826 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10828 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10830 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10832 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10834 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10836 * window.el (display-buffer-other-window-means-other-frame):
10837 Call display-buffer-normalize-alist.
10838 (display-buffer-normalize-specifiers-1): Rename to
10839 display-buffer-normalize-argument. New argument other-frame.
10841 (display-buffer-normalize-specifiers-2): Rename to
10842 display-buffer-normalize-options.
10843 (display-buffer-normalize-alist-1): New function.
10844 (display-buffer-normalize-specifiers-3): Rename to
10845 display-buffer-normalize-alist.
10846 Call display-buffer-normalize-alist-1.
10847 (display-buffer-normalize-options-inhibit): New variable.
10848 (display-buffer-normalize-specifiers): Rewrite calling
10849 display-buffer-normalize-alist,
10850 display-buffer-normalize-argument, and
10851 display-buffer-normalize-options. Don't call the latter if
10852 display-buffer-normalize-options-inhibit is non-nil.
10853 (frame-auto-delete): New option.
10854 (window-deletable-p): Use frame-auto-delete.
10855 (window-list-no-nils, window-state-ignored-parameters)
10856 (window-state-get-1, window-state-get, window-state-put-list)
10857 (window-state-put-1, window-state-put-2, window-state-put):
10859 (display-buffer-normalize-options): Move special-display-p group
10860 after pop-up-frame group (Bug#8851) and (Bug#8856).
10862 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10864 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10866 (rx-submatch-n): New function.
10869 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10872 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10874 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10876 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10877 anytime existing face settings are present (Bug#8889).
10879 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10880 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10881 Remove unused argument.
10883 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10885 * window.el (display-buffer-default-specifiers):
10886 Remove pop-up-frame. Add pop-up-window-min-height,
10887 pop-up-window-min-width, and another reuse-window specifier
10888 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10889 (display-buffer-normalize-specifiers-2):
10890 Handle split-height-threshold and split-width-threshold also when
10891 pop-up-windows is unset. Add a reuse-window specifier for the
10892 case popping up a new window fails.
10893 (special-display-popup-frame): Remove double quoting.
10894 (display-buffer-normalize-specifiers-1): Fix thinko.
10896 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10898 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10899 according to comint-completion-addsuffix.
10901 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10902 (pcomplete-suffix-list): Mark as obsolete.
10903 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10904 pcomplete-seen in the closure.
10905 (pcomplete-comint-setup): Setup completion-at-point as well.
10906 (pcomplete--entries): New function.
10907 (pcomplete--env-regexp): New var.
10908 (pcomplete-entries): Rewrite to work with partial-completion and
10909 without relying on pcomplete-suffix-list.
10910 (pcomplete-pare-list): Remove, unused.
10912 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10914 * window.el (display-buffer-alist): Set pop-up-window-min-height
10915 and pop-up-window-min-width in default value. Reported by
10916 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10917 other-window-means-other-frame.
10918 (display-buffer-macro-specifiers): Comment out entry for
10919 other-window specifier.
10920 (display-buffer-other-window-means-other-frame): New function.
10921 (display-buffer-normalize-specifiers-1): New arguments
10922 buffer-name and label. Treat other-window case specially.
10923 (display-buffer-normalize-specifiers-2): Treat other-window case
10925 (display-buffer-normalize-specifiers-3): New function.
10926 (display-buffer-normalize-specifiers):
10927 Call display-buffer-normalize-specifiers-3.
10929 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10931 * window.el (same-window-p): Fix two typos introduced when
10932 adding with-no-warnings.
10933 (display-buffer-normalize-specifiers-1): Don't check
10934 pop-up-frames for 'unset initialization.
10935 (display-buffer-normalize-specifiers-2): Major rewrite using
10936 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10937 (pop-up-frames, display-buffer-reuse-frames)
10938 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10939 Suggested by David Engster <deng@randomsample.de>.
10940 (even-window-heights): Initialize to 'unset.
10941 (display-buffer-alist-set): Handle new 'unset initializations.
10942 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10945 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10947 * window.el (display-buffer-normalize-specifiers-1):
10948 Respect current value of pop-up-frames for most reasonable values of
10949 second argument of display-buffer (Bug#8865).
10950 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10951 (switch-to-buffer-other-window-same-frame)
10952 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10954 (display-buffer): Don't check noninteractive when calling
10955 display-buffer-pop-up-frame.
10956 (display-buffer-pop-up-frame): Never pop up a frame in
10957 noninteractive mode (Bug#8857).
10958 (enlarge-window, shrink-window): Don't report an error when the
10959 window can't be resized as requested (Bug#8862).
10961 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10965 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10967 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10969 2011-06-15 Alan Mackenzie <acm@muc.de>
10971 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10972 for declarators, disable knr checking to speed up for normal files.
10973 2: Refactor, replacing a sequence of nested if forms by a cond form.
10975 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10977 * net/network-stream.el (open-network-stream): Add the keyword
10978 :always-query-capabilities for the case where you want to force a
10979 `plain' network connection, but the protocol still requires the
10980 capabilitiy command (i.e., SMTP and EHLO).
10982 * subr.el (process-live-p): Rename from `process-alive-p' for
10983 consistency with other `-live-p' functions.
10985 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * window.el (same-window-buffer-names, same-window-regexps)
10988 (special-display-frame-alist, special-display-popup-frame)
10989 (special-display-function, special-display-buffer-names)
10990 (special-display-regexps, pop-up-frame-alist)
10991 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10992 (pop-up-windows, split-window-preferred-function)
10993 (split-height-threshold, split-width-threshold, even-window-heights)
10994 (display-buffer-mark-dedicated): Don't encourage the use of
10995 display-buffer-alist from Elisp code.
10997 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10999 * progmodes/python.el (python-mode): Derive from prog-mode.
11000 * progmodes/ps-mode.el (ps-mode):
11001 * progmodes/mixal-mode.el (mixal-mode):
11002 * progmodes/cfengine.el (cfengine-mode):
11003 * progmodes/ld-script.el (ld-script-mode): Likewise.
11005 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11007 * window.el (display-buffer-alist): Trim default value to avoid
11008 popping up a new frame (Bug#8857) or reusing an arbitrary window
11010 (display-buffer): Do not fall back on popping up a new frame in
11011 batch mode (Bug#8857).
11013 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11015 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11016 (custom-theme-summary): New function.
11017 (customize-themes): Use it.
11019 2011-06-13 Glenn Morris <rgm@gnu.org>
11021 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11023 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11025 * help.el (help-window): Remove variable.
11026 (help-window-point-marker, temp-buffer-max-height)
11027 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11028 (help-print-return-message): Don't set help-window.
11029 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11030 (help-window-setup-finish): Remove.
11031 (help-window-display-message, help-window-setup)
11032 (with-help-window): Major rewrite based on new
11033 display-buffer-window variable.
11035 * help-mode.el (help-mode-finish): Remove help-window related
11038 * view.el (view-exits-all-viewing-windows): Remove reference to
11039 view-return-to-alist in doc-string.
11040 (view-return-to-alist): Make obsolete.
11041 (view-buffer): Call pop-to-buffer-same-window and remove
11043 (view-buffer-other-window): Call pop-to-buffer-other-window and
11044 simplify code. Ignore second argument.
11045 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11046 simplify code. Ignore second argument.
11047 (view-return-to-alist-update): Make obsolete.
11048 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11049 Rewrite using quit-restore window parameters.
11050 (view-mode-exit): Rename second argument to EXIT-ONLY.
11051 Rewrite using quit-restore-window.
11052 (View-exit, View-exit-and-edit, View-leave, View-quit)
11053 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11054 appropriate arguments.
11055 (view-end-message): Use quit-restore window parameter.
11057 * window.el (display-buffer-function): Rewrite doc-string.
11058 (display-buffer-window, display-buffer-alist): New variables.
11059 (display-buffer-split-specifiers)
11060 (display-buffer-side-specifiers)
11061 (display-buffer-macro-specifiers): New constants.
11062 (display-buffer-even-window-sizes, display-buffer-set-height)
11063 (display-buffer-set-width, display-buffer-select-window)
11064 (display-buffer-in-window, display-buffer-reuse-window)
11065 (display-buffer-split-window-1, display-buffer-split-window)
11066 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11067 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11068 (display-buffer-in-side-window, normalize-buffer-to-display)
11069 (display-buffer-normalize-specifiers-1)
11070 (display-buffer-normalize-specifiers-2)
11071 (display-buffer-normalize-specifiers, display-buffer-frame):
11073 (display-buffer): Major rewrite.
11074 (display-buffer-other-window, display-buffer-other-frame)
11075 (pop-to-buffer, switch-to-buffer-other-window)
11076 (switch-to-buffer-other-frame): Rewrite.
11077 (display-buffer-same-window, display-buffer-same-frame)
11078 (display-buffer-same-frame-other-window)
11079 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11080 (pop-to-buffer-other-window)
11081 (pop-to-buffer-same-frame-other-window)
11082 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11083 (switch-to-buffer-other-window-same-frame): New functions.
11084 (same-window-p, special-display-p): Rewrite disabling warnings.
11086 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11087 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11089 (same-window-buffer-names, same-window-regexps)
11090 (special-display-frame-alist, special-display-popup-frame)
11091 (special-display-function, special-display-buffer-names)
11092 (special-display-regexps, pop-up-frame-alist)
11093 (pop-up-frame-function, split-window-preferred-function)
11094 (split-height-threshold, split-width-threshold)
11095 (even-window-heights): Make obsolete.
11097 2011-06-12 Glenn Morris <rgm@gnu.org>
11099 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11100 Misc simplifications.
11102 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11104 * window.el (window-safely-shrinkable-p): Restore function which
11105 was inadvertently removed in change from 2011-06-11. Declare as
11108 * calendar/calendar.el (calendar-generate-window):
11109 Use window-iso-combined-p instead of combination of one-window-p and
11110 window-safely-shrinkable-p.
11112 2011-06-12 Glenn Morris <rgm@gnu.org>
11114 * progmodes/fortran.el (fortran-mode-syntax-table):
11115 * progmodes/f90.el (f90-mode-syntax-table):
11116 Set % to punctuation. (Bug#8820)
11117 (f90-find-tag-default): Remove, no longer needed.
11119 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11121 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11123 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11125 * image.el (image-animated-p): Return animation delay in seconds.
11126 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11127 (image-animate-timeout): Remove DELAY argument. Don't assume
11128 every subimage has the same delay; get it from image-animated-p.
11129 (image-animate): Caller changed.
11131 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11133 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11134 to ignored backtrace functions.
11136 2011-06-11 Glenn Morris <rgm@gnu.org>
11138 * calendar/appt.el (appt-disp-window-function): Doc fix.
11139 (appt-check): Handle overlapping appointments. (Bug#8337)
11141 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11143 * window.el (window-tree-1, window-tree): New functions, moving
11144 the latter to window.el.
11145 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11146 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11147 (bw-refresh-edges): Remove.
11148 (balance-windows-1, balance-windows-2): New functions.
11149 (balance-windows): Rewrite in terms of window tree functions,
11150 balance-windows-1 and balance-windows-2.
11151 (bw-adjust-window): Remove.
11152 (balance-windows-area-adjust): New function with functionality of
11153 bw-adjust-window but using resize-window.
11154 (set-window-text-height): Rewrite doc-string.
11155 Use normalize-live-window and resize-window.
11156 (enlarge-window-horizontally, shrink-window-horizontally):
11157 Rename argument to DELTA.
11158 (window-buffer-height): New function.
11159 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11160 Rewrite using new window resize routines.
11161 (kill-buffer-and-window, mouse-autoselect-window-select):
11162 Use ignore-errors instead of condition-case.
11163 (quit-window): Call delete-frame instead of delete-windows-on
11164 for the only buffer on frame.
11166 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11168 * loadup.el (top-level): Load window before files for the sake
11169 of replace-buffer-in-windows.
11171 * files.el (read-buffer-to-switch)
11172 (switch-to-buffer-other-window)
11173 (switch-to-buffer-other-frame, display-buffer-other-frame):
11176 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11177 (previous-buffer): Move to window.el.
11179 * bindings.el (unbury-buffer): Move to window.el.
11181 * window.el (delete-other-windows-vertically): Move after
11182 definition of delete-other-windows.
11183 (other-window, delete-windows-on, replace-buffer-in-windows):
11184 Move here from window.c.
11185 (record-window-buffer, unrecord-window-buffer)
11186 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11187 (switch-to-next-buffer): New functions.
11188 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11189 from simple.el. Call switch-to-next-buffer.
11190 (previous-buffer): Move here from simple.el.
11191 Call switch-to-prev-buffer.
11192 (bury-buffer): Move here from buffer.c. Switch to previous
11193 buffer when window cannot be deleted.
11194 (unbury-buffer): Move here from bindings.el.
11195 (ctl-x-map): Move binding for other-window from window.c to
11197 (read-buffer-to-switch, switch-to-buffer-other-window)
11198 (switch-to-buffer-other-frame): Move here from files.el.
11199 (normalize-buffer-to-switch-to): New functions.
11200 (switch-to-buffer): Move here from buffer.c.
11201 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11203 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11205 * window.el (window-min-height, window-min-width): Move here
11206 from window.c. Add defcustoms and rewrite doc-strings.
11207 (resize-mini-window, resize-window): New functions.
11208 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11209 Move here from window.c.
11210 (maximize-window, minimize-window): New functions.
11211 (delete-window, delete-other-windows, split-window): Move here
11213 (window-split-min-size): New function.
11214 (split-window-keep-point): Mention split-window-above-each-other
11215 instead of split-window-vertically.
11216 (split-window-above-each-other, split-window-vertically):
11217 Rename split-window-vertically to split-window-above-each-other
11218 and provide defalias for old definition.
11219 (split-window-side-by-side, split-window-horizontally):
11220 Rename split-window-horizontally to split-window-side-by-side
11221 and provide defalias for the old definition.
11222 (ctl-x-map): Move bindings for delete-window,
11223 delete-other-windows and enlarge-window here from window.c.
11224 Replace bindings for split-window-vertically and
11225 split-window-horizontally by bindings for
11226 split-window-above-each-other and split-window-side-by-side.
11228 * cus-start.el (all): Remove entries for window-min-height and
11229 window-min-width. Add entries for window-splits and
11232 2011-06-09 Glenn Morris <rgm@gnu.org>
11234 * calendar/appt.el (appt-mode-line): New function.
11235 (appt-check, appt-disp-window): Use it.
11237 * files.el (hack-one-local-variable-eval-safep):
11238 Allow minor-modes with explicit +/-1 arguments.
11240 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11242 * term/xterm.el (xterm): Add defgroup.
11243 (xterm-extra-capabilities): Add defcustom to supply known xterm
11244 capabilities, skip querying them, or query them (default).
11245 (terminal-init-xterm): Use it.
11246 (terminal-init-xterm-modify-other-keys): New function to set up
11247 modifyOtherKeys support to simplify `terminal-init-xterm'.
11249 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11251 * window.el (resize-window-reset, resize-window-reset-1)
11252 (resize-subwindows-skip-p, resize-subwindows-normal)
11253 (resize-subwindows, resize-other-windows, resize-this-window)
11254 (resize-root-window, resize-root-window-vertically)
11255 (window-deletable-p, window-or-subwindow-p)
11256 (frame-root-window-p): New functions.
11258 2011-06-09 Glenn Morris <rgm@gnu.org>
11260 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11261 (ange-ftp-get-files): Use it.
11263 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11265 * mail/sendmail.el (mail-recover-1, mail-recover):
11266 * files.el (recover-file, recover-session):
11267 Handle dired-listing-switches not being just a single short option.
11269 2011-06-09 Glenn Morris <rgm@gnu.org>
11271 * calendar/appt.el (appt-display-message, appt-disp-window):
11272 Handle lists of appointments.
11274 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11276 * window.el (one-window-p): Move down in code.
11277 Rewrite doc-string.
11278 (window-current-scroll-bars): Rewrite doc-string.
11279 Normalize live window argument.
11280 (walk-windows, get-window-with-predicate, count-windows):
11281 Rewrite doc-string. Use window-list-1.
11282 (window-in-direction-2, window-in-direction, get-mru-window):
11285 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11287 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11288 Doc fix (Bug#8713).
11290 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11292 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11294 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11296 * loadhist.el (unload-feature-special-hooks):
11297 Add `comint-output-filter-functions'.
11299 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11301 * calendar/appt.el (appt-check): Move some initializations into the let.
11303 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11305 * window.el (window-height): Defalias to window-total-height.
11306 (window-width): Defalias to window-body-width.
11308 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11310 * image-mode.el (image-toggle-animation): New command.
11311 (image-mode-map): Bind it to RET.
11312 (image-mode): Update message.
11313 (image-toggle-display-image): Avoid a spurious cache flush.
11314 (image-transform-rotation): Doc fix.
11315 (image-transform-properties): Return quickly in the normal case.
11316 (image-animate-loop): Rename from image-animate-max-time.
11318 * image.el (image-animate-max-time): Move to image-mode.el.
11319 (create-animated-image): Remove unnecessary function.
11320 (image-animate): Rename from image-animate-start. New arg.
11321 (image-animate-stop): Remove; just use image-animate-timer.
11322 (image-animate-timer): Use car-safe.
11323 (image-animate-timeout): Rename argument.
11325 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11327 * window.el (get-lru-window, get-largest-window): Move here from
11328 window.c. Rename first argument to ALL-FRAMES.
11329 Rephrase doc-strings.
11330 (get-buffer-window-list): Rewrite using window-list-1.
11331 Rephrase doc-string.
11332 (window-safe-min-height, window-safe-min-width): New constants.
11333 (window-size-ignore, window-min-size, window-min-size-1)
11334 (window-sizable, window-sizable-p, window-size-fixed-1)
11335 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11336 (window-max-delta-1, window-max-delta, window-resizable)
11337 (window-resizable-p, window-total-height, window-total-width)
11338 (window-body-width): New functions.
11339 (window-full-height-p, window-full-width-p): Rewrite using
11341 (window-body-height): Rewrite using window-body-size.
11343 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11345 * window.el (window-right, window-left, window-child)
11346 (window-child-count, window-last-child, window-any-p)
11347 (normalize-live-buffer, normalize-live-frame)
11348 (normalize-any-window, normalize-live-window)
11349 (window-iso-combination-p, window-iso-combined-p)
11350 (window-iso-combinations)
11351 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11352 (windows-with-parameter, window-with-parameter)
11353 (window-atom-root, make-window-atom, window-atom-check-1)
11354 (window-atom-check, window-side-check, window-check):
11356 (ignore-window-parameters, window-sides, window-sides-vertical)
11357 (window-sides-slots): New variables.
11358 (window-size-fixed): Move down in code. Minor doc-string fix.
11360 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11362 * comint.el (comint-dynamic-complete-as-filename)
11363 (comint-dynamic-complete-filename): Correctly call
11364 completion-in-region.
11366 2011-06-05 Deniz Dogan <deniz@dogan.se>
11368 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11371 2011-06-05 Deniz Dogan <deniz@dogan.se>
11373 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11374 (rcirc): Use it to prompt for encryption.
11376 2011-06-05 Roland Winkler <winkler@gnu.org>
11378 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11379 (bibtex-search-entries): New command bound to C-c C-a.
11380 (bibtex-display-entries): New function.
11382 2011-06-05 Roland Winkler <winkler@gnu.org>
11384 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11385 (bibtex-insert-kill): After yanking insert newline if necessary.
11386 (bibtex-initialize): Call bibtex-string-files-init only once.
11387 (bibtex-mode): Do not call easy-menu-add.
11388 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11389 (bibtex-yank): Set arg properly if nil.
11391 2011-06-05 Roland Winkler <winkler@gnu.org>
11393 * textmodes/bibtex.el (bibtex-search-entry-globally):
11395 (bibtex-search-entry): Use it.
11397 2011-06-05 Roland Winkler <winkler@gnu.org>
11399 * textmodes/bibtex.el (bibtex-entry-format): New option
11401 (bibtex-format-entry, bibtex-reformat): Honor this option.
11402 (bibtex-parse-entry): Return fields in proper order.
11404 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11406 * doc-view.el (doc-view-remove-if): Move computation of result out
11407 of `dolist' to silence misleading lexical-binding warning.
11409 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11411 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11412 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11414 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11416 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11419 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11421 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11422 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11423 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11424 (tramp-parse-putty):
11425 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11426 (tramp-completion-function-alist-ssh)
11427 (tramp-completion-function-alist-telnet)
11428 (tramp-completion-function-alist-su)
11429 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11432 * net/tramp-ftp.el:
11434 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11435 load "tramp.el" `tramp-set-completion-function'.
11437 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11439 * shell.el: Require and use pcomplete.
11440 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11441 (shell-completion-vars): Set pcomplete-default-completion-function.
11443 2011-06-04 Deniz Dogan <deniz@dogan.se>
11445 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11448 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11452 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11454 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11455 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11456 * vc/log-view.el (log-view-beginning-of-defun):
11457 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11458 (smerge-refine-forward, smerge-refine-chopup-region):
11459 Silence warning for unused `dotimes' counter variables.
11461 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * net/tramp.el (tramp-with-progress-reporter): Rename from
11464 with-progress-reporter. Use `declare'.
11465 * net/tramp-smb.el:
11467 * net/tramp-gvfs.el: Update all uses.
11469 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11471 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11472 buffer isn't killed before making it current.
11474 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11476 Silence various byte-compiler warnings.
11477 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11478 `access-type' and new obsolescence format.
11479 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11481 (byte-compile-check-variable): New `access-type' argument.
11482 Only warn if the access-type is obsolete.
11483 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11484 (byte-compile-variable-set): Adjust callers.
11485 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11486 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11487 setting it as obsolete.
11488 * simple.el (minibuffer-completing-symbol):
11489 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11490 access as obsolete.
11491 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11493 * international/quail.el (quail-mouse-choose-completion): Remove unused
11494 code referring to obsolete var.
11495 (quail-choose-completion-string): Remove.
11496 * server.el (server-clients-with, server-kill-buffer-query-function)
11497 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11498 * proced.el (proced-send-signal):
11499 * emacs-lisp/lisp.el (lisp-complete-symbol):
11500 Replace completion-annotate-function with completion-extra-properties.
11502 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * simple.el (goto-line): Use read-number.
11505 (overriding-map-is-bound): Remove.
11506 (saved-overriding-map): Change default.
11507 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11508 Take the map as argument.
11509 (universal-argument, negative-argument, digit-argument): Use it.
11510 (restore-overriding-map): Adjust.
11511 (do-auto-fill): Use fill-forward-paragraph.
11512 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11514 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11515 (minibuffer-inactive-mode): New major mode.
11516 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11517 the *Messages* buffer" hack.
11518 (mouse-popup-menubar): Don't burp if the event is a normal key.
11520 Miscellaneous tweaks.
11521 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11522 lexical scoping as in subr.el's dolist and dotimes.
11523 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11524 Silence compiler warning.
11525 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11526 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11527 * international/ccl.el (ccl-compile): Trivial simplification.
11528 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11529 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11530 `printflag' argument.
11531 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11532 Purecopy the whole obsolescence data.
11534 2011-06-01 Leo Liu <sdl.web@gmail.com>
11536 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11537 improve doc-string as suggested by Marco Pessotto
11538 <melmothx@gmail.com>.
11539 (rcirc-print): Fix last change.
11541 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11543 * minibuffer.el (complete-with-action): Return nil for the metadata and
11544 boundaries of non-functional tables.
11545 (completion-table-dynamic): Return nil for the metadata.
11546 (completion-table-with-terminator): Add default case, using
11547 complete-with-action.
11548 (completion--metadata): New function.
11549 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11550 to try and avoid pathological performance problems.
11551 (completion--embedded-envvar-table): Return `category' metadata.
11553 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11555 * subr.el (process-alive-p): New tiny convenience function.
11557 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11559 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11560 content but also its previous major mode.
11562 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11564 * emacs-lisp/debug.el (debug): Restore the previous content of the
11565 *Backtrace* buffer when we exit with C-M-c.
11567 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11569 * minibuffer.el: Add metadata method to completion tables.
11570 (completion-category-overrides): New defcustom.
11571 (completion-metadata, completion--field-metadata)
11572 (completion-metadata-get, completion--styles)
11573 (completion--cycle-threshold): New functions.
11574 (completion-try-completion, completion-all-completions):
11575 Add `metadata' argument to choose completion-styles.
11576 (completion--do-completion): Use metadata to choose cycling.
11577 (completion-all-sorted-completions): Use metadata for sorting.
11578 Remove :completion-cycle-penalty which is not needed any more.
11579 (completion--try-word-completion): Add `metadata' argument.
11580 (minibuffer-completion-help): Check metadata for annotation function
11582 (completion-file-name-table): Return `category' metadata.
11583 (minibuffer-completing-file-name): Make obsolete.
11584 * simple.el (minibuffer-completing-symbol): Make obsolete.
11585 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11586 completion-try-completion.
11588 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11590 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11592 2011-05-30 Leo Liu <sdl.web@gmail.com>
11594 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11595 (rcirc-print): Decode all incoming messages (bug#8744).
11596 (rcirc-decode-coding-system): Allow value nil for automatic coding
11599 2011-06-01 Glenn Morris <rgm@gnu.org>
11601 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11603 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11605 * image.el (image-animate-max-time): Allow nil and t values.
11607 (create-animated-image): Doc fix.
11608 (image-animate-start): Remove second arg; just use
11609 image-animate-max-time.
11610 (image-animate-timeout): Doc fix. Args changed.
11612 * image-mode.el (image-toggle-display-image): Ensure that the
11613 image spec passed to the animate timer is the same object as in
11614 the buffer's display property (Bug#6981).
11615 (image-transform-properties): Doc fix.
11617 * image.el (image-animate-max-time): Default to nil.
11619 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11621 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11622 entire buffer list (Bug#8184).
11624 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11626 * image.el (imagemagick-types-inhibit)
11627 (imagemagick-register-types): Doc fix.
11629 2011-05-29 Deniz Dogan <deniz@dogan.se>
11631 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11634 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11636 * select.el: Don't perform clipboard-manager saving in hooks;
11637 leave the hooks empty.
11639 2011-05-28 Leo Liu <sdl.web@gmail.com>
11641 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11642 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11643 (occur-edit-mode): New major mode (Bug#8463).
11644 (occur-after-change-function): New function.
11645 (occur-engine): Give Occur tags a read-only property.
11647 2011-05-28 Kevin Ryde <user42@zip.com.au>
11649 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11651 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11653 * bindings.el (help-echo): Make the initial non-indicator dash
11654 empty on graphical terminals (Bug#7295).
11656 * files.el (auto-mode-alist): Move config rule after the
11657 in-stripping one (Bug#8547).
11659 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11661 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11662 setting (Bug#8740).
11664 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11666 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11667 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11670 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11672 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11674 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11676 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11677 (hs-hide-block-at-point, hs-find-block-beginning)
11678 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11681 2011-05-28 Glenn Morris <rgm@gnu.org>
11683 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11685 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11687 * help-fns.el (describe-function-1): If the function is a derived
11688 major mode, print the parent mode.
11690 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11691 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11693 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11695 * minibuffer.el (completion--capf-wrapper): Check applicability before
11696 returning non-nil for non-exclusive completion data.
11697 * progmodes/etags.el (tags-completion-at-point-function):
11698 * info-look.el (info-lookup-completions-at-point): Mark as
11700 (info-complete): Adjust accordingly.
11702 * info-look.el: Convert to lexical-binding and completion-at-point.
11703 (info-lookup-completions-at-point): New function.
11704 (info-complete): Use it and completion-in-region.
11706 2011-05-28 Drew Adams <drew.adams@oracle.com>
11708 * isearch.el: Let M-e start with point at the first mismatched char.
11709 (isearch-fail-pos): New function.
11710 (isearch-edit-string): Use it.
11712 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11714 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11716 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11718 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11719 traversal functions for avl-trees.
11720 (avl-tree--stack): New struct.
11721 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11722 (avl-tree-enter): Add optional `updatefun' arg.
11723 (avl-tree--do-enter): Add optional `updatefun' arg.
11724 Change return value.
11725 (avl-tree-delete): Add optional `test' and `nilflag' args.
11726 (avl-tree--do-delete): Add `test' and `nilflag' args.
11727 Change return value.
11728 (avl-tree-member): Add optional `nilflag'
11729 (avl-tree-member-p): New function.
11730 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11731 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11732 (avl-tree-stack-empty-p): New functions.
11734 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11735 avl-tree--del-balance1 and make it work both ways.
11736 (avl-tree--del-balance2): Remove.
11737 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11738 make it work both ways.
11739 (avl-tree--enter-balance2): Remove.
11740 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11742 (avl-tree--mapc, avl-tree-map): Add direction argument.
11744 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11746 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11748 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11750 * select.el: Support clipboard managers with built-in function
11751 x-clipboard-manager-save, via delete-frame-functions and
11753 (xselect-convert-to-targets): Add MULTIPLE target to list.
11754 (xselect-convert-to-save-targets): New function.
11756 2011-05-27 Kenichi Handa <handa@m17n.org>
11758 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11759 let-binding rfc2047-encode-encoded-words to nil.
11761 2011-05-27 Glenn Morris <rgm@gnu.org>
11763 * mail/emacsbug.el: Don't require url-util.
11765 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11767 * files.el (set-auto-mode):
11768 Also respect mode: entries at the end of the file. (Bug#8586)
11770 2011-05-26 Glenn Morris <rgm@gnu.org>
11772 * files.el (hack-local-variables-prop-line, hack-local-variables):
11773 Downcase mode names, as seems to be traditional.
11774 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11776 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11777 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11779 2011-05-25 Julien Danjou <julien@danjou.info>
11781 * textmodes/rst.el (rst-define-level-faces): Do not define face
11782 symbol if it is already defined.
11784 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11786 * play/5x5.el (5x5-new-game, 5x5-randomize):
11787 Reset 5x5-solver-output to nil when a new grid is cast.
11788 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11789 these debugging traces, as defmacro breaks the compiled code.
11791 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11793 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11795 2011-05-24 Leo Liu <sdl.web@gmail.com>
11797 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11798 (vc-bzr-sha1): Adapt.
11800 * sha1.el: Remove. Function `sha1' is now builtin.
11802 * bindings.el: Provide sha1 feature.
11804 2011-05-24 Kenichi Handa <handa@m17n.org>
11806 * mail/sendmail.el: Require `rfc2047'.
11807 (mail-insert-from-field): Do not perform RFC2047 encoding.
11808 (mail-encode-header): New function.
11809 (sendmail-send-it): Set buffer-file-coding-system of the work
11810 buffer to the return value of select-message-coding-system.
11811 Call mail-encode-header.
11813 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11815 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11817 * mail/supercite.el (sc-default-cite-frame):
11818 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11820 2011-05-24 Glenn Morris <rgm@gnu.org>
11822 * progmodes/python.el (brm-menu): Declare.
11824 * emulation/viper.el (viper-set-hooks): Declare.
11826 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11827 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11828 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11829 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11830 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11831 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11833 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11835 Add an :exit-function for completion-at-point.
11837 * minibuffer.el (completion--done): New fun.
11838 (completion--do-completion): Use it. New arg `expect-exact'.
11839 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11840 since completion--do-completion does it for us now.
11841 (minibuffer-force-complete): Use completion--done and
11842 completion--replace. Handle sole-completion case with more care.
11843 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11844 (completion-extra-properties): New var.
11845 (completion-annotate-function): Make obsolete.
11846 (minibuffer-completion-help): Adjust accordingly.
11847 Use completion-list-insert-choice-function.
11848 (completion-at-point, completion-help-at-point):
11849 Bind completion-extra-properties.
11850 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11851 * simple.el (completion-list-insert-choice-function): New var.
11852 (completion-setup-function): Preserve it.
11853 (choose-completion): Pay attention to it, shuffle the code a bit.
11854 (choose-completion-string): New arg `insert-function'.
11856 * textmodes/bibtex.el: Convert to lexical binding.
11857 (bibtex-mode-map): Use completion-at-point.
11858 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11859 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11860 (bibtex-complete): Define as obsolete alias.
11861 (bibtex-complete-internal): Remove.
11862 (bibtex-format-entry): Remove unused sub-group in regexp.
11863 * shell.el (shell--command-completion-data)
11864 (shell-environment-variable-completion):
11865 * pcomplete.el (pcomplete-completions-at-point):
11866 * comint.el (comint--complete-file-name-data): Use :exit-function
11867 instead of completion-table-with-terminator so it also works for
11870 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11874 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11877 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11879 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11881 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11882 customization variable and implement: If non-nil, auto-fill will
11883 be inhibited while on topic's header line.
11885 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11887 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11888 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11889 always have a solution in grid size = 5 cases.
11890 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11891 (5x5-solver-output, 5x5-log-buffer): New vars.
11892 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11893 Make these variables buffer local to achieve 5x5 multi-session-ness.
11894 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11895 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11896 (5x5-solve-suggest): New funs.
11897 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11898 randomize a grid so that we ensure that there is always a solution.
11899 (5x5-make-random-grid): Allow other movement than flipping.
11901 2011-05-23 Kevin Ryde <user42@zip.com.au>
11903 * emacs-lisp/advice.el (ad-read-advised-function):
11904 Use `function-called-at-point' as the default, if it has
11905 advice and passes PREDICATE.
11907 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11910 byte-compile-lambda if it's actually a lambda.
11912 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11913 Fix function quoting. Use backquote better.
11915 2011-05-22 Yuanle Song <sylecn@gmail.com>
11917 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11918 matching (Bug#8516).
11920 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11922 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11923 different face (Bug#8178).
11925 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11927 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11928 defface (Bug#8144).
11930 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11932 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11933 funcall as well (bug#8712). Warn when performing those conversions.
11934 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11936 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11938 2011-05-22 Glenn Morris <rgm@gnu.org>
11940 * files.el (hack-local-variables-prop-line): Small simplifications.
11941 (hack-local-variables, hack-local-variables-prop-line):
11942 If MODE-ONLY, return the mode, rather than just `t'.
11944 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11946 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11948 2011-05-21 Glenn Morris <rgm@gnu.org>
11950 * files.el (hack-local-variables-prop-line, hack-local-variables):
11951 If only interested in the mode, don't bother doing the other stuff.
11953 * image-mode.el (image-after-revert-hook):
11954 Redraw all frames on which the image is visible. (Bug#8567)
11956 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11958 * wid-edit.el (widget-checklist-match-inline):
11959 Fix 2011-04-19 change. (Bug#8649)
11961 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11963 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11964 Also allow singlespace after single-letter capitals followed by a dot.
11966 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11967 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11969 2011-05-20 Nix <nix@esperi.org.uk>
11971 * files.el (basic-save-buffer-2):
11972 Fix handling of break-hardlink-on-save with non-existent files.
11974 2011-05-19 Deniz Dogan <deniz@dogan.se>
11976 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11977 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11979 2011-05-19 Glenn Morris <rgm@gnu.org>
11981 * progmodes/f90.el (f90-type-def-re):
11982 Handle "type, bind(c)". (Bug#8691)
11984 * emacs-lisp/autoload.el (batch-update-autoloads):
11985 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11987 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11989 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11990 property for the correct connection in case of multihops.
11992 2011-05-18 Glenn Morris <rgm@gnu.org>
11994 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11995 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11997 Rationalize calendar handling of day and month abbrev-arrays.
11998 * calendar/calendar.el (calendar-customized-p): New function.
11999 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12000 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12002 (calendar-abbrev-length, calendar-day-abbrev-array)
12003 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12004 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12005 Elements may no longer be nil.
12006 (calendar-day-name, calendar-month-name):
12007 Update for changed nature of abbrev arrays.
12008 * calendar/diary-lib.el (diary-name-pattern):
12009 Update for changed nature of abbrev arrays.
12010 (diary-mark-entries-1): Update calendar-make-alist calls.
12011 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12012 * calendar/cal-html.el (cal-html-day-abbrev-array):
12013 Simply inherit from calendar-day-abbrev-array.
12015 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * progmodes/grep.el (grep-mode): Disable default
12018 compilation-directory-matcher setting (bug#8684).
12020 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12022 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12023 instead of "head" and "tail". There were problems with SunOS 5.9,
12024 and it performs better.
12026 2011-05-17 Glenn Morris <rgm@gnu.org>
12028 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12030 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12031 Replace obsolete function.
12033 * shell.el (pcomplete-parse-arguments-function): Declare.
12035 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12036 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12037 (appt-check): Doc fixes.
12038 (appt-disp-window-function, appt-delete-window-function):
12039 Remove needless special case in custom :type.
12040 (appt-display-count): Default to 0, not nil.
12041 (appt-check): Reset appt-display-count to 0, not nil.
12043 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12045 * progmodes/python.el (python-font-lock-keywords):
12046 Add the Python 3.X keyword "nonlocal" (bug#8639).
12048 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12052 2011-05-16 Kevin Ryde <user42@zip.com.au>
12054 * info-look.el (makefile-automake-mode): New setups, looking in
12055 automake manual, then makefile-mode.
12056 (makefile-mode): Remove automake manual, have it just in
12057 makefile-automake-mode since there's various things different or
12058 not relevant to plain make.
12059 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12060 believe a hypothetical automake-mode would go to makefile-mode,
12061 not the other way around.
12063 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12065 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12066 hunk-end tags (Bug#8672).
12068 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12069 vc-annotate-show-diff-revision-at-line (Bug#8671).
12071 2011-05-14 Glenn Morris <rgm@gnu.org>
12073 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12074 in the middle of an existing one with multiple authors. (Bug#8645)
12075 (change-log-font-lock-keywords): Also handle multiple author lines
12076 with leading tabs. (Bug#8644)
12078 * calendar/appt.el (appt-check): Rename some local variables.
12079 Some simplification/reordering.
12081 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12082 (feedmail-sendmail-f-doesnt-sell-me-out)
12083 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12084 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12085 (feedmail-queue-runner-message-sender): Set :version.
12086 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12087 (bbdb-dwim-net-address, vm-mail): Declare.
12088 (feedmail-binmail-gnulinuxish-template):
12089 Rename from feedmail-binmail-linuxish-template.
12090 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12091 Use insert-buffer-substring.
12093 2011-05-14 Bill Carpenter <bill@carpenter.org>
12095 * mail/feedmail.el (feedmail-patch-level): Increase.
12096 (feedmail-debug): New custom group.
12097 (feedmail-confirm-outgoing-timeout)
12098 (feedmail-sendmail-f-doesnt-sell-me-out)
12099 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12100 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12101 (feedmail-sender-line, feedmail-from-line)
12102 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12103 (feedmail-spray-this-address)
12104 (feedmail-spray-address-fiddle-plex-list)
12105 (feedmail-queue-use-send-time-for-date)
12106 (feedmail-queue-use-send-time-for-message-id)
12107 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12108 (feedmail-buffer-eating-function):
12110 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12111 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12112 (feedmail-message-action-scroll-down): New functions.
12113 (feedmail-queue-directory, feedmail-queue-draft-directory):
12114 Use expand-file-name.
12115 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12116 Remove C-v help entry.
12117 (feedmail-queue-buffer-file-name): New variable.
12118 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12119 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12120 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12121 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12122 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12123 (feedmail-message-action-toggle-spray)
12124 (feedmail-run-the-queue-no-prompts)
12125 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12126 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12127 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12128 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12129 (feedmail-envelope-deducer, feedmail-fiddle-from)
12130 (feedmail-fiddle-sender, feedmail-default-date-generator)
12131 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12132 (feedmail-fiddle-spray-address)
12133 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12134 (feedmail-fiddle-list-of-fiddle-plexes)
12135 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12136 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12137 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12138 Change default. Doc fix.
12139 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12140 (feedmail-binmail-linuxish-template): New constant.
12141 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12142 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12143 (feedmail-send-it): Add debug call.
12144 Use feedmail-queue-buffer-file-name, and
12145 feedmail-send-it-immediately-wrapper.
12146 (feedmail-message-action-send): Add debug call.
12147 Use feedmail-send-it-immediately-wrapper.
12148 (feedmail-queue-express-to-queue): Add debug call.
12149 Run feedmail-queue-express-hook.
12150 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12151 (feedmail-message-action-help-blat):
12152 Rename from feedmail-queue-send-edit-prompt-help-first.
12153 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12154 Check line-endings. Handle errors better.
12155 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12156 Doc fix. Add debug call.
12157 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12158 Use feedmail-queue-send-edit-prompt-inner.
12159 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12160 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12161 from feedmail-queue-send-edit-prompt.
12162 (feedmail-queue-send-edit-prompt-help)
12163 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12164 (feedmail-tidy-up-slug): Add debug call.
12165 Respect feedmail-queue-slug-suspect-regexp.
12166 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12167 (feedmail-dump-message-to-queue): Add debug call.
12168 Expand queue-directory.
12169 (feedmail-dump-message-to-queue): Change message slightly.
12170 Use feedmail-say-chatter.
12171 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12172 (feedmail-send-it-immediately-wrapper): New function.
12173 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12174 Insert empty string rather than newline. Handle full-frame case.
12175 Use catch/throw. Use feedmail-say-chatter.
12176 (feedmail-fiddle-from): Try mail-host-address.
12177 (feedmail-default-message-id-generator): Doc fix.
12178 Bind system-time-locale. Handle missing end.
12179 (feedmail-fiddle-x-mailer): Add debug call.
12180 Handle feedmail-x-mailer-line being nil.
12181 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12182 Add debug call. Use buffer-substring-no-properties.
12183 (feedmail-say-debug, feedmail-say-chatter): New functions.
12184 (feedmail-find-eoh): Give an explicit error.
12186 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12188 * net/newst-treeview.el (newsticker-treeview-face): Change default
12189 family from helvetica to sans.
12190 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12191 etc/images/newsticker.
12193 * net/newst-reader.el (newsticker-feed-face): Change default
12194 family from helvetica to sans.
12196 * net/newst-plainview.el (newsticker-new-item-face)
12197 (newsticker-old-item-face, newsticker-immortal-item-face)
12198 (newsticker-obsolete-item-face, newsticker-date-face)
12199 (newsticker-statistics-face): Change default family from
12201 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12202 etc/images/newsticker.
12204 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12205 (newsticker--process-auto-mark-filter-match): Tell user about
12208 2011-05-13 Didier Verna <didier@xemacs.org>
12210 Common Lisp indentation improvements on defmethod and lambda-lists.
12211 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12213 (lisp-lambda-list-keyword-parameter-indentation)
12214 (lisp-lambda-list-keyword-parameter-alignment)
12215 (lisp-lambda-list-keyword-alignment): New customizable user options.
12216 (lisp-indent-defun-method): Improve docstring.
12217 (extended-loop-p): Fix comment.
12218 (lisp-indent-lambda-list-keywords-regexp): New variable.
12219 (lisp-indent-lambda-list): New function.
12220 (lisp-indent-259): Use it.
12221 (lisp-indent-defmethod): Support for more than one
12222 method qualifier and properly indent methods lambda-lists.
12223 (defgeneric): Provide a missing common-lisp-indent-function property.
12225 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12227 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12228 bounds for the empty string (bug#8667).
12230 2011-05-13 Glenn Morris <rgm@gnu.org>
12232 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12234 * mail/sendmail.el (sendmail-program): Try executable-find first.
12235 (sendmail-send-it): `sendmail-program' cannot be unbound.
12237 * calendar/appt.el (appt-make-list): Simplify.
12238 (appt-time-msg-list): Doc fix.
12239 (appt-check): Change mode-line message at the time of the appointment.
12241 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12243 * progmodes/ld-script.el (ld-script-keywords)
12244 (ld-script-builtins): Update keywords list.
12246 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12248 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12250 * shell.el (shell-completion-vars): New function.
12252 * simple.el (read-shell-command): Use it.
12253 (blink-matching-open): No need for " [...]" in minibuffer-message.
12255 2011-05-12 Glenn Morris <rgm@gnu.org>
12257 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12258 (appt-check): Simplify.
12260 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12262 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12263 literal "/dev/null".
12265 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12270 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12272 * progmodes/which-func.el (which-function):
12273 Use add-log-current-defun instead of add-log-current-defun-function,
12274 which might not be defined (Bug#8260).
12276 2011-05-12 Glenn Morris <rgm@gnu.org>
12278 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12279 Let byte-compile-initial-macro-environment always take precedence.
12281 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12283 * net/rcirc.el: Add support for SSL/TLS connections.
12284 (rcirc-server-alist): New field `encryption'.
12285 (rcirc): Check `encryption' settings.
12286 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12287 Merge make-local-variable into `set'.
12288 (rcirc--connection-open-p): New function.
12289 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12290 the process is not a network process (e.g. running gnutls-cli).
12291 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12292 Make rcirc-(en|de)code-coding-system local here.
12293 (rcirc-mode): Merge make-local-variable into `set'.
12294 (rcirc-parent-buffer): Make permanent buffer-local.
12295 (rcirc-multiline-minor-mode): Don't do it here.
12296 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12297 there's no server buffer.
12299 2011-05-11 Glenn Morris <rgm@gnu.org>
12301 * newcomment.el (comment-kill): Prefix "unused" local.
12303 * term/w32console.el (get-screen-color): Declare.
12305 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12306 Handle symbol elements of byte-compile-initial-macro-environment.
12308 2011-05-10 Leo Liu <sdl.web@gmail.com>
12310 * bookmark.el (bookmark-bmenu-mode-map):
12311 Bind bookmark-bmenu-search to `/'.
12313 * mail/footnote.el: Convert to utf-8 encoding.
12314 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12315 (Footnote-unicode): New function.
12316 (footnote-style-alist): Add unicode style to the list.
12317 (footnote-style): Doc fix.
12319 2011-05-10 Jim Meyering <meyering@redhat.com>
12321 Fix doubled-word typos.
12322 * international/quail.el (quail-insert-kbd-layout): and and -> and
12323 * kermit.el: and and -> and
12324 * net/ldap.el (ldap-search-internal): to to -> to
12325 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12326 * progmodes/js.el (js-mode): and and -> and
12327 * textmodes/artist.el (artist-move-to-xy): at at -> at
12328 (artist-draw-region-trim-line-endings): if if -> if
12329 And Safetyc -> Safety.
12330 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12332 2011-05-10 Glenn Morris <rgm@gnu.org>
12333 Stefan Monnier <monnier@iro.umontreal.ca>
12335 * files.el (hack-one-local-variable-eval-safep):
12336 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12338 2011-05-10 Glenn Morris <rgm@gnu.org>
12340 * calendar/diary-lib.el (diary-list-entries-hook)
12341 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12342 (diary-nongregorian-marking-hook, diary-list-entries)
12343 (diary-include-other-diary-files, diary-mark-entries)
12344 (diary-mark-included-diary-files): Doc fixes.
12346 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12348 * misc.el: Require tabulated-list.el during compilation.
12350 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12352 * progmodes/compile.el (compilation-start):
12353 Run compilation-filter-hook for the async case too.
12354 (compilation-filter-hook): Doc fix.
12356 2011-05-09 Deniz Dogan <deniz@dogan.se>
12358 * wdired.el: Remove outdated installation comment. Fix usage
12361 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12363 * misc.el: Implement new command `list-dynamic-libraries'.
12364 (list-dynamic-libraries--loaded-only-p): New variable.
12365 (list-dynamic-libraries--refresh): New function.
12366 (list-dynamic-libraries): New command.
12368 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12371 Fix the ant regexp to handle end-line and end-column info from jikes.
12372 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12373 higher priority to avoid clobbering by gnu.
12375 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12377 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12378 if the face has existing theme settings (Bug#8454).
12380 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12382 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12383 Only match variables declared via `my' or `our' (Bug#8261).
12385 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12386 special file names `.' and `..' (Bug#8259).
12388 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12390 * progmodes/grep.el (grep-mode-font-lock-keywords):
12391 Remove buffer-changing entries.
12392 (grep-filter): New function.
12393 (grep-mode): Add it to compilation-filter-hook.
12395 * progmodes/compile.el (compilation-filter-hook)
12396 (compilation-filter-start): New defvars.
12397 (compilation-filter): Call compilation-filter-hook prior to
12398 updating the process mark.
12400 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12402 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12404 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12406 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12407 mailclient-send-it even if window-system is nil. (Bug#8595)
12409 * term/w32console.el (terminal-init-w32console):
12410 Call get-screen-color and use its output to set the frame
12411 background-mode. (Bug#8597)
12413 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12415 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12416 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12418 (defgeneric, eieio--defmethod): Use them.
12419 (eieio-defgeneric): Remove.
12420 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12422 2011-05-07 Glenn Morris <rgm@gnu.org>
12424 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12425 Use let rather than let*.
12426 (timeclock-find-discrep): Remove unused local.
12428 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12430 * calendar/appt.el (appt-time-msg-list): Doc fix.
12432 2011-05-06 Noah Friedman <friedman@splode.com>
12434 * apropos.el (apropos-print-doc): Only use
12435 emacs-lisp-docstring-fill-column when it is bound to an integer,
12436 per that variable's documentation.
12438 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12440 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12441 and warnings are not silently discarded (e.g. use -d instead of -P).
12443 2011-05-06 Glenn Morris <rgm@gnu.org>
12445 * calendar/appt.el (appt-message-warning-time): Doc fix.
12446 (appt-warning-time-regexp): New option.
12447 (appt-make-list): Respect appt-message-warning-time.
12449 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12451 (diary-add-to-list): Strip comments from the displayed string.
12452 (diary-mode): Set comment-start and comment-end.
12454 * vc/diff-mode.el (smerge-refine-subst): Declare.
12455 (diff-refine-hunk): Don't require smerge-mode when compiling.
12457 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12459 * simple.el (list-processes): Return nil as the docstring says.
12461 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12463 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12465 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12466 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12467 determining of binary transfer. (Bug#7383)
12469 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12472 Fix port computation bug. (Bug#8618)
12474 2011-05-05 Glenn Morris <rgm@gnu.org>
12476 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12478 * simple.el (shell-dynamic-complete-functions)
12479 (comint-dynamic-complete-functions): Declare.
12481 * net/network-stream.el (gnutls-negotiate):
12482 * simple.el (tabulated-list-print): Fix declarations.
12484 * progmodes/gud.el (syntax-symbol, syntax-point):
12485 Remove unnecessary and incorrect declarations.
12487 * emacs-lisp/check-declare.el (check-declare-scan):
12488 Handle byte-compile-initial-macro-environment in bytecomp.el
12490 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12492 Fix earlier half-done eieio-defmethod change (bug#8338).
12493 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12494 Streamline and change calling convention.
12495 (defmethod): Adjust accordingly and simplify.
12496 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12497 new eieio--defmethod.
12498 (slot-boundp): Minor CSE simplification.
12500 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12502 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12503 (glasses-make-readable): Use glasses-separate-capital-groups.
12505 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12507 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12508 (warning-series): Doc fix.
12509 (display-warning): Don't try to create the buffer if we just found it.
12511 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12513 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12514 (autoload-find-generated-file): New function.
12515 (generate-file-autoloads): Bind generated-autoload-file to
12517 (update-file-autoloads, update-directory-autoloads):
12518 Use autoload-find-generated-file. If called interactively, prompt for
12519 output file (Bug#7989).
12520 (batch-update-autoloads): Doc fix.
12522 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12524 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12526 2011-05-04 Glenn Morris <rgm@gnu.org>
12528 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12529 function, so it follows changes in calendar-date-style.
12530 (diary-fancy-date-matcher): New function.
12531 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12532 (diary-fancy-font-lock-fontify-region-function):
12533 Use diary-fancy-date-pattern as a function.
12535 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12536 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12538 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12540 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12541 instead of positional arguments. Allow :keylist and :crlfiles
12543 (open-gnutls-stream): Call it.
12545 * net/network-stream.el (network-stream-open-starttls): Adjust to
12546 call `gnutls-negotiate' with :process and :hostname arguments.
12548 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12550 * minibuffer.el (completion--message): New function.
12551 (completion--do-completion, minibuffer-complete)
12552 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12553 (completion--do-completion): Don't ignore completion-auto-help when in
12556 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12557 internal encoding (e.g. tibetan zero is not whitespace).
12558 (global-whitespace-mode): Prefer save-current-buffer.
12559 (whitespace-trailing-regexp): Remove useless save-match-data.
12560 (whitespace-empty-at-bob-regexp): Minor simplification.
12562 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12564 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12566 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12568 * textmodes/ispell.el (ispell-add-per-file-word-list):
12569 Use `concat' to create string for insertion.
12571 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12573 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12574 Avoid open-line which runs post-self-insert-hook.
12575 (bibtex-fill-entry): Remove unused `end' var.
12577 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12579 * textmodes/ispell.el (ispell-add-per-file-word-list):
12580 Protect against `nil' value of `comment-start' (Bug#8579).
12582 2011-05-03 Leo Liu <sdl.web@gmail.com>
12584 * isearch.el (isearch-yank-pop): New command.
12585 (isearch-mode-map): Bind it to `M-y'.
12586 (isearch-forward): Mention it.
12588 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * simple.el (minibuffer-complete-shell-command): Remove.
12591 (minibuffer-local-shell-command-map): Use completion-at-point.
12592 (read-shell-command): Setup completion vars here instead.
12593 (read-expression-map): Bind TAB to symbol completion.
12595 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12596 error directly rather via storing it into `results'.
12598 2011-05-02 Leo Liu <sdl.web@gmail.com>
12600 * vc/diff.el: Fix description.
12602 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12604 * server.el (server-eval-at): New function.
12606 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12608 * net/network-stream.el (open-network-stream): Take a :nowait
12609 parameter and pass it on to `make-network-process'.
12610 (network-stream-open-plain): Ditto.
12612 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12614 * faces.el (face-spec-set-match-display): Don't match toolkit
12615 options on terminal frames.
12617 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * progmodes/pascal.el: Use lexical binding.
12620 (pascal-mode-map): Remove author preferences.
12622 * pcomplete.el (pcomplete-std-complete): Don't abuse
12623 completion-at-point.
12625 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12627 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12628 removing code that has been dead since 1991 or so.
12630 * startup.el (command-line): When warning about "_emacs", use a
12631 delayed warning to allow the user to filter it out.
12633 2011-04-28 Deniz Dogan <deniz@dogan.se>
12635 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12636 user has not joined.
12638 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12640 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12641 aren't any completions at point.
12643 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12645 * subr.el (display-delayed-warnings): New function.
12646 (delayed-warnings-hook): New variable.
12648 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * minibuffer.el (completion-at-point, completion-help-at-point):
12651 Don't presume that a given completion-at-point-function will always
12652 use the same calling convention.
12654 * pcomplete.el (pcomplete-completions-at-point):
12655 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12656 pcomplete-seen is non-nil.
12657 (pcomplete-comint-setup): Also recognize the new comint/shell
12658 completion functions.
12659 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12660 pcomplete-seen is non-nil.
12662 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12664 * calendar/icalendar.el (diary-lib): Add require statement.
12665 (icalendar--create-uid): Read out a uid from a text-property on
12666 the first character in the entry. This allows for code to add its
12667 own uid to the entry.
12668 (icalendar--convert-float-to-ical): Add export of
12669 `diary-float'-entries save for those with the optional DAY
12672 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12674 * subr.el (shell-quote-argument): Use alternate escaping strategy
12675 when we spot a variable reference in a string.
12677 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12679 * cus-start.el (all): Define customization for debug-on-event.
12681 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12683 * subr.el (shell-quote-argument): Escape correctly under Windows.
12685 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12689 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12691 * net/tramp.el (tramp-process-actions): Add POS argument.
12692 Delete region between POS and (pos).
12694 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12695 Use `nil' position in `tramp-process-actions' call.
12696 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12698 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12699 position in `tramp-process-actions' call.
12701 * net/trampver.el: Update release number.
12703 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12705 * custom.el (defcustom): Obey lexical-binding.
12707 Fix octave-inf completion problems reported by Alexander Klimov.
12708 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12709 Inherit from octave-mode-syntax-table.
12710 (inferior-octave-mode): Set info-lookup-mode.
12711 (inferior-octave-completion-at-point): New function.
12712 (inferior-octave-complete): Use it and completion-in-region.
12713 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12714 comint-filename-completion.
12715 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12716 symbol elements which shouldn't be word elements.
12717 (octave-font-lock-keywords, octave-beginning-of-defun)
12718 (octave-function-header-regexp): Adjust regexps accordingly.
12719 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12721 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12723 * net/gnutls.el (gnutls-errorp): Declare before first use.
12725 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12727 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12728 verify-error, and verify-hostname-error parameters. Check whether
12729 default trustfile exists before going to use it. Add missing
12730 argument to gnutls-message-maybe call. Return value.
12731 Reported by Claudio Bley <claudio.bley@gmail.com>.
12732 (open-gnutls-stream): Add usage example.
12734 * net/network-stream.el (network-stream-open-starttls): Give host
12735 parameter to `gnutls-negotiate'.
12736 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12737 * subr.el (shell-quote-argument): Escape correctly under Windows.
12739 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12741 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12742 Use correct match group (bug#8438).
12744 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12746 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12747 (package-menu--generate): New arg specifying packages to show.
12748 (package-menu-refresh, package-menu-execute, list-packages):
12750 (package-show-package-list): New function, replacing deleted
12751 package--list-packages (renamed because it is non-internal).
12753 * finder.el (finder-list-matches): Use package-show-package-list
12754 instead of deleted package--list-packages.
12756 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12757 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12758 (vc-annotate-mode-map): Bind it to RET.
12760 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12762 * progmodes/etags.el (next-file): Don't use set-buffer to change
12763 buffers (Bug#8478).
12765 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12767 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12769 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12770 (apropos-accumulator): Doc fix.
12771 (apropos-function, apropos-macro, apropos-command)
12772 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12773 (apropos-plist): Add face property.
12774 (apropos-symbols-internal): Fix indentation.
12775 (apropos-print): Simplify help, and recognize apropos-multi-type.
12776 (apropos-print-doc): Use button-type-get to extract the button's
12777 face property. Fill docstring (Bug#8352).
12779 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12781 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12783 * play/mpuz.el (mpuz-silent): Doc fix.
12784 (mpuz-mode-map): Use mapc.
12785 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12786 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12787 Fix typos in docstrings.
12789 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12790 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12792 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12794 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12796 * minibuffer.el (completion--do-completion): Avoid the "Next char
12797 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12799 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12800 mouse-2 into unread-command-events, it is interpreted correctly.
12802 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12803 (image-toggle-display): Doc fix.
12805 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12807 * textmodes/page.el (what-page): Use line-number-at-pos to
12808 calculate line number (Bug#6825).
12810 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12812 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12813 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12814 Pass argument NO-DEFAULT to `find-tag-interactive'.
12816 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12818 Lexical-binding cleanup.
12820 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12821 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12822 * progmodes/ada-prj.el (ada-prj-initialize-values)
12823 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12824 (ada-prj-show-value):
12825 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12826 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12827 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12828 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12829 * progmodes/bug-reference.el (bug-reference-push-button):
12830 * progmodes/fortran.el (fortran-line-length):
12831 * progmodes/glasses.el (glasses-change):
12832 * progmodes/octave-mod.el (octave-fill-paragraph):
12833 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12834 (python-pdbtrack-grub-for-buffer, python-sentinel):
12835 * progmodes/sql.el (sql-save-connection):
12836 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12837 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12838 Mark unused parameters.
12840 * progmodes/compile.el (compilation--flush-directory-cache)
12841 (compilation--flush-parse, compile-internal): Mark unused parameters.
12842 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12843 (compilation-next-error-function): Remove unused variable `timestamp'.
12845 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12846 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12848 * progmodes/dcl-mode.el (dcl-end-of-command):
12849 Remove unused variable `start'.
12850 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12851 (dcl-option-value-basic, dcl-option-value-offset)
12852 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12853 Mark unused parameters.
12854 (dcl-save-local-variable): Remove unused variable `val'.
12857 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12858 Mark unused parameters.
12859 (delphi-ignore-changes): Move before first use.
12860 (delphi-charset-token-at): Remove unused variable `start'.
12861 (delphi-else-start): Remove unused variable `if-count'.
12862 (delphi-comment-block-start, delphi-comment-block-end):
12863 Remove unused variable `kind'.
12864 (delphi-indent-line): Remove unused variable `new-point'.
12866 * progmodes/ebrowse.el (ebrowse-files-list)
12867 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12868 Mark unused parameters. Don't quote `lambda'.
12869 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12870 Don't quote `lambda'.
12871 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12872 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12873 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12874 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12875 Use `ignore-errors'.
12876 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12877 (ebrowse-view/find-file-and-search-pattern)
12878 (ebrowse-view/find-member-declaration/definition):
12879 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12880 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12881 Rename parameter PREFIX-ARG to PREFIX.
12882 (ebrowse-tags-read-name): Remove unused variables `start' and
12884 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12887 * progmodes/etags.el (local-find-tag-hook): Declare.
12888 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12889 Mark unused parameters.
12891 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12892 (executable-interpret): Mark unused parameter.
12894 * progmodes/flymake.el (flymake-process-sentinel)
12895 (flymake-after-change-function)
12896 (flymake-create-temp-with-folder-structure)
12897 (flymake-get-include-dirs-dot): Mark unused parameters.
12898 (flymake-safe-delete-directory): Remove unused variable `err'.
12900 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12901 (speedbar-timer-fn, speedbar-line-text)
12902 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12903 (speedbar-center-buffer-smartly): Declare functions.
12904 (gdb-find-watch-expression): Remove unused variable `array'.
12905 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12906 (gdb-starting): Mark unused parameters.
12907 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12908 (gdb-table-string): Remove unused variable `res'.
12909 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12910 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12911 (gdb-display-buffer): Remove unused variable `cur-size'.
12913 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12914 allow lexical-binding compilation.
12915 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12916 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12917 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12918 Mark unused parameters.
12919 (gud-gdb-marker-filter): Remove unused variable `match'.
12920 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12921 lambda expressions and funcall them, instead of using `fset'.
12923 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12924 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12926 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12927 variable `header-beg'; use `let'.
12929 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12930 `restart', `last-sexp' and `at-do'.
12932 * progmodes/js.el (js--debug): Mark unused parameter.
12933 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12934 (js--splice-into-items): Remove unused variable `item'.
12935 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12937 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12938 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12939 (makefile-complete): Remove unused variable `try'.
12940 (makefile-fill-paragraph, makefile-match-function-end):
12941 Mark unused parameters.
12943 * progmodes/octave-inf.el (inferior-octave-complete):
12944 Remove unused variable `proc'.
12945 (inferior-octave-output-digest): Mark unused parameter.
12947 * progmodes/perl-mode.el (perl-calculate-indent):
12948 Remove unused variable `err'.
12950 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12951 (prolog-indent-line): Mark unused parameters.
12952 (prolog-indent-line): Remove unused variable `beg'.
12954 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12955 (reporter-dont-compact-list): Declare.
12957 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12958 Remove unused variable `char'.
12959 (sh-debug): Mark unused parameter.
12960 (sh-get-indent-info): Remove unused variable `start'.
12961 (sh-calculate-indent): Remove unused variable `var'.
12963 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12964 (simula-electric-keyword): Remove unused variable `null'.
12965 (simula-search-backward, simula-search-forward): Remove unused
12966 variables `begin' and `end'.
12968 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12969 Remove unused variable `pos'.
12970 (vera-electric-tab, vera-comment-uncomment-region):
12971 Mark unused parameters.
12972 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12974 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12976 * emacs-lisp/package.el (package--builtins, package-alist)
12977 (package-load-descriptor, package-built-in-p, package-activate)
12978 (define-package, package-installed-p)
12979 (package-compute-transaction, package-buffer-info)
12980 (package--push): Doc fix. Distinguish more clearly between
12981 version strings and version lists.
12983 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12985 Lexical-binding cleanup.
12987 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12988 (5x5-make-mutate-best):
12989 * play/fortune.el (fortune-in-buffer):
12990 * play/gomoku.el (gomoku-init-display):
12991 * play/solitaire.el (solitaire, solitaire-do-check):
12992 * play/tetris.el (tetris-default-update-speed-function):
12993 Mark unused parameters.
12995 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12996 (bubbles--shift): Remove unused variable `char-org'.
12997 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12998 (bubbles--show-images): Remove unused variable `char'.
13000 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13001 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13002 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13003 (decipher-analyze-buffer): Use ?\s.
13004 (decipher-make-checkpoint): Remove unused variable `mapping'.
13006 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13008 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13009 Remove unused variable `result'; use `let'.
13011 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13012 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13013 (gametree-children-shown-p, gametree-compute-reduced-score):
13014 Use `ignore-errors'.
13016 * play/handwrite.el (ps-lpr-switches): Declare.
13017 (handwrite): Remove unused variables `pmin' and `lastp'.
13019 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13021 * play/landmark.el (landmark-init-display)
13022 (landmark-update-naught-weights): Mark unused parameters.
13023 (landmark-y): Remove unused variable `noise'. Simplify.
13024 (landmark-human-plays): Remove unused variable `score'.
13026 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13027 (mpuz-try-proposal): Remove unused variable `game'.
13029 * play/zone.el (life-patterns): Declare.
13031 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13033 * vc/vc.el (ediff-vc-internal): Declare function.
13035 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13037 * shell.el: Use lexical-binding and std completion UI.
13038 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13039 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13040 comint-preoutput-filter-functions rather than on
13041 comint-output-filter-functions.
13042 (shell-command-completion, shell--command-completion-data)
13043 (shell-filename-completion, shell-environment-variable-completion)
13044 (shell-c-a-p-replace-by-expanded-directory): New functions.
13045 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13046 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13047 (shell-dynamic-complete-environment-variable): Use them.
13048 (shell-dynamic-complete-as-environment-variable)
13049 (shell-dynamic-complete-as-command): Remove.
13050 (shell-match-partial-variable): Match past point.
13051 * comint.el: Clean up use of completion-at-point-functions.
13052 (comint-completion-at-point): New function.
13053 (comint-mode): Use it completion-at-point-functions.
13054 (comint-dynamic-complete): Make it obsolete.
13055 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13056 (comint-c-a-p-replace-by-expanded-history): New function.
13057 (comint-dynamic-complete-functions)
13058 (comint-replace-by-expanded-history): Use it.
13059 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13060 termination strings. Try harder to avoid second try-completion.
13061 (completion-in-region-mode-map): Disable bindings that don't work yet.
13063 * comint.el: Use lexical-binding. Require CL.
13064 (comint-dynamic-complete-functions): Use comint-filename-completion.
13065 (comint-completion-addsuffix): Tweak custom type.
13066 (comint-filename-completion, comint--common-suffix)
13067 (comint--common-quoted-suffix, comint--table-subvert)
13068 (comint--complete-file-name-data): New functions.
13069 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13070 (comint-dynamic-list-filename-completions): Use them.
13071 (comint-dynamic-simple-complete): Make obsolete.
13073 * minibuffer.el (completion-in-region-mode):
13074 Keep completion-in-region-mode--predicate global.
13075 (completion-in-region--postch):
13076 Assume completion-in-region-mode--predicate is not null.
13078 * progmodes/flymake.el (flymake-start-syntax-check-process):
13079 Obey `dir'. Simplify.
13081 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13082 we're in VC after all.
13084 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13086 * vc/vc.el (vc-diff-build-argument-list-internal)
13087 (vc-version-ediff, vc-ediff): New commands.
13088 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13090 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13095 * obsolete/erc-hecomplete.el: Make obsolete.
13096 * obsolete/: Standardize obsolescence info in the header.
13098 2011-04-20 Glenn Morris <rgm@gnu.org>
13100 * calendar/solar.el (solar-horizontal-coordinates):
13101 Use the longitude argument rather than `calendar-longitude'.
13102 (solar-date-next-longitude): Remove unused locals.
13104 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13106 * whitespace.el: New version 13.2.1.
13108 2011-04-20 felix <EmacsWiki> (tiny change)
13110 * whitespace.el (global-whitespace-mode): Keep highlight when
13111 switching between major modes on a file.
13113 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13116 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13117 multi-line comments as well.
13119 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13121 Lexical-binding cleanup.
13123 * arc-mode.el (archive-mode-revert):
13124 * cmuscheme.el (scheme-interactively-start-process):
13125 * custom.el (custom-initialize-delay):
13126 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13127 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13128 * emacs-lock.el (emacs-lock-clear-sentinel):
13129 * ezimage.el (defezimage):
13130 * follow.el (follow-avoid-tail-recenter):
13131 * fringe.el (set-fringe-mode-1):
13132 * generic-x.el (bat-generic-mode-compile):
13133 * help-mode.el (help-info-variable, help-do-xref)
13134 (help-mode-revert-buffer):
13135 * help.el (view-emacs-todo):
13136 * iswitchb.el (iswitchb-completion-help):
13137 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13138 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13139 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13140 * locate.el (locate-update):
13141 * longlines.el (longlines-encode-region)
13142 (longlines-after-change-function):
13143 * outline.el (outline-isearch-open-invisible):
13144 * ps-def.el (declare-function, charset-dimension, char-width)
13146 * ps-mule.el (ps-mule-plot-string):
13147 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13148 (recentf-edit-list-select, recentf-edit-list-validate)
13149 (recentf-open-files-action):
13150 * rect.el (delete-whitespace-rectangle-line)
13151 (rectangle-number-line-callback):
13152 * register.el (window-configuration-to-register)
13153 (frame-configuration-to-register):
13154 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13155 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13156 (xselect-convert-to-targets, xselect-convert-to-delete)
13157 (xselect-convert-to-filename, xselect-convert-to-charpos)
13158 (xselect-convert-to-lineno, xselect-convert-to-colno)
13159 (xselect-convert-to-os, xselect-convert-to-host)
13160 (xselect-convert-to-user, xselect-convert-to-class)
13161 (xselect-convert-to-name, xselect-convert-to-integer)
13162 (xselect-convert-to-atom, xselect-convert-to-identity):
13163 * subr.el (declare, ignore, process-kill-without-query)
13164 (text-clone-maintain):
13165 * terminal.el (te-get-char, te-tic-sentinel):
13166 * tool-bar.el (tool-bar-make-keymap):
13167 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13168 * type-break.el (type-break-mode, type-break-noninteractive-query):
13169 * view.el (View-back-to-mark):
13170 * wid-browse.el (widget-browse-action, widget-browse-widget)
13171 (widget-browse-widgets, widget-browse-sexp):
13172 * widget.el (define-widget-keywords):
13173 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13174 Mark unused parameters.
13176 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13177 (align-areas): Remove unused variable `look'.
13178 (align-region): Remove unused variables `real-end' and `pos-list'.
13180 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13182 * bindings.el (mode-line-modified, mode-line-remote):
13183 Mark unused parameters.
13184 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13186 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13187 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13189 * comint.el (comint-history-isearch-pop-state)
13190 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13191 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13192 (comint-substitute-in-file-name): Doc fix.
13194 * completion.el (cmpl-statistics-block): Mark unused parameter.
13195 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13196 (save-completions-to-file, load-completions-from-file):
13197 Remove unused local variable `e'.
13199 * composite.el (compose-chars): Remove unused variable `len'.
13200 (lgstring-insert-glyph): Remove unused variable `g'.
13201 (compose-glyph-string): Remove unused variables `ascent',
13202 `descent', `lbearing' and `rbearing'.
13203 (compose-glyph-string-relative): Remove unused variables
13204 `lbearing', `rbearing' and `wadjust'.
13205 (compose-gstring-for-graphic): Remove unused variables `header',
13206 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13207 (compose-gstring-for-terminal): Remove unused variables `header'
13208 and `nchars'. Use `let', not `let*'.
13210 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13211 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13212 (Custom-buffer-done, custom-buffer-create-internal)
13213 (custom-browse-visibility-action, custom-browse-group-tag-action)
13214 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13215 (widget-magic-mouse-down-action, custom-toggle-parent)
13216 (custom-add-parent-links, custom-toggle-hide-variable)
13217 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13218 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13219 (custom-face-menu-create, custom-variable-menu-create, get)
13220 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13221 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13222 (customize-apropos): Remove unused variable `tests'.
13223 (custom-group-value-create): Remove unused variable `hidden-p'.
13224 (sort-fold-case): Declare.
13226 * cus-theme.el (custom-reset-standard-faces-list)
13227 (custom-reset-standard-variables-list): Declare.
13228 (customize-create-theme, custom-theme-revert, custom-theme-write)
13229 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13230 Mark unused parameters.
13232 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13234 * delim-col.el (delimit-columns-max): Move defvar before first use.
13236 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13237 (describe-char): Don't quote `lambda'. Mark unused parameter.
13239 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13240 (auto-insert): Declare.
13241 (desktop-restore-file-buffer): Rename desktop-* parameters;
13243 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13244 (desktop-buffer): Rename desktop-* parameters.
13246 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13247 (dframe-reposition-frame-xemacs, dframe-help-echo)
13248 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13249 Mark unused parameters.
13251 * dired-aux.el (backup-extract-version-start, overwrite-query)
13252 (overwrite-backup-query, rename-regexp-query)
13253 (rename-non-directory-query): Declare.
13254 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13255 (dired-add-entry): Remove unused variable `orig-file-name'.
13256 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13257 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13258 `dired-copy-preserve-time' directly.
13259 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13260 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13262 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13263 (dired-virtual-revert, dired-make-relative-symlink):
13264 Mark unused parameters.
13265 (manual-program): Declare.
13266 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13267 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13268 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13270 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13272 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13274 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13277 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13279 * electric.el (Electric-command-loop): Rename parameter
13280 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13282 * expand.el (expand-in-literal): Remove unused variable `here'.
13284 * facemenu.el (facemenu-add-new-color):
13285 Remove unused variable `docstring'.
13287 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13288 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13289 (face-attr-construct): Mark unused parameter. Doc fix.
13290 (read-color): Remove unused variable `hex-string'.
13292 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13293 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13294 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13295 (display-buffer-other-frame): Remove unused variable `old-window'.
13296 (kill-buffer-hook): Declare.
13297 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13298 Mark unused parameters.
13299 (after-find-file): Pass 1 to `auto-save-mode', not t.
13301 * files-x.el (auto-insert): Declare.
13302 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13304 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13305 variable `buf'. Mark unused parameter.
13306 (find-lisp-insert-directory): Mark unused parameter.
13308 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13309 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13310 (format-common-tail): Remove, unused.
13311 (format-deannotate-region): Remove unused variable `loc'.
13312 (format-annotate-region): Remove unused variable `p'.
13313 (format-annotate-single-property-change): Remove unused variables
13314 `default' and `tail'.
13316 * forms.el (read-file-filter): Declare.
13317 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13319 * frame.el (frame-creation-function-alist): Mark unused parameter.
13320 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13322 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13323 Remove unused parameters.
13324 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13325 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13327 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13328 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13329 (hfy-prepare-tag-map): Mark unused parameters.
13330 (htmlfontify-buffer): Use `called-interactively-p'.
13332 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13333 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13334 (ibuffer-do-occur): Mark unused parameters.
13335 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13336 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13338 * ibuffer.el: Don't quote `lambda'.
13339 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13340 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13341 Mark unused parameters.
13343 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13344 (ido-completing-read): Mark unused parameters.
13345 (ido-copy-current-word): Mark unused parameters;
13346 remove unused variable `name'.
13347 (ido-sort-merged-list): Remove unused parameter `dirs'.
13349 * ielm.el (ielm-input-sender): Mark unused parameter.
13350 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13351 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13352 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13353 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13354 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13356 * image-dired.el (image-dired-display-thumbs): Remove unused
13357 variables `curr-file' and `count'.
13358 (image-dired-remove-tag): Remove unused variable `start'.
13359 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13360 variable `curr-file'
13361 (image-dired-rotate-original): Remove unused variable `temp-file'.
13362 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13363 Remove unused variable `file'.
13364 (image-dired-gallery-generate): Remove unused variable `curr'.
13365 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13367 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13369 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13371 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13373 * isearch.el (minibuffer-history-symbol): Declare.
13374 (isearch-edit-string): Remove unused variable `err'.
13375 (isearch-message-prefix, isearch-message-suffix):
13376 Mark unused parameters.
13378 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13380 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13382 * makesum.el (double-column): Remove unused variable `cnt'.
13384 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13385 (ido-ignore-item-temp-list): Declare.
13387 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13388 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13389 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13390 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13393 * mouse-sel.el (mouse-extend-internal):
13394 Remove unused variable `orig-window-frame'.
13396 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13397 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13398 Move declarations before first use.
13399 (pcomplete-opt): Mark unused parameters; doc fix.
13401 * proced.el (proced-revert): Mark unused parameter.
13402 (proced-send-signal): Remove unused variable `err'.
13404 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13405 Rename parameter PREFIX-ARG to ARG.
13406 (ps-basic-plot-string, ps-basic-plot-whitespace):
13407 Mark unused parameters.
13409 * replace.el (replace-count): Define.
13410 (occur-revert-function): Mark unused parameters.
13411 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13412 (isearch-case-fold-search, isearch-string): Declare.
13413 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13414 bind `case-fold-search'. Remove unused variables `beg' and `end',
13416 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13417 COUNT and bind `replace-count'.
13418 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13421 * savehist.el (print-readably, print-string-length): Declare.
13423 * shadowfile.el (shadow-expand-cluster-in-file-name):
13424 Remove unused variable `cluster'.
13425 (shadow-copy-file): Remove unused variable `i'.
13426 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13427 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13428 (shadow-define-literal-group, shadow-define-regexp-group)
13429 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13431 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13432 (shell): Use `called-interactively-p'.
13433 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13435 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13436 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13437 (delete-backward-char): Remove unused variable `ocol'.
13438 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13439 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13440 (event-apply-hyper-modifier, event-apply-shift-modifier)
13441 (event-apply-control-modifier, event-apply-meta-modifier):
13442 Mark unused parameters.
13443 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13444 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13446 * speedbar.el (speedbar-ignored-directory-expressions)
13447 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13448 (speedbar-find-file, speedbar-dir-follow)
13449 (speedbar-directory-buttons-follow, speedbar-tag-find)
13450 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13451 (speedbar-buffers-line-directory, speedbar-buffer-click):
13452 Mark unused parameters.
13453 (speedbar-tag-file): Remove unused variable `mode'.
13454 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13456 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13458 * talk.el (talk): Remove unused variable `display'.
13460 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13461 (tar-write-region-annotate): Mark unused parameter.
13463 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13464 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13465 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13466 warning by another.
13468 * time-stamp.el (time-stamp-string-preprocess):
13469 Remove unused variable `require-padding'.
13471 * tree-widget.el (widget-glyph-enable): Declare.
13472 (tree-widget-action): Mark unused parameter.
13474 * w32-fns.el (x-get-selection): Mark unused parameter.
13475 (autoload-make-program, generated-autoload-file): Declare.
13477 * wdired.el (wdired-revert): Mark unused parameters.
13478 (wdired-xcase-word): Remove unused variable `err'.
13480 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13481 (whitespace-help-scroll): Remove unused variable `data-help'.
13483 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13484 (widget-image-insert, widget-after-change, default)
13485 (widget-default-format-handler, widget-default-notify)
13486 (widget-default-prompt-value, widget-info-link-action)
13487 (widget-url-link-action, widget-function-link-action)
13488 (widget-variable-link-action, widget-file-link-action)
13489 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13490 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13491 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13492 (widget-insert-button-action, widget-delete-button-action, visibility)
13493 (widget-documentation-link-action, widget-documentation-string-action)
13494 (widget-const-prompt-value, widget-regexp-match, symbol)
13495 (widget-coding-system-prompt-value)
13496 (widget-key-sequence-value-to-external, sexp)
13497 (widget-sexp-value-to-internal, character, vector, cons)
13498 (widget-choice-prompt-value, widget-boolean-prompt-value)
13499 (widget-color--choose-action): Mark unused parameters.
13500 (widget-item-match-inline, widget-choice-match-inline)
13501 (widget-checklist-match, widget-checklist-match-inline)
13502 (widget-group-match): Rename parameter VALUES to VALS.
13503 (widget-field-value-set): Remove unused variable `size'.
13504 (widget-color-action): Remove unused variables `value' and `start'.
13506 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13507 variable `dir'. Doc fix.
13508 (windmove-find-other-window): Don't pass it.
13510 * window.el (count-windows): Mark unused parameter.
13511 (bw-adjust-window): Remove unused variable `err'.
13513 * woman.el (woman-file-name): Remove unused variable `default'.
13514 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13515 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13516 (global-font-lock-mode): Declare.
13517 (woman-decode-region): Mark unused parameter.
13518 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13520 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13521 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13522 (x-dnd-handle-moz-url): Remove unused variable `title'.
13523 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13525 * xml.el (xml-parse-tag, xml-parse-attlist):
13526 Remove unused variable `pos'.
13528 2011-04-19 Glenn Morris <rgm@gnu.org>
13530 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13531 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13532 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13533 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13534 * calendar/cal-html.el (cal-html-insert-minical):
13535 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13536 (calendar-mark-date-pattern):
13537 Prefix "unused" locals.
13539 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13540 optional argument `style'.
13542 * calendar/appt.el (appt-make-list):
13543 * calendar/cal-china.el (calendar-chinese-date-string):
13544 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13545 (diary-hebrew-yahrzeit):
13546 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13547 * calendar/calendar.el (calendar-generate-window):
13548 * calendar/time-date.el (time-to-days):
13549 Remove unused local variables.
13551 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13553 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13554 glyphless-char-display table.
13555 (tabulated-list-glyphless-char-display): New var.
13557 2011-04-18 Sam Steingold <sds@gnu.org>
13559 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13560 to acknowledgments.
13562 2011-04-17 Glenn Morris <rgm@gnu.org>
13564 * calendar/diary-lib.el (diary-sexp-entry):
13565 * calendar/holidays.el (holiday-sexp):
13566 Set debug-on-error rather than the removed stack-trace-on-error.
13568 2011-04-16 Glenn Morris <rgm@gnu.org>
13570 * progmodes/f90.el: Use lexical-binding.
13571 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13573 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13576 (mail-mode): Setup mailalias completion here instead.
13577 * mail/mailalias.el: Use lexical-binding.
13578 (pattern, mailalias-done): Declare dynamic.
13579 (mail-completion-at-point-function): New function, from mail-complete.
13580 (mail-complete): Use it.
13581 (mail-completion-expand): New function.
13582 (mail-get-names): Use it.
13583 (mail-directory, mail-directory-process, mail-directory-stream):
13584 Don't use `pattern' for lexically bound arg.
13586 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13588 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13589 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13590 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13592 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13593 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13594 (byte-interactive-p): Define them again, for use when inlining
13597 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13599 * loadup.el: Use `string-to-number', not `string-to-int'.
13601 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13603 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13604 gud-gdb-complete-command.
13605 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13606 (gud-gdb-completion-at-point): New function.
13607 (gud-gdb-completions): Remove.
13609 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13611 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13612 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13613 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13614 whether `executable-find' is bound.
13616 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13618 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13620 * minibuffer.el (completion-in-region-mode-predicate)
13621 (completion-in-region-mode--predicate): New vars.
13622 (completion-in-region, completion-in-region--postch)
13623 (completion-in-region-mode): Use them.
13624 (completion--capf-wrapper): Also return the hook function.
13625 (completion-at-point, completion-help-at-point):
13626 Adjust and provide a predicate.
13628 Preserve arg names for advice of subr and lexical functions (bug#8457).
13629 * help-fns.el (help-function-arglist): Consolidate the subr and
13630 new-byte-code cases. Add argument `preserve-names' to extract names
13631 from the docstring when needed.
13632 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13633 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13634 (ad-arglist): Use help-function-arglist's new arg.
13635 (ad-definition-type): Use cond.
13637 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13639 * autorevert.el (auto-revert-handler):
13640 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13641 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13642 Don't quote lambda.
13644 * image-mode.el (image-transform-set-scale):
13645 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13647 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13649 * net/network-stream.el (network-stream-open-starttls): Only do
13650 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13651 Upgrades via gnutls-cli are too slow to be done opportunistically.
13653 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13655 * dframe.el (dframe-current-frame): Remove spurious quote.
13657 2011-04-12 Glenn Morris <rgm@gnu.org>
13659 * calendar/cal-tex.el (cal-tex-end-document):
13660 Try to automatically use latin1 input if needed.
13662 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13663 Don't try to cons a mark onto an empty element.
13665 2011-04-11 Leo Liu <sdl.web@gmail.com>
13667 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13669 (ido-kill-buffer-at-head): Support killing virtual buffers.
13671 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13673 * minibuffer.el (completion-show-inline-help): New var.
13674 (completion--do-completion, minibuffer-complete)
13675 (minibuffer-force-complete, minibuffer-complete-word):
13676 Inhibit minibuffer messages if completion-show-inline-help is nil.
13678 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13679 to avoid interference from inline help (Bug#5849).
13681 2011-04-10 Leo Liu <sdl.web@gmail.com>
13683 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13686 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13688 * image-mode.el (image-toggle-display-image): Signal an error if
13690 (image-transform-mode, image-transform-resize)
13691 (image-transform-set-rotation): Doc fix.
13692 (image-transform-set-resize): Delete.
13693 (image-transform-set-scale, image-transform-fit-to-height)
13694 (image-transform-fit-to-width): Handle image-toggle-display-image
13695 and image-transform-resize directly.
13697 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13699 * doc-view.el (doc-view-fit-width-to-window)
13700 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13701 New functions for fitting the shown image to the Emacs window size.
13702 (doc-view-mode-map): Add bindings for the new functions.
13704 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13706 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13707 Fix typo in docstring.
13709 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13711 * files.el (file-size-human-readable): Produce one digit after
13712 decimal, like "ls -lh" does.
13714 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13715 the file size representation.
13717 * simple.el (list-processes): If async subprocesses are not
13718 available, error out with a clear error message.
13720 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13722 * help.el (help-form-show): New function, to be called from C.
13723 Put help-form output in a buffer named differently than *Help*.
13725 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13727 * files.el (file-size-human-readable): New function.
13729 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13730 computing the representation inline. Don't require `cl'.
13732 2011-04-08 Glenn Morris <rgm@gnu.org>
13734 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13736 * net/browse-url.el (browse-url-firefox):
13737 Test system-type, not system-configuration.
13739 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13740 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13741 Use log-edit-empty-buffer-p. (Bug#7598)
13743 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13744 (rlogin-mode-map): Initialize in the defvar.
13745 (rlogin): Use ignore-errors.
13747 * replace.el (occur-mode-map): Some fixes for menu items.
13749 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13751 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13753 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13755 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13756 issuing unused warnings.
13758 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13761 * simple.el: Lisp reimplement of list-processes. Based on an
13762 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13763 (process-menu-mode): New major mode.
13764 (list-processes--refresh, list-processes):
13765 (process-menu-visit-buffer): New functions.
13767 * files.el (save-buffers-kill-emacs): Don't assume any return
13768 value of list-processes, which is undocumented anyway.
13770 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13772 * emacs-lisp/tabulated-list.el: New file.
13774 * emacs-lisp/package.el: Use Tabulated List mode.
13775 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13776 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13777 table format using Tabulated List mode variables.
13778 (package--push): New macro, replacing package-list-maybe-add.
13779 (package-menu--generate): Use package--push. Renamed from
13780 package--generate-package-list.
13781 (package-menu-refresh, list-packages): Use it.
13782 (package-menu--print-info): Rename from package-print-package.
13783 Return insertion data instead of inserting it directly.
13784 (package-menu-describe-package, package-menu-execute):
13785 Use tabulated-list-get-id.
13786 (package-menu-mark-delete, package-menu-mark-install)
13787 (package-menu-mark-unmark, package-menu-backup-unmark)
13788 (package-menu-mark-obsolete-for-deletion):
13789 Use tabulated-list-put-tag.
13790 (package--list-packages, package-menu-revert)
13791 (package-menu-get-package, package-menu-get-version)
13792 (package-menu-sort-by-column): Functions deleted.
13793 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13794 (package-menu--status-predicate, package-menu--version-predicate)
13795 (package-menu--name-predicate)
13796 (package-menu--description-predicate): Handle arguments in the
13797 Tabulated List format.
13798 (package-list-packages-no-fetch): Call list-packages.
13800 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13802 * files.el (after-find-file-from-revert-buffer): Remove variable.
13803 (after-find-file): Don't bind it.
13804 (revert-buffer-in-progress-p): New variable.
13805 (revert-buffer): Bind it.
13806 Pass nil for `after-find-file-from-revert-buffer'.
13808 * saveplace.el (save-place-find-file-hook): Use new variable
13809 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13811 2011-04-06 Glenn Morris <rgm@gnu.org>
13813 * Makefile.in (AUTOGEN_VCS): New variable.
13814 (autoloads): Use $AUTOGEN_VCS.
13816 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13817 * calendar/calendar.el (calendar-mode-map):
13818 Check for toolkit scroll bars. (Bug#8305)
13820 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13822 * minibuffer.el (completion-in-region--postch)
13823 (completion-in-region-mode): Remove unnecessary messages.
13825 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13827 * font-lock.el (font-lock-refresh-defaults):
13828 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13829 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13831 * info.el (Info-directory-list, Info-read-node-name-2)
13832 (Info-split-parameter-string): Doc fixes.
13833 (Info-virtual-nodes): Reflow docstring.
13834 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13835 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13836 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13837 Fix typos in docstrings.
13838 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13839 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13840 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13841 (Info-restore-desktop-buffer): Mark unused parameters.
13842 (Info-directory-find-file, Info-directory-find-node)
13843 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13844 (Info-virtual-index-find-node, Info-apropos-find-file)
13845 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13846 Mark unused parameters; fix typos in docstrings.
13847 (Info-virtual-index): Remove unused local variable `nodename'.
13849 2011-04-05 Deniz Dogan <deniz@dogan.se>
13851 * net/rcirc.el: Update my e-mail address.
13852 (rcirc-mode-map): Remove M-o binding.
13854 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13856 * startup.el (command-line): Save the cursor's theme-face
13857 directly, instead of using face-override-spec.
13859 * custom.el (load-theme): Minor optimization in assigning faces.
13861 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13863 * help-fns.el (describe-variable): Complete all variables having
13864 documentation, including keywords.
13865 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13867 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13869 Convert to lexical-binding.
13871 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13872 (bs--get-marked-string, bs--get-modified-string)
13873 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13874 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13875 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13877 * ehelp.el (electric-help-execute-extended)
13878 (electric-help-ctrl-x-prefix):
13879 * hexl.el (hexl-revert-buffer-function):
13880 * linum.el (linum-after-change, linum-after-scroll):
13881 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13883 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13885 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13892 * epg.el: Use lexical binding.
13894 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13896 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13898 * textmodes/flyspell.el (flyspell-word): Recognize default
13899 dictionary case for flyspell-mark-duplications-exceptions.
13900 Use regexp matching for languages.
13901 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13902 default dictionary (Bug#7926).
13904 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13906 * emacs-lisp/package.el (package--with-work-buffer):
13907 Recognize https URLs.
13909 * net/network-stream.el: Move from gnus/proto-stream.el.
13910 Change prefix to network-stream throughout.
13911 (open-protocol-stream): Merge into open-network-stream, leaving
13912 open-protocol-stream as an alias. Handle nil BUFFER args.
13914 * subr.el (open-network-stream): Move to net/network-stream.el.
13916 2011-04-02 Glenn Morris <rgm@gnu.org>
13918 * find-dired.el (find-exec-terminator): New option.
13919 (find-ls-option): Test for -ls support.
13920 (find-ls-subdir-switches): Test for -b in find-ls-option.
13921 (find-dired, find-grep-dired): Doc fixes.
13922 (find-dired): Use find-exec-terminator.
13924 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13925 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13926 (find-name-arg): Remove purecopy.
13928 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13929 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13930 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13931 accordingly. Don't add the null-device if not needed.
13933 * files.el (save-some-buffers): Doc fix.
13935 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13937 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13939 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13941 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13942 Use `dolist' rather than `mapcar'.
13944 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13946 Add lexical binding.
13948 * subr.el (apply-partially): Use new closures rather than CL.
13949 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13950 (dolist, dotimes): Use slightly different expansion for lexical code.
13951 (functionp): Move to C.
13952 (letrec): New macro.
13953 (with-wrapper-hook): Use it and apply-partially instead of CL.
13954 (eval-after-load): Preserve lexical-binding.
13955 (save-window-excursion, with-output-to-temp-buffer): Turn them
13958 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13960 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13962 (help-add-fundoc-usage): Don't add `Not documented'.
13963 (help-function-arglist): Handle closures, subroutines, and new
13964 byte-code-functions.
13965 (help-make-usage): Remove leading underscores.
13966 (describe-function-1): Handle closures.
13967 (describe-variable): Use special-variable-p for completion.
13969 * files.el (lexical-binding): Declare safe.
13971 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13972 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13973 (pcase): Add `let' pattern.
13974 Change memoization so it actually works.
13975 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13976 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13979 * emacs-lisp/macroexp.el: Use lexical binding.
13980 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13981 Don't convert ' to #' without checking that it's indeed quoting
13984 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13985 Use eval-sexp-add-defvars.
13986 (eval-sexp-add-defvars): New fun.
13988 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13990 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13992 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13993 than the internal `byte-compile-lambda'.
13994 (defmethod): Don't hide code under quotes.
13995 (eieio-defmethod): New `code' argument.
13997 * emacs-lisp/eieio-comp.el: Remove.
13999 * emacs-lisp/edebug.el (edebug-eval-defun)
14000 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14001 (edebug-toggle): Avoid `eval'.
14003 * emacs-lisp/disass.el (disassemble-internal): Handle new
14005 (disassemble-1): Handle new byte codes.
14007 * emacs-lisp/cl.el (pushnew): Silence warning.
14009 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14010 (cl-byte-compile-throw): Remove.
14011 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14013 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14016 * emacs-lisp/cconv.el: New file.
14018 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14019 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14020 (byte-compile-initial-macro-environment):
14021 Handle declare-function here.
14022 (byte-compile--lexical-environment): New var.
14023 (byte-stack-ref, byte-stack-set, byte-discardN)
14024 (byte-discardN-preserve-tos): New lap codes.
14025 (byte-interactive-p): Don't use any more.
14026 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14028 (byte-compile-lapcode): Use them and handle new lap codes.
14029 (byte-compile-obsolete): Remove.
14030 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14031 (byte-compile-arglist-warn): Check late def of inlinable funs.
14032 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14033 since they should have been expanded by now.
14034 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14035 (byte-compile-from-buffer): Remove unused second arg.
14036 (byte-compile-preprocess): New function.
14037 (byte-compile-toplevel-file-form): New function to distinguish
14038 file-form calls from outside from file-form calls from hunk-handlers.
14039 (byte-compile-file-form): Simplify.
14040 (byte-compile-file-form-defsubst): Remove.
14041 (byte-compile-file-form-defmumble): Simplify now that
14042 byte-compile-lambda always returns a byte-code-function.
14043 (byte-compile): Preprocess.
14044 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14045 Remove, not used any more.
14046 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14047 (byte-compile-make-args-desc): New funs.
14048 (byte-compile-lambda): Handle lexical functions. Always return
14049 a byte-code-function.
14050 (byte-compile-reserved-constants): New var, to make up room for
14051 closed-over variables.
14052 (byte-compile-constants-vector): Obey it.
14053 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14054 (byte-compile-macroexpand-declare-function): New function.
14055 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14056 byte-code-functions.
14057 (byte-compile-form): Check obsolescence here.
14058 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14059 (byte-compile-variable-ref): Remove.
14060 (byte-compile-dynamic-variable-op): New fun.
14061 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14062 (byte-compile-variable-set): New funs.
14063 (byte-compile-discard): Add 2 args.
14064 (byte-compile-stack-ref, byte-compile-stack-set)
14065 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14066 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14067 macroexpand-all instead.
14068 (byte-compile-quote-form): Remove.
14069 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14070 (byte-compile-bind, byte-compile-unbind): New funs.
14071 (byte-compile-let): Handle let* and lexical binding.
14072 (byte-compile-let*): Remove.
14073 (byte-compile-catch, byte-compile-unwind-protect)
14074 (byte-compile-track-mouse, byte-compile-condition-case):
14075 Handle a new :fun-body form, used for lexical scoping.
14076 (byte-compile-save-window-excursion)
14077 (byte-compile-with-output-to-temp-buffer): Remove.
14078 (byte-compile-defun): Simplify.
14079 (byte-compile-stack-adjustment): New fun.
14080 (byte-compile-out): Use it.
14081 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14083 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14086 * emacs-lisp/byte-opt.el: Use lexical binding.
14087 (byte-inline-lapcode): Remove (to bytecomp).
14088 (byte-compile-inline-expand): Pay attention to inlining to/from
14089 lexically bound code.
14090 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14092 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14093 any more and don't call compiler-macros.
14094 (byte-compile-splice-in-already-compiled-code): Remove.
14095 (byte-code): Don't inline any more.
14096 (disassemble-offset): Receive `bytes' as argument rather than via
14098 (byte-compile-tag-number): Declare before first use.
14099 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14100 `return' even if make-spliceable.
14101 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14102 obsolete interactive-p.
14103 (byte-optimize-lapcode): Optimize new lap-codes.
14104 Don't trip up on new form of `byte-constant' lap code.
14106 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14108 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14110 * custom.el (custom-initialize-default, custom-declare-variable):
14113 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14115 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14116 (COMPILE_FIRST): Add macroexp and cconv.
14117 * makefile.w32-in: Mirror changes in Makefile.in.
14119 * vc/cvs-status.el:
14123 * vc/smerge-mode.el:
14124 * textmodes/bibtex-style.el:
14125 * textmodes/css.el:
14133 * emacs-lisp/smie.el:
14136 * abbrev.el: Use lexical binding.
14138 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14140 * info.el (info-display-manual): New function.
14142 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14144 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14146 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14148 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14149 an entry for that server in rcirc-authinfo. (Bug#8385)
14151 2011-03-31 Glenn Morris <rgm@gnu.org>
14153 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14155 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14157 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14159 * progmodes/python.el (python-default-interpreter)
14160 (python-python-command-args, python-jython-command-args)
14161 (python-which-shell, python-which-args, python-which-bufname)
14162 (python-file-queue, python-comint-output-filter-function)
14163 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14164 variables and functions.
14166 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14168 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14169 (completion-in-region-mode): New minor mode.
14170 (completion-in-region): Use it.
14171 (completion-in-region--data, completion-in-region-mode-map): New vars.
14172 (completion-in-region--postch): New function.
14173 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14175 (completion--capf-wrapper): New function.
14176 (completion-at-point): Use it to track well-behavedness of
14178 (completion-help-at-point): New command.
14180 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14182 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14183 syntax class to search for whitespace on a single line
14184 (Message-ID: <4D938140.4030905@redhat.com>).
14186 2011-03-30 Leo Liu <sdl.web@gmail.com>
14188 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14190 (edit-abbrevs-map): Bind them here.
14191 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14193 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14195 * allout.el (allout-hide-by-annotation, allout-flag-region):
14196 Reduce possibility of overlay leakage by making them volatile.
14198 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14199 hash is not shared between buffers. Mode initialization is
14200 responsible for giving it a useful starting value.
14201 (allout-item-span): Reduce possibility of overlay leakage by
14202 making them volatile.
14203 (allout-widgets-count-buttons-in-region): Add diagnostic function
14204 for tracking down button overlay leaks.
14206 2011-03-29 Leo Liu <sdl.web@gmail.com>
14208 * ido.el (ido-read-internal): Use the default history var
14209 minibuffer-history if no HISTORY is specified.
14211 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14213 * net/imap.el (imap-shell-open, imap-process-connection-type):
14214 Use imap-process-connection-type for 'shell' streams as well as
14215 Kerberos, SSL, other subprocesses.
14217 2011-03-28 Leo Liu <sdl.web@gmail.com>
14219 * abbrev.el (abbrev-table-empty-p): New function.
14220 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14221 nonempty ones. (Bug#5937)
14223 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14225 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14227 2011-03-27 Leo Liu <sdl.web@gmail.com>
14229 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14230 for foreground and background colors.
14231 (ansi-color-make-color-map): Adapt.
14233 2011-03-25 Leo Liu <sdl.web@gmail.com>
14235 * midnight.el (midnight-time-float): Remove. Note it calculates
14236 the microsecond component incorrectly and seconds-to-time does the
14238 Remove redundant (require 'timer).
14240 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14241 (ido-completions): Remove unused arguments. (Bug#8329)
14243 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14245 * minibuffer.el (completion--flush-all-sorted-completions):
14246 Remove itself from hook.
14247 (completion-at-point): Let the functions perform the completion
14248 immediately and return nil or t.
14249 * comint.el (comint-dynamic-complete-functions): Now identical to
14250 completion-at-point-functions.
14251 (comint-dynamic-list-input-ring): Remove unused var `index'.
14252 (comint--match-partial-filename, comint--unquote&expand-filename):
14253 New funs, split from comint-match-partial-filename.
14254 (comint-dynamic-complete): Use completion-at-point.
14255 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14257 2011-03-24 Drew Adams <drew.adams@oracle.com>
14259 * thingatpt.el: Support `defun'.
14261 2011-03-23 Leo Liu <sdl.web@gmail.com>
14263 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14265 * help-mode.el (help-mode-finish): Tweak regexp.
14267 2011-03-23 Glenn Morris <rgm@gnu.org>
14269 * eshell/esh-opt.el (eshell-eval-using-options):
14270 Do not bind unused local variable `eshell-option-stub'.
14272 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14274 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14276 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14277 keymap variable in `with-no-warnings' to avoid a warning when the
14278 keymap has been already `defconst'ed.
14280 2011-03-22 Leo Liu <sdl.web@gmail.com>
14282 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14283 encode all chars in abbrevs; otherwise use emacs-mule or
14284 utf-8-emacs. (Bug#8308)
14286 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14288 * simple.el (backward-delete-char-untabify):
14289 Avoid warning about using `delete-backward-char'.
14291 * image.el (image-type-file-name-regexps): Make it variable.
14292 `imagemagick-register-types' modifies it, and the user may want
14293 to add new extensions for known image types.
14294 (imagemagick-register-types): Throw error if not using ImageMagick.
14296 2011-03-22 Leo Liu <sdl.web@gmail.com>
14298 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14299 located before rcirc-prompt-end-marker.
14300 (rcirc-complete): Error if point is not after rcirc prompt.
14301 Handle the case when table is nil.
14302 (rcirc-user-authenticated): Define to fix compiler warning.
14304 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14306 * custom.el (custom--inhibit-theme-enable): Make it affect only
14307 custom-theme-set-variables and custom-theme-set-faces.
14308 (provide-theme): Ignore custom--inhibit-theme-enable.
14309 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14310 (custom-enabling-themes): Delete variable.
14311 (enable-theme): Accept only loaded themes as arguments.
14312 Ignore the special custom-enabled-themes variable.
14313 (custom-enabled-themes): Forbid themes from setting this.
14314 Eliminate use of custom-enabling-themes.
14315 (custom-push-theme): Quote "changed" custom var entry.
14317 2011-03-21 Leo Liu <sdl.web@gmail.com>
14319 * ido.el (ido-read-internal): Add ido-selected to history instead
14322 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14324 * subr.el (deferred-action-list, deferred-action-function):
14327 2011-03-21 Leo Liu <sdl.web@gmail.com>
14329 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14330 change on 2011-02-13 (bug#8309).
14332 * minibuffer.el (read-file-name-function): Change default value.
14333 (read-file-name--defaults): Rename from read-file-name-defaults.
14334 (read-file-name-default): Rename from read-file-name.
14335 (read-file-name): Call read-file-name-function.
14337 2011-03-21 Glenn Morris <rgm@gnu.org>
14339 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14342 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14344 * cus-theme.el: Add missing provide statement.
14345 (customize-create-theme): Extract theme value correctly.
14346 (custom-theme-visit-theme): Autoload.
14347 (customize-create-theme): Prompt before inserting default faces.
14349 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14351 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14352 units and musical notes.
14354 2011-03-20 Leo Liu <sdl.web@gmail.com>
14356 * ido.el (ido-read-internal): Use completing-read-default.
14357 (ido-completing-read): Fix compatibility with completing-read.
14359 2011-03-20 Christian Ohler <ohler@gnu.org>
14361 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14362 (ert-delete-all-tests): Use `called-interactively-p' rather than
14364 (ert--make-xrefs-region): Respect END.
14366 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14368 * dired-aux.el (dired-create-directory): Signal an error if the
14369 directory already exists (Bug#8246).
14371 * facemenu.el (list-colors-display): Call list-faces-display
14372 inside with-help-window.
14373 (list-colors-print): Use display property to align the final
14374 column, instead of checking window-width.
14376 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14378 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14379 windows-nt systems.
14380 (emerge-protect-metachars): Quote correctly for ms-dos and
14381 windows-nt systems.
14383 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14385 * info.el (info-initialize): Replace all uses of `:' with
14386 path-separator for compatibility with non-Unix systems.
14387 Cache quoting of path-separator. (Bug#8258)
14389 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14391 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14392 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14393 (mouse-avoidance-mode): Fix typos in docstrings.
14395 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14397 * startup.el (package-subdirectory-regexp): Move from package.el.
14398 Omit \\` and \\', and let callers add them.
14400 * emacs-lisp/package.el (package-strip-version)
14401 (package-load-all-descriptors): Add \\` and \\' to
14402 package-subdirectory-regexp before using it.
14403 (package-untar-buffer): New arg DIR; ensure that file untars only
14404 into this expected directory. Remove superfluous delete-region.
14405 (package-unpack): Caller changed.
14406 (package-tar-file-info): Use package-subdirectory-regexp.
14408 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14410 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14411 diff-mode-shared-map (bug#8284).
14412 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14414 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14416 * calendar/time-date.el (format-seconds): Use assoc instead of
14417 assoc-string, since assoc-string doesn't exist in XEmacs.
14419 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14421 * custom.el (custom-known-themes): Reflow docstring.
14422 (custom-theme-load-path): Fix typo in docstring.
14423 (load-theme): Fix typo in error message.
14424 (custom-available-themes, custom-variable-theme-value):
14425 Use `let', not `let*'.
14427 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14429 * calc/README: Mention inclusion of musical notes.
14431 * calc/calc-units.el (calc-lu-quant): Rename from
14432 `calc-logunits-quantity'.
14433 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14434 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14435 (calc-db): Rename from `calc-dblevel'.
14436 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14437 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14438 (calc-np): Rename from `calc-nplevel'.
14439 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14440 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14441 (calc-lu-plus): Rename from `calc-logunits-add'.
14442 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14443 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14444 (calc-lu-minus): Rename from `calc-logunits-sub'.
14445 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14446 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14447 (calc-lu-times): Rename from `calc-logunits-mul'.
14448 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14449 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14450 (calc-lu-divide): Rename from `calc-logunits-div'.
14451 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14452 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14454 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14455 functions being autoloaded.
14457 * calc/calc.el (calc-lu-power-reference): Rename from
14458 `calc-logunits-power-reference'.
14459 (calc-lu-field-reference): Rename from
14460 `calc-logunits-field-reference'.
14462 * calc/calc-help.el (calc-l-prefix-help):
14463 Mention musical note functions.
14465 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14467 * minibuffer.el (completion-all-sorted-completions):
14468 Use :completion-cycle-penalty text property if present.
14470 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14472 * allout.el (allout-yank-processing): Adjust for new rebulleting
14473 regime so bullet being yanked is used without prompting the user
14476 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14478 * startup.el (command-line): Warn the user that _emacs is deprecated.
14480 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14482 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14483 (delphi-verbose, delphi-comment-face, delphi-string-face)
14484 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14485 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14486 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14487 (delphi-new-comment-line, delphi-font-lock-defaults)
14488 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14489 Fix typos in docstrings.
14491 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14493 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14494 Invert the roles of character and string values for INSTEAD, so a
14495 string is used for the more common case of a defaulting prompt.
14497 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14499 * progmodes/ruby-mode.el (ruby-backward-sexp):
14500 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14501 * play/gamegrid.el (gamegrid-make-face):
14502 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14503 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14504 * notifications.el (notifications-notify):
14505 * net/xesam.el (xesam-search-engines):
14506 * net/quickurl.el (quickurl-list-insert):
14507 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14509 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14511 * startup.el (command-line): Update package subdirectory regexp.
14513 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14515 * allout.el (allout-abbreviate-flattened-numbering)
14516 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14518 * subr.el (read-char-choice): Only show the cursor after the prompt,
14519 not after the answer.
14521 2011-03-15 Kevin Ryde <user42@zip.com.au>
14523 * help-fns.el (variable-at-point): Skip leading quotes, if any
14526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14528 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14531 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14533 * shell.el (shell): When called interactively, offer to change the
14534 shell file name on remote hosts.
14536 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14538 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14539 integration for LDAP parameters. The host, base, user or binddn,
14540 and secret tokens can be specified in a netrc file, for instance.
14541 This is optional because an `auth-source' parameter must be
14542 specified in the search attributes.
14544 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14546 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14548 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14550 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14551 into declaration. Remove redundant and harmful binding.
14553 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14555 * files.el (file-ownership-preserved-p): Pass `integer' as an
14556 explicit 2nd argument to `file-attributes'. If the file's owner
14557 is the Administrators group on Windows, and the current user is
14558 Administrator, consider that a match.
14560 * server.el (server-ensure-safe-dir): Consider server directory
14561 safe on MS-Windows if its owner is the Administrators group while
14562 the current Emacs user is Administrator. Use `=' to compare
14563 numerical UIDs, since they could be integers or floats.
14565 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14567 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14569 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14571 Sync with Tramp 2.2.1.
14573 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14575 * net/trampver.el: Update release number.
14577 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * progmodes/compile.el (compilation--previous-directory): Fix up
14580 various nil/dead-marker mismatches (bug#8014).
14581 (compilation-directory-properties, compilation-error-properties):
14582 Don't call it at a position past the one we're about to change.
14584 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14585 Disable obsolescence warnings in the file that declares it.
14587 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14589 * allout-widgets.el (allout-widgets-tally):
14590 Initialize allout-widgets-tally as a hash table rather than nil to
14591 prevent mode-line redisplay warnings. Also, clarify the module
14592 description and fix a comment typo.
14594 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14596 * help-fns.el (describe-variable): Don't complete keywords.
14597 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14599 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14601 * emacs-lisp/package.el (package-version-join): Impose a standard
14602 string representation for pre/alpha/beta version lists.
14603 (package-unpack-single): Standardize the directory name by passing
14604 it through package-version-join.
14605 (package-strip-rcs-id): Accept any version string that does not
14606 signal an error in version-to-list.
14608 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14610 * simple.el (delete-trailing-whitespace): Return nil for the
14611 benefit of `write-file-functions'.
14613 2011-03-10 Glenn Morris <rgm@gnu.org>
14615 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14617 * vc/vc-git.el (vc-git-program): New option.
14618 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14619 (vc-git--call): Use it.
14621 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14623 * cus-edit.el (Custom-newline): If no button at point, look
14624 for a subgroup button at start-of-line. (Bug#2298)
14626 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14628 2011-03-10 Julien Danjou <julien@danjou.info>
14630 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14631 `cursor-type' is nil.
14633 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14635 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14637 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14639 * allout.el: Change so yank of distinctive-bullet items
14640 preserves the existing header prefix, rebulleting it if necessary,
14641 rather than replacing it. This is necessary for proper operation
14642 of cooperative addons like allout-widgets.
14643 (allout-make-topic-prefix, allout-rebullet-heading):
14644 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14645 value as alternate bullet to be used, instead of prompting the user
14646 for a bullet character.
14648 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14651 Do not use `tramp-file-name-port', because this returns also
14652 `tramp-default-port'.
14654 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14656 * net/rcirc.el (rcirc-handler-001): Remove useless
14657 with-rcirc-process-buffer.
14658 (rcirc-check-auth-status): Swap arguments to string-match.
14660 2011-03-09 Glenn Morris <rgm@gnu.org>
14662 * shell.el (shell-mode):
14663 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14665 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14666 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14668 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14670 * emacs-lisp/package.el (package-refresh-contents)
14671 (package-menu-execute): Use condition-case-no-debug.
14673 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14675 * simple.el (shell-command-to-string): Use `process-file'.
14677 * emacs-lisp/package.el (package-tar-file-info): Handle also
14680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14681 Use `equal' for upload base check.
14683 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14685 * textmodes/texinfo.el (texinfo-environments):
14686 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14688 2011-03-08 Glenn Morris <rgm@gnu.org>
14690 * cus-start.el (cursor-in-non-selected-windows):
14691 Fix :set quoting oddness. (Bug#8192)
14693 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14694 in some setf expressions. (Bug#2159)
14696 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14698 * custom.el (custom-available-themes): Return themes in
14699 alphabetical order.
14701 See ChangeLog.15 for earlier changes.
14703 ;; Local Variables:
14707 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14709 This file is part of GNU Emacs.
14711 GNU Emacs is free software: you can redistribute it and/or modify
14712 it under the terms of the GNU General Public License as published by
14713 the Free Software Foundation, either version 3 of the License, or
14714 (at your option) any later version.
14716 GNU Emacs is distributed in the hope that it will be useful,
14717 but WITHOUT ANY WARRANTY; without even the implied warranty of
14718 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14719 GNU General Public License for more details.
14721 You should have received a copy of the GNU General Public License
14722 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.