1 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5 instead of calling external sort utility.
6 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10 * descr-text.el (describe-char): Mention how to insert the
11 character, if the current input method doesn't support it.
12 See the discussion in this thread for the details:
13 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
15 2012-06-08 Sam Steingold <sds@gnu.org>
17 * bindings.el (global-map): Bind XF86Forward to next-buffer and
18 XF86Back to previous-buffer.
19 (minibuffer-local-map): Bind them to next-history-element and
20 previous-history-element respectively.
21 * help-mode.el (help-mode-map): Bind them to help-go-forward and
22 help-go-back respectively.
23 * info.el (Info-mode-map): Bind them to Info-history-forward and
24 Info-history-back respectively.
25 These are the keys next to Up on the ThinkPad keyboard.
27 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
29 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
30 * emacs-lisp/cl-macs.el: Provide itself.
31 (cl--labels-convert-cache): New var.
32 (cl--labels-convert): New function.
33 (cl-flet, cl-labels): New implementation with new semantics, relying on
35 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
36 (cl-closure-vars, cl--function-convert-cache)
37 (cl--function-convert): Move from cl-macs.el.
38 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
39 rename by removing the "cl-" prefix.
40 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
42 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
44 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
45 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
46 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
47 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
48 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
49 (cl-hash-table-count): Add old compatibility aliases.
51 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
52 Use macroexpand-all-environment instead.
53 (cl--old-macroexpand): New var.
54 (cl--sm-macroexpand): New function.
55 (cl-symbol-macrolet): Use it during macro expansion.
56 (cl--function-convert-cache): New var.
57 (cl--function-convert): New function, extracted from
59 (cl-lexical-let): Use it.
61 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
62 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
63 (cl-member): Remove old alias.
65 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
66 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
67 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
68 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
69 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
70 (cl-macroexpand-cmacs): Remove var.
71 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
72 Use macroexpand-all instead.
74 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
76 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
77 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
78 (macroexp-copyable-p): New functions and macros.
79 * emacs-lisp/edebug.el (edebug-unwrap):
80 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
81 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
82 (pcase--let*): Remove.
83 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
84 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
85 macroexp-const-p instead.
86 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
88 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
89 instead of "cl-" for internal definitions. Use macroexp-const-p.
90 (cl-old-bc-file-form): Remove var.
91 (cl-const-exprs-p): Remove fun.
92 (cl-labels, cl-macrolet): Use backquote.
93 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
94 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
95 (cl-define-setf-expander): Rename from cl-define-setf-method.
96 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
98 * international/mule-cmds.el: Don't require CL.
99 (view-hello-file): Don't use `letf'.
101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
103 * tmm.el (tmm-prompt): Use string-prefix-p.
104 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
105 (tmm-add-prompt): Use minibuffer-completion-help.
106 (tmm-delete-map): Remove.
108 * subr.el (kbd): Make it its own function.
110 2012-06-07 Stefan Merten <smerten@oekonux.de>
112 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
113 Silence compiler warnings. Fix versions.
114 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
115 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
116 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
117 (rst-package-emacs-version-alist): Correct Emacs version to
118 represent major merge with upstream.
119 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
121 2012-06-06 Glenn Morris <rgm@gnu.org>
123 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
124 Only print environment variables if set.
126 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
128 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
129 (macroexp--cons): Rename from maybe-cons.
130 (macroexp--accumulate): Rename from macroexp-accumulate.
131 (macroexp--all-forms): Rename from macroexpand-all-forms.
132 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
133 (macroexp--expand-all): Rename from macroexpand-all-1.
135 2012-06-06 Sam Steingold <sds@gnu.org>
137 * calendar/calendar.el (calendar-in-read-only-buffer):
138 Call `special-mode' to enable the standard read-only keybindings.
140 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
142 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
143 with "loading" messages (bug#11635).
145 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
147 * files.el (enable-remote-dir-locals): New option.
148 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
151 Ensure, that the temp directory is local.
153 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
154 `temporary-file-directory'.
156 * progmodes/python.el (python-send-region): Ensure, that the
157 temporary file is created also in the remote case.
159 2012-06-06 Glenn Morris <rgm@gnu.org>
161 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
162 (vc-rcs-update-changelog): Use it.
164 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
166 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
167 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
168 (vc-sccs-diff): Replace use of the external vcdiff script.
170 2012-06-05 Glenn Morris <rgm@gnu.org>
172 * ledit.el: Move to obsolete/.
174 2012-06-05 Sam Steingold <sds@gnu.org>
176 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
179 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
181 * emacs-list/cust-print.el: Move to obsolete.
183 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
184 compiler-macro expansion.
186 Add native compiler-macro support.
187 * emacs-lisp/macroexp.el (macroexpand-all-1):
188 Support compiler-macros directly. Properly follow aliases and apply
189 the compiler macros more thoroughly.
190 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
191 macroexpand now properly follows aliases.
192 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
193 (cl-compiler-macroexpand): Use new prop.
194 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
196 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
198 2012-06-05 Martin Rudalics <rudalics@gmx.at>
200 * window.el (get-lru-window, get-mru-window, get-largest-window):
201 New argument NOT-SELECTED to avoid picking the selected window.
202 (window--display-buffer-1, window--display-buffer-2): Replace by
203 new function window--display-buffer
204 (display-buffer-same-window, display-buffer-reuse-window)
205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
206 Use window--display-buffer.
207 (display-buffer-use-some-window): Remove temporary dedication
208 hack by calling get-lru-window and get-largest-window with
209 NOT-SELECTED argument non-nil. Call window--display-buffer.
211 2012-06-05 Glenn Morris <rgm@gnu.org>
213 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
214 Replace external vcdiff script.
216 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
218 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
220 2012-06-04 Chong Yidong <cyd@gnu.org>
222 * image.el (imagemagick-types-inhibit): Revert last change.
224 (imagemagick-enabled-types): Remove CIN and EPS*.
226 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
228 * emacs-lisp/cl-lib.el: Rename from cl.el.
229 * emacs-lisp/cl.el: New compatibility file.
230 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
231 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
232 to obey the "cl-" prefix.
233 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
235 2012-06-03 Glenn Morris <rgm@gnu.org>
237 * emacs-lisp/authors.el (authors-aliases): Addition.
239 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
242 2012-06-03 Stefan Merten <smerten@oekonux.de>
244 * textmodes/rst.el: Add comments.
245 (rst-transition, rst-adornment): New faces.
246 (rst-adornment-faces-alist): Make default safe to reevaluate.
248 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
249 Improve customization tags.
250 (rst-define-level-faces): Clarify meaning.
252 2012-06-03 Chong Yidong <cyd@gnu.org>
254 * progmodes/compile.el (compilation-mode-line-fail)
255 (compilation-mode-line-run, compilation-mode-line-exit):
257 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
259 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
261 * progmodes/which-func.el (which-func-update-ediff-windows):
262 New function. Use it in ediff-select-hook (Bug#11478).
264 2012-06-03 Chong Yidong <cyd@gnu.org>
266 * bindings.el: Remove explicit help text from format-mode-line.
267 It is now supplied by mode-line-default-help-echo.
268 (mode-line-front-space, mode-line-end-spaces)
269 (mode-line-misc-info): New variables.
270 (mode-line-modes, mode-line-position): Move the default value to
271 the variable definition.
272 (mode-line-default-help-echo): New defcustom.
273 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
274 (mode-line-modified-help-echo): New functions.
275 (mode-line-mule-info, mode-line-modified): Use them.
276 (mode-line-eol-desc, propertized-buffer-identification):
277 Consistency fixes for help text.
278 (mode-line-coding-system-map): Allow using mouse-3 to invoke
279 set-buffer-file-coding-system (Bug#289).
280 (mode-line-mule-info-help-echo): Update help text.
282 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
284 * simple.el (execute-extended-command): Set real-this-command
287 2012-06-02 Chong Yidong <cyd@gnu.org>
289 Remove incorrect uses of "modeline" in comments, docstrings, and
290 function/variable names (Bug#10329).
292 * cus-edit.el (mode-line):
293 * dframe.el (dframe-mouse-hscroll):
294 * emacs-lisp/re-builder.el:
295 * emacs-lisp/easy-mmode.el (define-minor-mode):
296 * frame.el (set-frame-name):
297 * help.el (lookup-minor-mode-from-indicator):
298 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
299 * progmodes/cc-cmds.el (c-toggle-auto-newline)
300 (c-toggle-hungry-state):
301 * progmodes/antlr-mode.el (antlr-language-alist):
302 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
303 * progmodes/vhdl-mode.el (vhdl-mode):
304 * progmodes/which-func.el (which-func, which-func-cleanup-function):
305 * term/ns-win.el (ns-face-at-pos):
306 * term/sup-mouse.el (sup-mouse-report):
307 * textmodes/flyspell.el (flyspell-mode-line-string):
308 * textmodes/ispell.el (ispell-highlight-face):
309 * textmodes/reftex-global.el:
310 * vc/vc-arch.el (vc-arch-mode-line-string):
311 * vc/vc-cvs.el (vc-cvs-mode-line-string):
312 * vc/vc-git.el (vc-git-mode-line-string):
313 * vc/vc-hooks.el (vc-display-status)
314 (vc-default-mode-line-string):
315 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
317 * ansi-color.el (ansi-color-faces-vector): Change default faces.
319 * dired.el (dired-sort-set-mode-line): Rename from
320 dired-sort-set-modeline. All callers changed.
322 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
323 eshell-status-in-modeline.
325 * foldout.el (foldout-mode-line-string): Rename from
326 foldout-modeline-string. All callers changed.
327 (foldout-update-mode-line): Rename from foldout-update-modeline.
329 * subr.el (redraw-modeline): Make into obsolete alias.
331 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
332 timeclock-modeline-display. Make old name an alias.
333 (timeclock-update-mode-line): Likewise. All callers changed.
334 (timeclock-mode-line-display): No need to check before using
336 (timeclock-relative, timeclock-day-over-hook)
337 (timeclock-use-elapsed, timeclock-mode-string)
338 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
340 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
341 crisp-mode-modeline-string.
343 * play/solitaire.el (solitaire-build-mode-line): Rename from
344 solitaire-build-modeline. All callers changed.
346 * play/zone.el (zone-hiding-mode-line): Rename from
347 zone-hiding-modeline. All callers changed.
348 (zone): Remove unusued `modeline-hidden-level' property.
350 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
351 xscheme-modeline-initialize. All callers changed.
353 * strokes.el (strokes-lighter): Rename from
354 strokes-modeline-string.
356 * textmodes/sgml-mode.el (html-face-tag-alist)
357 (html-tag-face-alist): Use mode-line face instead of obsolete
360 2012-06-02 Stefan Merten <smerten@oekonux.de>
362 * textmodes/rst.el: Always require `cl'.
363 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
365 2012-06-02 Chong Yidong <cyd@gnu.org>
367 * image.el (imagemagick-enabled-types): Rename from
368 imagemagick-types-enable. Add many more types.
369 (imagemagick-types-inhibit): Change default to nil.
370 (imagemagick-filter-types): Caller changed.
372 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
374 * emacs-lisp/cl-macs.el: Use backquotes.
375 (cl-transform-function-property): Use eval-and-compile rather than
377 (defstruct): Use declare-function instead of with-no-warnings.
379 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
380 (byte-compile-output-docform): Re-add the print-circle bindings.
381 (byte-compile-fix-header): Use #$ just because it's shorter.
382 (byte-compile-output-file-form): Remove defun/defmacro.
384 2012-06-01 Martin Rudalics <rudalics@gmx.at>
386 * simple.el (choose-completion): Remove now obsolete binding for
389 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
391 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
392 in order to avoid "Stack overflow in regexp matcher".
394 2012-05-31 Glenn Morris <rgm@gnu.org>
396 * image.el: For clarity, call imagemagick-register-types at
397 top-level, rather than relying on a custom :initialize.
398 (imagemagick-types-enable): New option. (Bug#11557)
399 (imagemagick-filter-types): New function. (Bug#7406)
400 (imagemagick-register-types): Use imagemagick-filter-types.
401 If disabling support, remove elements altogether rather
402 than using an impossible regexp.
403 (imagemagick-types-inhibit): Give it the default init function.
405 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
407 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
408 Handle arbitrary file name lengths (Bug#11585).
410 2012-05-31 Martin Rudalics <rudalics@gmx.at>
412 * desktop.el (desktop-read): Clear previous and next buffers for
413 all windows and bury *Messages* buffer (bug#11556).
415 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
417 Add `declare' for `defun'. Align `defmacro's with it.
418 * emacs-lisp/easy-mmode.el (define-minor-mode)
419 (define-globalized-minor-mode): Don't autoload the var definitions.
420 * emacs-lisp/byte-run.el: Use lexical-binding.
421 (defun-declarations-alist, macro-declarations-alist): New vars.
422 (defmacro, defun): Use them.
423 (make-obsolete, define-obsolete-function-alias)
424 (make-obsolete-variable, define-obsolete-variable-alias):
426 (macro-declaration-function): Mark obsolete.
427 * emacs-lisp/autoload.el: Use lexical-binding.
428 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
430 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
432 * textmodes/ispell.el (ispell-with-no-warnings):
434 (ispell-kill-ispell, ispell-change-dictionary):
435 Use `called-interactively-p' for Emacs instead of obsolete
438 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
440 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
441 (macro-declaration-function): Move var from C code.
442 (macro-declaration-function): Define function with defalias.
443 * emacs-lisp/macroexp.el (macroexpand-all-1):
444 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
446 defun/defmacro any more.
447 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
448 Provide fallback for unknown arglist.
449 (byte-compile-arglist-warn): Change calling convention.
450 (byte-compile-output-file-form): Move print-vars binding.
451 (byte-compile-output-docform): Simplify accordingly.
452 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
453 (byte-compile-defmacro-declaration): Remove.
454 (byte-compile-file-form-defmumble): Generalize to defalias.
455 (byte-compile-output-as-comment): Return byte-positions.
456 Simplify callers accordingly.
457 (byte-compile-lambda): Use `assert'.
458 (byte-compile-defun, byte-compile-defmacro): Remove.
459 (byte-compile-file-form-defalias):
460 Use byte-compile-file-form-defmumble.
461 (byte-compile-defalias-warn): Remove.
463 2012-05-29 Stefan Merten <smerten@oekonux.de>
465 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
466 possible. Fix authors. Improve comments. Improve loading of `cl'.
468 (rst-mode-abbrev-table): Merge definition.
469 (rst-mode): Make sure `font-lock-defaults' is buffer local.
470 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
472 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
474 * calendar/icalendar.el
475 (icalendar-export-region): Export UID properly.
477 2012-05-29 Leo <sdl.web@gmail.com>
478 * calendar/icalendar.el (icalendar-import-format):
479 Add `icalendar-import-format-uid' (Bug#11525).
480 (icalendar-import-format-uid): New.
481 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
484 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
486 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
487 different alternative patterns.
488 (pcase-codegen): Be more careful to preserve identity.
489 (pcase--u1): Don't forget to mark vars as used.
491 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
492 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
493 (byte-compile-from-buffer): ...rather than here.
495 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
496 functions from byte-compile-function-environment.
498 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
500 * window.el (window-deletable-p): Avoid deleting the root window
501 of a frame with an active minibuffer.
503 2012-05-29 Martin Rudalics <rudalics@gmx.at>
505 * simple.el (choose-completion): Use quit-window (Bug#11567).
507 2012-05-29 Chong Yidong <cyd@gnu.org>
509 * whitespace.el (whitespace-cleanup): Fix usage of
510 whitespace-empty-at-bob-regexp (Bug#11492).
512 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
514 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
517 2012-05-29 Juri Linkov <juri@jurta.org>
519 * isearch.el (isearch-mode-map): Bind `M-s _' to
520 `isearch-toggle-symbol'. Bind `M-s c' to
521 `isearch-toggle-case-fold'.
522 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
523 (isearch-forward): Add `M-s _' to the docstring.
524 (isearch-forward-symbol, isearch-toggle-case-fold)
525 (isearch-symbol-regexp): New functions. (Bug#11381)
527 2012-05-29 Juri Linkov <juri@jurta.org>
529 * isearch.el (isearch-word): Add docstring. (Bug#11381)
530 (isearch-occur, isearch-search-and-update): If `isearch-word' is
531 a function, call it to get the regexp.
532 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
533 property `isearch-message-prefix' instead of the string "word ".
534 (isearch-search-fun-default): For the case of `isearch-word',
535 return a lambda that calls re-search-forward/re-search-backward
536 with a regexp returned by `word-search-regexp' or by the function
539 2012-05-29 Juri Linkov <juri@jurta.org>
541 * isearch.el (isearch-search-fun-default): New function.
542 (isearch-search-fun): Move default part to the new function
543 `isearch-search-fun-default'.
544 (isearch-search-fun-function): Set the default value to
545 `isearch-search-fun-default'. (Bug#11381)
547 * comint.el (comint-history-isearch-end):
548 Use `isearch-search-fun-default'.
549 (comint-history-isearch-search): Use `isearch-search-fun-default'
550 and remove spacial case for `isearch-word'.
551 (comint-history-isearch-wrap): Remove spacial case for
554 * hexl.el (hexl-isearch-search-function):
555 Use `isearch-search-fun-default'.
557 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
558 Use `word-search-regexp' for `isearch-word'.
560 * misearch.el (multi-isearch-search-fun):
561 Use `isearch-search-fun-default'.
563 * simple.el (minibuffer-history-isearch-search):
564 Use `isearch-search-fun-default' and remove spacial case for
566 (minibuffer-history-isearch-wrap): Remove spacial case for
569 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
570 Remove spacial case for `isearch-word'.
571 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
573 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
575 Decrease XEmacs incompatibilities.
576 * textmodes/flyspell.el (flyspell-check-pre-word-p):
578 (flyspell-delete-region-overlays): Use alternative definition for
580 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
581 (flyspell-word): Use `process-kill-without-query' if XEmacs.
582 (flyspell-mode-on): Use `interactive-p' if XEmacs.
583 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
584 `define-obsolete-face-alias' under XEmacs, but old method.
586 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
587 `with-no-warnings' definition or Emacs alias.
588 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
589 (ispell-word): Do not use `region-p' if XEmacs.
591 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
593 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
594 Check for `ispell-dictionary-base-alist' instead of full
595 `ispell-dictionary-alist'.
596 (ispell-init-process): Show spellchecker when starting new Ispell
599 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
601 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
602 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
604 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
606 * version.el (motif-version-string, gtk-version-string)
607 (ns-version-string): Declare.
609 2012-05-27 Juri Linkov <juri@jurta.org>
611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
612 after the `eval-defun-1' specialcaseing
613 like in `edebug-eval-defun' (bug#10181).
615 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
616 like in `eval-defun-1'.
618 2012-05-27 Eli Zaretskii <eliz@gnu.org>
620 * mail/sendmail.el (mail-yank-region):
621 Recognize rmail-yank-current-message in addition to insert-buffer.
622 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
623 a *mail* buffer created through rmail-start-mail with sendmail as
626 2012-05-27 Chong Yidong <cyd@gnu.org>
628 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
629 Default to 256 (Bug#11267).
631 * help.el (describe-mode): Doc fix.
633 2012-05-26 Glenn Morris <rgm@gnu.org>
635 * w32-fns.el (w32-init-info): Remove.
636 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
638 * info.el (info-initialize): For self-contained NS builds, put the
639 included info/ directory at the front. (Bug#2791)
641 * paths.el (Info-default-directory-list): Make it a defcustom,
642 mainly so that we can use custom-initialize-delay.
644 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
646 * subr.el (buffer-has-markers-at): Mark obsolete.
648 * subr.el (lambda): Use declare.
650 * emacs-lisp/lisp-mode.el (lambda):
651 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
653 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
655 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
657 2012-05-26 Glenn Morris <rgm@gnu.org>
659 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
661 2012-05-25 Glenn Morris <rgm@gnu.org>
663 * paths.el: Remove no-byte-compile.
664 * loadup.el: No need to load paths.el uncompiled.
666 * image.el (imagemagick-types-inhibit): Doc fix.
668 * version.el: Remove no-byte-compile and associated formatting.
669 * loadup.el: No need to load version.el uncompiled. AFAICS, this
670 is ancient code from when there was an "inc-vers.el".
672 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
674 * progmodes/gdb-mi.el: Minor style changes.
675 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
676 Turn into minor modes.
677 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
678 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
679 (gdb-shell): Remove unneeded let-binding.
680 (gdb-get-many-fields): Eliminate O(n²) behavior.
682 2012-05-25 Eli Zaretskii <eliz@gnu.org>
684 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
685 platforms that don't link in fontset.c.
687 2012-05-25 Juri Linkov <juri@jurta.org>
689 Use the same diff color scheme as in modern VCSes (bug#10181).
691 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
692 to avoid confusion with `diff-added' that now uses green colors.
693 (diff-removed): Use shades of red.
694 (diff-added): Use shades of green.
695 (diff-changed): Leave just the yellow color.
696 (diff-use-changed-face): New variable.
697 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
698 how to highlight context diff changes.
699 (diff-refine-change): Use shades of yellow.
700 (diff-refine-removed): New face that uses shades of red.
701 (diff-refine-added): New face that uses shades of green.
702 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
703 `diff-refine-removed' in the call to `smerge-refine-subst'
704 depending on the value of `diff-use-changed-face'.
706 * vc/smerge-mode.el (smerge-mine): Use shades of red.
707 (smerge-other): Use shades of green.
708 (smerge-base): Use shades of yellow.
709 (smerge-refined-change): Empty face.
710 (smerge-refined-removed): New face that uses shades of red.
711 (smerge-refined-added): New face that uses shades of green.
712 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
713 args `props-r' and `props-a', and use them. Doc fix.
714 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
715 on its value use different faces `smerge-refined-change',
716 `smerge-refined-removed', `smerge-refined-added' in the call to
717 `smerge-refine-subst'.
719 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
720 Add face condition `min-colors 88' with shades of red.
721 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
722 `min-colors 88' with shades of green.
723 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
724 `min-colors 88' with shades of yellow.
726 2012-05-24 Glenn Morris <rgm@gnu.org>
728 * paths.el (prune-directory-list, remote-shell-program): Move to...
729 * files.el (prune-directory-list, remote-shell-program): ...here.
730 For the latter, delay initialization, prefer ssh, just search PATH.
732 * paths.el (term-file-prefix): Move to faces.el (the only user).
733 * faces.el (term-file-prefix): Move here, make it a defcustom.
735 * paths.el (news-directory, news-path, news-inews-program):
736 Move to gnus/nnspool.el.
738 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
740 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
741 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
742 Make the latter a defcustom, with a delayed initialization.
744 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
745 These were deleted from Gnus itself late 2010.
747 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
749 * progmodes/which-func.el (which-func-ff-hook):
750 Check against user-error, not error.
752 * emacs-lisp/edebug.el (top): Do not load or set up loading of
753 cl-specs.el, which no longer exists.
755 2012-05-22 Glenn Morris <rgm@gnu.org>
757 * info.el (info-emacs-bug): New command.
758 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
759 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
761 2012-05-21 Glenn Morris <rgm@gnu.org>
763 * makefile.w32-in (update-subdirs-SH):
764 * Makefile.in (update-subdirs): Update for moved update-subdirs.
766 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
768 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
771 Simplify Maven regexp, and make sure the file can't start with a space
774 2012-05-21 Glenn Morris <rgm@gnu.org>
776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
777 Scrap superfluous subshells.
779 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
782 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
784 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
786 * calc/calc.el (calc-ensure-consistent-units): New variable.
788 * calc/calc-units.el (math-consistent-units-p)
789 (math-check-unit-consistency): New functions.
790 (calc-quick-units, calc-convert-units):
791 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
793 (calc-extract-units): Fix typo.
795 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
797 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
799 * textmodes/flyspell.el: Commenting style, plus code simplifications.
800 (flyspell-default-deplacement-commands): Don't spell check after
801 repeated window/frame switches (e.g. triggered by mouse-movement).
802 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
803 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
804 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
805 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
807 (flyspell-get-casechars, flyspell-get-not-casechars):
808 Simplify; Don't bother removing a ] just to add it back.
809 * textmodes/ispell.el (ispell-program-name): Use executable-find.
811 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
813 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
815 (math-function-table): Add support for more C functions.
817 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
819 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
820 (flyspell-debug-signal-word-checked): Protect delay handling for
821 otherchars against empty otherchars.
823 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
825 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
826 their respective macro declarations.
827 * skeleton.el (define-skeleton):
828 * progmodes/compile.el (define-compilation-mode):
829 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
830 (define-ibuffer-filter):
831 * emacs-lisp/generic.el (define-generic-mode):
832 * emacs-lisp/easy-mmode.el (define-minor-mode)
833 (define-globalized-minor-mode):
834 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
835 * emacs-lisp/byte-run.el (defsubst):
836 * custom.el (deftheme): Add doc-string metadata.
838 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
840 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
842 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
844 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
846 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
847 * emacs-lisp/cl-macs.el: Idem.
848 * emacs-lisp/cl-specs.el: Remove.
850 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
852 Minor renaming of internal CL functions and variables.
853 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
854 (cl--position): Rename from cl-position.
855 (cl--delete-duplicates): Rename from cl-delete-duplicates.
856 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
857 (cl--random-state): Rename from *random-state*.
859 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
861 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
862 parens around the arg list (bug#11499).
864 2012-05-17 Juri Linkov <juri@jurta.org>
866 * isearch.el (word-search-regexp, word-search-backward)
867 (word-search-forward, word-search-backward-lax)
868 (word-search-forward-lax): Move functions from search.c
869 (bug#10145, bug#11381).
871 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
873 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
874 (flyspell-debug-signal-word-checked): Delay for otherchars as for
875 normal word components.
877 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
879 * minibuffer.el (completion--sifn-requote): Fix last change.
880 (minibuffer-local-must-match-filename-map):
881 Move define-obsolete-variable-alias before its var.
883 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
885 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
887 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
889 (completion--string-equal-p): New function.
890 (completion--twq-all): Use it to get better assertion failure data.
892 Only handle ".." and '..' quoting in shell-mode (bug#11466).
893 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
894 (shell--requote-argument): New functions.
895 (shell-completion-vars): Use them.
896 (shell--parse-pcomplete-arguments): Rename from
897 shell-parse-pcomplete-arguments.
898 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
899 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
900 Obey comint-file-name-quote-list.
902 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
903 (smie-indent-keyword): Use it.
905 2012-05-14 Stefan Merten <smerten@oekonux.de>
907 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
909 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
911 * net/rlogin.el (rlogin-mode-map): Fix last change.
913 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
915 * mail/smtpmail.el (smtpmail-send-command): Send the command and
916 the following \r\n using a single `process-send-string', since the
917 Lotus SMTP server refuses to accept any commands if they are sent
918 with two `process-send-string's (Bug#11444).
920 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
922 * shell.el (shell-parse-pcomplete-arguments):
923 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
925 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
927 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
928 (image-transform-scale, image-transform-right-angle-fudge): New vars.
929 (image-transform-width, image-transform-fit-width): New functions.
930 (image-transform-properties): Use them.
931 (image-transform-check-size): New function.
932 (image-toggle-display-image): Use it (for testing).
933 (image-transform-set-rotation): Reduce angle mod 360.
934 Delete obsolete comment.
936 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
938 * image-mode.el: Fix scaling (bug#11399).
939 (image-transform-resize): Doc fix.
940 (image-transform-properties): Default scale is 1 and height should
943 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
945 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
946 than hard-coding `car', to fix misbehavior when moving forward.
948 2012-05-13 Chong Yidong <cyd@gnu.org>
950 * emacs-lisp/tabulated-list.el (tabulated-list-format)
951 (tabulated-list-entries, tabulated-list-padding)
952 (tabulated-list-sort-key): Make permanent-local.
954 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
955 (electric-buffer-list): Put electric buffer menu
956 command descriptions in this docstring, instead of the docstring
957 of electric-buffer-menu-mode. Code cleanups.
958 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
959 Electric-buffer-menu-mode.
960 (electric-buffer-update-highlight): Minor code cleanup.
962 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
964 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
967 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
969 Move define-obsolete-variable-alias before the var's definition.
970 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
971 * tooltip.el (tooltip-hook):
972 * textmodes/reftex-toc.el (reftex-toc-map):
973 * textmodes/reftex-sel.el (reftex-select-label-map)
974 (reftex-select-bib-map):
975 * textmodes/reftex-index.el (reftex-index-map)
976 (reftex-index-phrases-map):
977 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
978 * progmodes/meta-mode.el (meta-mode-map):
979 * novice.el (disabled-command-hook):
980 * loadhist.el (unload-hook-features-list):
981 * frame.el (blink-cursor):
982 * files.el (find-file-not-found-hooks, write-file-hooks)
983 (write-contents-hooks):
984 * emulation/tpu-edt.el (GOLD-map):
985 * emacs-lock.el (emacs-lock-from-exiting):
986 * emacs-lisp/generic.el (generic-font-lock-defaults):
987 * emacs-lisp/chart.el (chart-map):
988 * dos-fns.el (register-name-alist):
989 * dired-x.el (dired-omit-files-p):
990 * desktop.el (desktop-enable):
991 * cus-edit.el (custom-mode-hook):
992 * buff-menu.el (buffer-menu-mode-hook):
993 * bookmark.el (bookmark-read-annotation-text-func)
994 (bookmark-exit-hooks):
995 * allout.el (allout-mode-deactivate-hook)
996 (allout-exposure-change-hook, allout-structure-added-hook)
997 (allout-structure-deleted-hook, allout-structure-shifted-hook):
998 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
999 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1000 comes before the corresponding variable's definition.
1002 2012-05-12 Chong Yidong <cyd@gnu.org>
1004 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1005 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1006 (Buffer-menu-mode-map): Bind it.
1007 (Buffer-menu--pretty-name): Add a mouse-face property.
1009 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1012 (prolog-upper-case-string, prolog-lower-case-string)
1013 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1014 (prolog-use-smie, prolog-smie-grammar): New vars.
1015 (prolog-smie-forward-token, prolog-smie-backward-token)
1016 (prolog-smie-rules): New funs.
1017 (prolog-comment-indent): Remove.
1018 (prolog-mode-variables): Use default comment indentation instead.
1020 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1021 (prolog-mode): Don't call them any more.
1022 (prolog-electric-colon, prolog-electric-dash)
1023 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1025 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1027 * minibuffer.el (completion--twq-all): Again, allow case differences.
1029 * term.el: Move keymap initialization code to be more idiomatic.
1030 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1031 (term-terminal-menu): Move initialization into declaration.
1032 (term-escape-char): Let the user set it in her .emacs.
1034 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1035 Provide SMIE-based indentation (not enabled by default yet).
1036 (sh-mode-map): Don't bind electric keys.
1037 Use electric-pair-mode instead of skeleton-pair.
1038 (sh-assignment-regexp): Fit within 80 columns.
1039 (sh-indent-supported): Specify actual shell name instead of boolean.
1040 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1041 (sh-maybe-here-document): Use it. Make obsolete.
1042 (sh-electric-here-document-mode) New minor mode.
1043 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1044 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1045 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1046 (sh-smie-rc-grammar, sh-use-smie): New vars.
1047 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1048 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1049 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1050 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1051 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1052 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1053 (sh-set-shell): Use smie-setup if requested.
1055 * term.el (term-set-escape-char): Properly set term-escape-char.
1056 See http://stackoverflow.com/questions/10524656.
1058 2012-05-10 Chong Yidong <cyd@gnu.org>
1060 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1061 Use url-generic-parse-url, and handle host names and Windows
1063 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1064 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1065 URL schemes to work on.
1066 (ffap--toggle-read-only): New function.
1067 (ffap-read-only, ffap-read-only-other-window)
1068 (ffap-read-only-other-frame): Use it.
1069 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1070 necessary for ffap-url-unwrap-remote.
1072 2012-05-10 Dave Abrahams <dave@boostpro.com>
1074 * cus-start.el (create-lockfiles): Add it.
1076 2012-05-09 Chong Yidong <cyd@gnu.org>
1078 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1079 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1081 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1085 2012-05-09 Chong Yidong <cyd@gnu.org>
1087 * ansi-color.el (ansi-color-process-output): Check for validity of
1088 comint-last-output-start before using it. This avoids a bad
1089 interaction with gdb-mi's input/output buffer.
1091 2012-05-09 Glenn Morris <rgm@gnu.org>
1093 * files.el (dir-locals-read-from-file):
1094 Mention dir-locals in any error message.
1096 2012-05-09 Chong Yidong <cyd@gnu.org>
1098 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1099 package (Bug#11410).
1101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1102 variables into description.
1104 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1107 shell-delimiter-argument-list (bug#11348).
1108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1110 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1112 * textmodes/rst.el: Silence byte-compiler warnings.
1113 (rst-re-alist, rst-reset-section-caches): Move around.
1114 (rst-re): Use `characterp', not `char-valid-p'.
1115 (font-lock-beg, font-lock-end): Declare.
1117 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1118 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1120 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1122 2012-05-08 Glenn Morris <rgm@gnu.org>
1124 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1126 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * vc/log-edit.el: Add GNU coding standards highlighting.
1129 (log-edit-font-lock-gnu-style)
1130 (log-edit-font-lock-gnu-keywords): New vars.
1131 (log-edit-font-lock-keywords): New fun.
1132 (log-edit-mode): Don't fold case in font-lock.
1133 (log-edit-font-lock-keywords): Do not assume case-folding.
1135 * imenu.el: Misc cleanup. Make docstrings out of comments.
1136 Use lexical-binding.
1137 (imenu--index-alist, imenu--last-menubar-index-alist)
1138 (imenu-menubar-modified-tick): Use defvar-local.
1139 (imenu--split-menu): Remove unused var.
1140 (imenu--cleanup-seen): Declare as global.
1141 (imenu--cleanup): Use dolist.
1143 * subr.el (defvar-local): Add debug spec and doc-string position.
1145 2012-05-08 Glenn Morris <rgm@gnu.org>
1147 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1148 * language/english.el, language/georgian.el, language/greek.el:
1149 * language/japanese.el, language/khmer.el, language/korean.el:
1150 * language/lao.el, language/misc-lang.el, language/romanian.el:
1151 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1152 * language/thai.el, language/utf-8-lang.el:
1153 Remove no-byte-compile setting.
1155 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1157 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1159 * progmodes/make-mode.el (makefile-browse):
1160 Remove unnecessary interactive. (Bug#11324)
1162 2012-05-07 Glenn Morris <rgm@gnu.org>
1164 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1166 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1168 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * loadup.el: Preload newcomment.el.
1171 * newcomment.el: Move autoload-only code to toplevel.
1173 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1174 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1175 Handle new :right-align column property.
1176 (tabulated-list-print-col): Idem, plus use `display' text-property to
1177 try and preserve alignment for variable pitch fonts.
1179 2012-05-07 Chong Yidong <cyd@gnu.org>
1181 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1182 (tabulated-list-use-header-line): New var.
1183 (tabulated-list-init-header): Use it.
1184 (tabulated-list-print-fake-header): New function.
1185 (tabulated-list-print): Use it.
1186 (tabulated-list-sort-button-map): Add non-header-line commands.
1187 (tabulated-list-init-header): Add column name property to basic
1189 (tabulated-list-col-sort): Handle non-header-line button case.
1190 (tabulated-list--sort-by-column-name): Fix a corner case.
1192 * buff-menu.el (list-buffers--refresh):
1193 Handle Buffer-menu-use-header-line.
1195 2012-05-06 Chong Yidong <cyd@gnu.org>
1197 * buff-menu.el: Convert to Tabulated List mode.
1198 (Buffer-menu-buffer+size-width): Make obsolete.
1199 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1200 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1201 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1202 documentation into docstring of buffer-menu.
1203 (Buffer-menu-toggle-files-only): Add an informative message.
1204 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1205 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1206 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1207 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1208 (Buffer-menu-execute, Buffer-menu-select)
1209 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1210 (Buffer-menu-bury): Use Tabulated List machinery.
1211 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1212 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1214 (list-buffers--refresh): New function.
1215 (list-buffers-noselect): Use it.
1216 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1217 (Buffer-menu--pretty-file-name): New helper functions.
1219 * loadup.el: Preload tabulated-list.
1221 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1222 tabulated-list-sort-column.
1223 (tabulated-list-init-header): Add the initial aligning space even
1224 if tabulated-list-padding is zero.
1226 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1228 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1229 whose cdr is not a cons cell correctly (bug#11038).
1231 2012-05-06 Chong Yidong <cyd@gnu.org>
1233 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1234 Accept additional plist in column descriptors.
1235 (tabulated-list-init-header): Obey it.
1236 (tabulated-list-get-entry): New function.
1237 (tabulated-list-put-tag): Use it. Use string-width instead of
1239 (tabulated-list--column-number): New function.
1240 (tabulated-list-print): Use it.
1241 (tabulated-list-print-col): New function.
1242 Set `tabulated-list-column-name' property on each column's text.
1243 (tabulated-list-print-entry): Use it.
1244 (tabulated-list-delete-entry, tabulated-list-set-col):
1246 (tabulated-list-sort-column): New command (Bug#11337).
1248 * buff-menu.el (list-buffers): Move C-x C-b binding from
1249 buff-menu.el to bindings.el.
1251 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1252 :advertised-binding feature.
1254 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1256 * progmodes/compile.el (compilation-internal-error-properties):
1257 Calculate start position correctly when end-col is set but
1258 end-line is not (Bug#11382).
1260 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1262 * man.el (Man-unindent): Use text-property-default-nonsticky to
1263 prevent untabify from inheriting face properties (Bug#11408).
1265 2012-05-05 Stefan Merten <smerten@oekonux.de>
1267 * textmodes/rst.el: Major merge with upstream development up to
1268 Docutils SVN r7399 / rst.el V1.2.1.
1270 Clarify maintainership and authors.
1272 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1273 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1274 (rst-official-version, rst-official-cvs-rev, rst-version)
1275 (rst-package-emacs-version-alist): New functions and variables
1276 for version information.
1278 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1279 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1280 (rst-mode-syntax-table, rst-mode): New and corrected functions
1281 and variables representing reStructuredText features.
1283 (rst-re): New function for reStructuredText regexes. Use in
1286 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1287 (rst-mode-map): Rebind keys.
1289 (rst-mode-lazy, rst-font-lock-keywords)
1290 (rst-font-lock-extend-region)
1291 (rst-font-lock-extend-region-internal)
1292 (rst-font-lock-extend-region-extend)
1293 (rst-font-lock-find-unindented-line-limit)
1294 (rst-font-lock-find-unindented-line-match)
1295 (rst-adornment-level, rst-font-lock-adornment-level)
1296 (rst-font-lock-adornment-match)
1297 (rst-font-lock-handle-adornment-pre-match-form)
1298 (rst-font-lock-handle-adornment-matcher): Major revision of
1299 font-locking. Integrate with other code. Use `jit-lock-mode'.
1301 (rst-preferred-adornments, rst-adjust-hook)
1302 (rst-new-adornment-down, rst-preferred-bullets)
1303 (rst-preferred-bullets, rst-indent, rst-indent-width)
1304 (rst-indent-field, rst-indent-literal-normal)
1305 (rst-indent-literal-minimized, rst-indent-comment): Change,
1306 extend and improve customization.
1308 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1309 (rst-normalize-cursor-position, rst-get-decoration)
1310 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1311 (rst-rstrip, rst-toc-insert-find-delete-contents)
1312 (rst-shift-fill-region, rst-compute-bullet-tabs)
1313 (rst-debug-print-tabs, rst-debug-mark-found)
1314 (rst-shift-region-guts, rst-shift-region-right)
1315 (rst-shift-region-left, rst-use-char-classes)
1316 (rst-font-lock-keywords-function)
1317 (rst-font-lock-indentation-point)
1318 (rst-font-lock-find-unindented-line-begin)
1319 (rst-font-lock-find-unindented-line-end)
1320 (rst-font-lock-find-unindented-line)
1321 (rst-font-lock-adornment-point, rst-font-lock-level)
1322 (rst-adornment-level-alist): Remove functions and variables.
1324 (rst-compare-adornments, rst-get-adornment-match)
1325 (rst-suggest-new-adornment, rst-get-adornments-around)
1326 (rst-adornment-complete-p, rst-get-next-adornment)
1327 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1328 (rst-straighten-adornments): Standardize function names to
1329 use "adornment" instead of "decoration". Correct callers.
1330 Similar standardizing in many places.
1332 (rst-update-section, rst-adjust, rst-promote-region)
1333 (rst-enumerate-region, rst-bullet-list-region)
1334 (rst-repeat-last-character): Correct use of `interactive'.
1336 (rst-classify-adornment, rst-find-all-adornments)
1337 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1338 (rst-find-leftmost-column, rst-repeat-last-character):
1341 (rst-find-title-line, rst-reset-section-caches)
1342 (rst-get-adornments-around, rst-adjust-adornment-work)
1343 (rst-arabic-to-roman, rst-roman-to-arabic)
1344 (rst-insert-list-pos, rst-insert-list-new-item)
1345 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1348 (rst-all-sections, rst-section-hierarchy)
1349 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1352 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1353 configuration instead of only buffer. Change where necessary.
1355 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1356 (rst-shift-region, rst-adaptive-fill): New functions for
1357 indentation and filling.
1359 (rst-comment-line-break, rst-comment-indent)
1360 (rst-comment-insert-comment, rst-comment-region)
1361 (rst-uncomment-region): New functions for handling comments.
1363 (rst-compile): Quote shell arguments.
1365 (rst-compile-pdf-preview, rst-compile-slides-preview):
1366 Delete temporary files after use.
1368 2012-05-05 Glenn Morris <rgm@gnu.org>
1370 * calendar/cal-html.el: Optionally include holidays in the output.
1371 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1372 (cal-html-holidays): New option.
1373 (cal-html-css-default): Add holiday entry.
1374 (holiday-in-range): Autoload it.
1375 (cal-html-htmlify-entry): Add optional class argument.
1376 (cal-html-htmlify-list): Add optional holidays argument.
1377 (cal-html-insert-agenda-days): Include holidays in the output.
1378 (cal-html-one-month): Maybe include holidays.
1380 * calendar/holidays.el (holiday-in-range):
1381 Move here from cal-tex-list-holidays.
1382 * calendar/cal-tex.el (cal-tex-list-holidays):
1383 Make it an obsolete alias for holiday-in-range. Update all callers.
1385 2012-05-05 Chong Yidong <cyd@gnu.org>
1387 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1390 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1392 * files.el (file-auto-mode-skip): New var.
1393 (set-auto-mode-1): Use it.
1395 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * repeat.el: Use lexical-binding.
1398 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1399 (repeat-undo-count): Remove.
1401 * progmodes/octave-mod.el (octave-abbrev-start):
1402 * progmodes/f90.el (f90-abbrev-start):
1403 * face-remap.el (text-scale-adjust):
1404 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1406 * emacs-lisp/pcase.el (pcase--let*): New function.
1407 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1409 (pcase--split-pred): Be more clever about ruling out overlap between
1410 a predicate and some constant pattern.
1411 (pcase--q1): Use `null' instead of (eq foo nil).
1413 * subr.el (setq-local, defvar-local): New macros.
1414 (kbd): Redefine as an alias.
1415 (with-selected-window): Leave unrelated frames alone.
1416 (set-temporary-overlay-map): New function.
1418 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * subr.el (user-error): New function.
1421 * window.el (switch-to-buffer):
1422 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1423 (smerge-match-conflict):
1424 * simple.el (previous-matching-history-element)
1425 (next-matching-history-element, goto-history-element, undo-more)
1427 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1428 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1429 (next-file, tags-loop-scan, list-tags, complete-tag):
1430 * progmodes/compile.el (compilation-loop):
1431 * mouse.el (mouse-minibuffer-check):
1432 * man.el (Man-bgproc-sentinel, Man-goto-page):
1433 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1434 (Info-history-forward, Info-follow-reference, Info-menu)
1435 (Info-extract-menu-item, Info-extract-menu-counting)
1436 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1437 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1438 (Info-next-reference, Info-prev-reference, Info-index)
1439 (Info-index-next, Info-follow-nearest-node)
1440 (Info-copy-current-node-name):
1441 * imenu.el (imenu--make-index-alist)
1442 (imenu-default-create-index-function, imenu-add-to-menubar):
1443 * files.el (basic-save-buffer, recover-file):
1444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1445 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1446 (checkdoc-message-text, checkdoc-defun):
1447 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1448 * cus-edit.el (customize-changed-options, customize-rogue)
1449 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1450 (custom-variable-mark-to-reset-standard)
1451 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1453 * completion.el (check-completion-length):
1454 * comint.el (comint-search-arg)
1455 (comint-previous-matching-input-string-position)
1456 (comint-previous-matching-input)
1457 (comint-replace-by-expanded-history-before-point, comint-send-input)
1458 (comint-copy-old-input, comint-backward-matching-input)
1459 (comint-goto-process-mark, comint-set-process-mark):
1460 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1461 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1463 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * dabbrev.el (dabbrev--ignore-case-p): New function.
1466 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1469 * files.el (automount-dir-prefix): Mark as obsolete.
1471 2012-05-04 Glenn Morris <rgm@gnu.org>
1473 * patcomp.el, play/bruce.el: Move to obsolete/.
1475 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1477 Fix minor Y10k bugs.
1478 * arc-mode.el (archive-unixdate):
1479 * autoinsert.el (auto-insert-alist):
1480 * calc/calc-forms.el (math-this-year):
1481 * emacs-lisp/copyright.el (copyright-current-year)
1482 (copyright-update-year, copyright):
1483 * tar-mode.el (tar-clip-time-string):
1484 * time.el (display-time-update):
1485 Don't assume years have 4 digits.
1487 2012-05-04 Chong Yidong <cyd@gnu.org>
1489 * dos-w32.el (file-name-buffer-file-type-alist)
1490 (direct-print-region-use-command-dot-com):
1491 * ffap.el (ffap-menu-regexp):
1492 * find-file.el (ff-special-constructs):
1493 * follow.el (follow-debug):
1494 * forms.el (forms--debug):
1495 * iswitchb.el (iswitchb-all-frames):
1496 * ido.el (ido-all-frames):
1497 * emacs-lisp/timer.el (timer-max-repeats):
1498 * mail/feedmail.el (feedmail-mail-send-hook)
1499 (feedmail-mail-send-hook-queued):
1500 * mail/footnote.el (footnote-signature-separator):
1501 * mail/mailabbrev.el (mail-alias-separator-string)
1502 (mail-abbrev-mode-regexp):
1503 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1504 * progmodes/idlwave.el (idlwave-libinfo-file)
1505 (idlwave-default-completion-case-is-down)
1506 (idlwave-library-routines): Convert defvars to defcustoms.
1508 * mail/rmail.el (rmail-decode-mime-charset):
1509 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1510 (idlwave-shell-fix-inserted-breaks)
1511 (idlwave-shell-activate-alt-keybindings)
1512 (idlwave-shell-use-breakpoint-glyph):
1513 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1515 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1519 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1521 * progmodes/verilog-mode.el (font-lock-keywords):
1522 Fix mis-highligting auto. Reported by Craig Barner.
1523 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1524 defines from global name space. Reported by Dan Dever.
1525 (verilog-auto-reset, verilog-auto-reset-widths)
1526 (verilog-auto-tieoff): Support using unbased numbers for
1527 AUTORESET and AUTOTIEOFF.
1528 (verilog-submit-bug-report): Update variable list.
1529 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1530 parenthesis from not matching. Reported by Michael Rytting.
1531 (verilog-auto-template-lint): Fix hash error when linting modules
1532 with no used templates.
1533 (verilog-warn, verilog-warn-error)
1534 (verilog-warn-fatal): When non-interactive report multiple
1535 warnings before exiting. Suggested by Brad Dobbie.
1536 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1537 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1538 to report unused template errors. Reported by Brad Dobbie.
1539 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1540 nets, bug438. Reported by Vns Blore.
1541 (verilog-auto-inout-module, verilog-auto-reg)
1542 (verilog-read-decls, verilog-read-sub-decls-sig)
1543 (verilog-signals-edit-wire-reg, verilog-signals-with):
1544 Fix passing of Verilog data types in ANSI input/output ports
1545 such as "output logic" into the AUTOs. Special case "wire" and
1546 "reg" for backwards compatibility presuming Verilog 2001.
1547 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1548 (verilog-preprocess): Fix replication of preprocess output.
1549 Reported by Brad Dobbie.
1550 (verilog-auto-inst-interfaced-ports):
1551 Create verilog-auto-inst-interfaced-ports, bug429.
1552 Reported by Julian Gorfajn.
1553 (verilog-after-save-font-hook)
1554 (verilog-before-save-font-hook): New variable.
1555 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1556 (verilog-save-font-mods): Wrap disabling fontification, reported
1558 (verilog-do-indent, verilog-pretty-declarations-auto)
1559 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1560 Reported by Pierre-David Pfister.
1561 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1562 of class declarations, bug292. Reported by Kevin Heilman.
1563 (verilog-read-decls): Fix 'parameter type' not appearing in
1564 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1565 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1566 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1567 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1568 Reported by David Kravitz.
1570 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1572 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1573 assignment with tests in ifs and for loops.
1574 (verilog-extended-complete-re, verilog-complete-reg): Change so
1575 that DPI inport functions don't look like fuction declarations.
1576 (verilog-pretty-expr): Don't line up assignment
1577 operations to the test and increment in if and for loops
1578 (verilog-extended-complete-re, verilog-complete-reg): Change so
1579 that DPI inport functions don't look like fuction declarations
1581 2012-05-03 Kenichi Handa <handa@m17n.org>
1583 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1584 decoding, and show a warning message without signaling an error
1587 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * emacs-lisp/bytecomp.el
1590 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1591 since cconv.el might have introduced :fun-body, internal-make-closure,
1592 and friends for bytecomp to handle (bug#11391).
1593 * custom.el (defcustom): Avoid ((λ ..) ..).
1595 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1599 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1601 * notifications.el (dbus-debug):
1602 * term/linux.el (gpm-mouse-enable):
1603 * term/screen.el (xterm-register-default-colors): Declare.
1605 2012-05-02 Chong Yidong <cyd@gnu.org>
1607 * cus-start.el (gc-cons-percentage, exec-suffixes)
1608 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1609 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1610 (make-cursor-line-fully-visible, void-text-area-pointer)
1611 (font-list-limit): Add customization data.
1613 * allout.el (allout-exposure-change-functions)
1614 (allout-structure-added-functions)
1615 (allout-structure-deleted-functions)
1616 (allout-structure-shifted-functions): Rename abnormal hooks from
1617 *-hook, and convert to defcustoms.
1618 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1619 Convert to defcustoms.
1620 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1622 * allout-widgets.el: Hook callers changed.
1624 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1626 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1627 the yanked message in preference to the default value of
1628 buffer-file-coding-system.
1630 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1632 * window.el (display-buffer--action-function-custom-type):
1635 2012-05-02 Alan Mackenzie <acm@muc.de>
1637 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1639 2012-05-01 Glenn Morris <rgm@gnu.org>
1641 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1643 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1645 * cus-edit.el (custom-variable-documentation): Simplify with format.
1647 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1648 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * simple.el (suggest-key-bindings, execute-extended-command):
1651 Move from keyboard.c.
1653 2012-05-01 Chong Yidong <cyd@gnu.org>
1655 * follow.el: Eliminate advice.
1656 (set-process-filter, process-filter, sit-for): Advice deleted.
1657 (follow-mode-off-hook): Obsolete hook removed.
1658 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1660 (follow-auto): Use a :set function.
1661 (follow-mode): Rewritten. Don't advise process filters.
1662 (follow-switch-to-current-buffer-all, follow-scroll-up)
1663 (follow-scroll-down): Assume follow-mode is bound.
1664 (follow-comint-scroll-to-bottom)
1665 (follow-align-compilation-windows): New functions.
1666 (follow--window-sorter): New function.
1667 (follow-all-followers): Use it to explicitly sort windows by their
1668 positions; don't make assumptions about next-window order.
1669 (follow-windows-start-end, follow-delete-other-windows-and-split)
1670 (follow-calc-win-start): Doc fix.
1671 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1672 vertical-motion unnecessarily.
1673 (follow-adjust-window): New function.
1674 (follow-post-command-hook): Use it.
1675 (follow-call-set-process-filter, follow-call-process-filter)
1676 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1677 (follow-stop-intercept-process-output, follow-generic-filter):
1679 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1680 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1681 New functions, replacing advice on scroll-bar-* commands.
1682 (follow-mwheel-scroll): New function (Bug#4112).
1684 * comint.el (comint-adjust-point): New function.
1685 (comint-postoutput-scroll-to-bottom): Use it.
1686 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1688 2012-05-01 Glenn Morris <rgm@gnu.org>
1690 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1691 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1692 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1693 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1694 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1695 Remove no-byte-compile setting.
1697 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1699 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1700 all-completions code to not return a number in the last cdr.
1702 2012-04-30 Leo Liu <sdl.web@gmail.com>
1704 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1707 2012-04-29 Chong Yidong <cyd@gnu.org>
1709 * follow.el (follow-calc-win-end): Rewrite to handle partial
1710 screen lines correctly (Bug#8390).
1711 (follow-avoid-tail-recenter): Minor cleanup.
1713 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1715 Avoid the obsolete `assoc' package.
1716 * speedbar.el (speedbar-refresh): Avoid adelete.
1717 (speedbar-file-lists): Simplify and avoid aput.
1718 * man.el (Man--sections, Man--refpages): New vars, replacing
1719 Man-sections-alist and Man-refpages-alist.
1720 (Man-build-section-alist, Man-build-references-alist):
1721 Use them; avoid aput.
1722 (Man--last-section, Man--last-refpage): New vars.
1723 (Man-follow-manual-reference): Use them.
1724 Use the `default' arg of completing-read.
1725 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1727 2012-04-27 Chong Yidong <cyd@gnu.org>
1729 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1731 * startup.el (x-apply-session-resources): New function.
1733 * term/ns-win.el (ns-initialize-window-system):
1734 * term/w32-win.el (w32-initialize-window-system):
1735 * term/x-win.el (x-initialize-window-system): Use it to properly
1736 set menu-bar-mode and other vars from X resources, even if the
1737 initial frame is not a window-system frame (Bug#2299).
1739 * subr.el (read-key): Avoid running filter function when setting
1740 up temporary tool bar entries (Bug#9922).
1742 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1744 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1747 2012-04-27 Chong Yidong <cyd@gnu.org>
1749 * select.el (xselect--encode-string): New function, split from
1750 xselect-convert-to-string.
1751 (xselect-convert-to-string): Use it.
1752 (xselect-convert-to-filename, xselect-convert-to-os)
1753 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1754 returned strings are properly encoded (Bug#11315).
1756 2012-04-27 Chong Yidong <cyd@gnu.org>
1758 * simple.el (delete-active-region): Move to killing custom group.
1760 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1762 * progmodes/which-func.el (which-func-current): Quote %
1763 characters for mode-line processing.
1765 2012-04-27 Chong Yidong <cyd@gnu.org>
1767 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1768 reaching eob (Bug#11286).
1770 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1772 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1773 (gdb): Make it buffer-local and init to zero.
1774 (gdb-control-commands-regexp): New variable.
1775 (gdb-send): Don't wrap in "-interpreter-exec console" if
1776 gdb-control-level is positive. Increment gdb-control-level
1777 whenever the command matches gdb-control-commands-regexp, and
1778 decrement it each time the command is "end". (Bug#11279)
1780 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1782 * window.el (adjust-window-trailing-edge, enlarge-window)
1783 (shrink-window, window-resize):
1784 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1785 windows (Bug#11276).
1787 2012-04-27 Chong Yidong <cyd@gnu.org>
1789 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1790 fix "missing prefix" warning. All callers changed.
1792 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * emacs-lisp/assoc.el: Move to obsolete/.
1796 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1800 * term/ns-win.el (ns-define-service):
1801 * progmodes/pascal.el (pascal-goto-defun):
1802 * progmodes/js.el (js--read-tab):
1803 * progmodes/etags.el (tags-lazy-completion-table):
1804 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1805 * emacs-lisp/ewoc.el (ewoc--wrap):
1806 * emacs-lisp/assoc.el (aput, adelete, amake):
1807 * doc-view.el (doc-view-convert-current-doc):
1808 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1810 2012-04-26 Chong Yidong <cyd@gnu.org>
1812 * image.el (image-type-from-buffer): Only return supported image
1815 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1816 value, for symmetry with diff-end-of-hunk.
1817 (diff-split-hunk, diff-find-source-location)
1818 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1819 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1820 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1821 compute the relevant hunk or file properly (Bug#6005).
1822 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1824 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * vc/vc.el: Replace lexical-let by lexical-binding.
1834 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1835 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1836 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1838 2012-04-26 Chong Yidong <cyd@gnu.org>
1840 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1841 (diff-mode-shared-map): Bind it to / and [remap undo].
1843 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1844 (ediff-window-setup-function): Use it as the default, to set up
1845 windows based on whether the current frame is graphical (Bug#2138).
1846 (ediff-choose-window-setup-function-automatically): Make obsolete.
1848 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1850 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * ffap.el: Remove old code for obsolete package.
1853 (ffap-complete-as-file-p): Remove.
1855 Use completion-table-with-quoting for comint and pcomplete.
1856 * comint.el (comint--unquote&requote-argument)
1857 (comint--unquote-argument, comint--requote-argument): New functions.
1858 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1859 (comint-quote-filename): Use regexp-opt-charset.
1860 (comint--common-suffix, comint--common-quoted-suffix)
1861 (comint--table-subvert): Remove.
1862 (comint-unquote-function, comint-requote-function): New vars.
1863 (comint--complete-file-name-data): Use them with
1864 completion-table-with-quoting.
1865 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1866 * pcomplete.el (pcomplete-arg-quote-list)
1867 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1868 (pcomplete-unquote-argument-function): Default to non-nil.
1869 (pcomplete-unquote-argument): Simplify.
1870 (pcomplete--common-quoted-suffix): Remove.
1871 (pcomplete-requote-argument-function): New var.
1872 (pcomplete--common-suffix): New function.
1873 (pcomplete-completions-at-point): Use completion-table-with-quoting
1874 and completion-table-subvert.
1876 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1877 (minibuffer--double-dollars): Preserve properties.
1878 (completion--sifn-requote): New function.
1879 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1881 * minibuffer.el: Add support for completion of quoted/escaped data.
1882 (completion-table-with-quoting, completion-table-subvert): New funs.
1883 (completion--twq-try, completion--twq-all): New functions.
1884 (completion--nth-completion): New function.
1885 (completion-try-completion, completion-all-completions): Use it.
1887 2012-04-25 Leo Liu <sdl.web@gmail.com>
1889 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1890 Use compilation-message if available to find real filename.
1892 2012-04-25 Chong Yidong <cyd@gnu.org>
1894 * vc/diff-mode.el (diff-setup-whitespace): New function.
1895 (diff-mode): Use it.
1897 * vc/diff.el (diff-sentinel):
1898 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1899 Whitespace mode variables based on diff style (Bug#8612).
1901 2012-04-25 Leo Liu <sdl.web@gmail.com>
1903 * progmodes/python.el (python-send-region): Add suffix .py to the
1906 * files.el (auto-mode-alist): Use javascript-mode instead.
1908 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1910 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1912 * soap-client.el (soap-resolve-references-for-sequence-type)
1913 (soap-resolve-references-for-array-type): Hack to prevent self
1914 references, see Bug#9.
1915 (soap-parse-envelope): Report the contents of the 'detail' node
1916 when receiving a fault reply.
1917 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1919 * soap-inspect.el (soap-sample-value-for-simple-type)
1920 (soap-inspect-simple-type): New function.
1922 * soap-client.el (soap-simple-type): New struct.
1923 (soap-default-xsd-types, soap-default-soapenc-types)
1924 (soap-decode-basic-type, soap-encode-basic-type):
1925 support unsignedInt and double basic types.
1926 (soap-resolve-references-for-simple-type)
1927 (soap-parse-simple-type, soap-encode-simple-type): New function.
1928 (soap-parse-schema): Parse xsd:simpleType declarations.
1930 * soap-client.el (soap-default-xsd-types)
1931 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1932 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1933 the local name of "soapenc:Array".
1934 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1935 decoding integer, byte and anyURI xsd types.
1937 2012-04-25 Chong Yidong <cyd@gnu.org>
1939 * cus-edit.el (custom-buffer-create-internal): Update header text.
1941 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1943 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1944 settings on 'system-type', not on 'window-system'. On MS-Windows,
1945 set interactive-mode on in GDB.
1947 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1950 (ruby-syntax-propertize-regexp): Remove.
1951 (ruby-syntax-propertize-function): Split regexp into chunks.
1952 Match following code directly.
1954 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1956 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1957 (ruby-syntax-propertize-regexp): New function.
1958 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1959 by a special keyword.
1961 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1962 (ruby-syntax-general-delimiters-goto-beg)
1963 (ruby-syntax-propertize-general-delimiters): New functions.
1964 (ruby-syntax-propertize-function): Use them to handle GDL.
1965 (ruby-font-lock-keywords): Move old handling of GDL...
1966 (ruby-font-lock-syntactic-keywords): .. to here.
1967 (ruby-calculate-indent): Adjust indentation for GDL.
1969 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1971 * notifications.el (top): Remove unneeded declarations.
1972 (notifications-specification-version): Change to "1.2".
1973 (notifications-interface, notifications-notify-method)
1974 (notifications-close-notification-method): Fix docstring.
1975 (notifications-get-capabilities-method): New defconst.
1976 (notifications-notify): Add :action-items, :resident and
1977 :transient hints. Change "image_data" to "image-data" and
1978 "image_path" to "image-path".
1979 (notifications-get-capabilities): New defun.
1981 2012-04-24 Leo Liu <sdl.web@gmail.com>
1983 * progmodes/python.el: Move hideshow setup to the end.
1985 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1987 * window.el (handle-select-window): Clear echo area since this is
1988 no more done by read_char (Bug#11304).
1990 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1992 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1993 and `/ M' to filter-derived-mode.
1994 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1995 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1996 (ibuffer-mark-by-mode): Use default rather than initial-input.
1997 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1999 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2001 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2002 (ibuffer-filter-by-derived-mode): New filter.
2003 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2005 2012-04-23 Andreas Politz <politza@fh-trier.de>
2007 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2009 2012-04-23 Chong Yidong <cyd@gnu.org>
2011 * cus-edit.el (customize-apropos, customize-apropos-options):
2012 Disable matching of non-option variables (Bug#11176).
2013 (customize-option, customize-option-other-window)
2014 (customize-changed-options): Doc fix.
2015 (customize-apropos-options, customize-apropos-faces)
2016 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2018 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2019 Fix word list splitting (Bug#11132).
2020 (apropos-symbol, apropos-keybinding, apropos-label)
2021 (apropos-property, apropos-function-button)
2022 (apropos-variable-button, apropos-misc-button): New faces.
2023 (apropos-symbol-face, apropos-keybinding-face)
2024 (apropos-label-face, apropos-property-face, apropos-match-face):
2025 Variables removed (Bug#8396).
2026 (apropos-library-button, apropos-format-plist, apropos-print)
2027 (apropos-print-doc, apropos-describe-plist): Callers changed.
2029 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2031 * net/xesam.el (xesam-mode-map): Use let-bound map in
2032 initialization. (Bug#11292)
2034 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2036 Preserve ispell session localwords when switching back to
2039 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2040 variable to hold buffer session localwords.
2041 (ispell-kill-ispell): add option 'clear to delete session
2043 (ispell-command-loop, ispell-change-dictionary)
2044 (ispell-buffer-local-words): Preserve session localwords when
2047 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2048 Preserve session localwords when needed.
2050 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2052 * ispell.el (ispell-insert-word) Remove unneeded function using
2053 obsolete `translation-table-for-input'.
2054 (ispell-word, ispell-process-line, ispell-complete-word):
2055 Use plain `insert' instead of removed `ispell-insert-word'.
2057 2012-04-22 Chong Yidong <cyd@gnu.org>
2059 * cus-edit.el (custom-variable-menu)
2060 (custom-variable-reset-saved, custom-face-menu)
2061 (custom-face-reset-saved): If there is no saved value, make the
2062 "reset-saved" operation bring back the default (Bug#9509).
2063 (custom-face-state): Properly detect themed faces.
2065 * faces.el (face-spec-set): Stop supporting deprecated form of
2068 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2070 Move functions from C to Lisp. Make non-blocking method calls
2071 the default. Implement further D-Bus standard interfaces.
2073 * net/dbus.el (dbus-message-internal): Declare function.
2074 Remove unneeded function declarations.
2075 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2076 (dbus-message-type-method-return, dbus-message-type-error)
2077 (dbus-message-type-signal): Declare variables. Remove local
2079 (dbus-interface-dbus, dbus-interface-peer)
2080 (dbus-interface-introspectable, dbus-interface-properties)
2081 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2083 (dbus-interface-objectmanager): New defconst.
2084 (dbus-call-method, dbus-call-method-asynchronously)
2085 (dbus-send-signal, dbus-method-return-internal)
2086 (dbus-method-error-internal, dbus-register-service)
2087 (dbus-register-signal, dbus-register-method): New defuns, moved
2089 (dbus-call-method-handler, dbus-setenv)
2090 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2092 (dbus-call-method-non-blocking): Make it an obsolete function.
2093 (dbus-unregister-object, dbus-unregister-service)
2094 (dbus-handle-event, dbus-register-property)
2095 (dbus-property-handler): Obey the new structure of
2096 `bus-registered-objects'.
2097 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2098 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2099 Use `dbus-call-method'.
2101 2012-04-22 Chong Yidong <cyd@gnu.org>
2103 * cus-edit.el (custom-commands, custom-reset-menu)
2104 (Custom-reset-standard): Tweak labels.
2105 (custom-reset-button-menu): Change default to t.
2106 (custom-buffer-create-internal): For the custom-reset-button-menu
2107 case, put the revert button first.
2108 (custom-group-subtitle): New face.
2109 (custom-group-value-create): Align docstring to a specific column.
2111 * wid-edit.el (widget-documentation-link-add): Don't handle
2112 indentation in this function.
2113 (widget-documentation-string-indent-to): New function.
2114 (widget-documentation-string-value-create): Use it.
2116 * autorevert.el (auto-revert):
2117 * epg-config.el (epg):
2118 * ibuffer.el (ibuffer):
2121 * eshell/eshell.el (eshell):
2122 * net/ange-ftp.el (ange-ftp):
2123 * progmodes/ebnf2ps.el (postscript):
2124 * progmodes/flymake.el (flymake):
2125 * progmodes/prolog.el (prolog):
2126 * progmodes/verilog-mode.el (verilog-mode):
2127 * progmodes/which-func.el (which-func):
2128 * term/xterm.el (xterm):
2129 * textmodes/picture.el (picture):
2130 * textmodes/tildify.el (tildify):
2131 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2132 customization buffers.
2134 2012-04-22 Alan Mackenzie <acm@muc.de>
2136 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2137 Adding a ) can hide the resulting (..) from searches. Fix it.
2138 Bound the backward search to the position of the existing (.
2140 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2142 * progmodes/verilog-mode.el (verilog-mode): Check whether
2143 which-func-modes is t before adding verilog-mode.
2144 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2146 2012-04-21 Leo Liu <sdl.web@gmail.com>
2148 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2150 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2152 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2153 filling of the last column of a table (Bug#5635).
2154 (woman-find-next-control-line): New arg, specifying an additional
2155 regexp component for the control line.
2156 (woman2-roff-buffer): Use it.
2157 (woman-break-table): New function.
2158 (woman2-TS): Use it.
2160 2012-04-21 Chong Yidong <cyd@gnu.org>
2162 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2163 (woman-horizontal-escapes, woman-negative-vertical-space)
2164 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2165 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2167 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * minibuffer.el (completion-file-name-table): Complete user names.
2171 2012-04-20 Leo Liu <sdl.web@gmail.com>
2173 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2176 2012-04-20 Chong Yidong <cyd@gnu.org>
2178 * server.el (server-execute): Respect initial-buffer-choice if it
2179 is a string and there are no files to open (Bug#2825).
2180 (server-create-window-system-frame, server-create-tty-frame):
2181 Don't switch buffers here.
2182 (server-process-filter): Only try to open a window system frame if
2183 compiled with graphical support (Bug#8314).
2185 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2187 * battery.el (battery-echo-area-format): Display remaining time
2188 for sysfs backend too (Bug#11269).
2189 (battery-linux-sysfs): Fix conditional for the charge.
2191 2012-04-20 Chong Yidong <cyd@gnu.org>
2193 * progmodes/gdb-mi.el (gdb): Revert previous change.
2194 (gdb-inferior-io--init-proc): New function.
2195 (gdb-init-1): Use it.
2196 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2197 responsible for allocating a new pty and hooking it to gdb when
2198 the old pty gets an EIO due to process exit.
2199 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2200 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2201 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2203 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2205 * window.el (window-min-size, window-sizable, window-min-delta)
2206 (window-max-delta, window--resizable, window-resizable)
2207 (window-total-size, window-full-height-p, window-full-width-p)
2208 (window-in-direction, window--resize-mini-window, window-resize)
2209 (window--resize-child-windows-normal)
2210 (window--resize-child-windows, window--resize-siblings)
2211 (window--resize-this-window, adjust-window-trailing-edge)
2212 (enlarge-window, shrink-window): Doc fixes.
2214 2012-04-20 Chong Yidong <cyd@gnu.org>
2216 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2217 New function to call delete-process on the gdb-inferior buffer's pty.
2218 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2219 pty process (Bug#11273).
2220 (gdb-update): New arg to suppress talking to the gdb process.
2221 (gdb-done-or-error): Use it.
2222 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2223 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2224 sentinel not being called.
2226 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2228 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2230 2012-04-20 Glenn Morris <rgm@gnu.org>
2232 * net/network-stream.el (open-network-stream): Doc fix.
2234 2012-04-20 Chong Yidong <cyd@gnu.org>
2236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2238 2012-04-20 Alan Mackenzie <acm@muc.de>
2240 Ensure searching for keywords is case sensitive.
2242 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2243 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2244 (c-defun-name, c-mark-function, c-cpp-define-name)
2245 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2246 (c-context-line-break): Bind case-fold-search to nil.
2248 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2249 Bind case-fold-search to nil.
2251 2012-04-20 Chong Yidong <cyd@gnu.org>
2253 * mail/sendmail.el (mail-bury): Call return action with the right
2254 Rmail buffer (Bug#11242).
2256 * server.el (server-process-filter): Handle corner case where both
2257 tty and nowait options are present (Bug#11102).
2259 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2261 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2262 (top level): Put into the executable the ident-style '$Id:' tag on
2265 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * electric.el (electric-indent-post-self-insert-function): Check that
2268 electric-indent-mode is enabled in current buffer.
2270 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2272 * imenu.el (imenu-progress-message): Restore; it is "used" in
2273 erc/erc-imenu.el and net/snmp-mode.el.
2275 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2277 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2278 (mouse-avoidance-nudge-mouse): Remove unused binding.
2280 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2282 * descr-text.el (describe-char):
2283 * progmodes/python.el (python-describe-symbol):
2284 Don't call `toggle-read-only', set `buffer-read-only'.
2286 * imenu.el (imenu-default-goto-function): Mark unused args.
2287 (imenu-progress-message): Remove obsolete macro; all callers changed.
2289 * subr.el (keymap-canonicalize): Remove unused binding.
2290 (read-passwd): Mark unused arg.
2292 * tutorial.el (tutorial--display-changes): Remove unused binding.
2293 (tutorial--save-tutorial-to): Remove unused variable.
2295 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2296 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2297 (package-generate-autoloads, package-menu--generate)
2298 (package-menu--find-upgrades): Remove unused bindings.
2300 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2301 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2302 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2303 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2304 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2305 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2306 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2307 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2308 (cua-delete-char-rectangle): Mark unused args.
2309 (cua-align-rectangle): Remove unused binding.
2311 * mail/rmail.el (compilation--message->loc)
2312 (epa--find-coding-system-for-mime-charset): Declare.
2314 * net/dbus.el (dbus-register-service): Declare.
2315 (dbus-name-owner-changed-handler): Remove unused binding.
2317 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2318 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2319 (nxml-scan-backward-within): Mark unused arg.
2320 (nxml-dynamic-markup-word): Remove unused binding.
2322 * mouse.el (mouse-menu-major-mode-map):
2323 * emacs-lisp/authors.el (authors-scan-change-log)
2324 (authors-add-to-author-list):
2325 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2326 * emacs-lisp/smie.el (smie-auto-fill):
2327 * mail/sendmail.el (mail-bury):
2328 * mail/unrmail.el (unrmail):
2329 * net/tls.el (open-tls-stream):
2330 * textmodes/picture.el (picture-mouse-set-point):
2331 Remove unused bindings.
2333 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2335 * net/tramp.el (tramp-action-password): Let-bind
2336 `enable-recursive-minibuffers' to t.
2338 2012-04-18 Sam Steingold <sds@gnu.org>
2340 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2341 instead of 'string to accommodate values like [f11].
2342 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2343 * progmodes/gdb-mi.el: Likewise.
2345 2012-04-18 Leo Liu <sdl.web@gmail.com>
2347 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2349 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2352 2012-04-18 Chong Yidong <cyd@gnu.org>
2354 * simple.el (line-move): Use forward-line if in batch mode
2357 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2359 * files.el (after-find-file): Do not try to add a final newline if
2360 the buffer is read-only (Bug#11156).
2362 2012-04-17 Richard Stallman <rms@gnu.org>
2364 * mail/rmail.el (rmail-start-mail):
2365 Pass (rmail-mail-return...) for the return-action.
2366 Pass (rmail-yank-current-message...) for the yank-action.
2367 (rmail-yank-current-message): New function.
2368 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2369 (rmail-reply): Likewise.
2370 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2372 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2373 buffer, not the last. Reject temp buffers. Use the rmail-mode
2376 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2378 * server.el (server-ensure-safe-dir): Simplify.
2380 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * emacs-lisp/smie.el: Provide smarter auto-filling.
2383 (smie-auto-fill): New function.
2384 (smie-setup): Use it.
2386 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2388 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2390 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2391 (comment-indent): Use it.
2393 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2395 * ses.el: The overall change is to add cell renaming, that is
2396 setting fancy names for cell symbols other than name matching
2397 "\\`[A-Z]+[0-9]+\\'" regexp .
2398 (ses-localvars): Add ses--renamed-cell-symb-list.
2399 (ses-create-cell-variable): New defun.
2400 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2401 (ses-relocate-formula): Relocate formulas only for cells the
2402 symbols of which are not renamed, i.e. symbols whose names do not
2403 match regexp "\\`[A-Z]+[0-9]+\\'".
2404 (ses-relocate-all): Relocate values only for cells the symbols of
2405 which are not renamed.
2406 (ses-load): Create cells variables as the (ses-cell ...) are read,
2407 in order to check row col consistency with cell symbol name only
2408 for cells that are not renamed.
2409 (ses-replace-name-in-formula): New defun.
2410 (ses-rename-cell): New defun.
2412 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2414 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2415 New option (bug#11118).
2416 (perl-calculate-indent): Respect it.
2418 2012-04-17 Glenn Morris <rgm@gnu.org>
2420 * dired-aux.el (dired-mark-read-string): Doc fix.
2422 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2424 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2425 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2427 2012-04-17 Glenn Morris <rgm@gnu.org>
2429 * mouse.el (mouse-drag-track):
2430 * speedbar.el (speedbar-frame-mode):
2431 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2433 2012-04-16 Leo Liu <sdl.web@gmail.com>
2435 * progmodes/python.el: Trivial cleanup.
2437 2012-04-16 Glenn Morris <rgm@gnu.org>
2439 * vc/vc.el (vc-string-prefix-p):
2440 * vc/pcvs-util.el (cvs-string-prefix-p):
2441 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2442 * mpc.el (mpc-string-prefix-p):
2443 Make all of these into obsolete aliases for string-prefix-p.
2445 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2447 * textmodes/two-column.el: Move custom options to the start.
2448 (frame-width): Remove compat definition.
2449 (2C-associate-buffer, 2C-dissociate):
2450 Use with-current-buffer rather than save-excursion.
2451 (2C-dissociate): Force a mode-line update.
2452 (2C-autoscroll): Use ignore-errors.
2454 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2457 * emacs-lisp/cl-extra.el (*random-state*):
2458 Remove unnecessary declaration.
2460 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2462 * play/cookie1.el (cookie-snarf):
2463 Give an explicit error if input file cannot be read.
2465 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2467 * progmodes/perl-mode.el (c-macro-expand):
2468 Remove unnecessary autoload (it is in loaddefs.el).
2470 * textmodes/picture.el (picture-desired-column)
2471 (picture-update-desired-column): Convert comments to doc-strings.
2472 (picture-substitute): Remove function.
2473 (picture-mode-map): Initialize in the defvar.
2475 * woman.el: Remove eval-after-load for tar-mode.
2476 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2477 (woman-tar-extract-file): Autoload it.
2479 * frame.el (automatic-hscrolling): Make this alias obsolete.
2481 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2483 * ispell.el (ispell-set-spellchecker-params): Post-process
2484 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2485 (ispell-dictionary-base-alist): Revert to original XEmacs
2486 friendly version for default. [:alpha:] will be added in
2487 `ispell-set-spellchecker-params' if needed
2489 2012-04-16 Chong Yidong <cyd@gnu.org>
2491 * image.el (imagemagick--extension-regexp): New variable.
2492 (imagemagick-register-types): Use it.
2493 (imagemagick-types-inhibit): Add :set function. Allow new value
2494 of t to inhibit all types.
2496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2497 so we can preload it.
2499 * loadup.el (fboundp): Preload regexp-opt, needed by
2500 imagemagick-register-types.
2502 2012-04-15 Chong Yidong <cyd@gnu.org>
2504 * frame.el (scrolling): Remove nearly unused customization group.
2506 * scroll-all.el (scroll-all-mode): Move to windows group.
2508 2012-04-15 Chong Yidong <cyd@gnu.org>
2510 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2512 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2514 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2515 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2517 2012-04-15 Glenn Morris <rgm@gnu.org>
2519 * simple.el (process-file-side-effects): Doc fix.
2521 2012-04-15 Glenn Morris <rgm@gnu.org>
2523 * international/mule-cmds.el (set-language-environment): Doc fix.
2525 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2527 * server.el (server-auth-key, server-generate-key): Doc fixes.
2528 (server-get-auth-key): Doc fix. Use `string-match-p'.
2529 (server-start): Reflow docstring.
2531 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2533 * server.el (server-generate-key): `called-interactively-p'
2534 requires a parameter.
2536 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2538 * server.el (server-auth-key): New variable.
2539 (server-generate-key, server-get-auth-key): New function.
2540 (server-start): Use the new variable and functions to allow
2541 setting a permanent server key (bug#9423).
2543 2012-04-14 Leo Liu <sdl.web@gmail.com>
2545 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2547 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2550 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2551 Emacs uses American spelling.
2553 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2555 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2556 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2557 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2558 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2560 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * progmodes/which-func.el (which-func-modes): Change default.
2564 2012-04-14 Kim F. Storm <storm@cua.dk>
2566 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2567 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2569 2012-04-14 Chong Yidong <cyd@gnu.org>
2571 * custom.el (custom-theme-set-variables): Doc fix.
2573 2012-04-14 Glenn Morris <rgm@gnu.org>
2575 * international/mule.el (set-auto-coding-for-load): Doc fix.
2577 2012-04-14 Alan Mackenzie <acm@muc.de>
2579 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2580 imenu work again for Objective C Mode. Correct the *-index values,
2581 these having been disturbed by a previous change in 2011-08.
2583 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2584 Correct two search limits.
2586 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2590 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2592 * international/characters.el: Fix sorting.
2594 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2596 * international/characters.el: Add more missing Latin case pairs.
2598 2012-04-14 Glenn Morris <rgm@gnu.org>
2600 * files.el (dir-locals-set-class-variables): Doc fix.
2602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2604 * international/characters.el: Add set-case-syntax-pair call for
2605 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2606 counterpart. (Bug#11209)
2608 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2610 2012-04-14 Glenn Morris <rgm@gnu.org>
2612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2614 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2616 * textmodes/ispell.el (ispell-dictionary-base-alist):
2617 Add data for Hebrew.
2619 2012-04-14 Chong Yidong <cyd@gnu.org>
2621 * net/rcirc.el (rcirc-cmd-quit):
2622 Revert 2012-03-18 change (Bug#11192).
2624 2012-04-14 Glenn Morris <rgm@gnu.org>
2626 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2630 * minibuffer.el (completion-in-region-mode-map):
2631 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2633 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2635 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2637 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2639 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2640 to allow `C-M-f' and `C-M-b' to move to the nearest path
2641 separator (bug#9511).
2643 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2645 * avoid.el: Require cl when compiling. And also move the
2646 `provide' to the end.
2648 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2650 * avoid.el (mouse-avoidance-banish-position): New variable.
2651 (mouse-avoidance-banish-destination): Use it (bug#10165).
2653 2012-04-13 Leo Liu <sdl.web@gmail.com>
2655 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2657 2012-04-13 Ken Brown <kbrown@cornell.edu>
2659 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2660 this is no longer needed now that cygstart understands file:// URLs.
2661 (browse-url-filename-alist): For the same reason, don't modify
2662 file:// URLs on Cygwin.
2664 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2666 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2667 the region on shift if the binding is already shifted (bug#11221).
2669 2012-04-12 Glenn Morris <rgm@gnu.org>
2671 * mail/mailpost.el: Move to obsolete/.
2673 2012-04-12 Drew Adams <drew.adams@oracle.com>
2675 * imenu.el (imenu--generic-function): Ignore invisible definitions
2678 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2680 * hexl.el (hexl-bits): New variable.
2681 (hexl-options): Mention the variable in the doc string.
2682 (hexl-rulerise, hexl-line-displen): New functions.
2683 (hexl-mode): Mention the new variable.
2684 (hexl-mode, hexl-current-address, hexl-current-address):
2686 (hexl-ascii-start-column): New function.
2687 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2688 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2690 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2692 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2693 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2694 the encoding, as expected by hunspell.
2696 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2698 * battery.el (battery--linux-sysfs-regexp): New const.
2699 (battery-status-function): Use it. Remove yeeloong special case.
2700 (battery-yeeloong-sysfs): Remove.
2701 (battery-echo-area-format): Remove yeeloong special case.
2703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2706 Reported by Noah Friedman.
2708 * subr.el (read-passwd): Use read-string.
2710 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2712 * vcursor.el (vcursor-move): Increase the priority of the overlay
2715 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2717 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2718 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2720 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2722 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2723 define-minor-mode (bug#10760).
2725 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2727 * progmodes/grep.el (rgrep): Tweak the find command line so
2728 that directories matching `grep-find-ignored-files' won't be
2731 2012-04-11 Chong Yidong <cyd@gnu.org>
2733 * startup.el (command-line): Remove support for long-obsolete
2734 variable font-lock-face-attributes.
2736 2012-04-11 Glenn Morris <rgm@gnu.org>
2738 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2740 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2742 * window.el (window--state-get-1): Obey window-point-insertion-type.
2744 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2746 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2747 to previous function when point is on the first character of a
2748 function. Take care of that in `narrow-to-defun' (bug#6157).
2750 2012-04-11 Glenn Morris <rgm@gnu.org>
2752 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2753 not just file-errors.
2755 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2756 (vc-bzr-sha1): Use internal sha1.
2758 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2760 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2762 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2764 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2765 that start in the middle of the line (bug#10496).
2767 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2769 * battery.el (battery-linux-proc-acpi): Only one battery is
2770 discharged at a time, but that seems to confuse battery.el when
2771 computing `rate-type' for the battery not being discharged
2774 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2778 * international/quail.el: Use dolist and simplify.
2779 (quail-define-package, quail-update-keyboard-layout)
2780 (quail-define-rules): Use dolist.
2781 (quail-insert-kbd-layout, quail-get-translation): CSE.
2783 * tmm.el: Use dolist, remove left over hook.
2784 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2786 (calendar-load-hook): Don't mess with it.
2788 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2789 Use derived-mode-p. Run the diff asynchronously.
2791 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2793 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2795 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2797 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2798 (list-dynamic-libraries--loaded): New function.
2799 (list-dynamic-libraries--refresh): Use it.
2801 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2803 * progmodes/python.el (python-fill-paragraph):
2804 Make python-fill-region in a multiline string work when font-lock is
2805 disabled (bug#7018).
2807 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2809 * language/european.el (cp775): Add oem/legacy (en)coding on
2810 DOS/MS Windows for the Baltic languages. There are still plenty
2811 of texts written in this encoding/codepage (bug#6519).
2813 2012-04-10 Glenn Morris <rgm@gnu.org>
2815 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2816 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2818 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2820 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2821 next-line "n" and previous-line "p" in order to make recentf more
2822 consistent with ibuffer, dired or org-mode (bug#9387).
2824 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2826 * image.el (put-image): Return the overlay created instead of the
2827 optional input string (bug#7834). Note that this may break code
2828 that is (for some reason or other) depending on `put-image'
2829 returning the string.
2831 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2833 * simple.el (zap-to-char): Allow zapping using input methods
2836 * textmodes/fill.el (fill-region): Leave point and mark where they
2837 were before filling (bug#5399).
2839 2012-04-09 Glenn Morris <rgm@gnu.org>
2841 * version.el (emacs-bzr-get-version):
2842 Handle lightweight checkouts of local branches.
2844 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2846 * international/characters.el: Recover lost case pairs. (Bug#11209)
2848 2012-04-09 Chong Yidong <cyd@gnu.org>
2850 * custom.el (custom-variable-p): Return nil for non-symbol
2851 arguments instead of signaling an error.
2852 (user-variable-p): Obsolete alias for custom-variable-p.
2854 * apropos.el (apropos-variable):
2855 * files-x.el (read-file-local-variable):
2856 * simple.el (set-variable):
2857 * woman.el (woman-mini-help):
2858 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2860 2012-04-09 Glenn Morris <rgm@gnu.org>
2862 * startup.el (normal-top-level): Don't look for leim-list.el
2863 in places where it will not be found. (Bug#910)
2865 * international/mule-cmds.el (set-default-coding-systems):
2866 * files.el (normal-mode):
2867 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2868 This function was removed with ucs-tables.el in 2008.
2870 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2872 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2873 ispell-encoding8-command to "-i", without a trailing space.
2874 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2875 separate command-line arguments, to specify the encoding, since
2876 that's how hunspell expects it.
2878 2012-04-08 Glenn Morris <rgm@gnu.org>
2880 * loadup.el: Load bindings before cus-start.
2881 This reduces somewhat the number of "rogue" settings in emacs -Q.
2883 2012-04-07 Glenn Morris <rgm@gnu.org>
2885 * version.el (emacs-bzr-get-version): New function.
2886 (emacs-bzr-version): New variable.
2887 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2888 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2890 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2892 * international/uni-bidi.el, international/uni-category.el:
2893 * international/uni-combining.el, international/uni-decimal.el:
2894 * international/uni-decomposition.el, international/uni-digit.el:
2895 * international/uni-lowercase.el, international/uni-mirrored.el:
2896 * international/uni-name.el, international/uni-numeric.el:
2897 * international/uni-titlecase.el, international/uni-uppercase.el:
2898 Update for Unicode 6.1.
2900 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2902 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2904 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2906 * window.el (shrink-window): Mention the `window-min-height'
2907 variable in the doc string.
2909 2012-04-05 Bastien Guerry <bzg@altern.org>
2911 * color.el (color-lighten-name): Fix typo.
2913 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * server.el (server--on-display-p): New function.
2916 (server--on-display-p): Use it.
2918 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2920 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2923 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * comint.el (comint--common-quoted-suffix): Check string boundary
2926 before comparing (bug#11158).
2927 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2929 2012-04-04 Chong Yidong <cyd@gnu.org>
2931 * minibuffer.el (completion-extra-properties): Doc fix.
2933 * subr.el (delayed-warnings-hook): Doc fix.
2935 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2937 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2938 selection (Bug#11159).
2939 (epa-insert-keys): Inform that the default public key will be
2940 exported if no key is selected.
2942 2012-04-04 Richard Stallman <rms@gnu.org>
2944 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2946 2012-04-03 Chong Yidong <cyd@gnu.org>
2948 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2949 mail-insert-file, not its obsolete alias mail-attach-file.
2951 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2953 * notifications.el (notifications-notify): Fix docstring.
2955 2012-04-02 Glenn Morris <rgm@gnu.org>
2957 * emacs-lisp/authors.el (authors-aliases): Another addition.
2959 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2961 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2962 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2963 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2965 2012-04-01 Chong Yidong <cyd@gnu.org>
2967 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2968 Handle root directory properly.
2969 (copy-directory): Caller changed.
2971 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2972 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2974 2012-03-31 Glenn Morris <rgm@gnu.org>
2976 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2978 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2980 * calendar/calendar.el (calendar-window-list)
2981 (calendar-hide-window): Restore. (Bug#11140)
2982 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2984 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2986 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2988 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2989 Check if file is a symlink (Bug#10489).
2991 * files.el (copy-directory): Likewise.
2993 2012-03-30 Chong Yidong <cyd@gnu.org>
2995 * image.el (imagemagick-types-inhibit)
2996 (imagemagick-register-types): Doc fix.
2998 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3000 * ispell.el (ispell-get-extended-character-mode):
3001 Disable extended-char-mode for hunspell. hunspell does not support it
3002 and treats ~word as ordinary words in pipe mode.
3004 2012-03-30 Glenn Morris <rgm@gnu.org>
3006 * tutorial.el (help-with-tutorial): Ensure local variables don't
3007 happen to make the buffer read-only. (Bug#11127)
3009 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3012 (perl-calculate-indent): Return `noindent' in strings.
3014 2012-03-28 Sam Steingold <sds@gnu.org>
3016 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3017 instead of the broken adhockery which does not prevent calendar
3018 buffers from being displayed at random after exit.
3019 (calendar-window-list, calendar-hide-window): Remove the broken
3022 2012-03-28 Glenn Morris <rgm@gnu.org>
3024 * replace.el (query-replace-map): Doc fix.
3026 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3028 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3029 contents. (Bug#11109)
3031 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3035 (avl-tree--check, avl-tree--check-node): New funs.
3037 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3039 * window.el (switch-to-visible-buffer): New option.
3040 (switch-to-prev-buffer, switch-to-next-buffer):
3041 Observe switch-to-visible-buffer. Make sure that checking for a window
3042 showing a buffer already is done on the same frame.
3044 2012-03-27 Glenn Morris <rgm@gnu.org>
3046 * startup.el (mail-host-address): Doc fix.
3048 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3053 2012-03-26 Ami Fischman <ami@fischman.org>
3055 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3057 2012-03-26 Glenn Morris <rgm@gnu.org>
3059 * files.el (save-buffers-kill-emacs): Doc fix.
3061 * startup.el (normal-top-level, command-line, command-line-1):
3062 Give them doc strings.
3064 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3066 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3067 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3069 2012-03-25 Chong Yidong <cyd@gnu.org>
3071 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3072 theme if it was previously enabled before (Bug#11031).
3074 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3075 spec with custom-face-get-current-spec if its :shown-value is not
3076 determined yet (Bug#9337).
3077 (customize-create-theme, custom-theme-revert): Doc fixes.
3079 * button.el (button-at): Minor addition to docstring.
3081 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3083 * vc/vc.el (vc-merge): Fix a prompt.
3085 2012-03-24 Chong Yidong <cyd@gnu.org>
3087 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3090 * button.el (button-at): Minor addition to docstring.
3092 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * newcomment.el (comment-choose-indent): No space after BOL.
3096 2012-03-22 Sam Steingold <sds@gnu.org>
3098 * window.el (switch-to-prev-buffer): Revert last patch because the
3099 bug turned out to be an advertised feature (Elisp manual 28.14).
3101 2012-03-22 Glenn Morris <rgm@gnu.org>
3103 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3104 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3106 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3108 * net/network-stream.el (network-stream-open-starttls): Make error
3109 message under Windows be less misleading.
3111 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3113 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3114 understands (bug#9942).
3116 2012-03-22 Chong Yidong <cyd@gnu.org>
3118 * simple.el (end-of-visible-line): Handle return value of
3119 next-single-property-change properly (Bug#9371).
3121 2012-03-22 Kenichi Handa <handa@m17n.org>
3123 * international/quail.el (quail-insert-kbd-layout): Fix previous
3124 change. To avoid unwanted bidi reordering, use
3125 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3127 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3129 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3130 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3131 (ruby-beginning-of-indent): Be more careful with the difference
3132 between word-boundary and symbol boundary.
3133 (ruby-mode-syntax-table): Make : a symbol constituent.
3135 2012-03-21 Andreas Politz <politza@fh-trier.de>
3137 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3139 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * progmodes/etags.el (tags-completion-at-point-function):
3144 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3146 2012-03-21 Sam Steingold <sds@gnu.org>
3148 * progmodes/etags.el (tags-completion-at-point-function):
3149 Avoid the error when point is inside the pattern.
3151 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3153 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3156 2012-03-21 Drew Adams <drew.adams@oracle.com>
3158 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3160 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3162 * ido.el (ido-set-current-directory, ido-read-internal)
3163 (ido-choose-completion-string, ido-completion-help): Handle nil
3164 value of ido-completion-buffer (Bug#11008).
3166 2012-03-21 Sam Steingold <sds@gnu.org>
3168 * window.el (switch-to-prev-buffer): Do not switch to a visible
3169 window previous buffer, just like with the frame previous buffers.
3171 2012-03-21 Chong Yidong <cyd@gnu.org>
3173 * faces.el (make-face, make-empty-face, copy-face):
3174 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3177 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3179 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3180 (widget-complete): Remove broken use of it.
3182 2012-03-20 Chong Yidong <cyd@gnu.org>
3184 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3185 Use string-width and truncate-string-width to handle arbitrary
3188 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3190 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3191 to draw rectangles, not squares. (Regression introduced by revno
3192 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3194 2012-03-18 Chong Yidong <cyd@gnu.org>
3196 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3197 it is not yet defined (for temacs).
3199 2012-03-18 Leo Liu <sdl.web@gmail.com>
3201 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3203 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3205 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3206 (ispell-choices-win-default-height, ispell-silently-savep)
3207 (ispell-dictionary-alist, ispell-encoding8-command)
3208 (ispell-check-version, ispell-aspell-find-dictionary)
3209 (ispell-valid-dictionary-list, ispell-words-keyword)
3210 (ispell-get-word, ispell-internal-change-dictionary)
3211 (ispell-region, ispell-skip-region-list)
3212 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3213 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3214 (ispell-message-text-end, ispell-message)
3215 (ispell-buffer-local-parsing): Doc fix.
3217 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3219 * htmlfontify.el: Add support for code block fontification for ODT
3221 (hfy-optimisations): Define new option
3223 (hfy-fontify-buffer): Honor above setting.
3224 (hfy-begin-span, hfy-end-span): New routines factored out form
3225 `hfy-fontify-buffer'.
3226 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3227 that permit insertion of custom tags.
3228 (hfy-fontify-buffer): Use above handlers.
3229 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3230 (hfy-face-to-css): Re-defined to be a variable.
3231 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3232 over multiple runs. This is made possible by having the caller let
3233 bind a special variable `hfy-user-sheet-assoc'.
3234 (htmlfontify-string): New defun.
3235 (hfy-compile-face-map): Make sure that the last char in the
3236 buffer is correctly fontified.
3237 (hfy-face-resolve-face): Whitespace only change.
3239 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3241 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3244 2012-03-16 Leo Liu <sdl.web@gmail.com>
3246 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3248 2012-03-16 Alan Mackenzie <acm@muc.de>
3250 Further optimise the handling of large macros.
3252 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3253 limit to a call of `c-literal-limits'.
3254 (c-determine-+ve-limit): New function.
3255 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3256 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3257 In CASE 5B, restrict a search limit to 500.
3258 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3260 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3261 Restrict macro bounds to +-500 from after-change's BEG END.
3263 2012-03-16 Leo Liu <sdl.web@gmail.com>
3265 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3267 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3269 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3270 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3272 2012-03-16 Glenn Morris <rgm@gnu.org>
3274 * view.el (view-buffer, view-buffer-other-window)
3275 (view-buffer-other-frame): Doc fixes re special mode-class.
3277 * subr.el (eval-after-load): If named feature is provided not from
3278 a file, run after-load forms. (Bug#10946)
3280 * calendar/calendar.el (calendar-insert-at-column):
3281 Handle non-unit-width characters a bit better. (Bug#10978)
3283 2012-03-15 Chong Yidong <cyd@gnu.org>
3285 * emacs-lisp/ring.el (ring-extend): New function.
3286 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3288 * comint.el (comint-read-input-ring)
3289 (comint-add-to-input-history): Grow comint-input-ring lazily.
3291 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3294 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3296 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3297 (imenu-add-to-menubar): Don't add a redundant index.
3298 (imenu-update-menubar): Handle a dynamically composed keymap.
3300 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3302 * mail/sendmail.el (mail-encode-header):
3303 Bind rfc2047-encode-encoded-words to nil.
3305 2012-03-13 Glenn Morris <rgm@gnu.org>
3307 * calendar/calendar.el (calendar-string-spread):
3308 Handle non-unit-width characters a bit better. (Bug#10978)
3310 2012-03-13 Leo Liu <sdl.web@gmail.com>
3312 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3313 directory and file as argument (Bug#10822).
3315 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3317 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3318 For dynamically generated code, follow $PC.
3319 (gdb-disassembly-handler-custom): Handle no function name case.
3321 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3323 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3324 * emulation/ws-mode.el (ws-query-replace):
3325 * sort.el (sort-regexp-fields):
3326 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3328 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3330 * dabbrev.el: Fix cycle completion order (bug#10963).
3331 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3332 (dabbrev-completion): Don't use an obarray; provide
3333 a cycle-sort-function.
3335 2012-03-12 Leo Liu <sdl.web@gmail.com>
3337 * simple.el (kill-new): Use equal-including-properties for comparison.
3338 (kill-do-not-save-duplicates): Doc fix.
3340 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * dabbrev.el: Fix cycle completion (bug#10963).
3343 Use lexical binding and wrap to 80 columns.
3344 (dabbrev-completion): Delay computing the list of completions.
3346 2012-03-12 Kenichi Handa <handa@m17n.org>
3348 * international/quail.el (quail-insert-kbd-layout): Surround each
3349 row by LRO and PDF instead of inserting many LRMs. Pad the left
3350 and right of each non-spacing marks. Insert invisible space
3351 between lower and upper characters to prevent composition.
3353 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * minibuffer.el (minibuffer-complete): Don't get confused when the
3356 function is run twice via different commands (bug#10958).
3357 (complete-with-action): Fix docstring.
3359 2012-03-12 Chong Yidong <cyd@gnu.org>
3361 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3362 (nxml-completion-at-point-function): New function.
3363 (nxml-mode): Use it.
3364 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3366 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3367 Load generated autoloads file before byte compiling (Bug#10970).
3368 (package--make-autoloads-and-compile): New helper fun.
3370 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3372 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3374 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3376 * autorevert.el (auto-revert-handler): Ensure, that
3377 file-readable-p is applied only for local files or in
3378 auto-revert-tail-mode.
3380 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3382 * server.el (server-eval-at): Handle non-tcp connections.
3383 Decode result string.
3385 * server.el (server-msg-size): New constant.
3386 (server-reply-print): New function.
3387 (server-eval-and-print): Use it.
3388 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3391 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3393 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3396 2012-03-11 Chong Yidong <cyd@gnu.org>
3398 * simple.el (goto-line): Doc fix (Bug#9938).
3400 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3402 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3403 when finished (Bug#10963).
3405 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3407 * window.el (split-window-below): Fix bug in case where
3408 split-window-keep-point is nil (Bug#10971).
3410 2012-03-11 Juri Linkov <juri@jurta.org>
3412 * replace.el (replace-highlight): Set isearch-word to nil
3413 unconditionally. (Bug#10887)
3415 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3417 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3418 mairix-replace-illegal-chars; all callers changed. Don't remove
3419 ^, ~, and = characters: they are meaningful in mairix search specs.
3420 (mairix-widget-create-query): Add usage information about mairix
3421 search forms: negating words, searching for substrings, etc.
3423 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3425 * international/fontset.el (font-encoding-alist): Add an entry for
3428 2012-03-10 Richard Stallman <rms@gnu.org>
3430 * mail/sendmail.el (mail-encode-header):
3431 Set rfc2047-encode-encoded-words.
3433 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3435 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3436 view buffer means not swapped.
3437 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3438 (rmail-write-region-annotate): Error if real text has disappeared.
3440 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3442 2012-03-10 Chong Yidong <cyd@gnu.org>
3444 * emulation/cua-rect.el (cua--init-rectangles):
3445 * emulation/cua-base.el (cua--init-keymaps):
3446 Add delete-forward-char to remappings (Bug#9666).
3448 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3450 * speedbar.el (speedbar-unhighlight-one-tag-line):
3451 Avoid unhighlighting due to frame switching (Bug#10275).
3453 2012-03-10 Chong Yidong <cyd@gnu.org>
3455 * minibuffer.el (completion-in-region, completion-help-at-point):
3456 Give the completion field overlay a high priority (Bug#6830).
3458 * dired.el (dired-goto-file): Recognize absolute file name
3459 listings (Bug#7126).
3460 (dired-goto-file-1): New helper function.
3461 (dired-toggle-read-only): Inhibit warnings.
3463 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3465 * net/dbus.el (dbus-property-handler): Return empty array if
3466 there are no properties.
3468 2012-03-09 Leo Liu <sdl.web@gmail.com>
3470 * savehist.el (savehist-printable): Stricter check for string
3473 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3475 * mail/smtpmail.el (smtpmail-send-it):
3476 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3479 2012-03-09 Glenn Morris <rgm@gnu.org>
3481 * files.el (dir-locals-find-file):
3482 Don't check result is regular, readable.
3483 (dir-locals-read-from-file): Demote errors.
3485 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3487 * international/quail.el (quail-insert-kbd-layout):
3488 Insert invisible LRM characters before each character in a keyboard
3489 layout cell, to prevent their reordering by bidi display engine.
3490 For details, see the discussion in
3491 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3493 2012-03-08 Alan Mackenzie <acm@muc.de>
3495 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3496 the starting position; make it extend the marked region when
3497 invoked repeatedly - all under appropriate circumstances.
3498 Fixes bugs #5525, #10906.
3500 2012-03-08 Glenn Morris <rgm@gnu.org>
3502 * files.el (locate-dominating-file, dir-locals-find-file):
3503 Undo 2012-03-06 change.
3505 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3507 * international/quail.el (quail-help):
3508 Force bidi-paragraph-direction be left-to-right. See discussion in
3509 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3512 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3514 Avoid superfluous registering of signals. (Bug#10807)
3516 * notifications.el (notifications-on-action-object)
3517 (notifications-on-close-object): New defvars.
3518 (notifications-on-action-signal, notifications-on-closed-signal):
3519 Unregister the signal if not needed any longer.
3520 (notifications-notify): Register `notifications-action-signal' or
3521 `notifications-closed-signal', if :on-action or :on-close has been
3524 2012-03-07 Chong Yidong <cyd@gnu.org>
3526 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3529 2012-03-06 Glenn Morris <rgm@gnu.org>
3531 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3532 (x-disown-selection-internal, x-get-selection-internal):
3533 Doc fix (add arglist signatures). (Bug#10783)
3535 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3537 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3538 Handle breakpoints with no "type".
3540 2012-03-06 Glenn Morris <rgm@gnu.org>
3542 * files.el (locate-dominating-file): Add optional predicate argument.
3543 (dir-locals-find-file): Make use of above change.
3545 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3547 * info.el (Info-insert-dir): Also try "dir.gz".
3549 2012-03-06 Glenn Morris <rgm@gnu.org>
3551 * files.el (dir-locals-find-file):
3552 Ignore non-readable or non-regular files. (Bug#10928)
3554 * files.el (locate-dominating-file): Doc fix.
3556 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3558 * calendar/calendar.el (calendar-set-mode-line):
3559 `getenv' returns a string. (Bug#10951)
3561 2012-03-05 Leo Liu <sdl.web@gmail.com>
3563 * simple.el (backward-delete-char-untabify): Constrain point to
3566 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3568 2012-03-05 Chong Yidong <cyd@gnu.org>
3570 * simple.el (count-words): If called from Lisp, return the word
3571 count, for symmetry with `count-lines'. Arglist changed.
3572 (count-words--message): Args changed. Consolidate counting code
3573 from count-words and count-words-region.
3574 (count-words-region): Caller changed.
3575 (count-lines-region): Make it an obsolete alias.
3577 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3579 * saveplace.el (save-place-to-alist)
3580 (save-place-ignore-files-regexp): Allow value nil to disable this
3583 2012-03-04 Chong Yidong <cyd@gnu.org>
3585 * faces.el (face-spec-reset-face): For the default face, reset the
3586 attributes to default values (Bug#10748).
3588 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3590 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3591 previous patch: Check `message-send-mail-function', and not the
3592 default function (bug#10897).
3594 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3596 * notifications.el (notifications-on-action-signal)
3597 (notifications-on-closed-signal): Check for unique service name of
3598 incoming event. Fix error in removing entry.
3599 (top): Register for signals with wildcard service name.
3600 (notifications-notify): Use daemon unique service name for map entries.
3602 2012-03-04 Chong Yidong <cyd@gnu.org>
3604 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3606 2012-03-04 Glenn Morris <rgm@gnu.org>
3608 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3609 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3610 (expand-abbrev, define-abbrev-table): Doc fixes.
3612 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3614 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3615 `message-default-send-mail-function' and not `send-mail-function'
3616 when doing the prompting for `sendmail-query-once' before sending
3617 in Message buffers (bug#10897).
3619 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3620 This is inconsistent with all the other stream functions, which leave
3621 the setting up to the higher levels (if so wanted) (bug#10931).
3623 2012-03-02 Alan Mackenzie <acm@muc.de>
3625 Depessimize the handling of very large macros.
3627 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3628 (c-macro-cache-syntactic): New variables to implement a one
3629 element macro cache.
3630 (c-invalidate-macro-cache): New function.
3631 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3632 Adapt to use the new cache.
3633 (c-state-safe-place): Use better the cache of safe positions.
3634 (c-state-semi-nonlit-pos-cache)
3635 (c-state-semi-nonlit-pos-cache-limit):
3636 New variables for...
3637 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3638 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3639 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3640 Use c-state-semi-safe-place.
3642 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3643 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3645 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3647 * jka-compr.el (jka-compr-call-process):
3648 Apply `file-accessible-directory-p' only when the default directory is
3651 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3653 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3654 access of FILE2, if FILE1 does not exist.
3656 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3657 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3659 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3660 Add "PAGER=" to `process-environment'.
3662 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3664 * progmodes/sql.el: Bug fix
3665 (sql-get-login-ext): Save login values in globals.
3666 (sql-get-login): Use new version of `sql-get-login-ext'.
3667 (sql-interactive-mode): Set global `sql-connection' to nil.
3668 (sql-connect): Set global values for connection.
3669 (sql-product-interactive): Save global values as buffer local.
3671 2012-02-29 Leo Liu <sdl.web@gmail.com>
3673 * abbrev.el (define-abbrevs): Reset sys to nil.
3675 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3677 * files.el (file-equal-p): Rename from `files-equal-p'.
3678 Return nil when one or both files don't exist.
3679 (file-subdir-of-p): Now only top directory must exists,
3680 return nil if it doesn't.
3681 (copy-directory): No need to test with `file-subdir-of-p' after
3683 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3686 2012-02-28 Glenn Morris <rgm@gnu.org>
3688 * shell.el (shell-mode):
3689 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3690 * play/landmark.el (landmark-font-lock-face-O):
3691 * play/handwrite.el (handwrite):
3692 * play/gomoku.el (gomoku-O):
3693 * net/browse-url.el (browse-url-browser-display):
3694 * international/mule.el (define-charset):
3695 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3696 * filesets.el (filesets-find-file-delay):
3697 * eshell/em-xtra.el (eshell-xtra):
3698 * eshell/em-unix.el (eshell-grep):
3699 * emulation/viper.el (viper-mode):
3700 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3701 * emacs-lisp/easymenu.el (easy-menu-define):
3702 * calendar/timeclock.el (timeclock-use-display-time):
3704 * bookmark.el (bookmark-save-flag):
3705 Doc fix (standardize possessive apostrophe usage).
3707 2012-02-27 Chong Yidong <cyd@gnu.org>
3709 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3710 Fix key-binding lookup for ESC key (Bug#9146).
3712 * font-lock.el (font-lock-specified-p): Rename from
3713 font-lock-spec-present. Callers changed.
3715 2012-02-27 Daniel Hackney <dan@haxney.org>
3717 * emacs-lisp/package.el (package-compute-transaction):
3718 Handle holding a package version to t in package-load-list.
3720 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3722 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3723 (tramp-get-inode, tramp-get-device): Use cached values.
3725 2012-02-26 Alan Mackenzie <acm@muc.de>
3727 Check there is a font-lock specification before doing initial
3730 * font-core.el (font-lock-mode): Move the conditional from
3731 :after-hook to font-lock-initial-fontify.
3732 (font-lock-default-function): Move the check for a specification
3733 to font-lock-spec-present.
3735 * font-lock.el (font-lock-initial-fontify): Call ...
3736 (font-lock-spec-present): New function.
3738 2012-02-26 Jim Blandy <jimb@red-bean.com>
3740 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3741 (gdb-send): Apply it to the operand of the '-interpreter-exec
3742 console' command, so that we can pass arguments with (say) quotes
3743 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3745 2012-02-26 Chong Yidong <cyd@gnu.org>
3747 * help-fns.el (describe-function-1): Clarify description of
3748 remapping (Bug#10844).
3750 * files.el (files-equal-p): Doc fix.
3751 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3752 and quit the loop once a mismatch is found.
3754 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3756 * bs.el (bs--show-with-configuration): Don't throw an error
3757 if the window cannot be split; otherwise, subsequent calls to
3758 bs-show fail, restoring a stale window config. (Bug#10882)
3760 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3762 * term/ns-win.el (global-map): Bind ns-drag-file to
3763 ns-find-file (Bug#5855, Bug#10050).
3765 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3767 * calendar/parse-time.el (parse-time-string): Allow extractor to
3770 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3772 * net/tramp.el (tramp-file-name-for-operation):
3773 Add `files-equal-p' and `file-subdir-of-p'.
3775 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3776 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3777 Add COPY-CONTENTS argument.
3779 2012-02-25 Chong Yidong <cyd@gnu.org>
3781 Add custom groups for VC backends, for consistency with vc-bzr.
3783 * vc/vc-arch.el (vc-arch):
3784 * vc/vc-cvs.el (vc-cvs):
3785 * vc/vc-git.el (vc-git):
3786 * vc/vc-hg.el (vc-hg):
3787 * vc/vc-mtn.el (vc-mtn):
3788 * vc/vc-rcs.el (vc-rcs):
3789 * vc/vc-sccs.el (vc-sccs):
3790 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3791 All relevant defcustoms reassigned.
3793 2012-02-25 Chong Yidong <cyd@gnu.org>
3795 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3797 * term/x-win.el (x-initialize-window-system): Reduce default for
3798 x-selection-timeout to 5 seconds (Bug#8869).
3800 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3802 * files.el (files-equal-p, file-subdir-of-p): New functions.
3803 (copy-directory): Error when trying to copy a directory on itself.
3804 Add missing copy-contents arg to tramp handler.
3805 * dired-aux.el (dired-copy-file-recursive): Same.
3806 (dired-create-files): Modify destination when source is equal to
3807 dest when copying files.
3808 Return also when dest is a subdir of source. (Bug#10489)
3810 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3812 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3815 2012-02-23 Alan Mackenzie <acm@muc.de>
3817 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3818 parameter "after-hook:" to allow the expansion to run code after
3819 the execution of the mode hooks.
3821 * font-lock.el (font-lock-initial-fontify): New function extracted
3822 from font-lock-mode-internal.
3824 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3827 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3830 (completion--cache-all-sorted-completions): New function.
3831 (completion-all-sorted-completions): Use it.
3832 (completion--do-completion, minibuffer-force-complete):
3833 Use it to re-instate the flush hook.
3835 * icomplete.el (icomplete-completions): Replace last fix with a better
3838 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3840 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3841 when it might call us back infinitely (bug#10797).
3843 2012-02-23 Glenn Morris <rgm@gnu.org>
3845 * minibuffer.el (completion-category-overrides): Doc fix.
3847 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3850 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3852 2012-02-23 Glenn Morris <rgm@gnu.org>
3854 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3855 (authors-obsolete-files-regexps, authors-ignored-files)
3856 (authors-ambiguous-files, authors-renamed-files-alist):
3859 2012-02-23 Juri Linkov <juri@jurta.org>
3861 * isearch.el (isearch-occur): Sync interactive spec with occur's
3862 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3864 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3866 2012-02-22 Juri Linkov <juri@jurta.org>
3868 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3869 (ucs-insert): Doc fix. Check for hex digits in the string.
3870 Don't display `nil' in the error message. (Bug#10857)
3872 2012-02-22 Alan Mackenzie <acm@muc.de>
3874 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3876 2012-02-22 Glenn Morris <rgm@gnu.org>
3878 * ffap.el (ffap-c-path):
3879 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3881 2012-02-22 Chong Yidong <cyd@gnu.org>
3883 * custom.el (load-theme): Doc fix.
3885 2012-02-22 Glenn Morris <rgm@gnu.org>
3887 * dired-x.el (dired-guess-shell-alist-default):
3888 Remove escape sequences from nroff output. (Bug#172)
3890 2012-02-21 Glenn Morris <rgm@gnu.org>
3892 * vc/emerge.el (emerge-defvar-local):
3893 Set `permanent-local' property rather than unused `preserved'.
3895 * textmodes/picture.el (picture-delete-char): New alias.
3896 (picture-mode-map): Use it. (Bug#10860)
3897 (picture-mode): Doc fix.
3899 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3901 * newcomment.el (uncomment-region-default): Remove unused binding.
3903 2012-02-21 Glenn Morris <rgm@gnu.org>
3905 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3906 (picture-self-insert, picture-tab-chars): Doc fix.
3907 (picture-mode-map): Fix C-a, C-e.
3909 2012-02-20 Glenn Morris <rgm@gnu.org>
3911 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3913 2012-02-20 Leo Liu <sdl.web@gmail.com>
3915 * icomplete.el (icomplete-completions): Check FROM arg before
3916 passing to substring (Bug#10850).
3918 2012-02-19 Chong Yidong <cyd@gnu.org>
3920 * comint.el: Require ansi-color.
3921 (comint-output-filter-functions): Add ansi-color-process-output.
3923 * ansi-color.el: Don't set comint-output-filter-functions; it is
3924 now in the initial value defined in comint.el.
3925 (ansi-color-apply-face-function): New variable.
3926 (ansi-color-apply-on-region): Use it.
3927 (ansi-color-apply-overlay-face): New function.
3929 * shell.el (shell): No need to require ansi-color.
3930 (shell-mode): Use ansi-color-apply-face-function to highlight
3931 color escapes using font-lock-face property (Bug#10835).
3933 2012-02-19 Chong Yidong <cyd@gnu.org>
3935 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3936 mode-line formats (Bug#10839).
3938 2012-02-18 Glenn Morris <rgm@gnu.org>
3940 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3942 * mail/undigest.el (unforward-rmail-message): Doc fix.
3944 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3946 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3948 * international/characters.el (script-list): Sync with the latest
3949 Unicode Character Database.
3951 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3953 * international/titdic-cnv.el: Remove duplicate coding tag.
3954 * language/cham.el: Likewise.
3955 * language/tai-viet.el: Likewise.
3957 2012-02-18 Glenn Morris <rgm@gnu.org>
3959 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3960 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3961 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3962 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3963 * calendar/holidays.el (holiday-bahai-holidays)
3964 (calendar-holidays, list-holidays):
3965 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
3967 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3969 * saveplace.el (save-place-ignore-files-regexp): New variable
3970 allowing for excluding files from saving their location of point.
3971 The default value matches the temporary commit message editing
3972 files from Git, SVN, Bazaar, and Mercurial.
3973 (save-place-to-alist): Use it.
3975 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3976 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * newcomment.el (uncomment-region-default): Don't leave extra space
3979 when an arg is provided (bug#8150).
3981 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3983 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3985 2012-02-17 Glenn Morris <rgm@gnu.org>
3987 * net/socks.el: Require network-stream. (Bug#10599)
3989 2012-02-17 Kenichi Handa <handa@m17n.org>
3991 * international/charprop.el:
3992 * international/uni-name.el:
3993 * international/uni-old-name.el:
3994 * international/uni-comment.el: Regenerate.
3996 2012-02-16 Glenn Morris <rgm@gnu.org>
3998 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3999 Interactively in calendar buffer, give an error if not on a date.
4001 2012-02-15 Glenn Morris <rgm@gnu.org>
4003 * shell.el (shell-delimiter-argument-list):
4004 Revert 2011-02-17 change. (Bug#8027)
4006 2012-02-15 Chong Yidong <cyd@gnu.org>
4008 * minibuffer.el (completion-at-point-functions): Doc fix.
4010 * custom.el (defcustom): Doc fix; note use of defvar.
4012 2012-02-15 Glenn Morris <rgm@gnu.org>
4014 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4017 2012-02-14 Glenn Morris <rgm@gnu.org>
4019 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4021 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4023 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4024 way the ports list is computed.
4025 (smtpmail-query-smtp-server): Prompt the user for a port number if
4026 we can't connect to any of the standard ports (bug#10810).
4028 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4030 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4032 2012-02-13 Glenn Morris <rgm@gnu.org>
4034 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4036 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4038 * net/gnutls.el (gnutls-trustfiles): New variable.
4039 (gnutls-negotiate): Use it.
4041 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4043 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4044 does its stuff if Gnus is running.
4046 2012-02-13 Alan Mackenzie <acm@muc.de>
4048 Fix a loop in c-set-fl-decl-start.
4050 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4051 c-backward-syntactic-ws actually moves backwards.
4053 2012-02-13 Leo Liu <sdl.web@gmail.com>
4055 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4056 beginning so that all \C-o chars are removed.
4058 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4060 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4062 2012-02-12 Alan Mackenzie <acm@muc.de>
4064 Fix infinite loop with long macros.
4065 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4067 2012-02-12 Chong Yidong <cyd@gnu.org>
4069 * window.el (display-buffer): Doc fix (Bug#10785).
4071 2012-02-12 Glenn Morris <rgm@gnu.org>
4073 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4074 (x-disown-selection-internal, x-get-selection-internal):
4075 Sync docs with the xselect.c versions.
4077 * allout-widgets.el: Add missing license notice.
4079 2012-02-11 Glenn Morris <rgm@gnu.org>
4081 * select.el (x-get-selection-internal, x-own-selection-internal)
4082 (x-disown-selection-internal):
4083 * x-dnd.el (x-get-selection-internal): Update declarations.
4085 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4087 * window.el (window-sides-slots):
4088 * tool-bar.el (tool-bar-position):
4089 * term/xterm.el (xterm-extra-capabilities):
4090 * ses.el (ses-self-reference-early-detection):
4091 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4092 (verilog-auto-wire-type)
4093 (verilog-auto-delete-trailing-whitespace)
4094 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4095 (verilog-auto-tieoff-declaration):
4096 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4097 (sql-oracle-statement-starters, sql-oracle-scan-on):
4098 * progmodes/prolog.el (prolog-align-comments-flag)
4099 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4100 (prolog-left-indent-regexp, prolog-paren-indent-p)
4101 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4102 (prolog-types, prolog-mode-specificators)
4103 (prolog-determinism-specificators, prolog-directives)
4104 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4105 (prolog-electric-dot-flag)
4106 (prolog-electric-dot-full-predicate-template)
4107 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4108 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4109 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4110 (prolog-program-switches, prolog-prompt-regexp)
4111 (prolog-debug-on-string, prolog-debug-off-string)
4112 (prolog-trace-on-string, prolog-trace-off-string)
4113 (prolog-zip-on-string, prolog-zip-off-string)
4114 (prolog-use-standard-consult-compile-method-flag)
4115 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4116 (prolog-imenu-max-lines, prolog-info-predicate-index)
4117 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4118 (prolog-char-quote-workaround):
4119 * progmodes/cc-vars.el (c-defun-tactic):
4120 * net/tramp.el (tramp-encoding-command-interactive)
4121 (tramp-local-end-of-line):
4122 * net/soap-client.el (soap-client):
4123 * net/netrc.el (netrc-file):
4124 * net/gnutls.el (gnutls):
4125 * minibuffer.el (completion-category-overrides)
4126 (completion-cycle-threshold)
4127 (completion-pcm-complete-word-inserts-delimiters):
4128 * man.el (Man-name-local-regexp):
4129 * mail/feedmail.el (feedmail-display-full-frame):
4130 * international/characters.el (glyphless-char-display-control):
4131 * eshell/em-ls.el (eshell-ls-date-format):
4132 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4133 (lisp-lambda-list-keyword-parameter-indentation)
4134 (lisp-lambda-list-keyword-parameter-alignment):
4135 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4136 * dired-x.el (dired-omit-verbose):
4137 * cus-theme.el (custom-theme-allow-multiple-selections):
4138 * calc/calc.el (calc-highlight-selections-with-faces)
4139 (calc-lu-field-reference, calc-lu-power-reference)
4140 (calc-note-threshold):
4141 * battery.el (battery-mode-line-limit):
4142 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4143 (archive-7z-update):
4144 * allout.el (allout-prefixed-keybindings)
4145 (allout-unprefixed-keybindings)
4146 (allout-inhibit-auto-fill-on-headline)
4147 (allout-flattened-numbering-abbreviation):
4148 * allout-widgets.el (allout-widgets-auto-activation)
4149 (allout-widgets-icons-dark-subdir)
4150 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4151 (allout-widgets-theme-dark-background)
4152 (allout-widgets-theme-light-background)
4153 (allout-widgets-item-image-properties-emacs)
4154 (allout-widgets-item-image-properties-xemacs)
4155 (allout-widgets-run-unit-tests-on-load)
4156 (allout-widgets-time-decoration-activity)
4157 (allout-widgets-hook-error-post-time)
4158 (allout-widgets-track-decoration):
4159 Add missing :version tags to new defcustoms and defgroups.
4161 * progmodes/sql.el (sql-ansi-statement-starters)
4162 (sql-oracle-statement-starters): Add custom type.
4164 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4165 (prolog-system-version): Give it a type.
4167 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4169 * term/pc-win.el (x-select-text, x-selection-owner-p)
4170 (x-own-selection-internal, x-disown-selection-internal)
4171 (x-get-selection-internal): Sync doc strings and argument lists
4172 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4174 2012-02-11 Leo Liu <sdl.web@gmail.com>
4176 * progmodes/python.el (python-end-of-statement): Fix infinite
4179 2012-02-10 Glenn Morris <rgm@gnu.org>
4181 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4182 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4184 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4186 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4187 about SMTP before checking the From header.
4189 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4190 into own function for reuse by emacsbug.el.
4192 2012-02-10 Leo Liu <sdl.web@gmail.com>
4194 * subr.el (condition-case-unless-debug): Rename from
4195 condition-case-no-debug. All callers changed.
4196 (with-demoted-errors): Fix caller.
4198 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4199 * nxml/rng-valid.el (rng-do-some-validation):
4200 * emacs-lisp/package.el (package-refresh-contents)
4201 (package-menu-execute):
4202 * desktop.el (desktop-create-buffer):
4203 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4205 2012-02-10 Glenn Morris <rgm@gnu.org>
4207 * textmodes/bibtex.el:
4208 Add missing :version tags for new/changed defcustoms.
4210 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4212 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4214 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4215 (smtpmail-via-smtp): Use it, or fall back on the From address.
4216 (smtpmail-send-it): Ditto.
4218 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4221 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4222 (byte-compile-tmp-var): New const.
4223 (byte-compile-defvar): Use it to minimize .elc size.
4224 Just use `defvar' rather than simulate it (bug#10761).
4226 2012-02-09 Glenn Morris <rgm@gnu.org>
4228 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4230 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4233 * progmodes/compile.el (compilation-error-screen-columns)
4234 (compilation-first-column, compilation-filter-start): Doc fixes.
4236 * vc/log-view.el (log-view-toggle-entry-display):
4237 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4239 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4240 (report-emacs-bug-can-use-xdg-email):
4241 (report-emacs-bug-insert-to-mailer): Doc fixes.
4242 (report-emacs-bug): Message fix.
4244 * net/browse-url.el (browse-url-can-use-xdg-open)
4245 (browse-url-xdg-open): Doc fixes.
4247 * electric.el (electric-indent-mode, electric-pair-mode)
4248 (electric-layout-rules, electric-layout-mode): Doc fixes.
4249 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4251 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4253 * server.el (server-unselect-display): Don't inadvertently kill
4254 the current buffer. (Bug#10729)
4256 2012-02-08 Glenn Morris <rgm@gnu.org>
4258 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4259 (sql-list-table): Doc fixes.
4261 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4262 Comment out (does nothing).
4264 * completion.el (dynamic-completion-mode):
4265 * dirtrack.el (dirtrack-debug-mode):
4266 * electric.el (electric-layout-mode):
4267 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4268 * face-remap.el (text-scale-mode, buffer-face-mode):
4269 * iimage.el (iimage-mode):
4270 * image-mode.el (image-transform-mode):
4271 * minibuffer.el (completion-in-region-mode):
4272 * scroll-lock.el (scroll-lock-mode):
4273 * simple.el (next-error-follow-minor-mode):
4274 * tar-mode.el (tar-subfile-mode):
4275 * tooltip.el (tooltip-mode):
4276 * vcursor.el (vcursor-use-vcursor-map):
4277 * wid-browse.el (widget-minor-mode):
4278 * emulation/tpu-edt.el (tpu-edt-mode):
4279 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4280 * international/iso-ascii.el (iso-ascii-mode):
4281 * language/thai-util.el (thai-word-mode):
4282 * mail/supercite.el (sc-minor-mode):
4283 * net/goto-addr.el (goto-address-mode):
4284 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4285 * progmodes/cwarn.el (cwarn-mode):
4286 * progmodes/flymake.el (flymake-mode):
4287 * progmodes/glasses.el (glasses-mode):
4288 * progmodes/hideshow.el (hs-minor-mode):
4289 * progmodes/pascal.el (pascal-outline-mode):
4290 * textmodes/enriched.el (enriched-mode):
4291 * vc/smerge-mode.el (smerge-mode):
4292 Doc fixes (minor mode argument).
4294 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4296 * ls-lisp.el (ls-lisp-sanitize): New function.
4297 (ls-lisp-insert-directory): Use it to fix or remove any elements
4298 in file-alist with missing attributes. (Bug#4673)
4300 2012-02-07 Alan Mackenzie <acm@muc.de>
4302 Fix spurious recognition of c-in-knr-argdecl.
4304 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4305 putative K&R region.
4307 2012-02-07 Alan Mackenzie <acm@muc.de>
4309 * progmodes/cc-engine.el (c-forward-objc-directive):
4310 Prevent looping in "#pragma mark @implementation".
4312 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4314 * notifications.el (notifications-on-closed-signal): Make `reason'
4315 optional. (Bug#10744)
4317 2012-02-07 Glenn Morris <rgm@gnu.org>
4319 * emacs-lisp/easy-mmode.el (define-minor-mode):
4320 Doc fixes for the macro and the mode it defines.
4322 * image.el (imagemagick-types-inhibit): Doc fix.
4324 * cus-start.el (imagemagick-render-type): Add it.
4326 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4328 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4329 Set the default at load time, too, so that `font-lock-fontify-buffer'
4330 can be called without setting up the entire mode first. This fixes
4331 a bug in `mm-inline-text' with C MIME parts.
4333 2012-02-06 Chong Yidong <cyd@gnu.org>
4335 * simple.el (list-processes--refresh): Delete exited processes
4338 * comint.el (comint-next-prompt): next-single-char-property-change
4339 and prev-single-char-property-change never return nil (Bug#8657).
4341 * custom.el (defcustom): Doc fix (Bug#9711).
4343 2012-02-05 Chong Yidong <cyd@gnu.org>
4345 * cus-edit.el (custom-variable-reset-backup): Quote the value
4346 before storing it in the customized-value property (Bug#6712).
4347 (custom-display): Add a customization type tag.
4348 (custom-buffer-create-internal): Improve tooltip message.
4350 * wid-edit.el (widget-field-value-get): New optional arg to
4351 suppress trailing whitespace truncation.
4352 (character): Use it (Bug#2689).
4354 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4356 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4357 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4359 2012-02-05 Chong Yidong <cyd@gnu.org>
4361 * cus-edit.el (custom-variable-value-create): For mismatched
4362 types, show the current value (Bug#7600).
4364 * custom.el (defcustom): Doc fix.
4366 2012-02-05 Glenn Morris <rgm@gnu.org>
4368 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4370 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4372 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4373 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4374 (pp-last-sexp): Use `looking-at-p'.
4376 2012-02-04 Glenn Morris <rgm@gnu.org>
4378 * files.el (revert-buffer):
4379 Doc fix (mention revert-buffer-in-progress-p).
4381 * emacs-lisp/ert-x.el (ert-simulate-command):
4382 Check deferred-action-list (which is obsolete) is bound.
4384 * subr.el (with-wrapper-hook): Doc fixes.
4386 * simple.el (filter-buffer-substring-functions)
4387 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4389 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4391 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4392 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4394 2012-02-04 Leo Liu <sdl.web@gmail.com>
4396 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4398 2012-02-04 Glenn Morris <rgm@gnu.org>
4400 * image.el (image-extension-data): Add obsolete alias.
4402 * isearch.el (isearch-update): Doc fix.
4404 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4406 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4408 2012-02-03 Glenn Morris <rgm@gnu.org>
4410 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4411 (image-animate-timeout): Doc fix.
4413 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4415 2012-02-02 Glenn Morris <rgm@gnu.org>
4417 * server.el (server-auth-dir): Doc fix.
4418 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4420 * subr.el (run-mode-hooks): Doc fix.
4422 2012-02-02 Juri Linkov <juri@jurta.org>
4424 * image-mode.el (image-toggle-display-image): Remove tautological
4425 `major-mode' from the `derived-mode-p' test.
4427 2012-02-02 Kenichi Handa <handa@m17n.org>
4429 * composite.el (compose-region): Cancel previous change.
4431 2012-02-02 Kenichi Handa <handa@m17n.org>
4433 * composite.el (compose-region, compose-string): Signal error for
4434 a null string component (Bug#6988).
4436 2012-02-01 Chong Yidong <cyd@gnu.org>
4438 * view.el (view-buffer-other-window, view-buffer-other-frame):
4439 Handle special modes like view-buffer (Bug#10650).
4440 (view-buffer): Simplify.
4442 * frame.el (set-frame-font): Tweak meaning of third argument.
4444 * dynamic-setting.el (font-setting-change-default-font):
4445 Use set-frame-font (Bug#9982).
4447 2012-02-01 Glenn Morris <rgm@gnu.org>
4449 * progmodes/compile.el (compilation-internal-error-properties):
4450 Respect compilation-first-column in the "*compilation*" buffer.
4452 * emacs-lisp/easy-mmode.el (define-minor-mode):
4453 Relax :variable's test for a named function.
4455 2012-01-31 Alan Mackenzie <acm@muc.de>
4457 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4460 2012-01-31 Chong Yidong <cyd@gnu.org>
4462 * frame.el (set-frame-font): New arg ALL-FRAMES.
4464 * menu-bar.el (menu-set-font): Use set-frame-font.
4466 * faces.el (face-spec-reset-face): Don't apply unspecified
4467 attribute values to the default face.
4469 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4471 * progmodes/cwarn.el (cwarn): Remove dead link.
4472 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4473 Remove * from defcustom docstrings.
4474 (turn-on-cwarn-mode): Make obsolete.
4475 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4476 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4478 2012-01-31 Glenn Morris <rgm@gnu.org>
4480 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4481 Fix :variable handling of mode a symbol not equal to modefun.
4482 Allow named functions to be used as the cdr of :variable.
4484 2012-01-30 Glenn Morris <rgm@gnu.org>
4486 * emacs-lisp/authors.el (authors-fixed-entries):
4487 Remove reference to deleted file rnewspost.el.
4489 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4491 * window.el (window-with-parameter): Remove unused variable `windows'.
4492 (window--side-check): Remove unused variable `code'.
4493 (window--resize-siblings): Remove unused variable `first'.
4494 (adjust-window-trailing-edge): Remove unused variable `failed'.
4495 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4496 Use `let', not `let*'.
4497 (balance-windows-2): Remove unused variable `found'.
4498 (window--state-put-2): Remove unused variable `splits'.
4499 (window-state-put): Remove unused variable `selected'.
4500 (same-window-p): Use `string-match-p'.
4501 (display-buffer-assq-regexp): Remove unused variable `value'.
4502 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4503 Mark argument ALIST as ignored.
4504 (pop-to-buffer): Remove unused variable `old-window'.
4506 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4508 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4509 and .lzma compressed files.
4511 2012-01-29 Chong Yidong <cyd@gnu.org>
4513 * frame.el (window-system-default-frame-alist): Doc fix.
4515 * dynamic-setting.el (font-setting-change-default-font): Don't
4516 change the default face if SET-FONT argument is non-nil (Bug#9982).
4518 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4520 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4522 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4524 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4525 breakpoints in files outside current directory (Bug#6098).
4527 2012-01-29 Chong Yidong <cyd@gnu.org>
4529 * progmodes/python.el: Require ansi-color at top-level.
4531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4532 Define and use in Emacs Lisp mode (Bug#9360).
4533 (lisp-mode-abbrev-table): Add doc.
4534 (lisp-mode-variables): Don't set local-abbrev-table.
4535 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4537 2012-01-28 Roland Winkler <winkler@gnu.org>
4539 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4541 2012-01-28 Roland Winkler <winkler@gnu.org>
4543 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4544 (bibtex-set-dialect): Use it. Either set global values of
4545 dialect-dependent variables or bind these variables buffer-locally
4547 (bibtex-mode): Call bibtex-set-dialect via
4548 hack-local-variables-hook.
4549 (bibtex-dialect): Update docstring.
4550 Add safe-local-variable predicate.
4551 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4553 (bibtex-mode-map): Define menu for each dialect.
4554 (bibtex-entry): Fix docstring.
4556 2012-01-28 Chong Yidong <cyd@gnu.org>
4558 * eshell/esh-arg.el (eshell-quote-argument): New function.
4560 * eshell/esh-ext.el (eshell-invoke-batch-file):
4561 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4562 first arg to eshell-parse-command (Bug#10523).
4564 2012-01-28 Drew Adams <drew.adams@oracle.com>
4566 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4567 `default-directory' is non-nil.
4569 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4571 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4572 line that displays system-configuration-options. (Bug#9924)
4574 2012-01-28 Drew Adams <drew.adams@oracle.com>
4576 * descr-text.el (describe-char): Show information about POS, in
4577 addition to information about the character at POS. Improve and
4578 update the doc string. Change "code point" to "code point in
4579 charset", to avoid confusion with the character's Unicode code
4580 point shown above that. (Bug#10129)
4582 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4584 * descr-text.el (describe-char): Show the raw character, not only
4585 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4586 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4589 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4591 * emacs-lisp/package.el (package-install):
4592 Run package-refresh-contents if there is no archive yet (Bug#9798).
4594 2012-01-28 Chong Yidong <cyd@gnu.org>
4596 * emacs-lisp/package.el (package-maybe-load-descriptor):
4597 New function, split from package-maybe-load-descriptor.
4598 (package-maybe-load-descriptor): Use it.
4599 (package-download-transaction): Fully load required packages
4600 inside the loop, so that `require' calls work (Bug#10593).
4601 (package-install): No need to call package-initialize now.
4603 2012-01-28 Chong Yidong <cyd@gnu.org>
4605 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4607 * tooltip.el (tooltip-mode): Doc fix.
4608 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4610 * frame.el (set-cursor-color): Doc fix (Bug#352).
4612 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4613 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4615 * cus-edit.el (custom-buffer-create-internal): Fix search button
4617 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4619 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4621 * dired.el (dired-mark-files-regexp):
4622 Include any subdirectory components. (Bug#10445)
4624 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4626 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4627 Handle [host]:port syntax. (Bug#10533)
4629 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4631 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4633 2012-01-26 Glenn Morris <rgm@gnu.org>
4635 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4636 * term.el (term-raw-escape-map): Use Control-X-prefix.
4637 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4639 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4641 * window.el (window-state-get, window--state-get-1): Don't deal
4642 with fixed-sizeness of windows. Simplify code.
4644 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4646 * window.el (window--state-get-1, window--state-put-2):
4647 Don't save and restore the mark.
4649 2012-01-25 Chong Yidong <cyd@gnu.org>
4651 * custom.el (custom-variable-p): Doc fix.
4653 2012-01-25 Glenn Morris <rgm@gnu.org>
4655 * dired.el (dired-goto-file): Handle some of the more common
4656 characters that `ls -b' escapes. (Bug#10596)
4658 * progmodes/compile.el (compilation-next-error-function):
4659 Respect compilation-first-column in the "*compilation*" buffer.
4660 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4662 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4664 2012-01-24 Glenn Morris <rgm@gnu.org>
4666 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4668 2012-01-24 Julien Danjou <julien@danjou.info>
4670 * color.el (color-rgb-to-hsl): Fix value computing.
4671 (color-hue-to-rgb): New function.
4672 (color-hsl-to-rgb): New function.
4673 (color-clamp, color-saturate-hsl, color-saturate-name)
4674 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4675 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4677 2012-01-24 Glenn Morris <rgm@gnu.org>
4679 * vc/vc-rcs.el (vc-rcs-create-tag):
4680 * vc/vc-sccs.el (vc-sccs-create-tag):
4681 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4683 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4685 * eshell/esh-util.el (eshell-read-hosts-file):
4686 Skip comment lines. (Bug#10549)
4688 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4690 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4692 * subr.el (display-delayed-warnings): Doc fix.
4693 (collapse-delayed-warnings): New function to collapse identical
4695 (delayed-warnings-hook): Add it.
4697 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4699 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4701 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4702 properties, when "login-as" is set.
4704 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4705 (tramp-default-user-alist): Don't add "pscp".
4706 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4707 property "login-as", if set. (Bug#10530)
4709 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4711 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4712 "plink1" and "psftp". (Bug#10530)
4714 2012-01-21 Kenichi Handa <handa@m17n.org>
4716 * international/mule-cmds.el (prefer-coding-system): Show a
4717 warning message if the default value of file-name-coding-system
4720 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4722 * windmove.el (windmove-reference-loc):
4723 Fix windmove-reference-loc miscalculation.
4725 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4727 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4730 2012-01-21 Glenn Morris <rgm@gnu.org>
4732 * international/mule.el (auto-coding-alist): Add .tbz.
4734 * files.el (local-enable-local-variables): Doc fix.
4735 (inhibit-local-variables-regexps): Rename from
4736 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4737 Doc fix. Add some extensions from auto-coding-alist.
4738 (inhibit-local-variables-suffixes):
4739 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4740 (inhibit-local-variables-p):
4741 New function, extracted from set-auto-mode-1.
4742 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4743 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4744 (hack-local-variables): Doc fix. Make the mode-only case
4745 respect enable-local-variables and friends.
4746 Respect inhibit-local-variables-regexps for file-locals, but
4747 not for directory-locals.
4748 (set-visited-file-name):
4749 Take account of inhibit-local-variables-regexps.
4750 Whether it applies may change as the file name is changed.
4751 * jka-cmpr-hook.el (jka-compr-install):
4752 * jka-compr.el (jka-compr-uninstall):
4753 Update for inhibit-first-line-modes-suffixes name change.
4755 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4757 * help-macro.el (make-help-screen): Temporarily restore original
4758 binding for minor-mode-map-alist (Bug#10454).
4760 2012-01-19 Julien Danjou <julien@danjou.info>
4762 * color.el (color-name-to-rgb): Use the white color to find the max
4763 color component value and return correctly computed values.
4764 (color-name-to-rgb): Add missing float conversion for max value.
4766 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4768 * window.el (window--state-get-1, window-state-get): Do not use
4769 special state value for window-persistent-parameters.
4770 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4771 (window--state-put-2): Reset all window parameters to nil before
4772 assigning values of persistent parameters.
4774 2012-01-18 Alan Mackenzie <acm@muc.de>
4776 Eliminate sluggishness and hangs in fontification of "semicolon
4779 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4780 Change value 10000 -> 3000.
4781 (c-state-safe-place): Reformulate so it doesn't stack up an
4782 infinite number of wrong entries in c-state-nonlit-pos-cache.
4783 (c-determine-limit-get-base, c-determine-limit): New functions to
4784 determine backward search limits disregarding literals.
4785 (c-find-decl-spots): Amend commenting.
4786 (c-cheap-inside-bracelist-p): New function which detects "={".
4788 * progmodes/cc-fonts.el
4789 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4791 (c-font-lock-declarations): Fix an occurrence of point being
4792 undefined. Check additionally for point being in a bracelist or
4793 near a macro invocation without a semicolon so as to avoid a
4794 fruitless time consuming search for a declarator. Give a more
4795 precise search limit for declarators using the new
4798 2012-01-18 Glenn Morris <rgm@gnu.org>
4800 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4801 (set-auto-mode): Doc fixes.
4803 2012-01-17 Glenn Morris <rgm@gnu.org>
4805 * isearch.el (search-nonincremental-instead): Fix doc typo.
4807 * dired.el (dired-insert-directory): Handle newlines in directory name.
4808 (dired-build-subdir-alist): Unescape newlines in directory name.
4810 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4812 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4813 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4814 (tramp-action-terminal): Use it. (Bug#10530)
4816 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4820 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4822 * window.el (window-state-ignored-parameters): Remove variable.
4823 (window--state-get-1): Rename argument MARKERS to IGNORE.
4824 Handle persistent window parameters. Make copy of clone-of
4825 parameter only if requested. (Bug#10348)
4826 (window--state-put-2): Install a window parameter only if it has
4827 a non-nil value or an existing parameter shall be overwritten.
4829 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4831 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4833 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4835 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4836 don't pass the (nil) value of `upnode' to string-match.
4838 2012-01-14 Chong Yidong <cyd@gnu.org>
4840 * startup.el (command-line): Fix X resource class for cursorColor.
4841 Fix values recognized by the cursorBlink resource.
4843 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4845 * epg.el (epg--make-temp-file): Avoid permission race condition
4846 when running on old Emacs versions (bug#10403).
4848 2012-01-14 Glenn Morris <rgm@gnu.org>
4850 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4852 2012-01-13 Alan Mackenzie <acm@muc.de>
4854 Fix filling for when filladapt mode is enabled.
4856 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4857 c-mask-paragraph, pass in `fill-paragraph' rather than
4858 `fill-region-as-paragraph'. (This is a reversion of a previous
4860 * progmodes/cc-mode.el (c-basic-common-init):
4861 Make fill-paragraph-handle-comment buffer local and set it to nil.
4863 2012-01-13 Glenn Morris <rgm@gnu.org>
4865 * dired.el (dired-switches-escape-p): New function.
4866 (dired-insert-directory): Use dired-switches-escape-p.
4867 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4869 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4871 2012-01-12 Glenn Morris <rgm@gnu.org>
4873 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4874 changes in adaptive-fill-regexp. (Bug#10276)
4876 2012-01-11 Alan Mackenzie <acm@muc.de>
4878 Fix Emacs bug #10463 - put `widen's around the critical spots.
4880 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4881 widen around each invocation of c-state-pp-to-literal. Remove an
4882 unused let variable.
4884 2012-01-11 Glenn Morris <rgm@gnu.org>
4886 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4889 2012-01-10 Chong Yidong <cyd@gnu.org>
4891 * net/network-stream.el (network-stream-open-starttls):
4892 Avoid emitting a confusing error message when the server gives a bad
4893 response to the capability command.
4895 2012-01-10 Glenn Morris <rgm@gnu.org>
4897 * mail/unrmail.el (unrmail): Tweak previous change.
4899 2012-01-09 Chong Yidong <cyd@gnu.org>
4901 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4903 2012-01-08 Alan Mackenzie <acm@muc.de>
4905 Optimise font locking in long enum definitions.
4907 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4908 arm to a cond form to handle enums.
4909 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4910 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4912 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4914 * files.el (move-file-to-trash): Preserve default file modes on error.
4917 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4919 * faces.el (set-face-attribute): Clarify the meaning of the nil
4922 * subr.el (with-selected-frame): Mention that the selected frame
4923 is restored (bug#9980).
4925 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4928 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4929 (password-read): Don't autoload unused function.
4931 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4933 * progmodes/which-func.el (which-func-mode): Turn into a
4934 non-interactive function and mark as obsolete (bug#10428).
4936 2012-01-06 Chong Yidong <cyd@gnu.org>
4938 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4939 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4940 functions, along with 1 and -1.
4942 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4944 * time.el (display-time-load-average)
4945 (display-time-default-load-average): Doc fixes. See the thread
4947 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4950 2012-01-06 Glenn Morris <rgm@gnu.org>
4952 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4953 has no messages. (Bug#10377)
4955 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4956 than Info-edit. (Bug#10385)
4958 * time.el (display-time-load-average, display-time-next-load-average):
4961 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4962 local setting of buffer-read-only to the input buffer. (Bug#10419)
4964 * calendar/calendar.el (calendar-mode):
4965 Locally set scroll-margin to 0. (Bug#10379)
4967 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4969 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4971 2012-01-05 Glenn Morris <rgm@gnu.org>
4973 * eshell/em-unix.el (diff-no-select): Autoload it.
4974 (eshell/diff): Use diff-no-select. (Bug#10420)
4976 2012-01-05 Chong Yidong <cyd@gnu.org>
4978 * shell.el (shell-dynamic-complete-functions): Revert last change.
4979 (shell-command-completion-function): New function.
4980 (shell-completion-vars): Use it to implement
4981 shell-completion-execonly (Bug#10417).
4983 * custom.el (enable-theme): Don't set custom-safe-themes.
4985 * cus-theme.el (custom-theme-merge-theme):
4986 Ignore custom-enabled-themes and custom-safe-themes.
4988 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4990 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4991 first prompt in `sql-interacive-mode'.
4992 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4994 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4995 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4996 context of original buffer. Invoke `sql-login-hook'.
4998 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5000 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5001 letters in cite-prefix.
5003 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5007 2012-01-03 Chong Yidong <cyd@gnu.org>
5009 * shell.el (shell-dynamic-complete-functions):
5010 Put pcomplete-completions-at-point, so as to try
5011 comint-filename-completion first (Bug#10417).
5013 2012-01-02 Richard Stallman <rms@gnu.org>
5015 * battery.el (battery-status-function):
5016 Detect when to use battery-yeeloong-sysfs.
5017 (battery-echo-area-format): Add string for Yeeloong.
5018 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5019 (battery-yeeloong-sysfs): New function.
5021 2012-01-02 Chong Yidong <cyd@gnu.org>
5023 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5024 (dirtrack): Merge code for handling relative filenames in prompt
5025 from shell-dir-cookie-watcher.
5026 (dirtrack-debug-message): New arg to avoid excess format calls.
5028 * shell.el (shell-dir-cookie-re): Variable deleted.
5029 (shell-dir-cookie-watcher): Function deleted.
5030 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5033 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5035 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5036 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5039 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5041 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5043 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5045 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5046 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5048 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5050 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5051 also for alternative shells.
5052 (tramp-open-connection-setup-interactive-shell): Check, whether
5053 the shell is a busybox.
5054 (tramp-send-command): Don't suppress multiple prompts for
5055 busyboxes, it hurts.
5057 2011-12-28 Chong Yidong <cyd@gnu.org>
5059 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5060 (gdb-get-source-file): Move mode line update to
5061 gdb-get-source-file (Bug#10087).
5063 2011-12-25 Chong Yidong <cyd@gnu.org>
5065 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5066 gud-gdb-marker-filter without taking it as an argument.
5067 (gud-gdb-run-command-fetch-lines): Caller changed.
5068 (gud-gdb-completion-function): New variable.
5069 (gud-gdb-completion-at-point): Use it.
5070 (gud-gdb-completions-1): Split from gud-gdb-completions.
5072 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5073 function as separate arguments.
5074 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5075 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5076 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5077 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5078 (gdb-stopped, def-gdb-auto-update-trigger)
5079 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5080 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5082 (gud-gdbmi-completions): New function.
5083 (gdb): Use it for generating the completion table.
5085 2011-12-24 Alan Mackenzie <acm@muc.de>
5087 Introduce a mechanism to widen the region used in context font
5088 locking. Use this to protect declarations from losing their contexts.
5090 * progmodes/cc-langs.el (c-before-font-lock-functions):
5091 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5092 (c-before-context-fontification-functions): New defvar, a list of
5093 functions to be run just before context (etc.) font locking.
5095 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5096 New, functionality extracted from
5097 c-neutralize-syntax-in-and-mark-CPP.
5098 (c-in-after-change-fontification): New variable.
5099 (c-after-change): Set c-in-after-change-fontification.
5100 (c-set-fl-decl-start): Rejig its interface, so it can be called
5101 from both after-change and context fontifying.
5102 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5104 (c-standard-font-lock-fontify-region-function): New variable.
5105 (c-font-lock-fontify-region): New function.
5107 2011-12-24 Juri Linkov <juri@jurta.org>
5109 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5112 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5114 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5115 existence of source file. (Bug#10325)
5117 2011-12-23 Alan Mackenzie <acm@muc.de>
5119 Fix unstable fontification inside templates.
5121 * progmodes/cc-langs.el (c-before-font-lock-functions):
5122 Newly created from the singular version. The (c c++ objc) entry now
5123 additionally has c-set-fl-decl-start. The other languages (apart
5124 from AWK) have that as a single entry.
5126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5127 The functionality for "local" declarations has been extracted to
5128 c-set-fl-decl-start.
5130 * progmodes/cc-mode.el (c-common-init, c-after-change):
5131 Changes due to pluralisation of c-before-font-lock-functions.
5132 (c-set-fl-decl-start): New function, extracted from
5133 c-font-lock-enclosing-decls and enhanced.
5135 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5137 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5139 2011-12-22 Juri Linkov <juri@jurta.org>
5141 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5143 2011-12-22 Chong Yidong <cyd@gnu.org>
5145 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5147 2011-12-21 Drew Adams <drew.adams@oracle.com>
5149 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5151 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5153 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5155 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5157 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5158 highlighting and support. Fix up comments for capitalization.
5159 (cfengine-mode-debug): New var.
5160 (cfengine3-mode): Change the modeline indicator to "CFE3".
5161 (cfengine3-font-lock-keywords): Improve defun highlighting.
5162 (cfengine2-actions): Rename from `cfengine-actions'.
5163 (cfengine2-font-lock-keywords): Rename from
5164 `cfengine-font-lock-keywords'.
5165 (cfengine2-imenu-expression): Rename from
5166 `cfengine-imenu-expression'.
5167 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5168 (cfengine2-beginning-of-defun): Rename from
5169 `cfengine-beginning-of-defun'.
5170 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5171 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5172 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5173 modeline indicator to "CFE2".
5174 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5175 (cfengine-mode-abbrevs): Mark obsolete.
5177 2011-12-21 Chong Yidong <cyd@gnu.org>
5179 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5182 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5184 * window.el (window-normalize-buffer-to-display): Remove.
5185 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5187 2011-12-19 Chong Yidong <cyd@gnu.org>
5189 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5190 Don't signal an error in a predicate function; return non-nil.
5191 (vc-dir-mark-file): Move the error here.
5192 (vc-dir-mark-unmark): If acting on the region, keep going if one
5193 of the entries cannot be marked/unmarked.
5194 (vc-dir-mark-all-files): If current entry is a directory, mark
5195 only child files, as documented.
5197 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5199 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5200 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5203 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5205 * term/ns-win.el (ns-get-selection-internal)
5206 (ns-store-selection-internal): Declare.
5207 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5208 Declare as obsolete.
5209 (ns-get-pasteboard, ns-paste-secondary):
5210 Use ns-get-selection-internal.
5211 (ns-set-pasteboard, ns-copy-including-secondary):
5212 Use ns-store-selection-internal.
5214 2011-12-17 Chong Yidong <cyd@gnu.org>
5216 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5217 (vc-deduce-fileset): Doc fix.
5219 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5221 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5223 2011-12-13 Sam Steingold <sds@gnu.org>
5225 * man.el (Man-getpage-in-background): When running under a
5226 window-system, ignore $MANWIDTH and $COLUMNS.
5228 2011-12-15 Kenichi Handa <handa@m17n.org>
5230 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5231 (setup-ethiopic-environment-internal): Comment out key-binding for
5232 ethio-toggle-punctuation.
5234 2011-12-13 Alan Mackenzie <acm@muc.de>
5236 Add the switch statement to AWK Mode.
5238 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5239 "default" to the keywords regexp.
5241 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5242 expression as the rest.
5243 (c-nonlabel-token-key): Allow string literals for AWK.
5244 Refactor for the other modes.
5246 Large brace-block initialisation makes CC Mode slow: Fix.
5247 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5248 routines. Limit backward searching in c-font-lock-enclosing.decl.
5250 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5251 pp-state and literal type in addition to the limits.
5252 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5253 (c-state-literal-at): Use the above new defun.
5254 (c-slow-in-literal, c-fast-in-literal): Remove.
5255 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5257 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5258 being in a literal. Add a limit for backward searching.
5260 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5263 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5265 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5267 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5269 * window.el (delete-other-windows): Use correct frame in call to
5270 window-with-parameter.
5272 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5274 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5275 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5276 (makefile-gmake-statements, makefile-makepp-statements):
5277 Use it and add new makepp keywords.
5278 (makefile-makepp-font-lock-keywords): Add new patterns.
5279 (makefile-match-function-end): Match new [...] and [[...]].
5281 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5283 * ses.el (ses-call-printer-return, ses-cell-property-get)
5284 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5285 (ses-create-cell-variable, ses-reset-header-string)
5286 (ses-cell-set-formula, ses-repair-cell-reference-all)
5287 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5288 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5289 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5290 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5291 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5292 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5293 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5294 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5295 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5296 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5297 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5298 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5300 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5302 * ses.el: The overall change is to add cell renaming, that is
5303 setting fancy names for cell symbols other than name matching
5304 "\\`[A-Z]+[0-9]+\\'" regexp .
5305 (ses-create-cell-variable): New defun.
5306 (ses-relocate-formula): Relocate formulas only for cells the
5307 symbols of which are not renamed, i.e. symbols whose names do not
5308 match regexp "\\`[A-Z]+[0-9]+\\'".
5309 (ses-relocate-all): Relocate values only for cells the symbols of
5310 which are not renamed.
5311 (ses-load): Create cells variables as the (ses-cell ...) are read,
5312 in order to check row col consistency with cell symbol name only
5313 for cells that are not renamed.
5314 (ses-replace-name-in-formula): New defun.
5315 (ses-rename-cell): New defun.
5317 2011-12-11 Chong Yidong <cyd@gnu.org>
5319 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5320 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5322 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5324 * window.el (other-window): Fix docstring.
5326 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5328 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5329 `from' or `to' address before taking its substring.
5330 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5331 encoded name is chopped in the middle of the encoded string, and
5332 thus displayed encoded.
5334 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5336 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5338 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5340 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5341 to use texinfo-update-node and commands that call it if the
5342 Texinfo file uses @node lines without next/prev/up pointers.
5343 Correct outdated description about texinfo-master-menu.
5344 (texinfo-all-menus-update, texinfo-master-menu)
5345 (texinfo-update-node, texinfo-every-node-update)
5346 (texinfo-multiple-files-update): Doc fix. Warn against updating
5347 all the @node lines.
5348 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5349 argument is numeric. Explain better in the doc string what the
5350 function really does.
5351 (texinfo-insert-master-menu-list): Improve the error message
5352 displayed if there's no menu in the Top node.
5353 (Bug#2975) See also this thread:
5354 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5356 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5358 * speedbar.el (speedbar-supported-extension-expressions):
5359 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5361 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5363 * printing.el (pr-mode-alist):
5364 * simple.el (filter-buffer-substring-functions)
5365 (completion-list-insert-choice-function):
5366 * window.el (window-with-parameter, window-atom-root)
5367 (window-sides-slots, window-size-fixed, window-min-delta)
5368 (window-max-delta, window--resize-mini-window)
5369 (window--resize-child-windows-normal, window-tree)
5370 (delete-other-windows, quit-window, split-window)
5371 (display-buffer-record-window, special-display-buffer-names)
5372 (special-display-regexps, special-display-popup-frame)
5373 (same-window-p, split-window-sensibly)
5374 (display-buffer-overriding-action, display-buffer-alist)
5375 (display-buffer-base-action, display-buffer, switch-to-buffer)
5376 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5377 (fit-window-to-buffer, recenter-positions)
5378 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5379 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5380 and remove unneeded backslashes in docstrings.
5382 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5386 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5387 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5389 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5390 when reading the makefile (bug#10116).
5392 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5397 2011-12-06 Glenn Morris <rgm@gnu.org>
5399 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5401 2011-12-06 Chong Yidong <cyd@gnu.org>
5403 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5405 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5407 * textmodes/table.el (table-shorten-cell): Fix typo.
5409 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5411 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5413 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5415 * descr-text.el (describe-char): Fix display of strong
5416 right-to-left characters and directional embeddings and overrides.
5418 * simple.el (what-cursor-position): Fix display of codepoints of
5419 strong right-to-left characters.
5421 2011-12-05 Chong Yidong <cyd@gnu.org>
5423 * faces.el (read-color): Doc fix.
5425 2011-12-05 Glenn Morris <rgm@gnu.org>
5427 * align.el (align--set-marker): Add doc-string.
5428 Don't try to move something that is not a marker. (Bug#10216)
5430 2011-12-04 Glenn Morris <rgm@gnu.org>
5432 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5433 overly zealous deletion of trailing whitespace.
5435 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5437 * server.el (server-delete-client): On Windows, do not try to delete
5439 (server-process-filter): On Windows, treat requests for a tty frame as
5440 if they were for a GUI frame if the running server is in GUI mode.
5442 2011-12-03 Glenn Morris <rgm@gnu.org>
5444 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5446 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * electric.el: Streamline electric-indent's hook.
5449 (electric-indent-chars): Revert to simple list.
5450 (electric-indent-functions): New var.
5451 (electric-indent-post-self-insert-function): Use it.
5453 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5454 there's no inferior buffer (bug#10196).
5455 (prolog-consult-compile): Don't use toggle-read-only.
5457 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5459 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5460 interrupt. (Bug#10187)
5462 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5464 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5467 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5470 2011-12-02 Juri Linkov <juri@jurta.org>
5472 * info.el (Info-search): Display "end of manual" when Isearch
5473 reaches the end of single-file Info manual. (Bug#9918)
5475 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5477 * isearch.el (isearch-message-prefix): Run the input method part
5478 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5480 2011-12-02 Juri Linkov <juri@jurta.org>
5482 * isearch.el (isearch-occur): Use `word-search-regexp' for
5484 (isearch-search-and-update): Add condition for `isearch-word' and
5485 call `word-search-regexp'. (Bug#10145)
5487 2011-12-01 Glenn Morris <rgm@gnu.org>
5489 * eshell/em-hist.el (eshell-hist-initialize):
5490 Handle eshell-history-size nil and HISTSIZE set or unset.
5491 (eshell-history-file-name, eshell-history-size): Fix custom type.
5493 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5495 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5497 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5499 * progmodes/verilog-mode.el (verilog-pretty-expr):
5500 Rework verilog-pretty-expr to handle new assignment operators in system
5501 verilog, such as += *= and the like.
5502 (verilog-assignment-operator-re): Regular expression to find the
5503 assigment operator in a verilog assignment.
5504 (verilog-assignment-operation-re): Regular expression to find an
5505 assignment statement for pretty-expr.
5506 (verilog-in-attribute-p): Query returns true if point is in an
5507 attribute context; used to skip these for expression line up from
5509 (verilog-in-parameter-p): Query returns true if point is in an
5510 parameter definition context; used to skip these for expression
5511 line up from pretty-expr.
5512 (verilog-in-parenthesis-p): Query returns true if point is in a
5513 parenthetical expression, specifically ( ) but not [ ] or { };
5514 used by pretty-expr.
5515 (verilog-just-one-space): If there is no space, don't add one.
5516 (verilog-get-lineup-indent-2): Specifically skip just attribute
5517 contexts for expression lineup, rather than skipping all
5518 parenthetical expressions.
5519 (verilog-calculate-indent): Fix comment, and fix indent.
5520 (verilog-do-indent): Indent declarations in lists (suggested by
5522 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5524 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5527 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5529 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5530 parameters with embedded comments. Reported by Ray Stevens.
5531 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5532 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5533 Reported by Tim Holt.
5534 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5535 instantiated by upper module causing wrong expansion until AUTOed a
5536 second time. Reported by K C Buckenmaier.
5537 (verilog-diff-auto): Fix showing .* as a difference when
5538 `verilog-auto-star-save' off. Reported by Dan Dever.
5539 (verilog-auto-reset, verilog-read-always-signals)
5540 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5541 temporary signals in reset list if
5542 verilog-auto-reset-blocking-in-non is nil, and match assignment
5543 style to each signal's assignment type, bug381.
5544 Reported by Thomas Esposito.
5545 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5546 (verilog-uvm-statement-re): Support UVM indentation and
5547 highlighting, with old OVM keywords only.
5548 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5549 Support AUTOTIEOFF creating non-wire data types.
5550 Suggested by Jonathan Greenlaw.
5551 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5552 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5553 (verilog-inject-sense, verilog-read-inst-pins)
5554 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5555 Fix mismatching parenthesis inside commented out code when deleting
5556 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5557 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5558 non-numeric vector width. Reported by Alex Reed.
5559 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5560 detecting signals with parameter widths. Reported by Alex Reed.
5561 (verilog-auto-delete-trailing-whitespace):
5562 With `verilog-auto-delete-trailing-whitespace' remove trailing
5563 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5564 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5565 Fix verilog-scan-cache corruption when running user AUTO expansion
5566 hooks that call indentation routines.
5567 (verilog-simplify-range-expression): Fix typo ignoring lower case
5569 (verilog-delete-auto): Fix delete-autos to also remove user created
5570 automatics, as long as they start with AUTO.
5571 (verilog-batch-diff-auto, verilog-diff-auto)
5572 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5573 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5574 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5575 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5576 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5577 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5578 is disabled and its cache will get corrupt, causing AUTOS not to
5579 expand. Instead use only -quick functions.
5580 (verilog-scan-region): Fix scanning over escaped quotes.
5581 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5582 (verilog-re-search-backward-quick)
5583 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5584 related functions now ignore strings, to fix misparsing of strings
5585 with magic comments embedded in them.
5586 (verilog-read-auto-template):
5587 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5588 Reported by Brad Dobbie.
5589 (verilog-read-auto-template):
5590 Fix 'verilog-auto-inst-template-numbers' with comments.
5591 Reported by Brad Dobbie.
5592 (verilog-auto-inst, verilog-auto-inst-param)
5593 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5594 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5595 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5596 debugging templates without merge conflicts, bug357.
5597 Reported by Brad Dobbie.
5598 (verilog-read-auto-template):
5599 Fix verilog-auto-inst-template-numbers with multiple templates.
5600 Reported by Brad Dobbie.
5601 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5602 abbrevs so user won't be asked to save.
5603 (verilog-read-auto-lisp-present): Fix to start at beginning of
5604 buffer in case called outside of verilog-auto.
5605 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5606 to "X-2". Reported by Matthew Myers.
5607 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5608 all inputs from module templates. Reported by Leith Johnson.
5609 (verilog-module-inside-filename-p): Fix locating programs as with
5611 (verilog-auto-inst-port): Fix vl-width expressions when using
5612 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5613 (verilog-decls-get-regs, verilog-decls-get-signals,
5614 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5615 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5616 verilog-read-decls): Combine reg and wire structures into one var
5617 structure to represent SystemVerilog concepts.
5618 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5619 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5620 (verilog-auto-wire-type, verilog-insert-definition):
5621 Add verilog-auto-wire-type and AUTOLOGIC to support using
5622 SystemVerilog "logic" keyword instead of "wire"/"reg".
5623 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5624 to declares outputs that also have assignments (presumably in an
5625 ifdef or generate if so there's not a driver conflict).
5626 Reported by Matthew Myers.
5627 (verilog-auto-declare-nettype, verilog-insert-definition):
5628 Add verilog-auto-declare-nettype to fix declarations using
5629 `default_nettype none. Reported by Julian Gorfajn.
5630 (verilog-read-always-signals-recurse, verilog-read-decls)
5631 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5632 malformed end statement, bug325. Reported by Joshua Wise and
5634 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5635 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5636 when expanding .* in interfaces, bug320.
5637 Reported by Pierre-David Pfister.
5638 (verilog-read-module-name): Fix import statements between module
5639 name and open parenthesis, bug317.
5640 Reported by Pierre-David Pfister.
5641 (verilog-simplify-range-expression): Fix simplification of
5642 multiplications inside AUTOWIRE connections, bug303.
5643 (verilog-auto-inst-port): Support parameter expansion in
5644 multidimensional arrays.
5645 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5646 after "assert property". Reported by Julian Gorfajn.
5647 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5648 with multiplication, bug303.
5649 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5650 Reported by Jan Frode Lonnum.
5652 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5654 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5655 (hfy-shell-file-name, hfy-shell):
5656 * international/fontset.el (x-decompose-font-name): Fix typos.
5658 2011-11-29 Ken Brown <kbrown@cornell.edu>
5660 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5661 (gdb-version): Remove defvar.
5662 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5663 (gdb-gud-context-command, gdb-non-stop-handler)
5664 (gdb-current-context-command, gdb-stopped): Use it.
5665 (gdb-init-1): Enable pretty printing here.
5666 (gdb-non-stop-handler): Don't enable pretty-printing here.
5667 Check to see if the target supports non-stop mode; if not, turn off
5668 non-stop mode. Use the following.
5669 (gdb-check-target-async): New defun.
5670 (gud-watch, gdb-stopped): Fix whitespace.
5671 (gdb-get-source-file): Don't try to display the source file if
5672 `gdb-main-file' is nil.
5674 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * align.el: Try to generate fewer markers (bug#10047).
5677 (align--set-marker): New macro.
5678 (align-region): Use it.
5680 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5684 2011-11-29 Chong Yidong <cyd@gnu.org>
5686 * indent.el (indent-for-tab-command, indent-according-to-mode):
5688 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5690 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5692 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5693 aware of remote file names. (Bug#10124)
5695 2011-11-29 Chong Yidong <cyd@gnu.org>
5697 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5699 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * files.el (find-file): Don't use force-same-window (bug#10144).
5702 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5703 use pop-to-buffer if the selected window can't be used.
5704 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5706 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5708 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5711 2011-11-28 Chong Yidong <cyd@gnu.org>
5713 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5715 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5717 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5718 gdb-get-source-file-list on gdb-create-source-file-list.
5720 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5722 * whitespace.el (whitespace-newline): Use a different foreground
5723 color for 16-color light-background displays.
5725 2011-11-24 Chong Yidong <cyd@gnu.org>
5727 * window.el (display-buffer--special-action): Doc fix.
5729 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5731 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5732 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5733 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5735 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5736 (avl-tree-stack-first):
5737 * emacs-lisp/cconv.el (cconv--analyse-use):
5738 * net/gnutls.el (gnutls-negotiate): Fix typos.
5740 2011-11-24 Glenn Morris <rgm@gnu.org>
5742 * lpr.el (lpr-windows-system, lpr-lp-system):
5743 * mail/binhex.el (binhex-begin-line):
5744 * progmodes/grep.el (grep-history, grep-find-history):
5745 * textmodes/flyspell.el:
5746 * vc/pcvs-defs.el (cvs-global-menu):
5747 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5748 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5749 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5751 * net/tls.el: Fix case of "GnuTLS".
5753 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5755 * version.el (emacs-build-system): Give it a doc-string.
5757 2011-11-24 Juri Linkov <juri@jurta.org>
5759 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5761 2011-11-24 Glenn Morris <rgm@gnu.org>
5763 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5764 if called on a non-mime message just toggle the headers. (Bug#8006)
5766 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5768 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5769 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5770 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5771 (allout-rebullet-heading, allout-open-sibtopic)
5772 (allout-toggle-current-subtree-encryption)
5773 (allout-toggle-subtree-encryption, allout-encrypt-string)
5774 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5775 (allout-distinctive-bullets-string, allout-auto-activation):
5776 * window.el (window-normalize-buffer-to-display):
5777 * progmodes/verilog-mode.el (verilog-batch-indent):
5778 * textmodes/bibtex.el (bibtex-field-braces-opt)
5779 (bibtex-field-strings-opt):
5780 * vc/cvs-status.el (cvs-tree-merge):
5783 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5785 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5786 `non-essential' to t, in order to avoid remote connections.
5788 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5791 On MS-DOS and MS-Windows, compare with loaddefs.el
5794 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5796 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5798 2011-11-23 Glenn Morris <rgm@gnu.org>
5800 * paths.el (rmail-file-name): Reformat the doc-string so that it
5803 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5804 (rmail-auto-file): Ignore case in the "special" field names,
5805 as mail-fetch-field does for all others.
5807 * mail/rmail.el (rmail-forward):
5808 * mail/rmailkwd.el (rmail-set-label):
5809 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5810 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5812 * mail/rmail.el (rmail-current-message): Doc fix.
5814 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5816 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5820 2011-11-22 Glenn Morris <rgm@gnu.org>
5822 * mail/rmailmm.el (test-rmail-mime-handler)
5823 (test-rmail-mime-bulk-handler)
5824 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5826 2011-11-21 Juri Linkov <juri@jurta.org>
5828 * calc/calc.el (calc-read-key-sequence):
5829 Let-bind `input-method-function' to nil. (Bug#10018)
5831 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5834 Tell the caller that the next line needs recomputation, even
5835 though it doesn't start a sexp (bug#10094).
5837 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5841 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5844 Use force-same-window.
5846 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5848 * descr-text.el (describe-char-unicode-data):
5849 * json.el (json-string-escape):
5850 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5851 (Footnote-unicode, Footnote-style-p):
5852 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5854 2011-11-20 Chong Yidong <cyd@gnu.org>
5856 * window.el (replace-buffer-in-windows): Restore interactive spec.
5858 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5862 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5863 (byte-compile-global-not-obsolete-vars): New var.
5864 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5866 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5868 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5870 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5871 * progmodes/pascal.el (electric-pascal-equal):
5872 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5873 * xml.el (xml-substitute-special): Fix typos.
5875 2011-11-20 Glenn Morris <rgm@gnu.org>
5877 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5878 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5880 (rmail-decode-mime-charset): Mark as obsolete.
5882 * mail/rmailsum.el (rmail-message-regexp-p-1):
5883 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5884 Before using mime functions, check they are set. (Bug#10077)
5886 2011-11-19 Juri Linkov <juri@jurta.org>
5888 * info.el (Info-finder-find-node): Use `package--builtins' instead
5889 of `package-alist'. Use node names formed by the pattern "Keyword "
5890 and the keyword name.
5892 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5894 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5896 2011-11-19 Juri Linkov <juri@jurta.org>
5898 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5899 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5900 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5901 `old-history', `old-history-forward'. Add let-binding
5902 `window-selected'. Remove calls to `kill-buffer',
5903 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5904 before calling `Info-find-node', so `Info-find-node-2' will reread
5905 the Info file. Restore window positions only when `window-selected'
5908 2011-11-19 Juri Linkov <juri@jurta.org>
5910 * isearch.el (isearch-lazy-highlight-new-loop):
5911 Remove condition `(not isearch-error)'. (Bug#9918)
5913 * misearch.el (multi-isearch-search-fun): Add condition
5914 `(not bound)' to ignore lazy-highlighting search.
5915 Add the search-failed message "end of multi" when the end of
5916 multi-sequence is reached. Uncapitalize the search-failed
5917 message "Repeat for next buffer".
5919 * info.el (Info-search): Add the search-failed message
5920 "end of the manual" when the end of the manual is reached
5923 2011-11-19 Juri Linkov <juri@jurta.org>
5925 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5926 Use non-destructive `remove' instead of `delete' because
5927 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5928 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5930 2011-11-19 Juri Linkov <juri@jurta.org>
5932 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5933 to nil instead of binding `search-ring' and `regexp-search-ring'.
5936 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5938 * simple.el (line-move): Force movement by logical lines for any
5939 hscrolled window, not only when auto-hscroll-mode is on.
5940 (line-move-visual): Update doc string to that effect. (Bug#10076)
5942 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5944 * language/european.el (macintosh): Define as alias for mac-roman.
5946 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5948 * mail/rmailmm.el (rmail-mime-display-header)
5949 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5950 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5951 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5952 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5953 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5955 (rmail-mime-entity-segment): To get past the tagline, move forward
5956 2 more lines, to account for the 2 empty lines that precede and
5957 follow the line with the buttons.
5958 (rmail-mime-update-tagline): Move one more line, to get past the
5959 empty line that follows the buttons in the tagline. (Bug#9520)
5961 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5963 * window.el (window-max-delta-1, window-min-delta-1)
5964 (window-min-size-1, window-state-get-1, window-state-put-1)
5965 (window-state-put-2): Use "window--" prefix.
5967 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5969 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5970 (smie-warning-count): New var.
5971 (smie-set-prec2tab): Use it.
5972 (smie-bnf->prec2): Improve warnings. Add docstring.
5973 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5974 (smie-bnf--set-class): New function.
5975 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5978 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5979 (compilation-error-properties, compilation-move-to-column):
5980 Handle compilation-first-column while in the target buffer.
5982 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5983 Don't hardcode point-min==1.
5985 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5986 (eshell-rewrite-for-command): Remove workaround.
5987 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5988 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5989 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5991 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5993 2011-11-17 Glenn Morris <rgm@gnu.org>
5995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5996 Ignore buffer-local generated-autoload-file if it is the same
5997 as the global value. (Bug#10049)
5999 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6001 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6002 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6003 (reftex-toc-previous-heading, reftex-toc-max-level)
6004 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6005 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6006 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6007 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6008 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6009 (reftex-toc-rename-label, reftex-toc-visit-location)
6010 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6011 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6012 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6013 leaving "*toc*" only for references to the buffer.
6015 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6017 * window.el (window-resize, delete-window, split-window):
6018 Replace window-splits by window-combination-resize.
6019 * cus-start.el (window-splits): Replace by window-combination-resize.
6021 2011-11-17 Glenn Morris <rgm@gnu.org>
6023 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6024 Make bash entry derive from sh entry, not shell entry.
6026 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6028 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6029 properties of linked files. (Bug#9879)
6031 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6034 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6036 * menu-bar.el (menu-bar-file-menu):
6037 * printing.el (pr-ps-utility):
6038 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6039 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6040 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6041 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6042 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6043 (icalendar--convert-cyclic-to-ical)
6044 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6045 (icalendar--convert-ical-to-diary)
6046 (icalendar--convert-recurring-to-diary)
6047 (icalendar--convert-non-recurring-all-day-to-diary)
6048 (icalendar-import-format-sample):
6049 * progmodes/idlw-shell.el (idlwave-shell-mode):
6050 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6051 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6052 (vhdl-ps-print-init): Fix typos.
6054 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6056 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6057 FSF and collapse date sequence, obscure author/maintainer email address
6058 better, remove extra version line, track relocation of author's webpage.
6060 * progmodes/python.el (python-pdbtrack-input-prompt)
6061 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6062 regular python pdb prompts. Adjustments shamelessly taken exactly as
6063 suggested in EmacsWiki page (tiny change):
6064 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6066 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6068 * expand.el (expand-pos, expand-index, expand-point):
6069 Remove redundant info from docstring.
6070 (expand-add-abbrevs): Doc fix.
6071 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6072 (expand-sample-perl-mode-expand-list): Fix typos.
6074 * net/dbus.el (dbus-event-member-name):
6075 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6076 * term/pc-win.el (msdos-create-frame-with-faces):
6077 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6079 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6081 * window.el (split-window, window-state-get-1)
6082 (window-state-put-1, window-state-put-2): Rename occurrences of
6083 window-nest to window-combination-limit.
6084 * cus-start.el (window-nest): Rename to window-combination-limit.
6086 2011-11-16 Chong Yidong <cyd@gnu.org>
6088 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6091 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6094 `completing-read' will remove *Completions* and will preserve
6095 current-buffer for us.
6096 (tmm-add-prompt): Users of *Completions* will always (re)set its
6098 (tmm-old-comp-map): Remove.
6100 2011-11-16 Glenn Morris <rgm@gnu.org>
6102 * mail/rmailedit.el: Require rmailmm when compiling.
6103 (rmail-old-mime-state): New declaration.
6104 (rmail-edit-current-message): If editing a mime message,
6105 edit the "raw" message from the mbox buffer.
6106 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6108 2011-11-15 Glenn Morris <rgm@gnu.org>
6110 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6111 which wasn't being used. Add optional arg to force given state.
6112 (rmail-mime): Add optional arg to force given state.
6114 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6116 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6117 * frame.el (display-mm-dimensions-alist):
6118 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6119 (outline-move-subtree-down):
6120 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6121 (newsticker--treeview-do-get-node):
6122 * net/quickurl.el (quickurl-list-buffer-name):
6123 * progmodes/dcl-mode.el (dcl-mode):
6124 * progmodes/gdb-mi.el (gdb-mapcar*):
6125 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6127 2011-11-15 Glenn Morris <rgm@gnu.org>
6129 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6130 in a boolean sense, so just make it a boolean, and fix the doc.
6131 (rmail-show-mime-function, rmail-mime-feature)
6132 (rmail-require-mime-maybe): Doc fixes.
6133 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6135 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6137 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6139 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6140 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6141 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6142 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6144 2011-11-15 Glenn Morris <rgm@gnu.org>
6146 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6147 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6148 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6149 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6150 (rmail-mime, rmail-show-mime): Doc fixes.
6152 * term/ns-win.el (mode-line-frame-identification):
6153 Leave it alone. (Bug#10051)
6155 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6157 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6158 Handle empty buffers. (Bug#9978)
6160 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6162 * international/mule.el (define-charset):
6163 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6164 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6165 * progmodes/verilog-mode.el (verilog-backward-token):
6166 * textmodes/ispell.el (lookup-words):
6167 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6169 2011-11-14 Glenn Morris <rgm@gnu.org>
6171 * progmodes/executable.el
6172 (executable-make-buffer-file-executable-if-script-p):
6173 Handle file-modes returning nil.
6175 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6176 message - not necessary, and causes problems. (Bug#9831)
6178 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6180 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6182 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6183 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6184 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6186 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6188 * window.el (window-resize, delete-window): Use window-splits
6189 variable instead of function.
6190 (window-state-get-1, window-state-put-2, window-state-put):
6191 Don't deal with windows' splits status.
6193 2011-11-12 Glenn Morris <rgm@gnu.org>
6195 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6196 (apropos-documentation): Doc fixes.
6198 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6200 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6201 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6203 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * electric.el (electric-indent-post-self-insert-function): Make it
6206 possible for a char to only indent in some circumstances.
6207 (electric-indent-mode): Simplify.
6209 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6211 * window.el (windows-with-parameter): Remove unused function.
6212 (windows-at-side): Rename to window-at-side-list.
6213 (window-check, window-atom-check, window-atom-check-1)
6214 (window-side-check, window-size-ignore, window-size-fixed-1)
6215 (window-in-direction-2): Prefix with "window--".
6216 (window-tree-1): Rename to window--subtree, fix doc-string.
6218 2011-11-11 Glenn Morris <rgm@gnu.org>
6220 * subr.el (eval-after-load): If FILE is already loaded,
6221 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6223 2011-11-10 Glenn Morris <rgm@gnu.org>
6225 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6226 Call svn via vc-svn-command rather than vc-do-command.
6227 (vc-svn-command): Add --non-interactive. (Bug#9993)
6228 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6230 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6231 Add toggle-read-only. (Bug#7292)
6232 * files.el (toggle-read-only): Mention that it should only
6233 be used interactively. (Bug#10006)
6235 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6238 Adjust regexp for OCaml warnings.
6240 * electric.el (electric-pair-post-self-insert-function): Let user
6241 turn it off buffer-locally (bug#9932).
6243 * progmodes/python.el (python-beginning-of-statement):
6246 * progmodes/compile.el: Better handle TABs (bug#9749).
6247 (compilation-internal-error-properties)
6248 (compilation-next-error-function): Obey the target buffer's
6249 compilation-error-screen-columns.
6251 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6253 * progmodes/meta-mode.el: Remove obsolete comments.
6254 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6255 Fix typos in docstrings.
6257 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6259 * window.el (window-size-fixed-p): Rewrite doc-string.
6260 (window-resizable-p): Rename to window--resizable-p. Update callers.
6261 (window--resizable): New function. Make all callers of
6262 window-resizable call window--resizable instead.
6263 (window-resizable): Rewrite in terms of window--resizable.
6265 2011-11-08 Glenn Morris <rgm@gnu.org>
6267 * progmodes/delphi.el (delphi-mode-syntax-table):
6268 Let define-derived-mode define a proper syntax table. (Bug#9994)
6270 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6272 * window.el: Stay away from defsubst.
6273 (window-list-no-nils): Remove.
6274 (window-state-get-1, window-state-get): Use backquote instead.
6276 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6278 * emacs-lisp/find-func.el (find-function-read):
6279 Fix incorrect use of default argument in `completing-read'.
6281 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6283 * window.el (display-buffer-function, special-display-function):
6284 Mention display-buffer-record-window but do not mention
6285 help-setup parameter in doc-strings.
6286 (window-min-delta): Fix doc-string typo.
6288 2011-11-08 Chong Yidong <cyd@gnu.org>
6290 * window.el (window-total-height, window-total-width): Doc fix.
6291 (window-body-size): Move from C.
6292 (window-body-height, window-body-width): Move to C.
6294 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * window.el: Make special-display like display-buffer-alist (bug#9532).
6297 (display-buffer--special-action): New function, morphed
6298 from display-buffer--special.
6299 (display-buffer): Use it to handle special-display-buffers at higher
6300 priority (just after display-buffer-alist).
6301 (display-buffer-fallback-action, display-buffer--other-frame-action)
6302 (pop-to-buffer-same-window): Remove display-buffer--special.
6304 2011-11-07 Glenn Morris <rgm@gnu.org>
6306 * calendar/cal-menu.el (cal-menu-set-date-title):
6307 Do nothing if not in a calendar. (Bug#9976)
6309 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6311 * files.el (find-file): Always use selected-window.
6313 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6315 * window.el (window-combinations): Make WINDOW argument
6316 mandatory. Rewrite doc-string.
6317 (walk-window-subtree, window-atom-check, window-min-delta)
6318 (window-max-delta, window--resize-this-window)
6319 (window--resize-root-window-vertically, window-tree)
6320 (balance-windows, window-state-put): Rewrite doc-strings as to
6321 not mention the term "subwindow".
6322 (window--resize-subwindows-skip-p): Rename to
6323 window--resize-child-windows-skip-p.
6324 (window--resize-subwindows-normal): Rename to
6325 window--resize-child-windows-normal.
6326 (window--resize-subwindows): Rename to
6327 window--resize-child-windows.
6328 (window-or-subwindow-p): Rename to window--in-subtree-p.
6330 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6332 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6333 Ensure that mbox format messages end in two newlines (Bug#9974).
6335 2011-11-06 Chong Yidong <cyd@gnu.org>
6337 * window.el (window-combination-p): Function deleted; its
6338 side-effect is not used in any existing code.
6339 (window-combinations, window-combined-p): Call window-*-child
6342 2011-11-05 Chong Yidong <cyd@gnu.org>
6344 * window.el (window-valid-p): Rename from window-any-p.
6345 (window-size-ignore, window-state-get): Callers changed.
6346 (window-normalize-window): Rename from window-normalize-any-window.
6347 New arg LIVE-ONLY, replacing window-normalize-live-window.
6348 (window-normalize-live-window): Delete.
6349 (window-combination-p, window-combined-p, window-combinations)
6350 (walk-window-subtree, window-atom-root, window-min-size)
6351 (window-sizable, window-sizable-p, window-size-fixed-p)
6352 (window-min-delta, window-max-delta, window-resizable)
6353 (window-resizable-p, window-full-height-p, window-full-width-p)
6354 (window-current-scroll-bars, window-point-1, set-window-point-1)
6355 (window-at-side-p, window-in-direction, window-resize)
6356 (adjust-window-trailing-edge, maximize-window, minimize-window)
6357 (window-deletable-p, delete-window, delete-other-windows)
6358 (record-window-buffer, unrecord-window-buffer)
6359 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6360 (quit-window, split-window, window-state-put)
6361 (set-window-text-height, fit-window-to-buffer)
6362 (shrink-window-if-larger-than-buffer): Callers changed.
6364 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6366 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6367 rfc2047-decode-string.
6368 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6371 * window.el (window-body-height, window-body-width): Mention in
6372 the doc string that the return values are in frame's canonical
6375 2011-11-03 Alan Mackenzie <acm@muc.de>
6377 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6378 change in cc-engine.el.
6380 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6384 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6386 * window.el (quit-window): Call unrecord-window-buffer after
6387 showing another buffer in the window. (Bug#9937)
6388 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6390 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6392 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6393 Accept status with more than 9 shelves. (Bug#9935)
6394 Reported by Colin D Bennett <colin@gibibit.com>.
6396 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6398 * help.el (with-help-window): Don't reference
6399 temp-buffer-show-specifiers in doc-string.
6401 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6403 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6406 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6408 * whitespace.el: New version 13.2.2.
6409 (whitespace-newline-mode): Disable properly. Reported by Sarah
6412 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6414 * net/newst-treeview.el: Remove "Time-stamp".
6415 (newsticker--group-manage-orphan-feeds): Do not call
6416 newsticker--treeview-tree-update.
6417 (newsticker-treeview-update, newsticker-treeview):
6418 Call newsticker--treeview-tree-update if necessary.
6420 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6422 * window.el (window-iso-combination-p, window-iso-combined-p)
6423 (window-iso-combinations): Remove "iso-" infix.
6424 Suggested by Chong Yidong.
6425 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6426 (window-max-delta-1, window-resize, window--resize-siblings)
6427 (window--resize-this-window, adjust-window-trailing-edge)
6428 (split-window, balance-windows-1)
6429 (shrink-window-if-larger-than-buffer):
6430 * calendar/calendar.el (calendar-generate-window):
6431 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6433 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6436 in place (bug#9907).
6437 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6438 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6439 (eshell-structure-basic-command, eshell-rewrite-while-command)
6440 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6441 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6442 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6443 (eshell-do-pipelines-synchronously, eshell-eval-command):
6444 Use backquotes and prefer setq to set.
6445 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6446 (eshell-macrop): Use functionp.
6447 (eshell-do-eval): Handle multiple expressions in `while' body.
6449 2011-10-30 Chong Yidong <cyd@gnu.org>
6451 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6452 instead of set-mark (Bug#9810).
6454 2011-10-30 Chong Yidong <cyd@gnu.org>
6456 * window.el (split-window-below, split-window-right): Rename from
6457 split-window-above-each-other and split-window-side-by-side
6458 respectively. All callers changed.
6459 (split-window-sensibly, split-window-sensibly): Use them.
6460 (split-window-keep-point): Doc fix.
6462 * isearch.el: Add isearch-scroll property to split-window-below
6463 and split-window-right.
6465 * follow.el (follow-mode):
6466 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6467 * progmodes/ada-xref.el (ada-gdb-application):
6468 * emulation/vip.el (vip-buffer-in-two-windows):
6469 * image-dired.el (image-dired-dired-with-window-configuration):
6470 * dired-x.el (dired-do-find-marked-files):
6471 * dired.el (dired-pop-to-buffer):
6472 * bs.el (bs--show-with-configuration):
6473 * vc/emerge.el (emerge-setup-windows):
6474 * textmodes/two-column.el (2C-two-columns):
6475 * textmodes/reftex-toc.el (reftex-toc):
6476 * progmodes/gdb-mi.el (gdb-setup-windows):
6477 * progmodes/fortran.el (fortran-window-create):
6478 * net/newst-treeview.el (newsticker--treeview-window-init):
6479 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6480 * emulation/tpu-edt.el (tpu-gold-map):
6481 * emulation/crisp.el (crisp-mode-map):
6482 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6484 2011-10-29 Chong Yidong <cyd@gnu.org>
6486 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6488 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6490 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6491 forged Ispell output (Bug#7904).
6493 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6495 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6497 * doc-view.el: Avoid ugly errors about not finding nil.
6498 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6499 (doc-view-dvipdf-program, doc-view-unoconv-program)
6500 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6501 Avoid nil or absolute file name as default value.
6502 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6504 2011-10-28 Alan Mackenzie <acm@muc.de>
6506 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6508 2011-10-28 Alan Mackenzie <acm@muc.de>
6510 Amend the handling of c-beginning/end-of-defun in nested declaration
6513 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6514 cc-langs.el. Change it to a defcustom.
6516 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6519 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6520 Prevent "class foo : bar" being spuriously recognized as a label.
6522 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6523 Add parameter `inclusive' (to include enclosing braces in the region).
6524 (c-widen-to-enclosing-decl-scope): New function.
6525 (c-while-widening-to-decl-block): New macro.
6526 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6527 outward for defun boundaries, and correspondingly change symbol
6528 `respect-enclosure' to `go-outward'.
6529 (c-declaration-limits): Change algorithm to report only the "innermost"
6532 2011-10-28 Deniz Dogan <deniz@dogan.se>
6534 * net/rcirc.el (rcirc-mode): Use hard newlines.
6536 2011-10-28 Alan Mackenzie <acm@muc.de>
6538 Amend to indent and fontify macros "which include their own semicolon"
6539 correctly, using the "virtual semicolon" mechanism.
6541 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6543 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6544 Recode to scan one line at a time rather than having \n and \r
6545 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6546 (c-forward-label): Amend for virtual semicolons.
6547 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6549 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6550 of the new C macros.
6552 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6553 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6554 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6555 (c-opt-cpp-macro-define): Make into a full language variable.
6556 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6557 AWK Mode (including \n, \r) removed, no longer needed.
6559 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6560 Invoke c-make-macro-with-semi-re.
6562 * progmodes/cc-vars.el (c-macro-with-semi-re):
6563 (c-macro-names-with-semicolon): New variables.
6564 (c-make-macro-with-semi-re): New function.
6566 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * vc/log-edit.el: Fill empty field rather than adding new one.
6569 (log-edit-add-field): New function.
6570 (log-edit-insert-changelog): Use it.
6572 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6574 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6576 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6579 (gdb--check-interpreter): New function.
6582 2011-10-27 Glenn Morris <rgm@gnu.org>
6584 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6585 (least-positive-float, least-negative-float)
6586 (least-positive-normalized-float, least-negative-normalized-float)
6587 (float-epsilon, float-negative-epsilon):
6588 Remove unnecessary declarations.
6590 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6591 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6592 (least-positive-float, least-negative-float)
6593 (least-positive-normalized-float, least-negative-normalized-float)
6594 (float-epsilon, float-negative-epsilon): Add doc-strings,
6595 based on those in cl.texi.
6597 * files.el (set-visited-file-name): If the major-mode changed,
6598 reload the local variables. (Bug#9796)
6600 2011-10-27 Chong Yidong <cyd@gnu.org>
6602 * subr.el (change-major-mode-after-body-hook): New hook.
6603 (run-mode-hooks): Run it.
6605 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6606 Use change-major-mode-before-body-hook.
6608 * simple.el (fundamental-mode):
6609 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6610 change introducing fundamental-mode-hook.
6612 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6614 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6616 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6618 * ido.el (ido-file-name-all-completions-1): Do not require
6619 tramp.el explicitly. (Bug#7583)
6621 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * progmodes/octave-mod.el:
6624 * progmodes/octave-inf.el: Update maintainer.
6626 2011-10-26 Chong Yidong <cyd@gnu.org>
6628 * subr.el (with-wrapper-hook): Rewrite doc.
6630 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6632 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6633 filenames "/method:foo:". (Bug#9793)
6635 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6640 2011-10-24 Glenn Morris <rgm@gnu.org>
6642 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6644 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6646 * notifications.el: Add the requirement of a running D-Bus session
6647 bus to the Commentary.
6649 2011-10-24 Juri Linkov <juri@jurta.org>
6651 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6652 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6655 2011-10-24 Juri Linkov <juri@jurta.org>
6657 * info.el (Info-following-node-name-re): Add newline to the list
6658 of allowed characters for leading space. (Bug#9824)
6660 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * progmodes/octave-inf.el (inferior-octave-mode-map):
6663 Fix C-c C-h binding.
6664 * progmodes/octave-mod.el (octave-help): Remove.
6666 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6668 Sync with Tramp 2.2.3.
6670 * net/tramp-cache.el (top): Pacify byte-compiler using
6671 `init-file-user' and `site-run-file'.
6673 * net/trampver.el: Update release number.
6675 2011-10-23 Chong Yidong <cyd@gnu.org>
6677 * files.el (toggle-read-only): Remove obsolete comment about
6680 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6681 for toggle-read-only. Note that this hasn't called vc-next-action
6682 since 2008-05-02, though it wasn't documented at the time.
6684 * vc/ediff-init.el (ediff-toggle-read-only-function):
6685 Use toggle-read-only.
6687 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6689 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6692 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6693 correct faulty logical expression.
6694 (c-parse-state-state, c-record-parse-state-state):
6695 (c-replay-parse-state-state): New defvar/defuns.
6696 (c-debug-parse-state): Use new functions.
6698 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6700 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6701 last fix. Use window-in-direction correctly.
6703 2011-10-21 Chong Yidong <cyd@gnu.org>
6705 * progmodes/idlwave.el (idlwave-mode):
6706 * progmodes/vera-mode.el (vera-mode): No need to set
6707 require-final-newline; that's done in prog-mode.
6708 Suggested by Stefan Monnier.
6710 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6712 * mouse.el (mouse-drag-window-above)
6713 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6714 (mouse-drag-mode-line-1, mouse-drag-header-line)
6715 (mouse-drag-vertical-line-rightward-window): Remove.
6716 (mouse-drag-line): New function.
6717 (mouse-drag-mode-line, mouse-drag-header-line)
6718 (mouse-drag-vertical-line): Call mouse-drag-line.
6719 * window.el (window-at-side-p, windows-at-side): New functions.
6721 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6723 * tar-mode.el (tar-grind-file-mode):
6724 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6726 2011-10-21 Chong Yidong <cyd@gnu.org>
6728 * progmodes/idlwave.el (idlwave-mode):
6729 * progmodes/vera-mode.el (vera-mode):
6730 Use mode-require-final-newline.
6732 2011-10-20 Glenn Morris <rgm@gnu.org>
6734 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6736 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6738 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6740 2011-10-20 Chong Yidong <cyd@gnu.org>
6742 * emulation/cua-base.el (cua-mode):
6743 * mail/footnote.el (footnote-mode):
6744 * mail/mailabbrev.el (mail-abbrevs-mode):
6745 * net/xesam.el (xesam-minor-mode):
6746 * progmodes/bug-reference.el (bug-reference-mode):
6747 * progmodes/cap-words.el (capitalized-words-mode):
6748 * progmodes/compile.el (compilation-minor-mode)
6749 (compilation-shell-minor-mode):
6750 * progmodes/gud.el (gud-tooltip-mode):
6751 * progmodes/hideif.el (hide-ifdef-mode):
6752 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6753 * progmodes/subword.el (subword-mode):
6754 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6755 * progmodes/which-func.el (which-function-mode):
6756 * term/tvi970.el (tvi970-set-keypad-mode):
6757 * term/vt100.el (vt100-wide-mode):
6758 * textmodes/flyspell.el (flyspell-mode):
6759 * textmodes/ispell.el (ispell-minor-mode):
6760 * textmodes/nroff-mode.el (nroff-electric-mode):
6761 * textmodes/paragraphs.el (use-hard-newlines):
6762 * textmodes/refill.el (refill-mode):
6763 * textmodes/reftex.el (reftex-mode):
6764 * textmodes/rst.el (rst-minor-mode):
6765 * textmodes/sgml-mode.el (html-autoview-mode)
6766 (sgml-electric-tag-pair-mode):
6767 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6768 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6769 * emulation/crisp.el (crisp-mode):
6770 * emacs-lisp/eldoc.el (eldoc-mode):
6771 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6772 minor mode behavior.
6774 2011-10-19 Juri Linkov <juri@jurta.org>
6776 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6777 the list of hard-coded chars with escape-glyph face.
6779 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6783 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6785 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6788 2011-10-19 Glenn Morris <rgm@gnu.org>
6790 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6791 Ignore ignored files. (Bug#9726)
6793 2011-10-19 Chong Yidong <cyd@gnu.org>
6795 Doc fix for minor modes, stating that an omitted argument enables
6796 the mode unconditionally when called from Lisp.
6798 * abbrev.el (abbrev-mode):
6799 * allout.el (allout-mode):
6800 * autoinsert.el (auto-insert-mode):
6801 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6802 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6803 (global-auto-revert-mode):
6804 * battery.el (display-battery-mode):
6805 * composite.el (global-auto-composition-mode)
6806 (auto-composition-mode):
6807 * delsel.el (delete-selection-mode):
6808 * desktop.el (desktop-save-mode):
6809 * dired-x.el (dired-omit-mode):
6810 * dirtrack.el (dirtrack-mode):
6811 * doc-view.el (doc-view-minor-mode):
6812 * double.el (double-mode):
6813 * electric.el (electric-indent-mode, electric-pair-mode):
6814 * emacs-lock.el (emacs-lock-mode):
6815 * epa-hook.el (auto-encryption-mode):
6816 * follow.el (follow-mode):
6817 * font-core.el (font-lock-mode):
6818 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6819 * help.el (temp-buffer-resize-mode):
6820 * hilit-chg.el (highlight-changes-mode)
6821 (highlight-changes-visible-mode):
6822 * hi-lock.el (hi-lock-mode):
6823 * hl-line.el (hl-line-mode, global-hl-line-mode):
6824 * icomplete.el (icomplete-mode):
6825 * ido.el (ido-everywhere):
6826 * image-file.el (auto-image-file-mode):
6827 * image-mode.el (image-minor-mode):
6828 * iswitchb.el (iswitchb-mode):
6829 * jka-cmpr-hook.el (auto-compression-mode):
6830 * linum.el (linum-mode):
6831 * longlines.el (longlines-mode):
6832 * master.el (master-mode):
6833 * mb-depth.el (minibuffer-depth-indicate-mode):
6834 * menu-bar.el (menu-bar-mode):
6835 * minibuf-eldef.el (minibuffer-electric-default-mode):
6836 * mouse-sel.el (mouse-sel-mode):
6837 * msb.el (msb-mode):
6838 * mwheel.el (mouse-wheel-mode):
6839 * outline.el (outline-minor-mode):
6840 * paren.el (show-paren-mode):
6841 * recentf.el (recentf-mode):
6842 * reveal.el (reveal-mode, global-reveal-mode):
6843 * rfn-eshadow.el (file-name-shadow-mode):
6844 * ruler-mode.el (ruler-mode):
6845 * savehist.el (savehist-mode):
6846 * scroll-all.el (scroll-all-mode):
6847 * scroll-bar.el (scroll-bar-mode):
6848 * server.el (server-mode):
6849 * shell.el (shell-dirtrack-mode):
6850 * simple.el (auto-fill-mode, transient-mark-mode)
6851 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6852 (line-number-mode, column-number-mode, size-indication-mode)
6853 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6854 * strokes.el (strokes-mode):
6855 * time.el (display-time-mode):
6856 * t-mouse.el (gpm-mouse-mode):
6857 * tool-bar.el (tool-bar-mode):
6858 * tooltip.el (tooltip-mode):
6859 * type-break.el (type-break-mode-line-message-mode)
6860 (type-break-query-mode):
6861 * view.el (view-mode):
6862 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6863 (global-whitespace-mode, global-whitespace-newline-mode):
6864 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6866 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6867 Fix autogenerated docstring.
6869 2011-10-19 Juri Linkov <juri@jurta.org>
6871 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6872 by checking environment variables "DESKTOP_SESSION" and
6873 "XDG_CURRENT_DESKTOP". (Bug#9779)
6875 2011-10-19 Juri Linkov <juri@jurta.org>
6877 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6878 (browse-url-chromium-program, browse-url-chromium-arguments):
6880 (browse-url-default-browser): Check for `browse-url-chromium' and
6881 call `browse-url-chromium-program'.
6882 (browse-url-chromium): New command. (Bug#9779)
6884 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6886 * facemenu.el (list-colors-duplicates): On Windows, detect more
6887 duplicates by assuming that only colors matching "^System" are
6888 special "system colors". (Bug#9722)
6890 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6893 to distinguish the author from the committer.
6895 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6897 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6899 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6901 * international/mule.el (sgml-html-meta-auto-coding-function):
6902 Add support for detecting encoding in HTML5 specified only as
6903 <meta charset="UTF-8">. Implementation just makes http-equiv and
6904 content-type parts from HTML4 encoding string optional. (Bug#9716)
6906 2011-10-18 Glenn Morris <rgm@gnu.org>
6908 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6910 2011-10-18 Chong Yidong <cyd@gnu.org>
6912 * faces.el (cursor): Doc fix.
6914 2011-10-17 Chong Yidong <cyd@gnu.org>
6916 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6918 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6920 * dirtrack.el (dirtrack): Support shell buffers with path
6921 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6923 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6925 * json.el: Bump version to 1.3 and note change in History.
6926 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6928 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * comint.el (comint-insert-input, comint-send-input)
6931 (comint-get-old-input-default, comint-backward-matching-input)
6932 (comint-next-prompt): Use nil instead of `input' for field property of
6933 past user input (bug#114).
6935 * minibuffer.el (completion--replace): Inherit surrounding properties
6937 (minibuffer-complete-and-exit): Use it.
6939 * comint.el (comint--table-subvert): Quote the all-completions output
6942 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6944 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6946 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6947 window on right of selected. (Bug#9350) Reword other window
6948 entries and separate them from frame entries.
6950 2011-10-15 Glenn Morris <rgm@gnu.org>
6952 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6955 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6957 * net/network-stream.el (network-stream-open-starttls):
6958 Improve detection of failure due to lack of TLS support.
6960 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6961 putting the input text in front and in bold.
6963 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6965 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6967 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6970 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6971 unread-command-events rather than pushing yet-another event.
6973 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6975 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6976 the explanation of the possible choices. Make the options passed
6977 to completing-read shorter.
6979 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6981 * textmodes/flyspell.el (flyspell-large-region): Make sure
6982 extended character mode is used if defined (Bug#1339).
6984 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6986 * simple.el (what-cursor-position): Fix the display of the
6987 character info for LRE, LRO, RLE, and RLO characters by appending
6990 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6992 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6993 even in case of error; add debug spec; simplify data flow.
6994 (with-timeout-handler): Remove.
6996 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6998 Fix Bug#6019, Bug#9315.
7000 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7001 complete `buffer-file-name', the local file name part could look
7002 remotely (for example on VMS).
7004 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7005 `tramp-run-real-handler'.
7006 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7007 already quoted by '"'.
7009 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7010 Let `file-name-handler-alist' be nil, the local file name part
7011 could look remotely (for example on VMS).
7013 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7015 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7017 (flyspell-post-command-hook): ...to here.
7019 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7023 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7024 using completion. Protect against "slow" callers.
7025 Remove the "message hack".
7027 2011-10-11 Juri Linkov <juri@jurta.org>
7029 * isearch.el (isearch-lazy-highlight-word): New variable.
7030 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7033 2011-10-11 Glenn Morris <rgm@gnu.org>
7035 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7036 like f90-previous-statement does.
7038 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7040 * eshell/eshell.el (eshell-command): History should be saved
7041 only in interactive use, to avoid error.
7043 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * minibuffer.el (completion-file-name-table): Fix last change,
7046 i.e. ignore normal errors but not the other ones.
7048 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7050 * window.el (special-display-buffer-names)
7051 (special-display-regexps): Remove some remnants of earlier
7052 changes from doc-strings.
7053 (quit-windows-on): New function.
7055 * vc/vc.el (vc-revert, vc-rollback):
7056 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7057 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7058 (Bug#6183) (Bug#7074) (Bug#7447)
7060 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7062 * window.el (frame-auto-hide-function): Add version tag.
7065 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7067 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7070 2011-10-09 Leo Liu <sdl.web@gmail.com>
7072 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7075 2011-10-08 Glenn Morris <rgm@gnu.org>
7077 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7078 before the first code statement zero indent. (Bug#9690)
7080 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7082 * simple.el (count-words-region): Always count in the region.
7083 Report the number of lines and characters too.
7084 (count-words): New command, which counts in the buffer if the
7085 region is inactive, as count-words-region used to.
7086 (count-words--message): New function. Handle plurals.
7087 (count-lines-region): Make it an alias for count-words-region.
7089 * bindings.el (esc-map): Replace count-lines-region with
7092 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7094 * window.el (window--delete): Delete dedicated frame
7095 unconditionally when argument KILL is non-nil. (Bug#9699)
7096 (switch-to-buffer): Fix doc-string typo.
7098 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7100 * eshell/eshell.el (eshell-command): Avoid using hooks.
7102 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7104 * bindings.el ([M-left],[M-right]): Bind to left-word and
7105 right-word respectively.
7107 2011-10-07 Glenn Morris <rgm@gnu.org>
7109 * cus-start.el (debug-on-quit): Fix custom type.
7111 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113 * subr.el (define-key-after): Clarify that the function is not
7114 useful for non-menu keymaps.
7116 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7118 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7120 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7121 in current minibuffer (Fix bug with recursive minibuffers).
7123 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7125 * progmodes/gdb-mi.el (gdb): Doc fix.
7127 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7129 * window.el (frame-auto-hide-function): New option replacing
7130 frame-auto-delete. Suggested by Stefan Monnier.
7131 (window--delete): Call frame-auto-hide-function instead of
7132 investigating frame-auto-delete.
7133 (window-point-1, set-window-point-1): New functions.
7134 (window-in-direction, record-window-buffer, window-state-get-1)
7135 (display-buffer-record-window): Use window-point-1 instead of
7137 (set-window-buffer-start-and-point): Use set-window-point-1.
7139 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7143 2011-10-05 Glenn Morris <rgm@gnu.org>
7145 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7146 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7148 2011-10-05 Leo Liu <sdl.web@gmail.com>
7150 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7151 works with buffer object.
7153 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * mpc.el (mpc-tool-bar-map): Add labels.
7157 2011-10-04 Glenn Morris <rgm@gnu.org>
7159 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7161 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7163 * window.el (window--delete): New function.
7164 (frame-auto-delete): Resuscitate option.
7165 (bury-buffer, replace-buffer-in-windows)
7166 (quit-window): Rewrite using window--delete.
7167 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7168 Pass display-buffer-mark-dedicated to window--display-buffer-2
7171 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7174 returns a list (bug#9554). Add remote file name completion.
7175 * comint.el (comint--table-subvert): Curry and get quote&unquote
7176 functions as arguments.
7177 (comint--complete-file-name-data): Adjust call accordingly.
7178 * pcomplete.el (pcomplete--table-subvert): Remove.
7179 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7181 * minibuffer.el (completion-table-case-fold): Use currying.
7182 (completion--styles-type, completion--cycling-threshold-type):
7184 (completion-styles, completion-category-overrides)
7185 (completion-cycle-threshold): Use them.
7186 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7187 completion-table-case-fold.
7189 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7191 * minibuffer.el (completion-category-overrides): Fix type of styles
7192 and add more user friendly tags (bug#9660).
7194 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7197 (mule-input-method-string): New widget.
7198 (default-input-method, language-info-custom-alist): Use it.
7200 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * pcomplete.el: Require comint.
7203 (pcomplete--common-suffix): Remove.
7204 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7205 (pcomplete--table-subvert): Sync with comint--table-subvert.
7206 (pcomplete--entries): Use comint-completion-file-name-table.
7207 * comint.el (comint-unquote-filename): Simplify.
7208 (comint-completion-file-name-table): New function (bug#9616).
7209 (comint--complete-file-name-data): Use it.
7211 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7212 (pcmpl-gnu-tar-buffer): Remove.
7213 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7214 around. Make sure pcomplete-suffix-list is only changed temporarily.
7215 Don't look inside the tar's file if it's too large.
7217 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7219 * cus-edit.el (custom-mode-map):
7220 * epa.el (epa-key-list-mode-map):
7221 * man.el (Man-mode-map):
7222 * startup.el (splash-screen-keymap):
7223 * simple.el (special-mode-map): Use scroll-up-command and
7224 scroll-down-command.
7226 * progmodes/idlw-help.el (idlwave-help-mode-map):
7227 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7228 * net/newst-plainview.el (newsticker-mode-map):
7229 * emulation/ws-mode.el (wordstar-mode-map):
7230 * emulation/vi.el (vi-com-map):
7231 * calc/calc-graph.el (calc-graph-show-dumb):
7232 * term/sun.el (terminal-init-sun):
7233 * term/ns-win.el (global-map):
7234 * progmodes/grep.el (grep-mode-map):
7235 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7236 * mail/rmail.el (rmail-mode-map):
7237 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7239 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7240 custom-safe-themes as special.
7242 2011-10-01 Julien Danjou <julien@danjou.info>
7244 * notifications.el (notifications-notify): Fix docstring.
7246 2011-10-01 Per Starbäck <per@starback.se>
7248 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7250 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7252 * startup.el (command-line-1): Fix last fix by inserting
7253 initial-scratch-message into *scratch* before displaying it.
7254 (Bug#9605) and (Bug#9636)
7256 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7258 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7259 window is hscrolled, move by logical lines. (Bug#9607)
7260 (line-move-visual): Update the doc string to the above effect.
7262 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7264 * window.el (display-buffer-record-window): When WINDOW is the
7265 selected window use `point' instead of `window-point'. (Bug#9626)
7267 * startup.el (command-line-1): Use insert-before-markers when
7268 inserting initial-scratch-message. (Bug#9605)
7270 * help.el (help-window): Remove variable.
7272 2011-09-29 Glenn Morris <rgm@gnu.org>
7274 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7276 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7278 * descr-text.el (describe-char-categories): Accept category
7279 descriptions more than one line long.
7281 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * simple.el (delete-trailing-whitespace): Fix last change.
7285 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7286 Don't confuse "y => 3" as the beginning of a `y' operation.
7288 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7289 object has more than 4 slots (bug#9613).
7291 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7293 * subr.el (with-output-to-temp-buffer):
7294 * net/quickurl.el (quickurl, quickurl-browse-url):
7295 Fix typos in docstrings.
7297 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7299 * minibuffer.el (completion-styles)
7300 (completion-category-overrides): Cross reference each other in doc
7303 2011-09-27 Glenn Morris <rgm@gnu.org>
7305 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7306 to split-string. (Bug#9606)
7308 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7310 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7313 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7315 * emacs-lisp/package.el (list-packages): Fix echo area message.
7317 2011-09-27 Leo Liu <sdl.web@gmail.com>
7319 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7321 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7323 * net/dbus.el (dbus-unregister-object): Don't release services for
7324 registered signals. (Bug#9581)
7326 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7328 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7329 function that picks between cfengine 2 and 3 support
7330 automatically. Update docs accordingly.
7332 2011-09-22 Kenichi Handa <handa@m17n.org>
7334 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7336 (indian-itrans-v5-table-for-tamil): New variable.
7337 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7339 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7341 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7342 that's true if the current command involved collapsing of text.
7343 It's reset to false at the beginning of the next command.
7344 (allout-post-command-business): Move the cursor to the beginning
7345 of entry if the cursor is hidden and collapsing activity just
7348 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7350 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7351 tracking (Bug#9541).
7353 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7355 * net/newst-reader.el (newsticker-html-renderer)
7356 (newsticker-show-news): Automatically load html rendering package
7357 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7358 because w3m-fill-column is let-bound" and the error "Symbol's value
7359 as variable is void: w3m-fill-column".
7361 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7363 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7364 Release services only if they are defined. (Bug#9581)
7366 2011-09-23 Richard Stallman <rms@gnu.org>
7368 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7369 distinguish start of paragraph from start of its text.
7371 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7373 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7374 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7375 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7377 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7379 * international/mule-diag.el (mule-diag): Insert a newline after
7380 each fontset description.
7382 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * simple.el (delete-trailing-whitespace):
7385 Document last change; simplify.
7387 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7389 * simple.el (delete-trailing-whitespace): Also delete
7390 extra newlines at the end of the buffer.
7392 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7393 (picture-newline): Use forward-line so as to ignore fields.
7395 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7397 * subr.el (with-wrapper-hook): Fix edebug spec.
7399 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7401 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7404 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7406 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7407 Fix nasty bug using wrong cached values.
7409 2011-09-23 Alan Mackenzie <acm@muc.de>
7411 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7413 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7415 * window.el (pop-to-buffer): Ensure right window is selected if we
7416 chose another frame.
7418 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7420 * simple.el (what-cursor-position): Use get-char-property-change
7421 and next-single-char-property-change, to be able to show display
7422 properties that come from overlays as well as text properties.
7424 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7426 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7428 * cmuscheme.el (run-scheme, switch-to-scheme):
7429 * cus-edit.el (customize-group, custom-buffer-create)
7433 * mail/sendmail.el (mail):
7434 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7436 2011-09-22 Richard Stallman <rms@gnu.org>
7438 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7439 move back only to line beg, don't move back over blank lines.
7441 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7443 * files.el (copy-directory): Set directory attributes only in case
7444 they could be retrieved from the source directory. (Bug#9565)
7446 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7448 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7449 (hs-find-block-beginning, hs-hide-level-recursive):
7450 Ignore strings as well as comments. (Bug#9502)
7452 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7454 * progmodes/sql.el (sql-comint-postgres):
7455 Convert port number to a string. (Bug#9566)
7457 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7459 * window.el (quit-window): Undedicate window when switching to
7460 previous buffer. Reported by Thierry Volpiatto
7461 <thierry.volpiatto@gmail.com>.
7462 (special-display-popup-frame): When popping up a new frame reset
7463 its previous buffers to nil. Simplify code.
7465 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7467 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7468 and process filter, as done also in `shell-command'.
7470 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7472 * window.el (set-window-buffer-start-and-point):
7473 Call set-window-start with NOFORCE argument t.
7474 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7475 (quit-window): Reword doc-string. Handle new format of
7476 quit-restore parameter. Don't delete window if it has a
7477 previous buffer we can show instead of the present one.
7478 (display-buffer-record-window): Rewrite using a new format for
7479 the quit-restore window parameter
7480 (special-display-popup-frame, display-buffer-same-window)
7481 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7482 (display-buffer-pop-up-window, display-buffer-use-some-window):
7483 Adapt symbol passed to display-buffer-record-window.
7484 * help.el (help-window-setup): Handle new format of quit-restore
7487 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7489 * faces.el (face-list): Fix docstring (bug#9564).
7491 * window.el (display-buffer--action-function-custom-type):
7492 Don't include internal functions in the Custom interface.
7494 2011-09-20 Juri Linkov <juri@jurta.org>
7496 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7497 (Info-forward-node, Info-backward-node, Info-next-preorder)
7498 (Info-last-preorder): Use it. (Bug#9528)
7500 2011-09-20 Juri Linkov <juri@jurta.org>
7502 * info.el (Info-last-preorder): Visit last menu item only when
7503 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7505 2011-09-20 Julien Danjou <julien@danjou.info>
7507 * password-cache.el (password-cache-remove): Remove entries even if the
7508 value is nil, so that password with a nil value (negative caching) is
7509 possible to invalidate.
7511 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7513 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7514 all whitespace around breakpoint. (Bug#9553)
7515 (f90-find-breakpoint): Only break at whitespace inside a comment.
7517 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * minibuffer.el (completion-file-name-table): Keep track of errors.
7520 (completion-table-with-predicate): Handle the case where pred1 is nil.
7521 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7523 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7526 (debugger-return-value): Signal an error if the debugging context does
7527 not await any return value.
7529 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7530 * image-mode.el (image-toggle-display-text)
7531 (image-toggle-display-image): Stay away from evil `intangible'.
7533 2011-09-19 Leo Liu <sdl.web@gmail.com>
7535 * replace.el (occur-revert-arguments): Make it permanent-local.
7536 (occur-mode): Don't call font-lock-defontify.
7538 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7540 * net/ldap.el (ldap-search-internal): Don't push empty search
7543 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7547 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7549 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7550 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7552 2011-09-18 Juri Linkov <juri@jurta.org>
7554 * buff-menu.el (Buffer-menu-mode-map):
7555 * dired.el (dired-mode-map):
7556 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7557 (lisp-interaction-mode-map):
7558 * emacs-lisp/package.el (package-menu-mode-map):
7559 * epa.el (epa-key-list-mode-map):
7560 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7561 (menu-bar-options-menu):
7562 * outline.el (outline-mode-menu-bar-map):
7563 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7564 * vc/vc-dir.el (vc-dir-menu-map):
7565 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7566 Capitalize non-function content words in menu item strings.
7568 * dired.el (dired-mode-map): Add menu item for
7569 `image-dired-dired-toggle-marked-thumbs'.
7571 2011-09-18 Juri Linkov <juri@jurta.org>
7573 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7574 to `isearch-case-fold-search' and restore its original value
7575 after the `isearch-mode' call.
7577 2011-09-18 Juri Linkov <juri@jurta.org>
7579 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7580 because `zgrep' returns 1 for successful matches (bug#9226).
7582 2011-09-18 Juri Linkov <juri@jurta.org>
7584 * info.el (Info-extract-menu-node-name): Check the second match
7585 for empty string (second test-case of bug#9528).
7586 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7587 intermediate nodes to the history (first test-case of bug#9528).
7589 2011-09-18 Juri Linkov <juri@jurta.org>
7591 * info.el (Info-mode-syntax-table): New variable.
7592 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7594 2011-09-18 Juri Linkov <juri@jurta.org>
7596 * info.el (Info-file-supports-index-cookies):
7597 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7598 outputs one more line for long file names (bug#4142).
7600 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7602 * newcomment.el (comment-normalize-vars): If prompting for
7603 comment-start, set comment-start-skip too (Bug#8424).
7605 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7607 * icomplete.el: Fix previous fix of Bug#5849.
7608 (icomplete-mode): Don't set completion-show-inline-help.
7609 (icomplete-minibuffer-setup): Set completion-show-inline-help
7610 locally during icompletion.
7612 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7614 * woman.el (woman2-process-escapes): Don't delete unrecognized
7617 * files.el (inhibit-first-line-modes-regexps): Add image files.
7618 (hack-local-variables-prop-line): Return nil for malformed
7619 prop-lines (Bug#9044).
7621 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7623 * net/tramp.el (top): Don't require 'shell.
7624 (tramp-methods): Fix docstring.
7625 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7626 Return complete remote file name. Handle "smb" case.
7627 Use `tramp-tmpdir', if defined for the respective method.
7628 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7630 * net/tramp-compat.el (top): Require 'shell.
7632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7633 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7634 `tramp-current-host'.
7635 (tramp-get-remote-tmpdir): Remove.
7637 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7638 `tramp-tmpdir' entries.
7639 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7640 (tramp-smb-handle-file-attributes): Ignore errors.
7641 (tramp-smb-wait-for-output): Check also for process end.
7643 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7645 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7646 when sending QUIT (bug#9312).
7648 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7650 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7651 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7652 occur-mode-display-occurrence.
7653 (occur-edit-mode): Add usage message.
7654 (occur-cease-edit): New command.
7655 (occur-after-change-function): Use text properties to find the
7656 position of the prefix text.
7657 (occur-engine): Set stickiness of prefix text properties.
7659 2011-09-17 Glenn Morris <rgm@gnu.org>
7661 * progmodes/etags.el (complete-tag):
7662 Fix call to completion-in-region. (Bug#9526)
7664 2011-09-17 Juri Linkov <juri@jurta.org>
7666 * textmodes/ispell.el (ispell-word): Add to the error message
7667 the word, ispell program name and current dictionary (bug#9121).
7668 (ispell-tex-arg-end): Capitalize "error" in the error message.
7670 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7672 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7675 2011-09-17 Juri Linkov <juri@jurta.org>
7677 * window.el (window-safe-min-height, window-safe-min-width):
7678 Fix typos (followup to bug#9522).
7680 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7682 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7684 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7686 * simple.el (line-move): If goal-column is set, move by logical
7687 lines, not by display lines. (Bug#971)
7688 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7689 to reflect the above change.
7691 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * image.el (imagemagick-register-types): Use regexp-opt.
7695 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7697 * window.el (display-buffer-base-action): Rename from
7698 display-buffer-default-action. Make default value empty.
7699 (display-buffer-overriding-action): Convert to defvar.
7700 (display-buffer-fallback-action): New var.
7702 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7704 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7706 (package--add-to-archive-contents): If there is a duplicate entry
7707 with an older version, remove it.
7708 (package-menu-mark-delete, package-menu-mark-install)
7709 (package-menu-mark-unmark): Make unused args optional.
7710 (package-menu-mark-obsolete-for-deletion):
7711 Use package-menu-get-status instead of a regexp search.
7712 (package-menu-get-status): Use tabulated-list-entry.
7713 (package-menu-mark-upgrades): New command.
7714 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7715 (package-menu-execute): Do installation before deletion.
7716 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7717 instead of checking major-mode.
7718 (package-menu--find-upgrades): New function.
7720 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7722 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7723 passwords in the log buffer.
7724 (smtpmail-process-filter): Update the process marker so that the
7725 "broken by peer" status message is inserted in the right place.
7727 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7729 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7730 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7731 bibtex-completion-at-point-function.
7732 (bibtex-completion-at-point-function): Use them.
7734 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7736 * mpc.el (mpc-constraints-tag-lookup): New function.
7737 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7738 also to browser "album|playlist".
7740 2011-09-14 Juri Linkov <juri@jurta.org>
7742 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7743 (isearch-edit-string): Use length of `isearch-string' when
7744 `isearch-fail-pos' returns nil.
7745 (isearch-message): Remove duplicate code and call
7746 `isearch-fail-pos' with arg `t'.
7748 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7750 * replace.el (occur-mode-goto-occurrence): Don't force using other
7753 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7755 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7757 * window.el (display-buffer-window): Remove.
7758 (display-buffer-record-window): Use help-setup window parameter
7759 instead of variable display-buffer-window.
7760 (display-buffer-function, special-display-buffer-names)
7761 (special-display-function): Mention help-setup parameter instead
7762 of display-buffer-window in doc-string.
7763 * help.el (help-window-setup): New argument help-window.
7764 Use help-window-setup parameter instead of display-buffer-window.
7765 Reword some messages.
7766 (with-help-window): Pass window used for displaying the buffer
7767 to help-window-setup. Don't set display-buffer-window.
7769 2011-09-13 Glenn Morris <rgm@gnu.org>
7771 * emacs-lisp/debug.el (debugger-make-xrefs):
7772 Preserve point. (Bug#9462)
7774 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7776 * window.el (window-deletable-p): Use next-frame.
7778 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7780 * window.el (window-auto-delete): Remove.
7781 (window-deletable-p): Remove argument FORCE. Don't deal with
7782 dedication and previous buffers.
7783 (switch-to-prev-buffer): Don't delete window.
7784 (delete-windows-on): Delete a window's frame if and only if the
7785 window is dedicated.
7786 (replace-buffer-in-windows): Delete buffer's window or frame if
7787 and only if window is dedicated.
7788 (quit-window): Handle quit-restore as before last change.
7789 (bury-buffer): Delete window only if window-deletable-p returns t.
7791 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7793 * window.el (window-deletable-p): Never delete the last frame on a
7796 2011-09-13 Glenn Morris <rgm@gnu.org>
7798 * help.el (describe-key-briefly): Copy previous standard-output change.
7800 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7802 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7804 2011-09-13 Glenn Morris <rgm@gnu.org>
7806 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7807 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7809 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7811 * dired-aux.el (dired-mark-read-string): Don't return default
7812 value on empty input (Bug#9361).
7813 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7814 Omit initial minibuffer contents.
7815 (dired-do-chmod): Signal an error on empty input.
7816 (dired-mark-read-string): Don't return default on empty input.
7818 * files.el (file-modes-symbolic-to-number): Doc fix.
7820 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * international/mule-cmds.el (ucs-completions): Remove.
7823 (read-char-by-name): Use complete-with-action instead; add metadata.
7825 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7827 * window.el (display-buffer--action-function-custom-type)
7828 (display-buffer--action-custom-type): New vars.
7829 (display-buffer-alist, display-buffer-default-action)
7830 (display-buffer-overriding-action): Add defcustom types.
7832 * frame.el (delete-other-frames): Doc fix (Bug#276).
7834 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7838 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7840 Change modes that used same-window-* vars to use switch-to-buffer.
7842 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7843 Use switch-to-buffer.
7845 * cus-edit.el (customize-group, custom-buffer-create)
7846 (customize-browse, custom-buffer-create-other-window):
7847 Use switch-to-buffer or switch-to-buffer-other-window.
7849 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7850 (Info-prev, Info-up, Info-speedbar-goto-node)
7851 (info-display-manual): Use switch-to-buffer.
7852 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7854 * mail/sendmail.el (mail): Use switch-to-buffer.
7855 (mail-recover): Use switch-to-buffer-other-window.
7857 * cmuscheme.el (run-scheme, switch-to-scheme):
7860 * net/rlogin.el (rlogin):
7861 * net/telnet.el (telnet, rsh):
7862 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7864 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7866 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7868 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7870 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7871 so don't mention it (bug#9301).
7872 (dired-sort-toggle-or-edit): Clarify string further.
7874 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7875 match `x', `w32' and `ns', like the manual says (bug#9029).
7877 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7878 (process-kill-buffer-query-function): Mention the buffer name in
7881 * image-mode.el (image-next-line): The line parameter is mandatory
7884 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7885 which can be useful (bug#9301).
7887 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7889 * subr.el (match-string): Mention that the current buffer should
7890 be the same as the search was done in (bug#9282).
7892 * facemenu.el: Disable the remove-* commands if the mark isn't
7895 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7897 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7899 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7901 * replace.el (occur-mode-goto-occurrence)
7902 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7905 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7908 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7909 special-display and same-window variables.
7910 (mail-other-window): Use switch-to-buffer-other-window.
7911 (mail-other-frame): USe switch-to-buffer-other-frame.
7913 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7914 Use display-buffer-other-frame.
7915 (gdb-display-gdb-buffer): Use pop-to-buffer.
7917 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7919 * progmodes/python.el: Don't set same-window-buffer-names.
7921 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7923 * window.el (display-buffer-alist): Add *Python*.
7925 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7927 * window.el (display-buffer-alist): Add entry for buffers
7928 previously handled same-window-*.
7929 (display-buffer-alist, display-buffer-default-action)
7930 (display-buffer-overriding-action): Mark as risky.
7931 (display-buffer-alist): Document action function changes.
7932 (display-buffer--same-window-action)
7933 (display-buffer--other-frame-action): New variables.
7934 (switch-to-buffer, display-buffer-other-frame): Use them.
7935 (display-buffer): Rename reuse-frame entry to reusable-frames.
7936 (display-buffer-reuse-selected-window): Function deleted.
7937 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7938 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7939 (display-buffer-special): New function.
7940 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7941 display-buffer-reuse-or-pop-window. Split off special-display
7942 part into display-buffer-special.
7943 (display-buffer-use-some-window): Don't perform any special
7944 pop-up-frames handling.
7945 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7946 (display-buffer--maybe-same-window): Rename from
7947 display-buffer-maybe-same-window.
7949 * info.el: Don't set same-window-regexps.
7950 (info-setup): New function.
7951 (info-other-window, info): Call it.
7953 * cus-edit.el: Don't set same-window-regexps.
7954 (customize-group): New argument.
7955 (customize-group-other-window): Use it.
7956 (customize-face, customize-face-other-window): Likewise.
7957 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7961 * progmodes/gud.el: Don't set same-window-regexps.
7967 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7969 2011-09-10 Juri Linkov <juri@jurta.org>
7971 * isearch.el (isearch-edit-string): Remove obsolete mention of
7972 `C-w' (`isearch-yank-word-or-char') from docstring.
7973 (isearch-query-replace): Fix typo in docstring (bug#9466).
7975 2011-09-10 Juri Linkov <juri@jurta.org>
7977 * paren.el (show-paren-function): Don't show escaped parens.
7978 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7980 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7982 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7983 (mm-default-file-encoding): Remove autoload forms, they are
7984 replaced with autoload cookies in mml.el and mm-encode.el.
7985 (mail-add-attachment): New command.
7986 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7987 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7989 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7991 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7993 * simple.el (count-words-region): Use buffer if there's no region
7996 2011-09-09 Juri Linkov <juri@jurta.org>
7998 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7999 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8000 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8002 2011-09-09 Alan Mackenzie <acm@muc.de>
8004 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8005 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8007 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8009 Fix for Savannah bug#9392.
8010 * simple.el (mail-encode-mml): New defvar.
8012 * mail/rmail.el (mail-encode-mml): Add a defvar.
8013 (rmail-enable-mime-composing): Default to t.
8014 (rmail-forward): Use MIME method of forwarding only if both
8015 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8016 Set mail-encode-mml non-nil if the MIME method was used.
8018 * mail/sendmail.el (mml-to-mime): Add autoload form.
8019 (mail-encode-mml): Add a defvar.
8020 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8022 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8023 message through mml-to-mime, and reset mail-encode-mml to nil.
8025 2011-09-09 Glenn Morris <rgm@gnu.org>
8027 * woman.el (woman-if-body): When processing an .el block,
8028 do not delete the next .el block as well. (Bug#9447)
8029 (woman-special-characters): Add oq, cq, and hy characters.
8031 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8033 * window.el (window-deletable-p): Make sure window is live before
8034 invoking window-prev-buffers.
8036 2011-09-08 Leo Liu <sdl.web@gmail.com>
8038 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8040 2011-09-08 Juri Linkov <juri@jurta.org>
8042 * progmodes/compile.el (compilation-environment): Make it
8043 a defcustom (bug#8340).
8045 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8047 * window.el (frame-auto-delete): Rename to window-auto-delete.
8048 Make it control auto-deletion of windows and/or frames.
8049 (window-deletable-p): New argument FORCE. Rewrite conditions
8050 for deleting window/frame. (Bug#9419)
8051 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8052 Rewrite handling of case when window/frame can be deleted.
8053 (delete-windows-on): Call window-deletable-p with new FORCE
8054 argument t. (Bug#9456)
8056 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8058 * help-mode.el (help-mode): Restore autoload.
8060 2011-09-07 Juri Linkov <juri@jurta.org>
8062 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8063 `compilation-environment'. Set buffer-local
8064 `compilation-environment' to `thisenv' later after (funcall mode).
8067 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8068 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8069 instead of replacing its value. (Bug#8340)
8071 2011-09-07 Juri Linkov <juri@jurta.org>
8073 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8074 based on text properties put by `grep-filter' instead of matching
8076 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8077 to the value of `grep-error-screen-columns' (bug#9438).
8079 2011-09-07 Juri Linkov <juri@jurta.org>
8081 * simple.el (next-error-highlight, next-error-highlight-no-select):
8084 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8086 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8087 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8089 2011-09-07 Leo Liu <sdl.web@gmail.com>
8091 * net/rcirc.el (rcirc-mode): Conditionally initialize
8094 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * emacs-lisp/find-func.el (find-function-C-source): Only set
8097 find-function-C-source-directory after checking that we found a source
8098 file there (bug#9440).
8100 2011-09-06 Alan Mackenzie <acm@muc.de>
8102 * isearch.el (isearch-other-meta-char): Wherever a key list is
8103 unread, "unread" the prefix arg, too. This fixes bug #8901.
8105 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8107 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8109 2011-09-05 Juri Linkov <juri@jurta.org>
8111 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8113 2011-09-05 Juri Linkov <juri@jurta.org>
8115 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8116 keeping point where processing of grep matches begins, and
8117 continue to delete remaining escape sequences from the same point.
8118 (grep-filter): Make leading zero optional in "0?1;31m" because
8119 git-grep emits "\033[1;31m" escape sequences unlike expected
8120 "\033[01;31m" as GNU Grep does (bug#9408).
8121 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8123 2011-09-05 Juri Linkov <juri@jurta.org>
8125 * subr.el (y-or-n-p): Capitalize "yes".
8127 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8129 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8130 `tramp-cache-unload-hook' where appropriate.
8131 (tramp-methods): Rename `tramp-remote-sh' to
8132 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8133 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8135 * net/tramp-sh.el (top): Don't require 'shell.
8136 (tramp-methods): Add `tramp-remote-shell' and
8137 `tramp-remote-shell-args' entries.
8138 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8139 (tramp-sh-handle-shell-command): Remove.
8140 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8141 Use `tramp-remote-shell'.
8143 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8145 * mail/sendmail.el (sendmail-query-once-function): Delete.
8146 (sendmail-query-once): Save directly to send-mail-function.
8147 Update message-send-mail-function too.
8149 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8151 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8153 * progmodes/python.el (python-mode-map): Use correct function to
8154 start python interpreter from menu-bar (as reported by Geert
8156 (inferior-python-mode-map): Fix typo.
8157 (python-shell-map): Remove.
8159 2011-09-03 Deniz Dogan <deniz@dogan.se>
8161 * net/rcirc.el (rcirc-print): Simplify code for
8162 rcirc-scroll-show-maximum-output. There is no need to walk
8163 through all windows to find the right one.
8165 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8167 * help.el (help-return-method): Doc fix.
8169 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8171 * window.el (window-deletable-p): Don't return a non-nil value
8172 when there's a buffer that was shown in the window before.
8174 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8175 Set window's previous buffers to nil.
8177 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8179 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8180 newline before and after the tag line, so it doesn't interfere
8181 with determining the paragraph direction of bidirectional text.
8183 2011-09-03 Leo Liu <sdl.web@gmail.com>
8185 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8187 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8189 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8190 (pop-to-buffer): Change interactive spec. Pass second argument
8191 directly to display-buffer.
8192 (display-buffer): Fix interactive spec. Use functionp to
8193 distinguish between a function and a list of functions.
8195 * abbrev.el (edit-abbrevs):
8196 * arc-mode.el (archive-extract):
8197 * autoinsert.el (auto-insert):
8198 * bookmark.el (bookmark-bmenu-list):
8199 * files.el (find-file):
8200 * view.el (view-buffer):
8201 * progmodes/compile.el (compilation-goto-locus):
8202 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8204 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8206 * window.el (display-buffer-alist): Doc fix.
8207 (display-buffer): Add docstring. Don't treat
8208 display-buffer-default specially.
8209 (display-buffer-reuse-selected-window)
8210 (display-buffer-same-window, display-buffer-maybe-same-window)
8211 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8212 (display-buffer-pop-up-window)
8213 (display-buffer-reuse-or-pop-window)
8214 (display-buffer-use-some-window): New functions.
8215 (display-buffer-default-action): Use them.
8216 (display-buffer-default): Delete.
8217 (pop-to-buffer-1): Fix choice of actions.
8219 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * minibuffer.el (completion--insert-strings): Don't get confused by
8222 completion entries that end with an LF char.
8224 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8226 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8228 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8230 * window.el (display-buffer): Restore interactive spec.
8231 (display-buffer-same-window, display-buffer-other-window):
8233 (pop-to-buffer-1): New function. Use the above.
8234 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8235 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8237 * view.el (view-buffer-other-window, view-buffer-other-frame):
8238 Just use pop-to-buffer.
8240 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8242 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8244 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8246 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8248 2011-08-31 Richard Stallman <rms@gnu.org>
8250 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8251 of the separation of rmail-view-buffer from rmail-buffer.
8252 If you say no to "replace original", the decrypt is in the
8253 view buffer. If you say yes, the decrypt goes into the
8256 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8258 * window.el (display-buffer-window): Rewrite doc-string.
8259 (display-buffer-record-window): New function.
8260 (display-buffer-macro-specifiers)
8261 (display-buffer-even-window-sizes, display-buffer-set-height)
8262 (display-buffer-set-width, display-buffer-in-window)
8263 (display-buffer-reuse-window, display-buffer-split-specifiers)
8264 (display-buffer-side-specifiers, display-buffer-split-window-1)
8265 (display-buffer-split-window, display-buffer-split-atom-window)
8266 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8267 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8268 (display-buffer-other-window-means-other-frame)
8269 (display-buffer-normalize-special)
8270 (display-buffer-normalize-default)
8271 (display-buffer-normalize-argument)
8272 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8273 (display-buffer-normalize-specifiers, display-buffer-frame)
8274 (display-buffer-same-window, display-buffer-same-frame)
8275 (display-buffer-other-window)
8276 (display-buffer-same-frame-other-window)
8277 (display-buffer-other-frame, pop-to-buffer-same-window)
8278 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8279 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8280 (switch-to-buffer-same-frame)
8281 (switch-to-buffer-other-window-same-frame)
8282 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8283 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8284 (display-buffer-alist-set): Remove.
8285 (display-buffer-function, special-display-buffer-names)
8286 (special-display-regexps, special-display-function):
8287 In doc-string refer to display-buffer-window and quit-restore
8289 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8290 (special-display-frame-alist, special-display-popup-frame)
8291 (same-window-buffer-names, same-window-regexps, same-window-p)
8292 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8293 (split-window-preferred-function, split-height-threshold)
8294 (split-width-threshold, window-splittable-p)
8295 (split-window-sensibly, window--try-to-split-window)
8296 (window--frame-usable-p, even-window-heights)
8297 (window--even-window-heights, window--display-buffer-1)
8298 (window--display-buffer-2, display-buffer-other-frame):
8299 Restore old Emacs 23 code, order and doc-strings where applicable.
8300 (display-buffer-default, display-buffer-assq-regexp): New functions.
8301 (display-buffer-alist): Rewrite doc-string.
8302 (display-buffer-default-action)
8303 (display-buffer-overriding-action): New variables.
8304 (display-buffer, switch-to-buffer): Rewrite.
8305 (pop-to-buffer): Restore Emacs 23 behavior but use
8306 window-normalize-buffer-to-display.
8307 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8308 Restore Emacs 23 behavior but use
8309 window-normalize-buffer-to-switch-to.
8310 (pop-to-buffer-same-window): Rewrite.
8311 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8312 Rewrite using Emacs 23 options.
8314 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8316 * net/tramp.el (tramp-root-regexp): Remove.
8317 (tramp-completion-file-name-regexp-unified)
8318 (tramp-completion-file-name-regexp-separate)
8319 (tramp-completion-file-name-regexp-url): Don't use leading volume
8320 letter on win32 systems. (Bug#5303, Bug#9311)
8321 (tramp-drop-volume-letter): Simplify definition.
8322 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8324 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8329 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8331 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8333 2011-08-29 Juri Linkov <juri@jurta.org>
8335 * isearch.el (isearch-done): Don't display message "Mark saved"
8336 when arg `edit' is non-nil to prevent its flicker in the echo area.
8338 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8340 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8341 obsolete packages for deletion.
8343 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8345 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8346 (help-mode): Derive help-mode from special-mode. Don't invoke
8347 view-mode from help-mode.
8348 (help-xref-override-view-map): Remove.
8349 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8350 view-mode is not used anymore.
8352 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8354 * server.el (server-port): Doc fix.
8356 * cus-theme.el (custom-theme-choose-mode): Inherit from
8357 special-mode (Bug#9124).
8358 (custom-theme-choose-mode-map): Add special-mode to parent.
8360 2011-08-28 Alan Mackenzie <acm@muc.de>
8362 * progmodes/cc-fonts.el
8363 (c-make-font-lock-BO-decl-search-function): New function.
8364 (c-basic-matchers-after - "Fontify the clauses after various
8365 keywords"): Extract the three keyword lists for the 3 erroneous
8366 constructs from the list of four, and use the new function above
8367 in place of an old one.
8369 2011-08-28 Deniz Dogan <deniz@dogan.se>
8371 * net/rcirc.el (rcirc-insert-prev-input)
8372 (rcirc-insert-next-input): Remove unused argument.
8374 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8376 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8378 2011-08-27 Alan Mackenzie <acm@muc.de>
8380 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8381 handle function pointer parameters properly.
8383 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (display-buffer-reuse-window): Fix case where
8386 selected window was reused with non-nil OTHER-WINDOW argument.
8389 2011-08-27 Deniz Dogan <deniz@dogan.se>
8391 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8392 oftc's NickServ messages.
8394 2011-08-27 Glenn Morris <rgm@gnu.org>
8396 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8398 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8400 * emacs-lisp/package.el (package-install): Call package-initialize
8401 if called interactively.
8403 2011-08-26 Leo Liu <sdl.web@gmail.com>
8405 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8407 2011-08-25 Juri Linkov <juri@jurta.org>
8409 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8410 `search-whitespace-regexp' (bug#9364).
8412 2011-08-25 Juri Linkov <juri@jurta.org>
8414 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8415 `regexp-search-ring' to their global values to protect from
8416 updating by `read-from-minibuffer' (bug#9185).
8418 2011-08-25 Juri Linkov <juri@jurta.org>
8420 * textmodes/ispell.el (ispell-command-loop): Add newline
8421 at the end of the "Use option `i'..." line.
8423 2011-08-25 Juri Linkov <juri@jurta.org>
8425 * battery.el (display-battery-mode): If `battery-status-function'
8426 or `battery-mode-line-format' is nil, display the message and set
8427 `display-battery-mode' to nil (bug#9363).
8429 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8431 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8432 bidi-string-mark-left-to-right; they are unnecessary now.
8434 2011-08-25 Deniz Dogan <deniz@dogan.se>
8436 * net/quickurl.el: Documentation typo fixes.
8438 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8440 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8442 2011-08-25 Glenn Morris <rgm@gnu.org>
8444 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8446 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8447 (smtpmail-via-smtp): Handle nil response from smtp.
8449 2011-08-24 Juri Linkov <juri@jurta.org>
8451 * proced.el (proced-marked): Inherit from `error' instead of
8452 `font-lock-warning-face'.
8454 * ibuffer.el (ibuffer-marked-face): Change default face from
8455 `font-lock-warning-face' to `warning'.
8456 (ibuffer-deletion-face): Change default face from
8457 `font-lock-type-face' to `error'.
8459 * battery.el (battery-update): Use the face `error' instead of
8460 `font-lock-warning-face' (bug#6117).
8462 2011-08-24 Juri Linkov <juri@jurta.org>
8464 * faces.el (success): Change face color from "Green3" to
8465 "ForestGreen" on light background (bug#9353).
8467 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8469 * window.el (quit-window): Rename from quit-restore-window.
8470 Use same arglist as old quit-window.
8471 (frame-auto-delete): Doc fix.
8473 * view.el (view-mode-exit): Use quit-window.
8475 2011-08-24 Juri Linkov <juri@jurta.org>
8477 * isearch.el (isearch-ring-adjust1): Start visiting previous
8478 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8479 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8480 for empty search string (when the last search string is reused
8481 automatically) to adjust the isearch ring to the last element and
8482 prepare the correct index for further M-p commands (bug#9185).
8484 2011-08-24 Kenichi Handa <handa@m17n.org>
8486 * international/ucs-normalize.el: If decomposition property of
8487 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8489 (nfd, nfkd): Likewise.
8491 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8494 from process filters aren't reliably transmitted to the surrounding
8495 accept-process-output.
8496 (mpc-proc-check): New function.
8497 (mpc-proc-sync): Use it (bug#8293)
8499 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8502 Add compatibility functions (bug#9313).
8504 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8506 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8508 * international/uni-bidi.el: Regenerate.
8510 2011-08-23 Kenichi Handa <handa@m17n.org>
8512 * international/charprop.el:
8513 * international/uni-bidi.el:
8514 * international/uni-category.el:
8515 * international/uni-combining.el:
8516 * international/uni-comment.el:
8517 * international/uni-decimal.el:
8518 * international/uni-decomposition.el:
8519 * international/uni-digit.el:
8520 * international/uni-lowercase.el:
8521 * international/uni-mirrored.el:
8522 * international/uni-name.el:
8523 * international/uni-numeric.el:
8524 * international/uni-old-name.el:
8525 * international/uni-titlecase.el:
8526 * international/uni-uppercase.el: Regenerate.
8528 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8530 * help.el (help-window-setup): Fix message displayed when other
8531 window is reused. (Bug#9341)
8533 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8535 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8536 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8538 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8540 * shell.el (shell-parse-pcomplete-arguments): New function.
8541 (shell-completion-vars): Use it instead (bug#9160).
8543 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8546 strings and comments (bug#9333).
8548 * emacs-lisp/debug.el (debug-arglist): New function.
8549 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8550 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8552 2011-08-22 Juri Linkov <juri@jurta.org>
8554 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8555 Revert regexp that highlights output switches to its old
8556 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8558 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8559 to check for empty output (bug#9226).
8561 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8563 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8564 symbol-constituent as the default, as that stops font-lock from
8565 working properly (Bug#8843).
8567 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8569 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8570 `coding-system-for-*' around the process open call to avoid
8571 auth-source side effects.
8572 (smtpmail-try-auth-methods): Expand the secret password.
8573 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8576 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8578 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8580 * emacs-lisp/find-func.el (find-function-noselect): New arg
8583 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8584 signal an error for built-in functions (Bug#6664).
8586 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8588 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8589 (smtpmail-try-auth-methods): Use it.
8591 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8593 * font-lock.el (font-lock-fontify-region)
8594 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8595 (font-lock-default-unfontify-buffer)
8596 (font-lock-default-fontify-region)
8597 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8599 * progmodes/compile.el (compilation-error-properties):
8600 Fix confusion between file struct and message struct (Bug#9319).
8601 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8604 * net/browse-url.el (browse-url-firefox): Don't call
8605 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8607 2011-08-20 Glenn Morris <rgm@gnu.org>
8609 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8611 * tutorial.el (tutorial--default-keys): Update some default bindings.
8613 * files.el (hack-local-variables): Fully ignore case for "mode:".
8615 2011-08-20 Alan Mackenzie <acm@muc.de>
8617 Resolve invalid use of a regexp in regexp-opt.
8619 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8620 detection for a java annotation.
8622 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8623 detection for a java annotation.
8625 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8627 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8629 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8631 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8634 2011-08-20 Alan Mackenzie <acm@muc.de>
8636 Fontify CPP expressions correctly when starting in the middle of
8637 such a construct. Mainly for when jit-lock etc. starts a chunk
8640 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8642 (c-make-font-lock-search-form): New function, extracted from
8643 c-make-font-lock-search-function.
8644 (c-make-font-lock-search-function): Use the above function.
8645 (c-make-font-lock-context-search-function): New function.
8646 (c-cpp-matchers): Enhance the preprocessor expression case with
8648 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8649 which takes an expression.
8651 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8653 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8655 * window.el (display-buffer-reuse-window)
8656 (display-buffer-pop-up-window): Don't reuse or split a side
8659 2011-08-19 Glenn Morris <rgm@gnu.org>
8661 * files.el (hack-local-variables-prop-line, hack-local-variables):
8662 Downcase "Mode:". (Bug#9331)
8664 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8666 * international/characters.el: Add L and R categories.
8668 * subr.el (bidi-string-mark-left-to-right): Rename from
8669 string-mark-left-to-right. Use category search.
8671 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8673 2011-08-18 Juri Linkov <juri@jurta.org>
8675 * faces.el (error, warning, success): New faces with definitions
8676 copied from old default values of `font-lock-warning-face',
8677 `compilation-warning', `compilation-info' (bug#6117).
8679 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8681 * progmodes/compile.el (compilation-error): Inherit from `error'.
8682 (compilation-warning): Inherit from `warning'.
8683 (compilation-info): Inherit from `success'.
8685 * dired.el (dired-marked): Inherit from `warning'.
8686 (dired-flagged): Inherit from `error'.
8688 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8690 * mail/smtpmail.el (auth-source): Require to avoid problems with
8691 binding variables (bug#9298). Also clean up some unused
8694 * net/network-stream.el (network-stream-open-starttls):
8695 Support using starttls.el without using gnutls-cli.
8697 2011-08-17 Juri Linkov <juri@jurta.org>
8699 * progmodes/grep.el (rgrep): Handle the case when
8700 `grep-find-command' is a cons cell (bug#9278).
8702 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8704 * window.el (display-buffer-pop-up-frame): Run frame creation
8705 function with BUFFER current (as special-display-popup-frame
8706 does). Reported by Drew Adams.
8708 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8710 * epa-mail.el: Simplify GnuPG group expansion using
8712 (epa-mail-group-alist, epa-mail-group-modtime)
8713 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8714 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8715 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8718 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8720 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8722 2011-08-16 Alan Mackenzie <acm@muc.de>
8724 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8725 Correct, to avoid the inside of macros.
8727 2011-08-16 Richard Stallman <rms@gnu.org>
8729 * epa-mail.el: Handle GnuPG group definitions.
8730 (epa-mail-group-alist, epa-mail-group-modtime)
8731 (epa-mail-gnupg-conf-file): New variables.
8732 (epa-mail-parse-groups, epa-mail-sync-groups)
8733 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8734 (epa-mail-expand-recipients): New functions.
8735 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8737 * mail/rmail.el (rmail-epa-decrypt): New command.
8739 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8740 Don't bind buffer-read-only, just inhibit-read-only.
8741 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8742 (epa-decrypt-armor-in-region): Make error message clearer.
8744 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8747 and "a2b" to "ab" for `prefix'.
8749 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8751 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8753 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8754 Fourquet (Bug#8804).
8756 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8758 * startup.el (argi): Declare as global variable (bug#9275).
8760 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8762 * subr.el (string-mark-left-to-right): Search the entire string
8763 for RTL script, not just the terminating character. Doc fix.
8765 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8769 (js--regexp-literal, js-syntax-propertize-function): Remove.
8770 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8771 (js-mode-map): Don't rebind electric keys.
8772 (js-insert-and-indent): Remove.
8773 (js-mode): Setup electric-layout and electric-indent instead.
8775 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8777 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8779 * epa.el (epa-progress-callback-function): Fix the logic of
8780 displaying progress.
8781 * epa-file.el (epa-file-insert-file-contents): Make progress
8782 display more user-friendly.
8783 (epa-file-write-region): Ditto.
8785 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8787 * subr.el (string-mark-left-to-right): New function.
8789 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8790 Use string-mark-left-to-right.
8791 (list-buffers-noselect): Caller changed.
8793 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8794 Use string-mark-left-to-right.
8795 (tabulated-list-print): Recenter after moving point.
8797 2011-08-10 Juri Linkov <juri@jurta.org>
8799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8800 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8801 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8803 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8805 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8808 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8810 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8811 character. (Bug#6594)
8813 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8815 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8816 (image-dired--with-db-file): New macro.
8817 (image-dired-write-tags, image-dired-remove-tag)
8818 (image-dired-create-gallery-lists, image-dired-write-comments)
8819 (image-dired-get-comment, image-dired-mark-tagged-files)
8820 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8821 (image-dired-gallery-generate): Use insert-file-contents.
8823 * time.el (display-time-world-list, display-time-world-display):
8824 * time-stamp.el (time-stamp-string):
8825 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8826 set-time-zone-rule (Bug#7337).
8828 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8830 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8831 (epg-error-to-string, epg-errors-to-string): New function.
8832 (epg-wait-for-completion): Reverse errors list.
8833 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8834 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8835 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8836 (epg-sign-keys, epg-generate-key-from-file)
8837 (epg-generate-key-from-string): Format errors by using
8838 epg-errors-to-string (bug#9255).
8839 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8841 2011-08-07 Juri Linkov <juri@jurta.org>
8843 * faces.el (list-faces-display): Remove extra angle bracket
8844 from `help-mode-map'.
8846 * info.el (Info-history-toc-nodes): Doc fix.
8848 * longlines.el (longlines-mode): Doc fix.
8850 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8853 of statements and in a few more cases (bug#9183).
8855 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8857 (cl-transform-lambda): Use them (bug#9239).
8859 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8861 * window.el (display-buffer-same-window)
8862 (display-buffer-same-frame, display-buffer-other-window)
8863 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8864 (pop-to-buffer-other-window)
8865 (pop-to-buffer-same-frame-other-window)
8866 (pop-to-buffer-other-frame): Make them defuns.
8867 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8869 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * subr.el (make-composed-keymap): Move from C. Change calling
8872 convention, and improve docstring to bring attention to a subtle point.
8873 * minibuffer.el (completing-read-default): Adjust accordingly.
8875 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8877 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8878 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8880 * net/trampver.el: Update release number.
8882 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8887 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8889 * mail/sendmail.el (sendmail-query-once): Restore the current
8890 buffer after querying (bug#9074).
8892 * dired.el (dired-flagged): Use different faces for marked and
8893 flagged files (bug#6117).
8895 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8898 * ido.el (ido-mode): Switch off the message if called
8901 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8902 before 587, since it appears that that's more likely to work for
8905 * cus-edit.el (custom-file): When running under emacs -q, always
8906 refuse to save the customizations, even if the .emacs file doesn't
8909 * info.el: Remove the `Info-beginning-of-buffer' function
8912 * net/network-stream.el (network-stream-open-starttls):
8913 Use `starttls-available-p' to see whether starttls.el can be used.
8915 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8917 * window.el (display-buffer-in-window): Don't set dedicated status
8918 of window here (Bug#9215).
8919 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8920 (display-buffer-pop-up-side-window)
8921 (display-buffer-in-side-window): Set dedicated status of window here.
8923 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8926 before binding generated-autoload-file.
8928 2011-08-01 Deniz Dogan <deniz@dogan.se>
8930 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8932 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8934 Sync with Tramp 2.2.2.
8936 * net/trampver.el: Update release number.
8938 2011-07-30 Juri Linkov <juri@jurta.org>
8940 * dired-aux.el (dired-touch-initial): Remove function.
8941 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8942 current time, and `default' to the last modification time of the
8943 current marked file (bug#6887).
8945 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8947 * simple.el (goto-line): Use string-to-number to provide a
8948 numeric argument to read-number (bug#9163).
8950 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8952 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8953 connection process, it could be nil.
8955 2011-07-27 Leo Liu <sdl.web@gmail.com>
8957 Simplify url handling in rcirc-mode.
8959 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8960 (rcirc-browse-url-at-mouse): Remove.
8961 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8963 2011-07-26 Alan Mackenzie <acm@muc.de>
8965 Fontify bitfield declarations properly.
8967 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8968 (c-symbol-chars): Now exported as a lang variable.
8969 (c-not-primitive-type-keywords): New lang variable.
8971 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8972 QT keyword "more" to prevent "more slots: ...." being spuriously
8973 parsed as a bitfield declaration.
8975 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8976 Refactor and enhance to handle bitfield declarations.
8977 (c-punctuation-in): New function.
8978 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8979 declarations properly.
8981 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8983 * calendar/icalendar.el (icalendar--all-events): Take care of
8984 multiple vcalendars in a single file.
8985 (icalendar--convert-float-to-ical): Checkdoc fixes.
8987 2011-07-25 Deniz Dogan <deniz@dogan.se>
8989 * image.el (insert-image): Clarifying docstring.
8991 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8993 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8994 `tramp-send-command-and-check' if there is no error.
8995 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8997 2011-07-22 Alan Mackenzie <acm@muc.de>
8999 Prevent cc-langs.elc being loaded at run time.
9001 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9004 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9005 "(require 'cc-langs)". Quote a form so it will evaluate at
9006 (cc-mode's) compilation time.
9008 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9010 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9013 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9015 * window.el (display-buffer-pop-up-window)
9016 (display-buffer-pop-up-side-window)
9017 (display-buffer-in-side-window): Call display-buffer-set-height
9018 and display-buffer-set-width after setting the new window's
9019 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9021 2011-07-20 Sam Steingold <sds@gnu.org>
9023 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9024 (etags-tags-included-tables): Call `convert-standard-filename' on
9025 the file names contained in TAGS so that windows Emacs can handle
9026 TAGS files created by cygwin ctags.
9028 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9030 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9031 which apparently didn't work.
9033 2011-07-19 Roland Winkler <winkler@gnu.org>
9035 * proced.el (proced-send-signal): For *Marked Processes* buffer
9036 put point at beginning of buffer.
9038 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9040 * proced.el (proced-format): Make header lines align with the text
9043 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9045 * view.el (view-buffer): Allow running in `special' modes if we're
9046 visiting a file (bug#8615).
9048 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9050 * window.el (display-buffer-alist-of-strings-p)
9051 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9053 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9056 2011-07-18 Alan Mackenzie <acm@muc.de>
9058 Fontify declarators properly when, e.g., a jit-lock chunk begins
9059 inside a declaration.
9061 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9063 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9065 (c-complex-decl-matchers): Insert reference to
9066 c-font-lock-enclosing-decls.
9068 * progmodes/cc-engine.el (c-backward-single-comment):
9069 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9070 to nil around calls to (forward-comment -1).
9072 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074 * image.el (put-image): Doc typo fix.
9076 * progmodes/etags.el (tags-search): Doc typo fix.
9078 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9079 password if we get errors 550 to 554.
9081 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9083 * net/gnutls.el (gnutls-log-level): Remove.
9085 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9086 indentation character (bug#6380).
9088 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9090 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9091 to clarify what the problem is (bug#4291).
9093 * simple.el (current-kill): Clarify what
9094 `interprogram-paste-function' does (bug#7500).
9095 (auto-fill-mode): Document `auto-fill-function' in relation to
9096 `auto-fill-mode' (bug#2470).
9098 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9100 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9101 method if slot is read-only (bug#9035).
9103 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9105 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9106 * window.el (pop-to-buffer): Select window used even if it was
9107 selected before, see discussion of (Bug#8615), (Bug#6954).
9108 Pass argument NORECORD on to select-frame-set-input-focus.
9110 2011-07-15 Glenn Morris <rgm@gnu.org>
9112 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9115 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9117 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9118 (gnutls-negotiate): Use it.
9120 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9122 * net/gnutls.el (gnutls-negotiate):
9123 Upcase `gnutls-algorithm-priority'.
9125 2011-07-15 Glenn Morris <rgm@gnu.org>
9127 * jka-compr.el (jka-compr-verbose): Move from here...
9128 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9129 Add missing :version tag.
9130 * info.el: No need to require jka-compr when compiling.
9132 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9135 (gnutls-negotiate): Use it.
9137 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9139 * info.el (Info-beginning-of-buffer): New command.
9140 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9141 announcing `b' as the key (bug#8325).
9142 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9144 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9146 * international/mule-cmds.el
9147 (describe-specified-language-support): Make the error message
9150 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9152 * isearch.el (isearch-barrier): Add a doc string, since it's
9153 mentioned in a function doc string (bug#8678).
9155 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9157 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9158 buffer argument (Bug#9083) and self-identifying label argument.
9160 2011-07-15 Glenn Morris <rgm@gnu.org>
9162 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9164 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9166 * man.el (Man-fontify-manpage): Fix message when formatting the
9167 man page (bug#7929).
9169 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9171 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9172 argument LRM; if non-nil, append an invisible LRM character to the
9174 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9175 last argument non-nil, when formatting buffer names.
9176 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9177 paragraph direction.
9179 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9182 the man page name (bug#7929).
9184 * image.el (put-image): Mention the `put-image' overlay property
9187 * scroll-bar.el (set-scroll-bar-mode): Mention that
9188 `scroll-bar-mode' lists the values (bug#7772).
9190 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9193 * rect.el (apply-on-rectangle): Return the point after the last
9195 (string-rectangle): Go to the point after the last operation
9198 * printing.el (pr-toggle-region): Clarify the documentation
9199 slightly (bug#7493).
9201 * time.el (display-time-update):
9202 Allow `display-time-mail-function' to return nil (bug#7158).
9203 Fix suggested by Detlev Zundel.
9205 * vc/diff.el (diff): Clarify the order the file names are read
9208 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9209 the doc string (bug#7015).
9211 * font-lock.el (font-lock-maximum-decoration): Mention what
9212 numeric levels mean (bug#6935).
9214 * startup.el (initial-buffer-choice): Don't mention the `none'
9215 selection, which is against policy.
9217 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9219 * window.el (display-buffer-normalize-special):
9220 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9222 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9224 * subr.el (version<, version<=, version=): Mention "-CVS" and
9225 "-12345" alpha version numbers.
9227 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9229 * bindings.el: Add advertised binding for set-mark-command
9232 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9234 * bindings.el (mode-line-other-buffer):
9235 * bookmark.el (bookmark-bmenu-2-window):
9236 * bs.el (bs-cycle-next, bs-cycle-previous):
9237 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9240 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9243 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9245 * follow.el (follow-debug-message, follow-redisplay):
9246 * jka-cmpr-hook.el (with-auto-compression-mode):
9247 Fix typos in docstrings.
9249 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9251 * subr.el (with-silent-modifications): Clarify somewhat what the
9252 macro inhibits (bug#6525).
9254 * simple.el (eval-expression): Note what it does if called
9255 interactively (bug#6495).
9257 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9259 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9260 Use pop-to-buffer buffer-or-name if it is nil.
9262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9263 Remove switch-to-buffer.
9265 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9267 * files.el (make-directory): Clarify that an error will be raised
9268 if there's an error (bug#6397).
9270 * startup.el (initial-buffer-choice): Add `none' as a choice
9273 * subr.el (add-hook): Clarify section about buffer-local hooks
9276 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9278 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9280 * tabify.el (untabify): Preserve the current column so that point
9281 doesn't move (bug#6032).
9283 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9286 Rewrite to avoid awkward possessive "s" (bug#5986).
9288 2011-07-13 Glenn Morris <rgm@gnu.org>
9290 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9291 (dired-insert-directory): Give a message the first time
9292 if ls is found not to support --dired.
9294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9296 * simple.el (toggle-truncate-lines): Clarify what is toggled
9297 (bug#5580). Text by Drew Adams.
9299 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9301 * simple.el (blink-matching-open): Make the error message from the
9302 last change less verbose.
9304 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9306 * font-lock.el (font-lock-comment-face): Use the high contrast
9307 "yellow" color for font-lock-comment-face on low color terminals
9308 using a dark background color (bug#4221).
9310 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312 * dired.el (dired-insert-set-properties): Make the doc string
9313 reflect what it does now (bug#5325).
9315 * simple.el (blink-matching-open): Say that we were unable to find
9316 the match within the limit, if we're limited (bug#5122).
9318 * international/mule-cmds.el (prefer-coding-system): Add an
9321 * progmodes/etags.el (tags-search): Document `file-list-form'
9324 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9326 * net/browse-url.el (browse-url-default-browser)
9327 (browse-url-browser-function): Make the default browser choice a
9328 bit more logical (bug#4300). Also clean up the doc string.
9330 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9332 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9333 binary endings (bug#4440).
9335 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9337 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9338 which can be pretty annoying (bug#8971).
9340 * jka-compr.el (jka-compr-verbose): New variable, and use
9341 throughout (bug#8971).
9343 * info.el (Info-find-file): Fall back on the installation
9344 directory if we can't find the info node anywhere else.
9346 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9348 * vc/vc.el (vc-revert-file):
9349 Don't set file time-stamp in the past. (Bug#5181)
9351 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9353 * files.el (after-find-file): Give a better error message when
9354 trying to find a symlink that points to a file that doesn't exist
9357 * progmodes/cc-vars.el: Remove (probably) misleading comment
9360 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9362 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9364 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9366 * mouse-sel.el: Hack restoring functionality, while keeping
9367 compatibility with 2010-07-03 changes to mouse selection.
9368 (mouse-sel-primary-overlay): New var.
9369 (mouse-sel-selection-alist): Use it.
9370 (mouse-sel-mode): Doc fix; remove points that are default features
9373 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9375 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9376 Fix previous fix (bug#2490).
9378 2011-07-12 Roland Winkler <winkler@gnu.org>
9380 * textmodes/bibtex.el (bibtex-initialize):
9381 Use pop-to-buffer-same-window.
9382 (bibtex-search-entries): Fix interactive call.
9384 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9387 Fontise bytecomp Error lines more correctly (bug#2490).
9388 Fix suggested by Johan BockgĂ¥rd.
9390 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9392 * dired-x.el (dired-guess-default): Use `delete-dups'.
9394 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9396 * dired.el (dired-mark-prompt):
9397 * dired-aux.el (dired-read-shell-command): Doc fix.
9399 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9401 * mail/sendmail.el (sendmail-query-once):
9402 Use `customize-save-variable' unconditionally, now that it works under
9405 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9407 * cus-edit.el (custom-file): Take an optional no-error variable.
9408 (customize-save-variable): Set the variable, and give a warning if
9409 running under "emacs -q".
9411 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9413 * loadhist.el (unload-feature-special-hooks):
9414 Add `auto-coding-functions', `fill-nobreak-predicate' and
9415 `find-directory-functions' (bug#5327).
9417 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9419 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9421 * cus-edit.el (custom-guess-name-alist): -alist variables should
9422 use the `alist' type (bug#3120). Suggested by Drew Adams.
9424 * printing.el: Add documentation to all the `pr-toggle-' commands.
9426 2011-07-11 Leo Liu <sdl.web@gmail.com>
9428 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9429 backends where it makes sense (bug#2623).
9431 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9433 * dired-x.el (dired-guess-default): Remove duplicate shell command
9435 (dired-guess-default): Fix grammar in doc string (bug#2028).
9436 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9438 * subr.el (remove-duplicates): New conveniency function.
9440 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9445 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9447 * window.el (display-buffer-normalize-default): Don't invert
9448 meaning of even-window-heights. Reported by Eli Zaretskii
9451 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9453 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9455 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9457 * window.el (display-buffer): Fix arguments to
9458 display-buffer-reuse-window in last change.
9460 * faces.el (link): Use a less saturated blue on light backgrounds.
9462 * startup.el (fancy-startup-text, fancy-about-text)
9463 (fancy-startup-tail): Use font-lock faces, for background safety.
9465 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9467 * emulation/viper-cmd.el (viper-change-state-to-vi):
9468 Limit triggering of abbrev expansion (Bug#9038).
9470 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9472 * window.el (display-buffer-default-specifiers): Remove.
9473 (display-buffer-macro-specifiers): Remove default specifiers.
9474 (display-buffer-alist): Default to nil.
9475 (display-buffer-reuse-window): New optional argument other-window.
9476 (display-buffer-pop-up-window): Allow splitting internal
9477 windows. Check whether a live window was created.
9478 (display-buffer-other-window-means-other-frame)
9479 (display-buffer-normalize-arguments): Rename to
9480 display-buffer-normalize-argument and rewrite. Set the
9481 other-window specifier.
9482 (display-buffer-normalize-special): New function.
9483 (display-buffer-normalize-options): Rename to
9484 display-buffer-normalize-default and rewrite.
9485 (display-buffer-normalize-options-inhibit): Remove.
9486 (display-buffer-normalize-specifiers): Rewrite.
9487 (display-buffer): Process other-window specifier and call
9488 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9490 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9491 (display-buffer-alist-set): Don't handle 'unset default values.
9492 (display-buffer-in-window, display-buffer-alist-set):
9493 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9494 <tassilo@member.fsf.org>.
9496 2011-07-09 Leo Liu <sdl.web@gmail.com>
9498 * register.el (insert-register): Restore accidental change on
9499 2011-06-26. (Bug#9028)
9501 2011-07-09 Glenn Morris <rgm@gnu.org>
9503 * subr.el (remq): Handle the empty list. (Bug#9024)
9505 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9507 * mail/sendmail.el (send-mail-function): No longer delay custom
9509 * custom.el (custom-initialize-delay): Doc fix.
9511 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9515 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9517 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9518 human-friendly prompt.
9520 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9522 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9523 provided by a particular plugin.
9525 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9527 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9528 save customizations (with "emacs -Q"), just set the variable
9529 instead of erroring out.
9531 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9533 2011-07-08 Juri Linkov <juri@jurta.org>
9535 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9536 (archive-zip-update-case): Use 7z if found by `executable-find'.
9537 The order of searching the available programs is the same as in
9538 `archive-zip-extract' (bug#8968).
9540 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9542 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9543 (menu-bar-options-menu): Tweak descriptions.
9545 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9548 menu items into verb phrases (bug#1421). Also refill to fit under
9551 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9553 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9554 (Info-read-node-name): Doc fix (Bug#1084).
9556 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9557 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9558 (end-of-sexp, beginning-of-sexp)
9559 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9560 (forward-symbol, forward-same-syntax, word-at-point)
9561 (sentence-at-point): Doc fix (Bug#1144).
9563 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9566 should cover it (bug#1281).
9568 * cus-edit.el (custom-show): Mark as obsolete.
9570 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9571 negotiation fails, then possibly try again with a non-encrypted
9572 connection (bug#9017).
9574 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9577 2011-07-07 Richard Stallman <rms@gnu.org>
9579 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9580 property, and handle its changed format.
9581 Look for the correct line number.
9582 Use file's line contents (but not past first =) to find
9583 correct line in message.
9585 2011-07-07 Kenichi Handa <handa@m17n.org>
9587 * international/characters.el (build-unicode-category-table):
9589 (unicode-category-table): Set it by unicode-property-table-internal.
9591 * international/mule-cmds.el (char-code-property-alist): Move to
9593 (get-char-code-property): Call unicode-property-table-internal to
9594 load a file. Call get-unicode-property-internal where necessary.
9595 (put-char-code-property): Call unicode-property-table-internal to
9596 load a file. Call put-unicode-property-internal where necessary.
9597 put-unicode-property-internal where necessary.
9598 (char-code-property-description):
9599 Call unicode-property-table-internal to load a file.
9601 * international/charprop.el:
9602 * international/uni-bidi.el:
9603 * international/uni-category.el:
9604 * international/uni-combining.el:
9605 * international/uni-comment.el:
9606 * international/uni-decimal.el:
9607 * international/uni-decomposition.el:
9608 * international/uni-digit.el:
9609 * international/uni-lowercase.el:
9610 * international/uni-mirrored.el:
9611 * international/uni-name.el:
9612 * international/uni-numeric.el:
9613 * international/uni-old-name.el:
9614 * international/uni-titlecase.el:
9615 * international/uni-uppercase.el: Regenerate.
9617 * loadup.el: Load international/charprop.el before
9618 international/characters.
9620 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9622 * window.el (next-buffer, previous-buffer): Signal an error if
9623 called from a minibuffer window.
9625 * bindings.el: Revert 2011-07-04 change.
9627 2011-07-06 Richard Stallman <rms@gnu.org>
9629 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9630 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9631 Treat markers like ints.
9632 (rmail-mime-entity): Doc fix.
9634 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9637 defcustom again for backwards compatibility.
9639 * simple.el (shell-command-on-region): Fill.
9641 * dired-aux.el (dired-kill-line): Add a doc string.
9643 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9644 to "\\sw\\|\\s_" (bug#358).
9646 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9647 (dired-unmark-backward): Ditto.
9648 (dired-flag-backup-files): Ditto.
9650 * dired-x.el (dired-mark-sexp): Ditto.
9652 2011-07-06 Richard Stallman <rms@gnu.org>
9654 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9655 (rmail-mime-entity): New arg TRUNCATED.
9656 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9658 (rmail-mime-save): Warn if entity is truncated.
9659 (rmail-mime-toggle-hidden): Likewise, for showing.
9660 (rmail-mime-process-multipart): Record when an entity is truncated.
9662 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9663 if ENTITY is a string.
9665 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9667 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9668 of faces when `M-C-x'-ing their definitions (bug#8378).
9669 Also clean up the code slightly.
9671 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9672 because that makes the colors go away.
9674 * mail/sendmail.el (send-mail-function): Change the default to
9675 `sendmail-query-once'.
9676 (sendmail-query-once): Add an autoload cookie.
9678 * net/network-stream.el (network-stream-open-starttls): Try using
9679 a plain connection even if the server offered STARTTLS, and we
9680 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9681 capability. This should make smtpmail.el work in slightly more
9684 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9686 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9688 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9690 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9692 * progmodes/sql.el: Version 3.0
9693 (sql-product-alist): Add product :completion-object,
9694 :completion-column, and :statement attributes.
9695 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9696 (sql-mode-syntax-table): Mark all punctuation.
9697 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9699 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9700 (sql-mode-oracle-font-lock-keywords): Improve.
9701 (sql-oracle-show-reserved-words): New function for development.
9702 (sql-product-font-lock): Simplify for source code buffers.
9703 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9705 (sql-highlight-product): Set product specific syntax table.
9706 (sql-mode-map): Add statement movement functions.
9707 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9709 (sql-statement-regexp, sql-beginning-of-statement)
9710 (sql-end-of-statement, sql-signum): New functions.
9711 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9712 (sql-show-sqli-buffer): Bug fix.
9713 (sql-interactive-mode): Store connection data as buffer local.
9714 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9715 with sql-interactive-mode.
9716 (sql-save-connection): Save buffer local settings.
9717 (sql-connection-menu-filter): Change menu entry name.
9718 (sql-product-interactive): Bug fix.
9719 (sql-preoutput-hold): New variable.
9720 (sql-interactive-remove-continuation-prompt): Bug fixes.
9721 (sql-debug-redirect): New variable.
9722 (sql-str-literal): New function.
9723 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9725 (sql-oracle-save-settings, sql-oracle-restore-settings)
9726 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9727 (sql-completion-object, sql-completion-column)
9728 (sql-completion-sqlbuf): New variables.
9729 (sql-build-completions-1, sql-build-completions)
9730 (sql-try-completion): New functions.
9731 (sql-read-table-name): Use them.
9732 (sql-contains-names): New buffer local variable.
9733 (sql-list-all, sql-list-table): Use it.
9734 (sql-oracle-completion-types): New variable.
9735 (sql-oracle-completion-object, sql-sqlite-completion-object)
9736 (sql-postgres-completion-object): New functions.
9738 2011-07-06 Glenn Morris <rgm@gnu.org>
9740 * window.el (pop-to-buffer): Doc fix.
9742 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9744 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9746 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9748 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9750 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9752 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9754 * button.el (button): Inherit from link face. Suggested by Dan
9757 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9759 * progmodes/gdb-mi.el: Fit in 80 columns.
9760 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9763 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9764 if imenu is simply not configured (bug#8941).
9766 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9768 * allout.el (allout-post-undo-hook): New allout outline-change
9769 event hook to signal undo activity.
9770 (allout-post-command-business): Run allout-post-undo-hook if an
9772 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9773 * allout-widgets.el (allout-widgets-after-undo-function):
9774 Ensure the integrity of the current item's decoration after it has been
9775 in the vicinity of an undo.
9776 (allout-widgets-mode): Include allout-widgets-after-undo-function
9777 on the new allout-post-undo-hook.
9779 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9782 Let define-derived-mode define it.
9783 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9784 cycles of abbrev-table inheritance (bug#8998).
9786 2011-07-05 Roland Winkler <winkler@gnu.org>
9788 * textmodes/bibtex.el: Add support for biblatex.
9789 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9790 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9791 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9792 (bibtex-entry-alist, bibtex-field-alist): New variables.
9793 (bibtex-entry-field-alist): Obsolete alias for
9794 bibtex-BibTeX-entry-alist.
9795 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9796 (bibtex-set-dialect): New command.
9797 (bibtex-entry-type, bibtex-entry-head)
9798 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9799 Bind via bibtex-set-dialect.
9800 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9801 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9802 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9803 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9804 Define via bibtex-set-dialect.
9805 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9806 Obey bibtex-no-opt-remove-re.
9807 (bibtex-vec-push, bibtex-vec-incr): New functions.
9808 (bibtex-format-entry, bibtex-field-list)
9809 (bibtex-print-help-message, bibtex-validate)
9810 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9812 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9814 * progmodes/compile.el (compilation-goto-locus):
9815 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9816 * bs.el (bs-cycle-next, bs-cycle-previous):
9817 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9818 * bindings.el (mode-line-other-buffer):
9819 * autoinsert.el (auto-insert):
9820 * arc-mode.el (archive-extract):
9821 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9823 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9825 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9826 Fix check of `emacs-lock-unlockable-modes'.
9827 Coerce true values of `emacs-lock--try-unlocking' to t.
9829 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9831 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9832 * emacs-lock.el: New file.
9834 2011-07-05 Julien Danjou <julien@danjou.info>
9836 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9837 than `boundp' to check if face is set.
9839 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9841 * register.el (registerv-make):
9842 * window.el (window-min-height): Fix typos in docstrings.
9844 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9846 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9849 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9851 * server.el (server-execute): Catch quit and call
9852 `server-return-error' to pass the error back to emacsclient and
9853 close the connection (bug#8942).
9855 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9857 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9858 insecure exception for current topic. Also note that auto-saves
9859 are handled differently.
9861 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9862 State variables for tracking auto-save inhibition situation.
9864 (allout-write-contents-hook-handler): Rename from
9865 'allout-write-file-hook-handler', and describe how it depends on
9866 write-contents-functions sensitivity to non-nil value to prevent
9869 (allout-auto-save-hook-handler): Remove. auto-save does not check
9870 this in individual buffers, only in the starting buffer, so this
9871 is not the right way for us to inhibit auto-save in a buffer
9872 according to its condition.
9874 (allout-mode): Use new allout-write-contents-hook-handler, and
9875 only with write-contents-functions. Remove auto-save provisions -
9876 they're implemented elsewhere.
9878 (allout-before-change-handler): If undo is in progress, note that
9879 for attention of allout-post-command-business.
9881 (allout-post-command-business): If the command we're following was
9882 an undo, check for change in the status of encrypted items and
9883 adjust auto-save inhibitions accordingly.
9885 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9886 according to whether there are or aren't any plain-text topics
9889 (allout-inhibit-auto-save-info-for-decryption):
9890 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9891 if there are plain-text topics pending encryption.
9893 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9894 buffer-saved-size and some allout state to not inhibit auto-saves
9895 if there are no longer any plain-text topics pending encryption.
9897 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9898 No longer provide for exemption of the current topic.
9900 2011-07-04 Juri Linkov <juri@jurta.org>
9902 Add 7z operations to delete and save changed members (bug#8968).
9903 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9905 (archive-7z-write-file-member): New function.
9906 (archive-7z-summarize): Fix the number of dashes in the
9909 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9914 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9916 * bindings.el: Ignore next-buffer and previous-buffer in
9917 minibuffer-local-map.
9919 * font-lock.el (font-lock-builtin-face): Change light background
9920 color to dark slate blue (Bug#6693).
9922 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9924 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9926 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9928 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9930 Add switch-to-buffer.
9932 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9934 * isearch.el (isearch-search-fun-function): Clarify further the
9935 meaning of the function returned.
9937 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9939 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9941 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9942 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9944 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9945 `tramp-default-remote-path' does not exist.
9946 (tramp-send-command-and-read): New optional argument NOERROR.
9947 (tramp-open-connection-setup-interactive-shell)
9948 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9949 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9950 (tramp-process-sentinel): Flush also process' connection property.
9951 (tramp-sh-handle-start-file-process): Do not set process
9952 sentinel. It is done now ...
9953 (tramp-maybe-open-connection): ... here. (Bug#8929)
9955 2011-07-04 MON KEY <monkey@sandpframing.com>
9957 * play/animate.el (animate-string): Doc fixes and allow changing
9958 the buffer name (bug#5417).
9960 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9962 * play/animate.el (animation-buffer-name): Rename from *animate*.
9964 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9966 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9967 This is simpler and helps future-proof the code.
9968 (timer-until): Use time-subtract and float-time.
9969 (timer--time-less-p): Use time-less-p.
9971 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9973 * type-break.el (timep): Use the value of `float-time' to avoid a
9974 byte-compiler warning.
9976 * server.el (server-eval-and-print): Return any result, even nil.
9978 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9980 * type-break.el: Accept time formats that the builtins accept.
9981 (timep, type-break-time-difference): Accept any format that
9982 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9983 This is simpler and helps future-proof the code.
9984 (type-break-time-difference): Round rather than ignoring
9985 subseconds components.
9987 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9989 * info.el (Info-apropos-matches): Make non-interactive, since it
9990 doesn't seem to do anything useful as a command (bug#8829).
9992 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9994 * frame.el (frame-background-mode, frame-set-background-mode):
9996 (frame-default-terminal-background): New function.
9998 * custom.el (custom-push-theme): Don't record faces in `changed'
9999 theme; this doesn't work correctly for per-frame face settings.
10000 (disable-theme): Use face-set-after-frame-default to reset faces.
10001 (custom--frame-color-default): New function.
10003 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005 * dired.el (dired-flagging-regexp): Remove unused variable
10008 2011-03-29 Kevin Ryde <user42@zip.com.au>
10010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10011 `perl-Test2' extend to match possible "fail #N" rep count
10014 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10017 `smtpmail-via-smtp' now returns the error instead of nil.
10019 * isearch.el (isearch-search-fun-function): Clarify the doc string
10022 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10024 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10025 unnecessary spaces (bug#8987).
10027 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10029 * net/network-stream.el (open-network-stream): Use the
10030 :end-of-capability command thoughout.
10032 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10034 * net/network-stream.el (open-network-stream): Add the
10035 :end-of-capability command parameter, used by pop3.el.
10037 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10039 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10041 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10042 for list)" (bug#6475).
10044 * files.el (file-expand-wildcards): Ignore non-readable
10045 sub-directories while trying to find matches instead of signaling
10046 an error (bug#6297).
10048 * man.el (Man-reference-regexp): Allow matching possible
10049 word-wrapped references (bug#6289).
10051 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10052 for consistency with the other vc buffers (bug#6197).
10053 (vc-checkin): Ditto.
10055 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10057 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10059 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061 * custom.el (defcustom): Clarify that :set is only used in the
10062 Customize user interface (bug#6089).
10064 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10065 associated with a file, refuse to run instead of erroring out
10068 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10069 the doc string, since it appears that using `fill-column' always
10070 controls the width (bug#7845).
10072 * simple.el (shell-command-on-region): Say where the error output
10073 went if `shell-command-default-error-buffer' is set (bug#6857).
10075 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10077 * allout.el (allout-yank-processing): Adjust cursor position for
10078 backwards-deleted space.
10080 (allout-rebullet-heading): Register changes with
10081 allout-exposure-changed-hook, so the modified topic is properly
10084 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086 * minibuffer.el (completion-in-region): Document PREDICATE
10089 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10090 of keyword/argument pairs (bug#6904).
10092 * replace.el (multi-occur):
10093 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10095 2011-07-02 Drew Adams <drew.adams@oracle.com>
10097 * dired.el (dired-mark-if): Make the message about whether it's
10098 marking or unmarking clearer (bug#8523).
10100 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10102 * disp-table.el (display-table-print-array): New function.
10103 (describe-display-table): Use it to print the vectors more pretty
10106 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10108 * window.el (window-state-get-1): Don't assign clone numbers.
10109 Add clone-of item to list of window parameters.
10110 (window-state-put-2): Don't process clone numbers.
10111 (display-buffer-alist): Fix doc-string.
10113 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * subr.el (remq): Don't allocate if it's not needed.
10116 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10117 (keymap--merge-bindings): New functions.
10118 (keymap-canonicalize): Use them to refine the canonicalization.
10119 * minibuffer.el (minibuffer-local-completion-map)
10120 (minibuffer-local-must-match-map): Move initialization from C.
10121 (minibuffer-local-filename-completion-map): Move initialization from C;
10122 don't inherit from anything here.
10123 (minibuffer-local-filename-must-match-map): Make obsolete.
10124 (completing-read-default): Use make-composed-keymap to combine
10125 minibuffer-local-filename-completion-map with either
10126 minibuffer-local-must-match-map or
10127 minibuffer-local-filename-completion-map.
10129 2011-07-01 Glenn Morris <rgm@gnu.org>
10131 * type-break.el (type-break-time-sum): Use dolist.
10133 * textmodes/flyspell.el (flyspell-word-search-backward):
10134 Replace CL function.
10136 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * mouse.el (mouse--strip-first-event): New function.
10139 (function-key-map): Use it to map fringe clicks to normal clicks
10142 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10143 (vc-bzr-revision-completion-table): Add support for annotate and date.
10145 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10146 inherit from parent.
10148 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10151 (dired-show-file-type): Doc fixup (bug#8818).
10153 * dired.el (dired-mode): Fix up the doc string as suggested by
10154 Drew Adams (bug#8817).
10156 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10157 cookie, since the manual says that it should be possible to add
10158 this function to `find-file-hook' (bug#8709).
10160 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10162 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10163 here. Noted Ted Zlatanov as the maintainer.
10164 (cfengine-common-settings, cfengine-common-syntax): New functions
10165 to set up common things between `cfengine-mode' and
10167 (cfengine3-mode): New mode.
10168 (cfengine3-defuns cfengine3-defuns-regex
10169 (cfengine3-class-selector-regex cfengine3-category-regex)
10170 (cfengine3-vartypes cfengine3-font-lock-keywords)
10171 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10172 (cfengine3-indent-line): Add from cfengine3.el.
10174 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10176 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10178 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10180 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10182 * window.el (same-window-buffer-names, same-window-regexps)
10183 (same-window-p, special-display-frame-alist)
10184 (special-display-popup-frame, special-display-function)
10185 (special-display-buffer-names, special-display-regexps)
10186 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10187 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10188 (split-window-preferred-function, split-height-threshold)
10189 (split-width-threshold, even-window-heights)
10190 (display-buffer-mark-dedicated, window-splittable-p)
10191 (split-window-sensibly, window-safely-shrinkable-p):
10193 (display-buffer): Don't spread args with function specifier
10194 because special-display-popup-frame won't like it.
10196 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10198 Time-stamp simplifications and fixes.
10199 These improve accuracy slightly, and future-proof the code
10200 against some potential changes to current-time format.
10202 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10203 by using time-since and float-time.
10205 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10206 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10207 + NNN microseconds".
10209 * type-break.el (type-break-time-sum): Rewrite using time-add.
10211 * play/hanoi.el (hanoi-current-time-float): Remove.
10212 All uses replaced by float-time.
10214 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10215 This yields a more-accurate answer.
10216 (rng-time-to-float): Remove; no longer needed.
10218 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10220 * calendar/timeclock.el (timeclock-seconds-to-time):
10221 Defalias to seconds-to-time, since they're the same thing.
10223 * emacs-lisp/elp.el (elp-elapsed-time):
10224 * emacs-lisp/benchmark.el (benchmark-elapse):
10225 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10227 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10229 * window.el (bury-buffer): Don't iconify the only frame.
10230 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10231 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10233 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10235 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10236 Add mouse-yank-primary.
10238 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10240 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10242 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10245 (find-library-name): Use it to find relative load names when provided
10246 absolute file name (bug#8803).
10248 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10250 * textmodes/flyspell.el (flyspell-word): Consider words that
10251 differ only in case as potential doublons (bug#5687).
10253 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10254 Remove two rather uninteresting debugging-like messages to make
10255 debbugs.el more silent.
10257 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10258 a password-like phrase.
10260 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10262 * progmodes/cc-guess.el: New file.
10264 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10266 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10267 derived from `c-basic-common-init'.
10269 * progmodes/cc-mode.el (top-level): Require cc-guess.
10270 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10272 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10274 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10276 2011-06-30 Alan Mackenzie <acm@muc.de>
10278 * progmodes/cc-engine.el (c-guess-continued-construct):
10279 Correct the handling of template-args-cont, particularly for when font
10280 lock is disabled. Name this case as "CASE G".
10282 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10284 * allout.el (allout-yank-processing): Fix injection of extra space
10285 between bullet and non-whitespace character in first topic when
10286 pasting, ensuring that the actual spacing in the pasted topic
10287 following the bullet char is preserved. This extra space was
10288 causing pasted encrypted topics to get a decrypted status even
10289 when the content was actually still encrypted. Now the decryption
10290 status from before the paste is preserved.
10292 (allout-flag-region): Set all allout overlays so they evaporate
10293 when reduced to zero length (evanescent), to prevent overlay
10296 2011-06-30 Glenn Morris <rgm@gnu.org>
10298 * w32-fns.el (w32-charset-info-alist): Declare.
10300 * find-dired.el (find-grep-options): Simplify.
10302 * term/ns-win.el (ns-set-resource): Declare.
10304 * ses.el (row, col): Declare dynamic variables honestly.
10306 * textmodes/reftex-parse.el (index-tags): Declare.
10308 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10310 * cus-edit.el (customize-push-and-save): New function.
10312 * files.el (hack-local-variables-confirm): Use it.
10314 * custom.el (load-theme): New arg NO-CONFIRM.
10315 Use customize-push-and-save (Bug#8720).
10316 (custom-enabled-themes): Doc fix.
10318 * cus-theme.el (customize-create-theme)
10319 (custom-theme-merge-theme): Callers to load-theme changed.
10321 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10323 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10324 short URLs have at least one dot in them (bug #7614).
10326 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10327 nil, because using a pty is apparently too slow (bug #895).
10329 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331 * mail/sendmail.el (sendmail-query-once): New function.
10332 (sendmail-query-once-function): New variable.
10334 2011-06-29 Glenn Morris <rgm@gnu.org>
10336 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10338 * ses.el (top-level): Require cl when compiling.
10339 (ses-set-localvars): Fix error statement.
10340 Call it at compile time to silence a storm of warnings.
10342 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10344 * window.el (normalize-live-buffer): Rename to
10345 window-normalize-buffer.
10346 (normalize-live-frame): Rename to window-normalize-frame.
10347 (normalize-any-window): Rename to window-normalize-any-window.
10348 (normalize-live-window): Rename to window-normalize-live-window.
10349 (make-window-atom): Rename to window-make-atom.
10350 (window-resize-reset): Rename to window--resize-reset.
10351 (window-resize-reset-1): Rename to window--resize-reset-1.
10352 (resize-mini-window): Rename to window--resize-mini-window.
10353 (resize-subwindows-skip-p): Rename to
10354 window--resize-subwindows-skip-p.
10355 (resize-subwindows-normal): Rename to
10356 window--resize-subwindows-normal.
10357 (resize-subwindows): Rename to window--resize-subwindows.
10358 (resize-other-windows): Rename to window--resize-siblings.
10359 (resize-this-window): Rename to window--resize-this-window.
10360 (resize-root-window): Rename to window--resize-root-window.
10361 (resize-root-window-vertically): Rename to
10362 window--resize-root-window-vertically.
10363 (normalize-buffer-to-display): Rename to
10364 window-normalize-buffer-to-display.
10365 (normalize-buffer-to-switch-to): Rename to
10366 window-normalize-buffer-to-switch-to.
10367 Correspondingly update all callers of the functions listed
10369 (display-buffer-alist, display-buffer-normalize-arguments)
10370 (display-buffer-normalize-options, display-buffer)
10371 (display-buffer-alist-set): Use "function" instead of
10374 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10376 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10377 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10378 debbugs.gnu.org. Mention acknowledgment email.
10380 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10383 buffer multibyteness, since it shouldn't matter.
10385 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10387 * window.el (display-buffer-in-side-window): Handle dedicated
10388 windows as in display-buffer-reuse-window.
10389 (display-buffer-normalize-alist): Use value of override
10391 (display-buffer-normalize-specifiers): Use value of
10392 other-window-means-other-frame specifier.
10393 (display-buffer-alist): Rewrite some texts in widgets.
10394 (display-buffer): Spread arguments when calling function
10395 specified by fun-with-args.
10397 2011-06-28 Deniz Dogan <deniz@dogan.se>
10399 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10402 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10403 selectors (Bug#5732).
10404 (css-proprietary-nmstart-re): Use `regexp-opt'.
10406 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10408 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10409 (eshell-ls-date-format): New defcustom.
10410 (eshell-ls-file): Use it.
10412 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10416 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10418 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10419 (ange-ftp-make-tmp-name): New arg.
10420 (ange-ftp-file-local-copy): Use it.
10422 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10424 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10425 no-conversion (Bug#8870).
10427 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10429 * window.el (window-right, window-left, window-child)
10430 (window-child-count, window-last-child)
10431 (window-iso-combination-p, walk-window-tree-1)
10432 (window-atom-check-1, window-tree-1, delete-window)
10433 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10434 new naming conventions - window-vchild, window-hchild,
10435 window-next and window-prev are now called window-top-child,
10436 window-left-child, window-next-sibling and window-prev-sibling
10438 (resize-window-reset): Rename to window-resize-reset.
10439 (resize-window-reset-1): Rename to window-resize-reset-1.
10440 (resize-window): Rename to window-resize.
10441 (window-min-height, window-min-width)
10442 (resize-mini-window, resize-this-window, resize-root-window)
10443 (resize-root-window-vertically, adjust-window-trailing-edge)
10444 (enlarge-window, shrink-window, maximize-window)
10445 (minimize-window, delete-window, quit-restore-window)
10446 (split-window, balance-windows, balance-windows-area-adjust)
10447 (balance-windows-area, window-state-put-2)
10448 (display-buffer-even-window-sizes, display-buffer-set-height)
10449 (display-buffer-set-width, set-window-text-height)
10450 (fit-window-to-buffer): Rename all "resize-window" prefixed
10451 calls to use the "window-resize" prefix convention.
10452 (display-buffer-alist): Fix symbol for label specifier.
10453 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10454 corresponding specifier.
10455 Reported by Juanma Barranquero <lekktu@gmail.com>.
10457 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10459 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10461 (ses-call-printer): Does not pass an empty string to formatter when the
10462 cell is empty to keep from barking printer Calc math-format-value.
10464 2011-06-27 Richard Stallman <rms@gnu.org>
10466 * battery.el (battery-mode-line-limit): New variable.
10467 (battery-update): Handle it.
10469 * mail/rmailmm.el (rmail-mime-process-multipart):
10470 Handle truncated messages.
10472 2011-06-27 Glenn Morris <rgm@gnu.org>
10474 * progmodes/flymake.el (flymake-err-line-patterns):
10475 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10477 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10479 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10480 (ses--clean-!, ses--clean-_): New functions.
10481 (ses-range): Add configurability of readout order, and conversion
10484 * ses.el (ses-repair-cell-reference-all): New function.
10485 (ses-cell-symbol): Set macro as safe, so that it can be used in
10488 * ses.el: Update cycle detection algorithm.
10489 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10490 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10491 (ses-set-localvars): New function.
10492 (ses-make-cell): Add property-list as a cell element.
10493 (ses-cell-property-get-fun, ses-cell-property-get)
10494 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10495 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10497 (ses-cell-property-set, ses-cell-property-pop)
10498 (ses-cell-property-get-handle): New macro.
10499 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10500 New aliases, used for code readability.
10501 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10503 (ses-self-reference-early-detection): New defcustom.
10504 (ses-formula-references): Robustify against self-referring cells.
10505 (ses-mode): Use ses-set-localvars.
10506 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10507 before lauching the update processing.
10508 (ses-initialize-Dijkstra-attempt): New function.
10509 (ses-recalculate-cell): Update for cycle detection based on
10510 Dijkstra algorithm.
10512 * ses.el: Fix commenting and indenting convention.
10514 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10516 * bs.el (bs-cycle-next): Complete last change.
10518 2011-06-27 Drew Adams <drew.adams@oracle.com>
10520 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10522 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10524 * net/network-stream.el (network-stream-open-starttls):
10525 Don't re-get capabilities unless we've reestablished connection.
10526 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10528 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10529 to binary to possibly avoid line encoding issues on Windows (among
10532 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534 * net/network-stream.el (open-network-stream): Return an :error
10535 saying what the problem was, if possible.
10537 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10540 * net/network-stream.el (network-stream-open-starttls): If we
10541 wanted to use STARTTLS, and the server offered it, but we weren't
10542 able to because we had no STARTTLS support, then close the connection.
10543 (open-network-stream): Return an :error element, if present.
10545 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10547 * hl-line.el (hl-line-sticky-flag): Doc fix.
10548 (global-hl-line-sticky-flag): New option (Bug#8323).
10549 (global-hl-line-highlight): Obey it.
10551 * vc/vc.el (vc-revert-show-diff): Default to t.
10553 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10555 * allout-widgets.el (allout-widgets-post-command-business):
10556 Stop decorating intermediate isearch matches. They're not being
10557 undecorated when an isearch is continued past, and isearch
10558 automatically collapses them. This leads to "widget leaks", where
10559 decorated items accumulate in collapsed areas. Lines with lots of
10560 hidden widgets can slow down cursor travel, substantially.
10561 Too much complicated machinery would be needed to ensure undecoration,
10562 so we're doing without this nicety.
10564 (allout-widgets-tally-string): Don't try to do a hash-table-count
10565 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10566 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10567 *Messages* when allout-widgets-maintain-tally is t.
10569 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10571 * window.el (display-buffer-normalize-argument): Rename to
10572 display-buffer-normalize-arguments. Handle special meaning of
10573 LABEL argument. Respect special-display-function when popping up
10574 a new frame. Fix code searching for a window showing the buffer
10576 (display-buffer-normalize-specifiers):
10577 Call display-buffer-normalize-arguments.
10578 (display-buffer-in-window): Don't undedicate the window if its
10579 buffer remains the same.
10580 Reported by Drew Adams <drew.adams@oracle.com>.
10581 (display-buffer-alist): Add choice for same-window macro
10583 (display-buffer): Mention special meaning of LABEL argument in
10584 doc-string. Fix quoting. Don't pop up a new frame even as
10587 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10589 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10590 avoid deleting the current window in some cases (bug#8911).
10592 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10594 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10597 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10599 * net/network-stream.el (network-stream-open-starttls):
10600 Use built-in TLS support if `gnutls-available-p' is true.
10601 (network-stream-open-tls): Ditto.
10603 2011-06-26 Leo Liu <sdl.web@gmail.com>
10605 * register.el (registerv): New struct.
10606 (registerv-make): New function.
10607 (jump-to-register, describe-register-1, insert-register):
10608 Support the jump-func, print-func and insert-func slot of a registerv
10611 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10613 * vc/vc.el (vc-revert-show-diff): New defcustom.
10614 (vc-diff-internal): New arg specifying diff buffer.
10615 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10616 reuse an existing *vc-diff* buffer (Bug#8927).
10618 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10620 2011-06-26 Glenn Morris <rgm@gnu.org>
10622 * progmodes/f90.el (f90-critical-indent): New option.
10623 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10624 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10625 (f90-mode): Doc fix.
10626 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10627 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10628 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10629 (f90-match-end): Handle block, critical.
10631 2011-06-25 Glenn Morris <rgm@gnu.org>
10633 * calendar/diary-lib.el (diary-included-files): Doc fix.
10634 (diary-include-files): New function, extracted from
10635 diary-include-other-diary-files and diary-mark-included-diary-files.
10636 (diary-include-other-diary-files, diary-mark-included-diary-files):
10637 Just call diary-include-files.
10638 (diary-mark-entries): Reset diary-included-files on first call.
10640 * calendar/diary-lib.el (diary-mark-entries)
10641 (diary-mark-included-diary-files):
10642 Visit included diary-files in temp buffers.
10644 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10645 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10646 (f90-start-block-re, f90-imenu-generic-expression)
10647 (f90-looking-at-program-block-start, f90-no-block-limit):
10648 Add support for submodules.
10650 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10651 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10653 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10655 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10656 buffer-file-type before setting its value, to avoid disastrous
10657 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10659 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10661 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10663 * ses.el (ses-unload-function):
10664 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10666 * proced.el (proced-unload-function):
10667 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10669 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10671 * server.el (server-create-window-system-frame): Add parameters arg.
10672 (server-process-filter): Doc fix. Handle frame-parameters.
10674 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10676 Fix bug#8730, bug#8781.
10678 * loadhist.el (unload--set-major-mode): New function.
10679 (unload-feature): Use it.
10681 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10682 (python-unload-function): New function.
10684 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10688 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10690 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10691 the candidates list.
10693 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10695 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10697 2011-06-23 Richard Stallman <rms@gnu.org>
10699 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10700 (rmail-variables): Set next-error-move-function.
10701 (rmail-what-message): Take argument POS.
10702 (rmail-next-error-move): New function.
10704 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10706 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10707 messages for adjacent non-terminals.
10709 2011-06-23 Richard Stallman <rms@gnu.org>
10711 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10712 (rmail-show-message-1): Preserve buffer modified flag.
10713 (rmail-start-mail): Don't specify use of rmail-mail-return;
10714 that's done by mail-bury now.
10715 (rmail-mail-return): Handle arg NEWBUF.
10717 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10719 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10722 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10724 * window.el (get-lru-window, get-mru-window)
10725 (get-largest-window): Never return a minibuffer window.
10726 (display-buffer-pop-up-window): Fix a bug that could lead to
10727 reusing the minibuffer window.
10728 (display-buffer): Pass original specifier argument to
10729 display-buffer-function instead of the normalized one.
10730 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10732 2011-06-22 Leo Liu <sdl.web@gmail.com>
10734 * minibuffer.el (completing-read-function)
10735 (completing-read-default): Move from minibuf.c
10737 2011-06-22 Richard Stallman <rms@gnu.org>
10739 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10740 to Rmail even if not started by a special Rmail command.
10742 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10743 Copy the buffer currently showing just one message.
10745 2011-06-22 Roland Winkler <winkler@gnu.org>
10747 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10748 (bibtex-clean-entry): First delete the old key so that a
10749 customized algorithm for generating the new key does not get
10750 confused by the old key.
10751 (bibtex-url): Obey regexp of first step.
10752 (bibtex-search-entries): Do not use add-to-list with local
10755 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10757 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10758 stored a user name, then query for the password first, instead of
10759 waiting for SMTP to give an error message and the trying again.
10761 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10763 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10764 BUFFER in call-process.
10766 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10768 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10770 (smtpmail-try-auth-methods): Require user name and password from
10773 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10775 * window.el (display-buffer-default-specifiers)
10776 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10777 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10778 (split-window): Normalize SIDE argument (Bug#8916).
10780 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10781 (special-display-frame-alist, special-display-popup-frame):
10782 Remove duplicate declarations. These are now in window.el.
10784 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10786 * mail/smtpmail.el (smtpmail-via-smtp):
10787 Set :use-starttls-if-possible so that we always use STARTTLS if the
10788 server supports it. SMTP servers that support STARTTLS commonly
10791 * net/network-stream.el (network-stream-open-starttls): Support
10792 upgrading to STARTTLS always, even if we don't have built-in support.
10793 (open-network-stream): Add the :always-query-capabilities keyword.
10795 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10796 upgrades with `open-network-stream', and rely solely on
10797 auth-source for all credentials. Big changes throughout the file,
10799 (smtpmail-auth-credentials): Remove.
10800 (smtpmail-starttls-credentials): Remove.
10801 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10804 * net/network-stream.el (network-stream-open-starttls):
10805 Provide support for client certificates both for external and built-in
10807 (auth-source): Require.
10808 (open-network-stream): Document the :client-certificate keyword.
10809 (network-stream-certificate): Change cert-cert to cert and
10812 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10814 * net/tramp-cache.el (top): Don't load the persistency file when
10815 "emacs -Q" has been called.
10817 2011-06-21 Tim Harper <timcharper@gmail.com>
10819 * term/ns-win.el (ns-initialize-window-system):
10820 Set application-specific `ApplePressAndHoldEnabled' system
10821 resource to NO as it is not yet supported by the NS port.
10823 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10825 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10826 (list-dynamic-libraries): ...not here.
10828 2011-06-21 Leo Liu <sdl.web@gmail.com>
10830 * subr.el (sha1): Implement sha1 using secure-hash.
10832 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10834 * window.el (display-buffer-alist): In default value do not
10835 enforce searching a window on any but the selected frame.
10836 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10837 (display-buffer-select-window): Remove function.
10838 (display-buffer-in-window): When a window on another frame gets
10839 reused, do not select it any more but just raise its frame if
10840 necessary (Bug#8851) and (Bug#8856).
10841 (display-buffer-normalize-options): Handle pop-up-frames related
10842 options more faithfully.
10843 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10844 window if it is on another frame.
10845 (display-buffer-alist, display-buffer-default-specifiers):
10846 Don't make new frame unsplittable by default.
10847 (display-buffer-normalize-argument): Fix doc-string typo and use
10848 'same-frame-other-window instead of 'other-window when associating
10849 with display-buffer-macro-specifiers.
10851 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10853 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10855 (5x5-mode-map, 5x5-mode-menu): Bind them.
10856 (5x5-draw-grid): Tweak the solver's rendering.
10858 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10860 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10861 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10863 2011-06-21 Drew Adams <drew.adams@oracle.com>
10865 * menu-bar.el: Use function variable instead of switch-to-buffer.
10866 (menu-bar-select-buffer-function): New variable.
10867 (menu-bar-update-buffers): Use it (bug#8876).
10869 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10871 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10874 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10876 * x-dnd.el (x-dnd-version-from-flags)
10877 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10878 and long as number (Bug#8899).
10879 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10881 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10884 (completion-try-completion, completion-all-completions): Compute the
10885 metadata argument if it's missing; make it optional (bug#8795).
10887 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10888 (widget-complete): Use new :completion-function property.
10889 (widget-completions-at-point): New function.
10890 (default): Use :completion-function instead of :complete.
10891 (widget-default-completions): Rename from widget-default-complete;
10893 (widget-string-complete, widget-file-complete, widget-color-complete):
10895 (file, symbol, function, variable, coding-system, color):
10896 * international/mule-cmds.el (default-input-method, charset)
10897 (language-info-custom-alist):
10898 * cus-edit.el (face): Use new property :completions.
10900 * progmodes/pascal.el (pascal-completions-at-point): New function.
10901 (pascal-mode): Use it.
10902 (pascal-mode-map): Use completion-at-point.
10903 (pascal-toggle-completions): Make obsolete.
10904 (pascal-complete-word, pascal-show-completions):
10905 * progmodes/octave-mod.el (octave-complete-symbol):
10906 Redefine as obsolete alias.
10907 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10908 Signal absence of completion info for old Octave,
10909 (inferior-octave-complete): Redefine as obsolete alias.
10910 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10911 (meta-completions-at-point): Rename from meta-complete-symbol and
10912 adapt it for use on completion-at-point-functions.
10913 (meta-common-mode): Use it.
10914 (meta-looking-at-backward, meta-match-buffer): Remove.
10915 (meta-complete-symbol): Redefine as obsolete alias.
10916 (meta-common-mode-map): Use completion-at-point.
10917 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10918 (makefile-mode-map): Use completion-at-point.
10919 (makefile-completions-at-point): Rename from makefile-complete and
10920 adapt it for use on completion-at-point-functions.
10921 (makefile-mode): Use it.
10922 (makefile-complete): Redefine as obsolete alias.
10924 2011-06-20 Deniz Dogan <deniz@dogan.se>
10926 * net/rcirc.el: Delete trailing whitespaces once and for all.
10928 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10930 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10932 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10934 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10936 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10938 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10940 * window.el (display-buffer-other-window-means-other-frame):
10941 Call display-buffer-normalize-alist.
10942 (display-buffer-normalize-specifiers-1): Rename to
10943 display-buffer-normalize-argument. New argument other-frame.
10945 (display-buffer-normalize-specifiers-2): Rename to
10946 display-buffer-normalize-options.
10947 (display-buffer-normalize-alist-1): New function.
10948 (display-buffer-normalize-specifiers-3): Rename to
10949 display-buffer-normalize-alist.
10950 Call display-buffer-normalize-alist-1.
10951 (display-buffer-normalize-options-inhibit): New variable.
10952 (display-buffer-normalize-specifiers): Rewrite calling
10953 display-buffer-normalize-alist,
10954 display-buffer-normalize-argument, and
10955 display-buffer-normalize-options. Don't call the latter if
10956 display-buffer-normalize-options-inhibit is non-nil.
10957 (frame-auto-delete): New option.
10958 (window-deletable-p): Use frame-auto-delete.
10959 (window-list-no-nils, window-state-ignored-parameters)
10960 (window-state-get-1, window-state-get, window-state-put-list)
10961 (window-state-put-1, window-state-put-2, window-state-put):
10963 (display-buffer-normalize-options): Move special-display-p group
10964 after pop-up-frame group (Bug#8851) and (Bug#8856).
10966 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10968 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10970 (rx-submatch-n): New function.
10973 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10976 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10978 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10980 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10981 anytime existing face settings are present (Bug#8889).
10983 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10984 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10985 Remove unused argument.
10987 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10989 * window.el (display-buffer-default-specifiers):
10990 Remove pop-up-frame. Add pop-up-window-min-height,
10991 pop-up-window-min-width, and another reuse-window specifier
10992 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10993 (display-buffer-normalize-specifiers-2):
10994 Handle split-height-threshold and split-width-threshold also when
10995 pop-up-windows is unset. Add a reuse-window specifier for the
10996 case popping up a new window fails.
10997 (special-display-popup-frame): Remove double quoting.
10998 (display-buffer-normalize-specifiers-1): Fix thinko.
11000 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11003 according to comint-completion-addsuffix.
11005 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11006 (pcomplete-suffix-list): Mark as obsolete.
11007 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11008 pcomplete-seen in the closure.
11009 (pcomplete-comint-setup): Setup completion-at-point as well.
11010 (pcomplete--entries): New function.
11011 (pcomplete--env-regexp): New var.
11012 (pcomplete-entries): Rewrite to work with partial-completion and
11013 without relying on pcomplete-suffix-list.
11014 (pcomplete-pare-list): Remove, unused.
11016 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11018 * window.el (display-buffer-alist): Set pop-up-window-min-height
11019 and pop-up-window-min-width in default value. Reported by
11020 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11021 other-window-means-other-frame.
11022 (display-buffer-macro-specifiers): Comment out entry for
11023 other-window specifier.
11024 (display-buffer-other-window-means-other-frame): New function.
11025 (display-buffer-normalize-specifiers-1): New arguments
11026 buffer-name and label. Treat other-window case specially.
11027 (display-buffer-normalize-specifiers-2): Treat other-window case
11029 (display-buffer-normalize-specifiers-3): New function.
11030 (display-buffer-normalize-specifiers):
11031 Call display-buffer-normalize-specifiers-3.
11033 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11035 * window.el (same-window-p): Fix two typos introduced when
11036 adding with-no-warnings.
11037 (display-buffer-normalize-specifiers-1): Don't check
11038 pop-up-frames for 'unset initialization.
11039 (display-buffer-normalize-specifiers-2): Major rewrite using
11040 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11041 (pop-up-frames, display-buffer-reuse-frames)
11042 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11043 Suggested by David Engster <deng@randomsample.de>.
11044 (even-window-heights): Initialize to 'unset.
11045 (display-buffer-alist-set): Handle new 'unset initializations.
11046 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11049 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11051 * window.el (display-buffer-normalize-specifiers-1):
11052 Respect current value of pop-up-frames for most reasonable values of
11053 second argument of display-buffer (Bug#8865).
11054 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11055 (switch-to-buffer-other-window-same-frame)
11056 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11058 (display-buffer): Don't check noninteractive when calling
11059 display-buffer-pop-up-frame.
11060 (display-buffer-pop-up-frame): Never pop up a frame in
11061 noninteractive mode (Bug#8857).
11062 (enlarge-window, shrink-window): Don't report an error when the
11063 window can't be resized as requested (Bug#8862).
11065 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11067 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11069 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11071 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11073 2011-06-15 Alan Mackenzie <acm@muc.de>
11075 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11076 for declarators, disable knr checking to speed up for normal files.
11077 2: Refactor, replacing a sequence of nested if forms by a cond form.
11079 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11081 * net/network-stream.el (open-network-stream): Add the keyword
11082 :always-query-capabilities for the case where you want to force a
11083 `plain' network connection, but the protocol still requires the
11084 capabilitiy command (i.e., SMTP and EHLO).
11086 * subr.el (process-live-p): Rename from `process-alive-p' for
11087 consistency with other `-live-p' functions.
11089 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11091 * window.el (same-window-buffer-names, same-window-regexps)
11092 (special-display-frame-alist, special-display-popup-frame)
11093 (special-display-function, special-display-buffer-names)
11094 (special-display-regexps, pop-up-frame-alist)
11095 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11096 (pop-up-windows, split-window-preferred-function)
11097 (split-height-threshold, split-width-threshold, even-window-heights)
11098 (display-buffer-mark-dedicated): Don't encourage the use of
11099 display-buffer-alist from Elisp code.
11101 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11103 * progmodes/python.el (python-mode): Derive from prog-mode.
11104 * progmodes/ps-mode.el (ps-mode):
11105 * progmodes/mixal-mode.el (mixal-mode):
11106 * progmodes/cfengine.el (cfengine-mode):
11107 * progmodes/ld-script.el (ld-script-mode): Likewise.
11109 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11111 * window.el (display-buffer-alist): Trim default value to avoid
11112 popping up a new frame (Bug#8857) or reusing an arbitrary window
11114 (display-buffer): Do not fall back on popping up a new frame in
11115 batch mode (Bug#8857).
11117 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11119 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11120 (custom-theme-summary): New function.
11121 (customize-themes): Use it.
11123 2011-06-13 Glenn Morris <rgm@gnu.org>
11125 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11127 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11129 * help.el (help-window): Remove variable.
11130 (help-window-point-marker, temp-buffer-max-height)
11131 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11132 (help-print-return-message): Don't set help-window.
11133 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11134 (help-window-setup-finish): Remove.
11135 (help-window-display-message, help-window-setup)
11136 (with-help-window): Major rewrite based on new
11137 display-buffer-window variable.
11139 * help-mode.el (help-mode-finish): Remove help-window related
11142 * view.el (view-exits-all-viewing-windows): Remove reference to
11143 view-return-to-alist in doc-string.
11144 (view-return-to-alist): Make obsolete.
11145 (view-buffer): Call pop-to-buffer-same-window and remove
11147 (view-buffer-other-window): Call pop-to-buffer-other-window and
11148 simplify code. Ignore second argument.
11149 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11150 simplify code. Ignore second argument.
11151 (view-return-to-alist-update): Make obsolete.
11152 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11153 Rewrite using quit-restore window parameters.
11154 (view-mode-exit): Rename second argument to EXIT-ONLY.
11155 Rewrite using quit-restore-window.
11156 (View-exit, View-exit-and-edit, View-leave, View-quit)
11157 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11158 appropriate arguments.
11159 (view-end-message): Use quit-restore window parameter.
11161 * window.el (display-buffer-function): Rewrite doc-string.
11162 (display-buffer-window, display-buffer-alist): New variables.
11163 (display-buffer-split-specifiers)
11164 (display-buffer-side-specifiers)
11165 (display-buffer-macro-specifiers): New constants.
11166 (display-buffer-even-window-sizes, display-buffer-set-height)
11167 (display-buffer-set-width, display-buffer-select-window)
11168 (display-buffer-in-window, display-buffer-reuse-window)
11169 (display-buffer-split-window-1, display-buffer-split-window)
11170 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11171 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11172 (display-buffer-in-side-window, normalize-buffer-to-display)
11173 (display-buffer-normalize-specifiers-1)
11174 (display-buffer-normalize-specifiers-2)
11175 (display-buffer-normalize-specifiers, display-buffer-frame):
11177 (display-buffer): Major rewrite.
11178 (display-buffer-other-window, display-buffer-other-frame)
11179 (pop-to-buffer, switch-to-buffer-other-window)
11180 (switch-to-buffer-other-frame): Rewrite.
11181 (display-buffer-same-window, display-buffer-same-frame)
11182 (display-buffer-same-frame-other-window)
11183 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11184 (pop-to-buffer-other-window)
11185 (pop-to-buffer-same-frame-other-window)
11186 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11187 (switch-to-buffer-other-window-same-frame): New functions.
11188 (same-window-p, special-display-p): Rewrite disabling warnings.
11190 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11191 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11193 (same-window-buffer-names, same-window-regexps)
11194 (special-display-frame-alist, special-display-popup-frame)
11195 (special-display-function, special-display-buffer-names)
11196 (special-display-regexps, pop-up-frame-alist)
11197 (pop-up-frame-function, split-window-preferred-function)
11198 (split-height-threshold, split-width-threshold)
11199 (even-window-heights): Make obsolete.
11201 2011-06-12 Glenn Morris <rgm@gnu.org>
11203 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11204 Misc simplifications.
11206 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11208 * window.el (window-safely-shrinkable-p): Restore function which
11209 was inadvertently removed in change from 2011-06-11. Declare as
11212 * calendar/calendar.el (calendar-generate-window):
11213 Use window-iso-combined-p instead of combination of one-window-p and
11214 window-safely-shrinkable-p.
11216 2011-06-12 Glenn Morris <rgm@gnu.org>
11218 * progmodes/fortran.el (fortran-mode-syntax-table):
11219 * progmodes/f90.el (f90-mode-syntax-table):
11220 Set % to punctuation. (Bug#8820)
11221 (f90-find-tag-default): Remove, no longer needed.
11223 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11225 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11227 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11229 * image.el (image-animated-p): Return animation delay in seconds.
11230 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11231 (image-animate-timeout): Remove DELAY argument. Don't assume
11232 every subimage has the same delay; get it from image-animated-p.
11233 (image-animate): Caller changed.
11235 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11237 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11238 to ignored backtrace functions.
11240 2011-06-11 Glenn Morris <rgm@gnu.org>
11242 * calendar/appt.el (appt-disp-window-function): Doc fix.
11243 (appt-check): Handle overlapping appointments. (Bug#8337)
11245 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11247 * window.el (window-tree-1, window-tree): New functions, moving
11248 the latter to window.el.
11249 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11250 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11251 (bw-refresh-edges): Remove.
11252 (balance-windows-1, balance-windows-2): New functions.
11253 (balance-windows): Rewrite in terms of window tree functions,
11254 balance-windows-1 and balance-windows-2.
11255 (bw-adjust-window): Remove.
11256 (balance-windows-area-adjust): New function with functionality of
11257 bw-adjust-window but using resize-window.
11258 (set-window-text-height): Rewrite doc-string.
11259 Use normalize-live-window and resize-window.
11260 (enlarge-window-horizontally, shrink-window-horizontally):
11261 Rename argument to DELTA.
11262 (window-buffer-height): New function.
11263 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11264 Rewrite using new window resize routines.
11265 (kill-buffer-and-window, mouse-autoselect-window-select):
11266 Use ignore-errors instead of condition-case.
11267 (quit-window): Call delete-frame instead of delete-windows-on
11268 for the only buffer on frame.
11270 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11272 * loadup.el (top-level): Load window before files for the sake
11273 of replace-buffer-in-windows.
11275 * files.el (read-buffer-to-switch)
11276 (switch-to-buffer-other-window)
11277 (switch-to-buffer-other-frame, display-buffer-other-frame):
11280 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11281 (previous-buffer): Move to window.el.
11283 * bindings.el (unbury-buffer): Move to window.el.
11285 * window.el (delete-other-windows-vertically): Move after
11286 definition of delete-other-windows.
11287 (other-window, delete-windows-on, replace-buffer-in-windows):
11288 Move here from window.c.
11289 (record-window-buffer, unrecord-window-buffer)
11290 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11291 (switch-to-next-buffer): New functions.
11292 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11293 from simple.el. Call switch-to-next-buffer.
11294 (previous-buffer): Move here from simple.el.
11295 Call switch-to-prev-buffer.
11296 (bury-buffer): Move here from buffer.c. Switch to previous
11297 buffer when window cannot be deleted.
11298 (unbury-buffer): Move here from bindings.el.
11299 (ctl-x-map): Move binding for other-window from window.c to
11301 (read-buffer-to-switch, switch-to-buffer-other-window)
11302 (switch-to-buffer-other-frame): Move here from files.el.
11303 (normalize-buffer-to-switch-to): New functions.
11304 (switch-to-buffer): Move here from buffer.c.
11305 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11307 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11309 * window.el (window-min-height, window-min-width): Move here
11310 from window.c. Add defcustoms and rewrite doc-strings.
11311 (resize-mini-window, resize-window): New functions.
11312 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11313 Move here from window.c.
11314 (maximize-window, minimize-window): New functions.
11315 (delete-window, delete-other-windows, split-window): Move here
11317 (window-split-min-size): New function.
11318 (split-window-keep-point): Mention split-window-above-each-other
11319 instead of split-window-vertically.
11320 (split-window-above-each-other, split-window-vertically):
11321 Rename split-window-vertically to split-window-above-each-other
11322 and provide defalias for old definition.
11323 (split-window-side-by-side, split-window-horizontally):
11324 Rename split-window-horizontally to split-window-side-by-side
11325 and provide defalias for the old definition.
11326 (ctl-x-map): Move bindings for delete-window,
11327 delete-other-windows and enlarge-window here from window.c.
11328 Replace bindings for split-window-vertically and
11329 split-window-horizontally by bindings for
11330 split-window-above-each-other and split-window-side-by-side.
11332 * cus-start.el (all): Remove entries for window-min-height and
11333 window-min-width. Add entries for window-splits and
11336 2011-06-09 Glenn Morris <rgm@gnu.org>
11338 * calendar/appt.el (appt-mode-line): New function.
11339 (appt-check, appt-disp-window): Use it.
11341 * files.el (hack-one-local-variable-eval-safep):
11342 Allow minor-modes with explicit +/-1 arguments.
11344 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11346 * term/xterm.el (xterm): Add defgroup.
11347 (xterm-extra-capabilities): Add defcustom to supply known xterm
11348 capabilities, skip querying them, or query them (default).
11349 (terminal-init-xterm): Use it.
11350 (terminal-init-xterm-modify-other-keys): New function to set up
11351 modifyOtherKeys support to simplify `terminal-init-xterm'.
11353 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11355 * window.el (resize-window-reset, resize-window-reset-1)
11356 (resize-subwindows-skip-p, resize-subwindows-normal)
11357 (resize-subwindows, resize-other-windows, resize-this-window)
11358 (resize-root-window, resize-root-window-vertically)
11359 (window-deletable-p, window-or-subwindow-p)
11360 (frame-root-window-p): New functions.
11362 2011-06-09 Glenn Morris <rgm@gnu.org>
11364 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11365 (ange-ftp-get-files): Use it.
11367 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11369 * mail/sendmail.el (mail-recover-1, mail-recover):
11370 * files.el (recover-file, recover-session):
11371 Handle dired-listing-switches not being just a single short option.
11373 2011-06-09 Glenn Morris <rgm@gnu.org>
11375 * calendar/appt.el (appt-display-message, appt-disp-window):
11376 Handle lists of appointments.
11378 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11380 * window.el (one-window-p): Move down in code.
11381 Rewrite doc-string.
11382 (window-current-scroll-bars): Rewrite doc-string.
11383 Normalize live window argument.
11384 (walk-windows, get-window-with-predicate, count-windows):
11385 Rewrite doc-string. Use window-list-1.
11386 (window-in-direction-2, window-in-direction, get-mru-window):
11389 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11391 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11392 Doc fix (Bug#8713).
11394 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11396 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11398 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11400 * loadhist.el (unload-feature-special-hooks):
11401 Add `comint-output-filter-functions'.
11403 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11405 * calendar/appt.el (appt-check): Move some initializations into the let.
11407 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11409 * window.el (window-height): Defalias to window-total-height.
11410 (window-width): Defalias to window-body-width.
11412 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11414 * image-mode.el (image-toggle-animation): New command.
11415 (image-mode-map): Bind it to RET.
11416 (image-mode): Update message.
11417 (image-toggle-display-image): Avoid a spurious cache flush.
11418 (image-transform-rotation): Doc fix.
11419 (image-transform-properties): Return quickly in the normal case.
11420 (image-animate-loop): Rename from image-animate-max-time.
11422 * image.el (image-animate-max-time): Move to image-mode.el.
11423 (create-animated-image): Remove unnecessary function.
11424 (image-animate): Rename from image-animate-start. New arg.
11425 (image-animate-stop): Remove; just use image-animate-timer.
11426 (image-animate-timer): Use car-safe.
11427 (image-animate-timeout): Rename argument.
11429 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11431 * window.el (get-lru-window, get-largest-window): Move here from
11432 window.c. Rename first argument to ALL-FRAMES.
11433 Rephrase doc-strings.
11434 (get-buffer-window-list): Rewrite using window-list-1.
11435 Rephrase doc-string.
11436 (window-safe-min-height, window-safe-min-width): New constants.
11437 (window-size-ignore, window-min-size, window-min-size-1)
11438 (window-sizable, window-sizable-p, window-size-fixed-1)
11439 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11440 (window-max-delta-1, window-max-delta, window-resizable)
11441 (window-resizable-p, window-total-height, window-total-width)
11442 (window-body-width): New functions.
11443 (window-full-height-p, window-full-width-p): Rewrite using
11445 (window-body-height): Rewrite using window-body-size.
11447 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11449 * window.el (window-right, window-left, window-child)
11450 (window-child-count, window-last-child, window-any-p)
11451 (normalize-live-buffer, normalize-live-frame)
11452 (normalize-any-window, normalize-live-window)
11453 (window-iso-combination-p, window-iso-combined-p)
11454 (window-iso-combinations)
11455 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11456 (windows-with-parameter, window-with-parameter)
11457 (window-atom-root, make-window-atom, window-atom-check-1)
11458 (window-atom-check, window-side-check, window-check):
11460 (ignore-window-parameters, window-sides, window-sides-vertical)
11461 (window-sides-slots): New variables.
11462 (window-size-fixed): Move down in code. Minor doc-string fix.
11464 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11466 * comint.el (comint-dynamic-complete-as-filename)
11467 (comint-dynamic-complete-filename): Correctly call
11468 completion-in-region.
11470 2011-06-05 Deniz Dogan <deniz@dogan.se>
11472 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11475 2011-06-05 Deniz Dogan <deniz@dogan.se>
11477 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11478 (rcirc): Use it to prompt for encryption.
11480 2011-06-05 Roland Winkler <winkler@gnu.org>
11482 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11483 (bibtex-search-entries): New command bound to C-c C-a.
11484 (bibtex-display-entries): New function.
11486 2011-06-05 Roland Winkler <winkler@gnu.org>
11488 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11489 (bibtex-insert-kill): After yanking insert newline if necessary.
11490 (bibtex-initialize): Call bibtex-string-files-init only once.
11491 (bibtex-mode): Do not call easy-menu-add.
11492 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11493 (bibtex-yank): Set arg properly if nil.
11495 2011-06-05 Roland Winkler <winkler@gnu.org>
11497 * textmodes/bibtex.el (bibtex-search-entry-globally):
11499 (bibtex-search-entry): Use it.
11501 2011-06-05 Roland Winkler <winkler@gnu.org>
11503 * textmodes/bibtex.el (bibtex-entry-format): New option
11505 (bibtex-format-entry, bibtex-reformat): Honor this option.
11506 (bibtex-parse-entry): Return fields in proper order.
11508 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11510 * doc-view.el (doc-view-remove-if): Move computation of result out
11511 of `dolist' to silence misleading lexical-binding warning.
11513 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11515 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11516 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11518 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11520 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11523 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11525 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11526 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11527 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11528 (tramp-parse-putty):
11529 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11530 (tramp-completion-function-alist-ssh)
11531 (tramp-completion-function-alist-telnet)
11532 (tramp-completion-function-alist-su)
11533 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11536 * net/tramp-ftp.el:
11538 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11539 load "tramp.el" `tramp-set-completion-function'.
11541 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11543 * shell.el: Require and use pcomplete.
11544 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11545 (shell-completion-vars): Set pcomplete-default-completion-function.
11547 2011-06-04 Deniz Dogan <deniz@dogan.se>
11549 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11552 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11556 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11558 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11559 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11560 * vc/log-view.el (log-view-beginning-of-defun):
11561 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11562 (smerge-refine-forward, smerge-refine-chopup-region):
11563 Silence warning for unused `dotimes' counter variables.
11565 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11567 * net/tramp.el (tramp-with-progress-reporter): Rename from
11568 with-progress-reporter. Use `declare'.
11569 * net/tramp-smb.el:
11571 * net/tramp-gvfs.el: Update all uses.
11573 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11575 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11576 buffer isn't killed before making it current.
11578 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11580 Silence various byte-compiler warnings.
11581 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11582 `access-type' and new obsolescence format.
11583 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11585 (byte-compile-check-variable): New `access-type' argument.
11586 Only warn if the access-type is obsolete.
11587 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11588 (byte-compile-variable-set): Adjust callers.
11589 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11590 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11591 setting it as obsolete.
11592 * simple.el (minibuffer-completing-symbol):
11593 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11594 access as obsolete.
11595 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11597 * international/quail.el (quail-mouse-choose-completion): Remove unused
11598 code referring to obsolete var.
11599 (quail-choose-completion-string): Remove.
11600 * server.el (server-clients-with, server-kill-buffer-query-function)
11601 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11602 * proced.el (proced-send-signal):
11603 * emacs-lisp/lisp.el (lisp-complete-symbol):
11604 Replace completion-annotate-function with completion-extra-properties.
11606 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * simple.el (goto-line): Use read-number.
11609 (overriding-map-is-bound): Remove.
11610 (saved-overriding-map): Change default.
11611 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11612 Take the map as argument.
11613 (universal-argument, negative-argument, digit-argument): Use it.
11614 (restore-overriding-map): Adjust.
11615 (do-auto-fill): Use fill-forward-paragraph.
11616 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11618 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11619 (minibuffer-inactive-mode): New major mode.
11620 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11621 the *Messages* buffer" hack.
11622 (mouse-popup-menubar): Don't burp if the event is a normal key.
11624 Miscellaneous tweaks.
11625 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11626 lexical scoping as in subr.el's dolist and dotimes.
11627 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11628 Silence compiler warning.
11629 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11630 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11631 * international/ccl.el (ccl-compile): Trivial simplification.
11632 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11633 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11634 `printflag' argument.
11635 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11636 Purecopy the whole obsolescence data.
11638 2011-06-01 Leo Liu <sdl.web@gmail.com>
11640 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11641 improve doc-string as suggested by Marco Pessotto
11642 <melmothx@gmail.com>.
11643 (rcirc-print): Fix last change.
11645 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11647 * minibuffer.el (complete-with-action): Return nil for the metadata and
11648 boundaries of non-functional tables.
11649 (completion-table-dynamic): Return nil for the metadata.
11650 (completion-table-with-terminator): Add default case, using
11651 complete-with-action.
11652 (completion--metadata): New function.
11653 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11654 to try and avoid pathological performance problems.
11655 (completion--embedded-envvar-table): Return `category' metadata.
11657 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659 * subr.el (process-alive-p): New tiny convenience function.
11661 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11663 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11664 content but also its previous major mode.
11666 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11668 * emacs-lisp/debug.el (debug): Restore the previous content of the
11669 *Backtrace* buffer when we exit with C-M-c.
11671 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11673 * minibuffer.el: Add metadata method to completion tables.
11674 (completion-category-overrides): New defcustom.
11675 (completion-metadata, completion--field-metadata)
11676 (completion-metadata-get, completion--styles)
11677 (completion--cycle-threshold): New functions.
11678 (completion-try-completion, completion-all-completions):
11679 Add `metadata' argument to choose completion-styles.
11680 (completion--do-completion): Use metadata to choose cycling.
11681 (completion-all-sorted-completions): Use metadata for sorting.
11682 Remove :completion-cycle-penalty which is not needed any more.
11683 (completion--try-word-completion): Add `metadata' argument.
11684 (minibuffer-completion-help): Check metadata for annotation function
11686 (completion-file-name-table): Return `category' metadata.
11687 (minibuffer-completing-file-name): Make obsolete.
11688 * simple.el (minibuffer-completing-symbol): Make obsolete.
11689 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11690 completion-try-completion.
11692 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11696 2011-05-30 Leo Liu <sdl.web@gmail.com>
11698 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11699 (rcirc-print): Decode all incoming messages (bug#8744).
11700 (rcirc-decode-coding-system): Allow value nil for automatic coding
11703 2011-06-01 Glenn Morris <rgm@gnu.org>
11705 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11707 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11709 * image.el (image-animate-max-time): Allow nil and t values.
11711 (create-animated-image): Doc fix.
11712 (image-animate-start): Remove second arg; just use
11713 image-animate-max-time.
11714 (image-animate-timeout): Doc fix. Args changed.
11716 * image-mode.el (image-toggle-display-image): Ensure that the
11717 image spec passed to the animate timer is the same object as in
11718 the buffer's display property (Bug#6981).
11719 (image-transform-properties): Doc fix.
11721 * image.el (image-animate-max-time): Default to nil.
11723 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11725 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11726 entire buffer list (Bug#8184).
11728 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11730 * image.el (imagemagick-types-inhibit)
11731 (imagemagick-register-types): Doc fix.
11733 2011-05-29 Deniz Dogan <deniz@dogan.se>
11735 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11738 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11740 * select.el: Don't perform clipboard-manager saving in hooks;
11741 leave the hooks empty.
11743 2011-05-28 Leo Liu <sdl.web@gmail.com>
11745 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11746 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11747 (occur-edit-mode): New major mode (Bug#8463).
11748 (occur-after-change-function): New function.
11749 (occur-engine): Give Occur tags a read-only property.
11751 2011-05-28 Kevin Ryde <user42@zip.com.au>
11753 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11755 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11757 * bindings.el (help-echo): Make the initial non-indicator dash
11758 empty on graphical terminals (Bug#7295).
11760 * files.el (auto-mode-alist): Move config rule after the
11761 in-stripping one (Bug#8547).
11763 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11765 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11766 setting (Bug#8740).
11768 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11770 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11771 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11774 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11776 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11778 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11780 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11781 (hs-hide-block-at-point, hs-find-block-beginning)
11782 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11785 2011-05-28 Glenn Morris <rgm@gnu.org>
11787 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11789 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11791 * help-fns.el (describe-function-1): If the function is a derived
11792 major mode, print the parent mode.
11794 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11795 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11797 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11799 * minibuffer.el (completion--capf-wrapper): Check applicability before
11800 returning non-nil for non-exclusive completion data.
11801 * progmodes/etags.el (tags-completion-at-point-function):
11802 * info-look.el (info-lookup-completions-at-point): Mark as
11804 (info-complete): Adjust accordingly.
11806 * info-look.el: Convert to lexical-binding and completion-at-point.
11807 (info-lookup-completions-at-point): New function.
11808 (info-complete): Use it and completion-in-region.
11810 2011-05-28 Drew Adams <drew.adams@oracle.com>
11812 * isearch.el: Let M-e start with point at the first mismatched char.
11813 (isearch-fail-pos): New function.
11814 (isearch-edit-string): Use it.
11816 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11818 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11820 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11822 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11823 traversal functions for avl-trees.
11824 (avl-tree--stack): New struct.
11825 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11826 (avl-tree-enter): Add optional `updatefun' arg.
11827 (avl-tree--do-enter): Add optional `updatefun' arg.
11828 Change return value.
11829 (avl-tree-delete): Add optional `test' and `nilflag' args.
11830 (avl-tree--do-delete): Add `test' and `nilflag' args.
11831 Change return value.
11832 (avl-tree-member): Add optional `nilflag'
11833 (avl-tree-member-p): New function.
11834 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11835 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11836 (avl-tree-stack-empty-p): New functions.
11838 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11839 avl-tree--del-balance1 and make it work both ways.
11840 (avl-tree--del-balance2): Remove.
11841 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11842 make it work both ways.
11843 (avl-tree--enter-balance2): Remove.
11844 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11846 (avl-tree--mapc, avl-tree-map): Add direction argument.
11848 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11850 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11852 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11854 * select.el: Support clipboard managers with built-in function
11855 x-clipboard-manager-save, via delete-frame-functions and
11857 (xselect-convert-to-targets): Add MULTIPLE target to list.
11858 (xselect-convert-to-save-targets): New function.
11860 2011-05-27 Kenichi Handa <handa@m17n.org>
11862 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11863 let-binding rfc2047-encode-encoded-words to nil.
11865 2011-05-27 Glenn Morris <rgm@gnu.org>
11867 * mail/emacsbug.el: Don't require url-util.
11869 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11871 * files.el (set-auto-mode):
11872 Also respect mode: entries at the end of the file. (Bug#8586)
11874 2011-05-26 Glenn Morris <rgm@gnu.org>
11876 * files.el (hack-local-variables-prop-line, hack-local-variables):
11877 Downcase mode names, as seems to be traditional.
11878 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11880 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11881 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11883 2011-05-25 Julien Danjou <julien@danjou.info>
11885 * textmodes/rst.el (rst-define-level-faces): Do not define face
11886 symbol if it is already defined.
11888 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11890 * play/5x5.el (5x5-new-game, 5x5-randomize):
11891 Reset 5x5-solver-output to nil when a new grid is cast.
11892 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11893 these debugging traces, as defmacro breaks the compiled code.
11895 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11897 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11899 2011-05-24 Leo Liu <sdl.web@gmail.com>
11901 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11902 (vc-bzr-sha1): Adapt.
11904 * sha1.el: Remove. Function `sha1' is now builtin.
11906 * bindings.el: Provide sha1 feature.
11908 2011-05-24 Kenichi Handa <handa@m17n.org>
11910 * mail/sendmail.el: Require `rfc2047'.
11911 (mail-insert-from-field): Do not perform RFC2047 encoding.
11912 (mail-encode-header): New function.
11913 (sendmail-send-it): Set buffer-file-coding-system of the work
11914 buffer to the return value of select-message-coding-system.
11915 Call mail-encode-header.
11917 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11919 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11921 * mail/supercite.el (sc-default-cite-frame):
11922 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11924 2011-05-24 Glenn Morris <rgm@gnu.org>
11926 * progmodes/python.el (brm-menu): Declare.
11928 * emulation/viper.el (viper-set-hooks): Declare.
11930 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11931 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11932 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11933 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11934 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11935 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11937 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11939 Add an :exit-function for completion-at-point.
11941 * minibuffer.el (completion--done): New fun.
11942 (completion--do-completion): Use it. New arg `expect-exact'.
11943 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11944 since completion--do-completion does it for us now.
11945 (minibuffer-force-complete): Use completion--done and
11946 completion--replace. Handle sole-completion case with more care.
11947 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11948 (completion-extra-properties): New var.
11949 (completion-annotate-function): Make obsolete.
11950 (minibuffer-completion-help): Adjust accordingly.
11951 Use completion-list-insert-choice-function.
11952 (completion-at-point, completion-help-at-point):
11953 Bind completion-extra-properties.
11954 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11955 * simple.el (completion-list-insert-choice-function): New var.
11956 (completion-setup-function): Preserve it.
11957 (choose-completion): Pay attention to it, shuffle the code a bit.
11958 (choose-completion-string): New arg `insert-function'.
11960 * textmodes/bibtex.el: Convert to lexical binding.
11961 (bibtex-mode-map): Use completion-at-point.
11962 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11963 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11964 (bibtex-complete): Define as obsolete alias.
11965 (bibtex-complete-internal): Remove.
11966 (bibtex-format-entry): Remove unused sub-group in regexp.
11967 * shell.el (shell--command-completion-data)
11968 (shell-environment-variable-completion):
11969 * pcomplete.el (pcomplete-completions-at-point):
11970 * comint.el (comint--complete-file-name-data): Use :exit-function
11971 instead of completion-table-with-terminator so it also works for
11974 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11976 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11978 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11981 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11983 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11985 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11986 customization variable and implement: If non-nil, auto-fill will
11987 be inhibited while on topic's header line.
11989 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11991 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11992 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11993 always have a solution in grid size = 5 cases.
11994 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11995 (5x5-solver-output, 5x5-log-buffer): New vars.
11996 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11997 Make these variables buffer local to achieve 5x5 multi-session-ness.
11998 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11999 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12000 (5x5-solve-suggest): New funs.
12001 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12002 randomize a grid so that we ensure that there is always a solution.
12003 (5x5-make-random-grid): Allow other movement than flipping.
12005 2011-05-23 Kevin Ryde <user42@zip.com.au>
12007 * emacs-lisp/advice.el (ad-read-advised-function):
12008 Use `function-called-at-point' as the default, if it has
12009 advice and passes PREDICATE.
12011 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12013 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12014 byte-compile-lambda if it's actually a lambda.
12016 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12017 Fix function quoting. Use backquote better.
12019 2011-05-22 Yuanle Song <sylecn@gmail.com>
12021 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12022 matching (Bug#8516).
12024 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12026 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12027 different face (Bug#8178).
12029 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12031 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12032 defface (Bug#8144).
12034 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12036 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12037 funcall as well (bug#8712). Warn when performing those conversions.
12038 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12040 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12042 2011-05-22 Glenn Morris <rgm@gnu.org>
12044 * files.el (hack-local-variables-prop-line): Small simplifications.
12045 (hack-local-variables, hack-local-variables-prop-line):
12046 If MODE-ONLY, return the mode, rather than just `t'.
12048 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12052 2011-05-21 Glenn Morris <rgm@gnu.org>
12054 * files.el (hack-local-variables-prop-line, hack-local-variables):
12055 If only interested in the mode, don't bother doing the other stuff.
12057 * image-mode.el (image-after-revert-hook):
12058 Redraw all frames on which the image is visible. (Bug#8567)
12060 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12062 * wid-edit.el (widget-checklist-match-inline):
12063 Fix 2011-04-19 change. (Bug#8649)
12065 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12067 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12068 Also allow singlespace after single-letter capitals followed by a dot.
12070 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12071 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12073 2011-05-20 Nix <nix@esperi.org.uk>
12075 * files.el (basic-save-buffer-2):
12076 Fix handling of break-hardlink-on-save with non-existent files.
12078 2011-05-19 Deniz Dogan <deniz@dogan.se>
12080 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12081 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12083 2011-05-19 Glenn Morris <rgm@gnu.org>
12085 * progmodes/f90.el (f90-type-def-re):
12086 Handle "type, bind(c)". (Bug#8691)
12088 * emacs-lisp/autoload.el (batch-update-autoloads):
12089 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12091 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12093 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12094 property for the correct connection in case of multihops.
12096 2011-05-18 Glenn Morris <rgm@gnu.org>
12098 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12099 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12101 Rationalize calendar handling of day and month abbrev-arrays.
12102 * calendar/calendar.el (calendar-customized-p): New function.
12103 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12104 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12106 (calendar-abbrev-length, calendar-day-abbrev-array)
12107 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12108 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12109 Elements may no longer be nil.
12110 (calendar-day-name, calendar-month-name):
12111 Update for changed nature of abbrev arrays.
12112 * calendar/diary-lib.el (diary-name-pattern):
12113 Update for changed nature of abbrev arrays.
12114 (diary-mark-entries-1): Update calendar-make-alist calls.
12115 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12116 * calendar/cal-html.el (cal-html-day-abbrev-array):
12117 Simply inherit from calendar-day-abbrev-array.
12119 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12121 * progmodes/grep.el (grep-mode): Disable default
12122 compilation-directory-matcher setting (bug#8684).
12124 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12126 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12127 instead of "head" and "tail". There were problems with SunOS 5.9,
12128 and it performs better.
12130 2011-05-17 Glenn Morris <rgm@gnu.org>
12132 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12134 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12135 Replace obsolete function.
12137 * shell.el (pcomplete-parse-arguments-function): Declare.
12139 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12140 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12141 (appt-check): Doc fixes.
12142 (appt-disp-window-function, appt-delete-window-function):
12143 Remove needless special case in custom :type.
12144 (appt-display-count): Default to 0, not nil.
12145 (appt-check): Reset appt-display-count to 0, not nil.
12147 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12149 * progmodes/python.el (python-font-lock-keywords):
12150 Add the Python 3.X keyword "nonlocal" (bug#8639).
12152 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12154 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12156 2011-05-16 Kevin Ryde <user42@zip.com.au>
12158 * info-look.el (makefile-automake-mode): New setups, looking in
12159 automake manual, then makefile-mode.
12160 (makefile-mode): Remove automake manual, have it just in
12161 makefile-automake-mode since there's various things different or
12162 not relevant to plain make.
12163 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12164 believe a hypothetical automake-mode would go to makefile-mode,
12165 not the other way around.
12167 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12169 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12170 hunk-end tags (Bug#8672).
12172 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12173 vc-annotate-show-diff-revision-at-line (Bug#8671).
12175 2011-05-14 Glenn Morris <rgm@gnu.org>
12177 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12178 in the middle of an existing one with multiple authors. (Bug#8645)
12179 (change-log-font-lock-keywords): Also handle multiple author lines
12180 with leading tabs. (Bug#8644)
12182 * calendar/appt.el (appt-check): Rename some local variables.
12183 Some simplification/reordering.
12185 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12186 (feedmail-sendmail-f-doesnt-sell-me-out)
12187 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12188 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12189 (feedmail-queue-runner-message-sender): Set :version.
12190 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12191 (bbdb-dwim-net-address, vm-mail): Declare.
12192 (feedmail-binmail-gnulinuxish-template):
12193 Rename from feedmail-binmail-linuxish-template.
12194 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12195 Use insert-buffer-substring.
12197 2011-05-14 Bill Carpenter <bill@carpenter.org>
12199 * mail/feedmail.el (feedmail-patch-level): Increase.
12200 (feedmail-debug): New custom group.
12201 (feedmail-confirm-outgoing-timeout)
12202 (feedmail-sendmail-f-doesnt-sell-me-out)
12203 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12204 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12205 (feedmail-sender-line, feedmail-from-line)
12206 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12207 (feedmail-spray-this-address)
12208 (feedmail-spray-address-fiddle-plex-list)
12209 (feedmail-queue-use-send-time-for-date)
12210 (feedmail-queue-use-send-time-for-message-id)
12211 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12212 (feedmail-buffer-eating-function):
12214 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12215 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12216 (feedmail-message-action-scroll-down): New functions.
12217 (feedmail-queue-directory, feedmail-queue-draft-directory):
12218 Use expand-file-name.
12219 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12220 Remove C-v help entry.
12221 (feedmail-queue-buffer-file-name): New variable.
12222 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12223 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12224 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12225 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12226 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12227 (feedmail-message-action-toggle-spray)
12228 (feedmail-run-the-queue-no-prompts)
12229 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12230 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12231 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12232 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12233 (feedmail-envelope-deducer, feedmail-fiddle-from)
12234 (feedmail-fiddle-sender, feedmail-default-date-generator)
12235 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12236 (feedmail-fiddle-spray-address)
12237 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12238 (feedmail-fiddle-list-of-fiddle-plexes)
12239 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12240 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12241 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12242 Change default. Doc fix.
12243 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12244 (feedmail-binmail-linuxish-template): New constant.
12245 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12246 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12247 (feedmail-send-it): Add debug call.
12248 Use feedmail-queue-buffer-file-name, and
12249 feedmail-send-it-immediately-wrapper.
12250 (feedmail-message-action-send): Add debug call.
12251 Use feedmail-send-it-immediately-wrapper.
12252 (feedmail-queue-express-to-queue): Add debug call.
12253 Run feedmail-queue-express-hook.
12254 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12255 (feedmail-message-action-help-blat):
12256 Rename from feedmail-queue-send-edit-prompt-help-first.
12257 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12258 Check line-endings. Handle errors better.
12259 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12260 Doc fix. Add debug call.
12261 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12262 Use feedmail-queue-send-edit-prompt-inner.
12263 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12264 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12265 from feedmail-queue-send-edit-prompt.
12266 (feedmail-queue-send-edit-prompt-help)
12267 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12268 (feedmail-tidy-up-slug): Add debug call.
12269 Respect feedmail-queue-slug-suspect-regexp.
12270 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12271 (feedmail-dump-message-to-queue): Add debug call.
12272 Expand queue-directory.
12273 (feedmail-dump-message-to-queue): Change message slightly.
12274 Use feedmail-say-chatter.
12275 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12276 (feedmail-send-it-immediately-wrapper): New function.
12277 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12278 Insert empty string rather than newline. Handle full-frame case.
12279 Use catch/throw. Use feedmail-say-chatter.
12280 (feedmail-fiddle-from): Try mail-host-address.
12281 (feedmail-default-message-id-generator): Doc fix.
12282 Bind system-time-locale. Handle missing end.
12283 (feedmail-fiddle-x-mailer): Add debug call.
12284 Handle feedmail-x-mailer-line being nil.
12285 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12286 Add debug call. Use buffer-substring-no-properties.
12287 (feedmail-say-debug, feedmail-say-chatter): New functions.
12288 (feedmail-find-eoh): Give an explicit error.
12290 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12292 * net/newst-treeview.el (newsticker-treeview-face): Change default
12293 family from helvetica to sans.
12294 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12295 etc/images/newsticker.
12297 * net/newst-reader.el (newsticker-feed-face): Change default
12298 family from helvetica to sans.
12300 * net/newst-plainview.el (newsticker-new-item-face)
12301 (newsticker-old-item-face, newsticker-immortal-item-face)
12302 (newsticker-obsolete-item-face, newsticker-date-face)
12303 (newsticker-statistics-face): Change default family from
12305 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12306 etc/images/newsticker.
12308 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12309 (newsticker--process-auto-mark-filter-match): Tell user about
12312 2011-05-13 Didier Verna <didier@xemacs.org>
12314 Common Lisp indentation improvements on defmethod and lambda-lists.
12315 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12317 (lisp-lambda-list-keyword-parameter-indentation)
12318 (lisp-lambda-list-keyword-parameter-alignment)
12319 (lisp-lambda-list-keyword-alignment): New customizable user options.
12320 (lisp-indent-defun-method): Improve docstring.
12321 (extended-loop-p): Fix comment.
12322 (lisp-indent-lambda-list-keywords-regexp): New variable.
12323 (lisp-indent-lambda-list): New function.
12324 (lisp-indent-259): Use it.
12325 (lisp-indent-defmethod): Support for more than one
12326 method qualifier and properly indent methods lambda-lists.
12327 (defgeneric): Provide a missing common-lisp-indent-function property.
12329 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12331 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12332 bounds for the empty string (bug#8667).
12334 2011-05-13 Glenn Morris <rgm@gnu.org>
12336 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12338 * mail/sendmail.el (sendmail-program): Try executable-find first.
12339 (sendmail-send-it): `sendmail-program' cannot be unbound.
12341 * calendar/appt.el (appt-make-list): Simplify.
12342 (appt-time-msg-list): Doc fix.
12343 (appt-check): Change mode-line message at the time of the appointment.
12345 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12347 * progmodes/ld-script.el (ld-script-keywords)
12348 (ld-script-builtins): Update keywords list.
12350 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12354 * shell.el (shell-completion-vars): New function.
12356 * simple.el (read-shell-command): Use it.
12357 (blink-matching-open): No need for " [...]" in minibuffer-message.
12359 2011-05-12 Glenn Morris <rgm@gnu.org>
12361 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12362 (appt-check): Simplify.
12364 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12366 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12367 literal "/dev/null".
12369 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12371 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12374 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12376 * progmodes/which-func.el (which-function):
12377 Use add-log-current-defun instead of add-log-current-defun-function,
12378 which might not be defined (Bug#8260).
12380 2011-05-12 Glenn Morris <rgm@gnu.org>
12382 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12383 Let byte-compile-initial-macro-environment always take precedence.
12385 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * net/rcirc.el: Add support for SSL/TLS connections.
12388 (rcirc-server-alist): New field `encryption'.
12389 (rcirc): Check `encryption' settings.
12390 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12391 Merge make-local-variable into `set'.
12392 (rcirc--connection-open-p): New function.
12393 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12394 the process is not a network process (e.g. running gnutls-cli).
12395 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12396 Make rcirc-(en|de)code-coding-system local here.
12397 (rcirc-mode): Merge make-local-variable into `set'.
12398 (rcirc-parent-buffer): Make permanent buffer-local.
12399 (rcirc-multiline-minor-mode): Don't do it here.
12400 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12401 there's no server buffer.
12403 2011-05-11 Glenn Morris <rgm@gnu.org>
12405 * newcomment.el (comment-kill): Prefix "unused" local.
12407 * term/w32console.el (get-screen-color): Declare.
12409 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12410 Handle symbol elements of byte-compile-initial-macro-environment.
12412 2011-05-10 Leo Liu <sdl.web@gmail.com>
12414 * bookmark.el (bookmark-bmenu-mode-map):
12415 Bind bookmark-bmenu-search to `/'.
12417 * mail/footnote.el: Convert to utf-8 encoding.
12418 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12419 (Footnote-unicode): New function.
12420 (footnote-style-alist): Add unicode style to the list.
12421 (footnote-style): Doc fix.
12423 2011-05-10 Jim Meyering <meyering@redhat.com>
12425 Fix doubled-word typos.
12426 * international/quail.el (quail-insert-kbd-layout): and and -> and
12427 * kermit.el: and and -> and
12428 * net/ldap.el (ldap-search-internal): to to -> to
12429 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12430 * progmodes/js.el (js-mode): and and -> and
12431 * textmodes/artist.el (artist-move-to-xy): at at -> at
12432 (artist-draw-region-trim-line-endings): if if -> if
12433 And Safetyc -> Safety.
12434 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12436 2011-05-10 Glenn Morris <rgm@gnu.org>
12437 Stefan Monnier <monnier@iro.umontreal.ca>
12439 * files.el (hack-one-local-variable-eval-safep):
12440 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12442 2011-05-10 Glenn Morris <rgm@gnu.org>
12444 * calendar/diary-lib.el (diary-list-entries-hook)
12445 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12446 (diary-nongregorian-marking-hook, diary-list-entries)
12447 (diary-include-other-diary-files, diary-mark-entries)
12448 (diary-mark-included-diary-files): Doc fixes.
12450 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12452 * misc.el: Require tabulated-list.el during compilation.
12454 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12456 * progmodes/compile.el (compilation-start):
12457 Run compilation-filter-hook for the async case too.
12458 (compilation-filter-hook): Doc fix.
12460 2011-05-09 Deniz Dogan <deniz@dogan.se>
12462 * wdired.el: Remove outdated installation comment. Fix usage
12465 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12467 * misc.el: Implement new command `list-dynamic-libraries'.
12468 (list-dynamic-libraries--loaded-only-p): New variable.
12469 (list-dynamic-libraries--refresh): New function.
12470 (list-dynamic-libraries): New command.
12472 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12475 Fix the ant regexp to handle end-line and end-column info from jikes.
12476 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12477 higher priority to avoid clobbering by gnu.
12479 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12481 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12482 if the face has existing theme settings (Bug#8454).
12484 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12486 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12487 Only match variables declared via `my' or `our' (Bug#8261).
12489 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12490 special file names `.' and `..' (Bug#8259).
12492 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12494 * progmodes/grep.el (grep-mode-font-lock-keywords):
12495 Remove buffer-changing entries.
12496 (grep-filter): New function.
12497 (grep-mode): Add it to compilation-filter-hook.
12499 * progmodes/compile.el (compilation-filter-hook)
12500 (compilation-filter-start): New defvars.
12501 (compilation-filter): Call compilation-filter-hook prior to
12502 updating the process mark.
12504 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12508 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12510 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12511 mailclient-send-it even if window-system is nil. (Bug#8595)
12513 * term/w32console.el (terminal-init-w32console):
12514 Call get-screen-color and use its output to set the frame
12515 background-mode. (Bug#8597)
12517 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12519 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12520 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12522 (defgeneric, eieio--defmethod): Use them.
12523 (eieio-defgeneric): Remove.
12524 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12526 2011-05-07 Glenn Morris <rgm@gnu.org>
12528 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12529 Use let rather than let*.
12530 (timeclock-find-discrep): Remove unused local.
12532 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12534 * calendar/appt.el (appt-time-msg-list): Doc fix.
12536 2011-05-06 Noah Friedman <friedman@splode.com>
12538 * apropos.el (apropos-print-doc): Only use
12539 emacs-lisp-docstring-fill-column when it is bound to an integer,
12540 per that variable's documentation.
12542 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12545 and warnings are not silently discarded (e.g. use -d instead of -P).
12547 2011-05-06 Glenn Morris <rgm@gnu.org>
12549 * calendar/appt.el (appt-message-warning-time): Doc fix.
12550 (appt-warning-time-regexp): New option.
12551 (appt-make-list): Respect appt-message-warning-time.
12553 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12555 (diary-add-to-list): Strip comments from the displayed string.
12556 (diary-mode): Set comment-start and comment-end.
12558 * vc/diff-mode.el (smerge-refine-subst): Declare.
12559 (diff-refine-hunk): Don't require smerge-mode when compiling.
12561 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12563 * simple.el (list-processes): Return nil as the docstring says.
12565 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12567 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12569 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12570 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12571 determining of binary transfer. (Bug#7383)
12573 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12576 Fix port computation bug. (Bug#8618)
12578 2011-05-05 Glenn Morris <rgm@gnu.org>
12580 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12582 * simple.el (shell-dynamic-complete-functions)
12583 (comint-dynamic-complete-functions): Declare.
12585 * net/network-stream.el (gnutls-negotiate):
12586 * simple.el (tabulated-list-print): Fix declarations.
12588 * progmodes/gud.el (syntax-symbol, syntax-point):
12589 Remove unnecessary and incorrect declarations.
12591 * emacs-lisp/check-declare.el (check-declare-scan):
12592 Handle byte-compile-initial-macro-environment in bytecomp.el
12594 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12596 Fix earlier half-done eieio-defmethod change (bug#8338).
12597 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12598 Streamline and change calling convention.
12599 (defmethod): Adjust accordingly and simplify.
12600 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12601 new eieio--defmethod.
12602 (slot-boundp): Minor CSE simplification.
12604 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12606 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12607 (glasses-make-readable): Use glasses-separate-capital-groups.
12609 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12611 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12612 (warning-series): Doc fix.
12613 (display-warning): Don't try to create the buffer if we just found it.
12615 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12617 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12618 (autoload-find-generated-file): New function.
12619 (generate-file-autoloads): Bind generated-autoload-file to
12621 (update-file-autoloads, update-directory-autoloads):
12622 Use autoload-find-generated-file. If called interactively, prompt for
12623 output file (Bug#7989).
12624 (batch-update-autoloads): Doc fix.
12626 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12628 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12630 2011-05-04 Glenn Morris <rgm@gnu.org>
12632 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12633 function, so it follows changes in calendar-date-style.
12634 (diary-fancy-date-matcher): New function.
12635 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12636 (diary-fancy-font-lock-fontify-region-function):
12637 Use diary-fancy-date-pattern as a function.
12639 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12640 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12642 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12644 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12645 instead of positional arguments. Allow :keylist and :crlfiles
12647 (open-gnutls-stream): Call it.
12649 * net/network-stream.el (network-stream-open-starttls): Adjust to
12650 call `gnutls-negotiate' with :process and :hostname arguments.
12652 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * minibuffer.el (completion--message): New function.
12655 (completion--do-completion, minibuffer-complete)
12656 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12657 (completion--do-completion): Don't ignore completion-auto-help when in
12660 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12661 internal encoding (e.g. tibetan zero is not whitespace).
12662 (global-whitespace-mode): Prefer save-current-buffer.
12663 (whitespace-trailing-regexp): Remove useless save-match-data.
12664 (whitespace-empty-at-bob-regexp): Minor simplification.
12666 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12668 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12670 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
12672 * textmodes/ispell.el (ispell-add-per-file-word-list):
12673 Use `concat' to create string for insertion.
12675 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12677 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12678 Avoid open-line which runs post-self-insert-hook.
12679 (bibtex-fill-entry): Remove unused `end' var.
12681 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12683 * textmodes/ispell.el (ispell-add-per-file-word-list):
12684 Protect against `nil' value of `comment-start' (Bug#8579).
12686 2011-05-03 Leo Liu <sdl.web@gmail.com>
12688 * isearch.el (isearch-yank-pop): New command.
12689 (isearch-mode-map): Bind it to `M-y'.
12690 (isearch-forward): Mention it.
12692 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12694 * simple.el (minibuffer-complete-shell-command): Remove.
12695 (minibuffer-local-shell-command-map): Use completion-at-point.
12696 (read-shell-command): Setup completion vars here instead.
12697 (read-expression-map): Bind TAB to symbol completion.
12699 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12700 error directly rather via storing it into `results'.
12702 2011-05-02 Leo Liu <sdl.web@gmail.com>
12704 * vc/diff.el: Fix description.
12706 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12708 * server.el (server-eval-at): New function.
12710 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12712 * net/network-stream.el (open-network-stream): Take a :nowait
12713 parameter and pass it on to `make-network-process'.
12714 (network-stream-open-plain): Ditto.
12716 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12718 * faces.el (face-spec-set-match-display): Don't match toolkit
12719 options on terminal frames.
12721 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * progmodes/pascal.el: Use lexical binding.
12724 (pascal-mode-map): Remove author preferences.
12726 * pcomplete.el (pcomplete-std-complete): Don't abuse
12727 completion-at-point.
12729 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12731 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12732 removing code that has been dead since 1991 or so.
12734 * startup.el (command-line): When warning about "_emacs", use a
12735 delayed warning to allow the user to filter it out.
12737 2011-04-28 Deniz Dogan <deniz@dogan.se>
12739 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12740 user has not joined.
12742 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12745 aren't any completions at point.
12747 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12749 * subr.el (display-delayed-warnings): New function.
12750 (delayed-warnings-hook): New variable.
12752 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12754 * minibuffer.el (completion-at-point, completion-help-at-point):
12755 Don't presume that a given completion-at-point-function will always
12756 use the same calling convention.
12758 * pcomplete.el (pcomplete-completions-at-point):
12759 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12760 pcomplete-seen is non-nil.
12761 (pcomplete-comint-setup): Also recognize the new comint/shell
12762 completion functions.
12763 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12764 pcomplete-seen is non-nil.
12766 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12768 * calendar/icalendar.el (diary-lib): Add require statement.
12769 (icalendar--create-uid): Read out a uid from a text-property on
12770 the first character in the entry. This allows for code to add its
12771 own uid to the entry.
12772 (icalendar--convert-float-to-ical): Add export of
12773 `diary-float'-entries save for those with the optional DAY
12776 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12778 * subr.el (shell-quote-argument): Use alternate escaping strategy
12779 when we spot a variable reference in a string.
12781 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12783 * cus-start.el (all): Define customization for debug-on-event.
12785 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12787 * subr.el (shell-quote-argument): Escape correctly under Windows.
12789 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12791 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12793 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12795 * net/tramp.el (tramp-process-actions): Add POS argument.
12796 Delete region between POS and (pos).
12798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12799 Use `nil' position in `tramp-process-actions' call.
12800 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12802 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12803 position in `tramp-process-actions' call.
12805 * net/trampver.el: Update release number.
12807 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12809 * custom.el (defcustom): Obey lexical-binding.
12811 Fix octave-inf completion problems reported by Alexander Klimov.
12812 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12813 Inherit from octave-mode-syntax-table.
12814 (inferior-octave-mode): Set info-lookup-mode.
12815 (inferior-octave-completion-at-point): New function.
12816 (inferior-octave-complete): Use it and completion-in-region.
12817 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12818 comint-filename-completion.
12819 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12820 symbol elements which shouldn't be word elements.
12821 (octave-font-lock-keywords, octave-beginning-of-defun)
12822 (octave-function-header-regexp): Adjust regexps accordingly.
12823 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12825 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12827 * net/gnutls.el (gnutls-errorp): Declare before first use.
12829 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12831 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12832 verify-error, and verify-hostname-error parameters. Check whether
12833 default trustfile exists before going to use it. Add missing
12834 argument to gnutls-message-maybe call. Return value.
12835 Reported by Claudio Bley <claudio.bley@gmail.com>.
12836 (open-gnutls-stream): Add usage example.
12838 * net/network-stream.el (network-stream-open-starttls): Give host
12839 parameter to `gnutls-negotiate'.
12840 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12841 * subr.el (shell-quote-argument): Escape correctly under Windows.
12843 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12845 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12846 Use correct match group (bug#8438).
12848 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12850 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12851 (package-menu--generate): New arg specifying packages to show.
12852 (package-menu-refresh, package-menu-execute, list-packages):
12854 (package-show-package-list): New function, replacing deleted
12855 package--list-packages (renamed because it is non-internal).
12857 * finder.el (finder-list-matches): Use package-show-package-list
12858 instead of deleted package--list-packages.
12860 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12861 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12862 (vc-annotate-mode-map): Bind it to RET.
12864 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12866 * progmodes/etags.el (next-file): Don't use set-buffer to change
12867 buffers (Bug#8478).
12869 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12871 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12873 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12874 (apropos-accumulator): Doc fix.
12875 (apropos-function, apropos-macro, apropos-command)
12876 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12877 (apropos-plist): Add face property.
12878 (apropos-symbols-internal): Fix indentation.
12879 (apropos-print): Simplify help, and recognize apropos-multi-type.
12880 (apropos-print-doc): Use button-type-get to extract the button's
12881 face property. Fill docstring (Bug#8352).
12883 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12885 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12887 * play/mpuz.el (mpuz-silent): Doc fix.
12888 (mpuz-mode-map): Use mapc.
12889 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12890 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12891 Fix typos in docstrings.
12893 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12894 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12896 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12898 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12900 * minibuffer.el (completion--do-completion): Avoid the "Next char
12901 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12903 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12904 mouse-2 into unread-command-events, it is interpreted correctly.
12906 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12907 (image-toggle-display): Doc fix.
12909 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12911 * textmodes/page.el (what-page): Use line-number-at-pos to
12912 calculate line number (Bug#6825).
12914 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12916 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12917 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12918 Pass argument NO-DEFAULT to `find-tag-interactive'.
12920 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12922 Lexical-binding cleanup.
12924 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12925 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12926 * progmodes/ada-prj.el (ada-prj-initialize-values)
12927 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12928 (ada-prj-show-value):
12929 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12930 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12931 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12932 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12933 * progmodes/bug-reference.el (bug-reference-push-button):
12934 * progmodes/fortran.el (fortran-line-length):
12935 * progmodes/glasses.el (glasses-change):
12936 * progmodes/octave-mod.el (octave-fill-paragraph):
12937 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12938 (python-pdbtrack-grub-for-buffer, python-sentinel):
12939 * progmodes/sql.el (sql-save-connection):
12940 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12941 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12942 Mark unused parameters.
12944 * progmodes/compile.el (compilation--flush-directory-cache)
12945 (compilation--flush-parse, compile-internal): Mark unused parameters.
12946 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12947 (compilation-next-error-function): Remove unused variable `timestamp'.
12949 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12950 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12952 * progmodes/dcl-mode.el (dcl-end-of-command):
12953 Remove unused variable `start'.
12954 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12955 (dcl-option-value-basic, dcl-option-value-offset)
12956 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12957 Mark unused parameters.
12958 (dcl-save-local-variable): Remove unused variable `val'.
12961 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12962 Mark unused parameters.
12963 (delphi-ignore-changes): Move before first use.
12964 (delphi-charset-token-at): Remove unused variable `start'.
12965 (delphi-else-start): Remove unused variable `if-count'.
12966 (delphi-comment-block-start, delphi-comment-block-end):
12967 Remove unused variable `kind'.
12968 (delphi-indent-line): Remove unused variable `new-point'.
12970 * progmodes/ebrowse.el (ebrowse-files-list)
12971 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12972 Mark unused parameters. Don't quote `lambda'.
12973 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12974 Don't quote `lambda'.
12975 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12976 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12977 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12978 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12979 Use `ignore-errors'.
12980 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12981 (ebrowse-view/find-file-and-search-pattern)
12982 (ebrowse-view/find-member-declaration/definition):
12983 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12984 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12985 Rename parameter PREFIX-ARG to PREFIX.
12986 (ebrowse-tags-read-name): Remove unused variables `start' and
12988 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12991 * progmodes/etags.el (local-find-tag-hook): Declare.
12992 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12993 Mark unused parameters.
12995 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12996 (executable-interpret): Mark unused parameter.
12998 * progmodes/flymake.el (flymake-process-sentinel)
12999 (flymake-after-change-function)
13000 (flymake-create-temp-with-folder-structure)
13001 (flymake-get-include-dirs-dot): Mark unused parameters.
13002 (flymake-safe-delete-directory): Remove unused variable `err'.
13004 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13005 (speedbar-timer-fn, speedbar-line-text)
13006 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13007 (speedbar-center-buffer-smartly): Declare functions.
13008 (gdb-find-watch-expression): Remove unused variable `array'.
13009 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13010 (gdb-starting): Mark unused parameters.
13011 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13012 (gdb-table-string): Remove unused variable `res'.
13013 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13014 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13015 (gdb-display-buffer): Remove unused variable `cur-size'.
13017 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13018 allow lexical-binding compilation.
13019 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13020 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13021 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13022 Mark unused parameters.
13023 (gud-gdb-marker-filter): Remove unused variable `match'.
13024 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13025 lambda expressions and funcall them, instead of using `fset'.
13027 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13028 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13030 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13031 variable `header-beg'; use `let'.
13033 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13034 `restart', `last-sexp' and `at-do'.
13036 * progmodes/js.el (js--debug): Mark unused parameter.
13037 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13038 (js--splice-into-items): Remove unused variable `item'.
13039 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13041 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13042 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13043 (makefile-complete): Remove unused variable `try'.
13044 (makefile-fill-paragraph, makefile-match-function-end):
13045 Mark unused parameters.
13047 * progmodes/octave-inf.el (inferior-octave-complete):
13048 Remove unused variable `proc'.
13049 (inferior-octave-output-digest): Mark unused parameter.
13051 * progmodes/perl-mode.el (perl-calculate-indent):
13052 Remove unused variable `err'.
13054 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13055 (prolog-indent-line): Mark unused parameters.
13056 (prolog-indent-line): Remove unused variable `beg'.
13058 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13059 (reporter-dont-compact-list): Declare.
13061 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13062 Remove unused variable `char'.
13063 (sh-debug): Mark unused parameter.
13064 (sh-get-indent-info): Remove unused variable `start'.
13065 (sh-calculate-indent): Remove unused variable `var'.
13067 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13068 (simula-electric-keyword): Remove unused variable `null'.
13069 (simula-search-backward, simula-search-forward): Remove unused
13070 variables `begin' and `end'.
13072 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13073 Remove unused variable `pos'.
13074 (vera-electric-tab, vera-comment-uncomment-region):
13075 Mark unused parameters.
13076 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13078 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13080 * emacs-lisp/package.el (package--builtins, package-alist)
13081 (package-load-descriptor, package-built-in-p, package-activate)
13082 (define-package, package-installed-p)
13083 (package-compute-transaction, package-buffer-info)
13084 (package--push): Doc fix. Distinguish more clearly between
13085 version strings and version lists.
13087 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13089 Lexical-binding cleanup.
13091 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13092 (5x5-make-mutate-best):
13093 * play/fortune.el (fortune-in-buffer):
13094 * play/gomoku.el (gomoku-init-display):
13095 * play/solitaire.el (solitaire, solitaire-do-check):
13096 * play/tetris.el (tetris-default-update-speed-function):
13097 Mark unused parameters.
13099 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13100 (bubbles--shift): Remove unused variable `char-org'.
13101 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13102 (bubbles--show-images): Remove unused variable `char'.
13104 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13105 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13106 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13107 (decipher-analyze-buffer): Use ?\s.
13108 (decipher-make-checkpoint): Remove unused variable `mapping'.
13110 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13112 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13113 Remove unused variable `result'; use `let'.
13115 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13116 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13117 (gametree-children-shown-p, gametree-compute-reduced-score):
13118 Use `ignore-errors'.
13120 * play/handwrite.el (ps-lpr-switches): Declare.
13121 (handwrite): Remove unused variables `pmin' and `lastp'.
13123 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13125 * play/landmark.el (landmark-init-display)
13126 (landmark-update-naught-weights): Mark unused parameters.
13127 (landmark-y): Remove unused variable `noise'. Simplify.
13128 (landmark-human-plays): Remove unused variable `score'.
13130 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13131 (mpuz-try-proposal): Remove unused variable `game'.
13133 * play/zone.el (life-patterns): Declare.
13135 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13137 * vc/vc.el (ediff-vc-internal): Declare function.
13139 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13141 * shell.el: Use lexical-binding and std completion UI.
13142 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13143 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13144 comint-preoutput-filter-functions rather than on
13145 comint-output-filter-functions.
13146 (shell-command-completion, shell--command-completion-data)
13147 (shell-filename-completion, shell-environment-variable-completion)
13148 (shell-c-a-p-replace-by-expanded-directory): New functions.
13149 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13150 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13151 (shell-dynamic-complete-environment-variable): Use them.
13152 (shell-dynamic-complete-as-environment-variable)
13153 (shell-dynamic-complete-as-command): Remove.
13154 (shell-match-partial-variable): Match past point.
13155 * comint.el: Clean up use of completion-at-point-functions.
13156 (comint-completion-at-point): New function.
13157 (comint-mode): Use it completion-at-point-functions.
13158 (comint-dynamic-complete): Make it obsolete.
13159 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13160 (comint-c-a-p-replace-by-expanded-history): New function.
13161 (comint-dynamic-complete-functions)
13162 (comint-replace-by-expanded-history): Use it.
13163 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13164 termination strings. Try harder to avoid second try-completion.
13165 (completion-in-region-mode-map): Disable bindings that don't work yet.
13167 * comint.el: Use lexical-binding. Require CL.
13168 (comint-dynamic-complete-functions): Use comint-filename-completion.
13169 (comint-completion-addsuffix): Tweak custom type.
13170 (comint-filename-completion, comint--common-suffix)
13171 (comint--common-quoted-suffix, comint--table-subvert)
13172 (comint--complete-file-name-data): New functions.
13173 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13174 (comint-dynamic-list-filename-completions): Use them.
13175 (comint-dynamic-simple-complete): Make obsolete.
13177 * minibuffer.el (completion-in-region-mode):
13178 Keep completion-in-region-mode--predicate global.
13179 (completion-in-region--postch):
13180 Assume completion-in-region-mode--predicate is not null.
13182 * progmodes/flymake.el (flymake-start-syntax-check-process):
13183 Obey `dir'. Simplify.
13185 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13186 we're in VC after all.
13188 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13190 * vc/vc.el (vc-diff-build-argument-list-internal)
13191 (vc-version-ediff, vc-ediff): New commands.
13192 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13194 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13199 * obsolete/erc-hecomplete.el: Make obsolete.
13200 * obsolete/: Standardize obsolescence info in the header.
13202 2011-04-20 Glenn Morris <rgm@gnu.org>
13204 * calendar/solar.el (solar-horizontal-coordinates):
13205 Use the longitude argument rather than `calendar-longitude'.
13206 (solar-date-next-longitude): Remove unused locals.
13208 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13210 * whitespace.el: New version 13.2.1.
13212 2011-04-20 felix <EmacsWiki> (tiny change)
13214 * whitespace.el (global-whitespace-mode): Keep highlight when
13215 switching between major modes on a file.
13217 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13219 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13220 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13221 multi-line comments as well.
13223 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13225 Lexical-binding cleanup.
13227 * arc-mode.el (archive-mode-revert):
13228 * cmuscheme.el (scheme-interactively-start-process):
13229 * custom.el (custom-initialize-delay):
13230 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13231 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13232 * emacs-lock.el (emacs-lock-clear-sentinel):
13233 * ezimage.el (defezimage):
13234 * follow.el (follow-avoid-tail-recenter):
13235 * fringe.el (set-fringe-mode-1):
13236 * generic-x.el (bat-generic-mode-compile):
13237 * help-mode.el (help-info-variable, help-do-xref)
13238 (help-mode-revert-buffer):
13239 * help.el (view-emacs-todo):
13240 * iswitchb.el (iswitchb-completion-help):
13241 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13242 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13243 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13244 * locate.el (locate-update):
13245 * longlines.el (longlines-encode-region)
13246 (longlines-after-change-function):
13247 * outline.el (outline-isearch-open-invisible):
13248 * ps-def.el (declare-function, charset-dimension, char-width)
13250 * ps-mule.el (ps-mule-plot-string):
13251 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13252 (recentf-edit-list-select, recentf-edit-list-validate)
13253 (recentf-open-files-action):
13254 * rect.el (delete-whitespace-rectangle-line)
13255 (rectangle-number-line-callback):
13256 * register.el (window-configuration-to-register)
13257 (frame-configuration-to-register):
13258 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13259 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13260 (xselect-convert-to-targets, xselect-convert-to-delete)
13261 (xselect-convert-to-filename, xselect-convert-to-charpos)
13262 (xselect-convert-to-lineno, xselect-convert-to-colno)
13263 (xselect-convert-to-os, xselect-convert-to-host)
13264 (xselect-convert-to-user, xselect-convert-to-class)
13265 (xselect-convert-to-name, xselect-convert-to-integer)
13266 (xselect-convert-to-atom, xselect-convert-to-identity):
13267 * subr.el (declare, ignore, process-kill-without-query)
13268 (text-clone-maintain):
13269 * terminal.el (te-get-char, te-tic-sentinel):
13270 * tool-bar.el (tool-bar-make-keymap):
13271 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13272 * type-break.el (type-break-mode, type-break-noninteractive-query):
13273 * view.el (View-back-to-mark):
13274 * wid-browse.el (widget-browse-action, widget-browse-widget)
13275 (widget-browse-widgets, widget-browse-sexp):
13276 * widget.el (define-widget-keywords):
13277 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13278 Mark unused parameters.
13280 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13281 (align-areas): Remove unused variable `look'.
13282 (align-region): Remove unused variables `real-end' and `pos-list'.
13284 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13286 * bindings.el (mode-line-modified, mode-line-remote):
13287 Mark unused parameters.
13288 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13290 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13291 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13293 * comint.el (comint-history-isearch-pop-state)
13294 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13295 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13296 (comint-substitute-in-file-name): Doc fix.
13298 * completion.el (cmpl-statistics-block): Mark unused parameter.
13299 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13300 (save-completions-to-file, load-completions-from-file):
13301 Remove unused local variable `e'.
13303 * composite.el (compose-chars): Remove unused variable `len'.
13304 (lgstring-insert-glyph): Remove unused variable `g'.
13305 (compose-glyph-string): Remove unused variables `ascent',
13306 `descent', `lbearing' and `rbearing'.
13307 (compose-glyph-string-relative): Remove unused variables
13308 `lbearing', `rbearing' and `wadjust'.
13309 (compose-gstring-for-graphic): Remove unused variables `header',
13310 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13311 (compose-gstring-for-terminal): Remove unused variables `header'
13312 and `nchars'. Use `let', not `let*'.
13314 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13315 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13316 (Custom-buffer-done, custom-buffer-create-internal)
13317 (custom-browse-visibility-action, custom-browse-group-tag-action)
13318 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13319 (widget-magic-mouse-down-action, custom-toggle-parent)
13320 (custom-add-parent-links, custom-toggle-hide-variable)
13321 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13322 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13323 (custom-face-menu-create, custom-variable-menu-create, get)
13324 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13325 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13326 (customize-apropos): Remove unused variable `tests'.
13327 (custom-group-value-create): Remove unused variable `hidden-p'.
13328 (sort-fold-case): Declare.
13330 * cus-theme.el (custom-reset-standard-faces-list)
13331 (custom-reset-standard-variables-list): Declare.
13332 (customize-create-theme, custom-theme-revert, custom-theme-write)
13333 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13334 Mark unused parameters.
13336 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13338 * delim-col.el (delimit-columns-max): Move defvar before first use.
13340 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13341 (describe-char): Don't quote `lambda'. Mark unused parameter.
13343 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13344 (auto-insert): Declare.
13345 (desktop-restore-file-buffer): Rename desktop-* parameters;
13347 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13348 (desktop-buffer): Rename desktop-* parameters.
13350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13351 (dframe-reposition-frame-xemacs, dframe-help-echo)
13352 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13353 Mark unused parameters.
13355 * dired-aux.el (backup-extract-version-start, overwrite-query)
13356 (overwrite-backup-query, rename-regexp-query)
13357 (rename-non-directory-query): Declare.
13358 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13359 (dired-add-entry): Remove unused variable `orig-file-name'.
13360 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13361 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13362 `dired-copy-preserve-time' directly.
13363 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13364 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13366 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13367 (dired-virtual-revert, dired-make-relative-symlink):
13368 Mark unused parameters.
13369 (manual-program): Declare.
13370 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13371 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13372 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13374 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13376 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13378 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13381 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13383 * electric.el (Electric-command-loop): Rename parameter
13384 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13386 * expand.el (expand-in-literal): Remove unused variable `here'.
13388 * facemenu.el (facemenu-add-new-color):
13389 Remove unused variable `docstring'.
13391 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13392 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13393 (face-attr-construct): Mark unused parameter. Doc fix.
13394 (read-color): Remove unused variable `hex-string'.
13396 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13397 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13398 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13399 (display-buffer-other-frame): Remove unused variable `old-window'.
13400 (kill-buffer-hook): Declare.
13401 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13402 Mark unused parameters.
13403 (after-find-file): Pass 1 to `auto-save-mode', not t.
13405 * files-x.el (auto-insert): Declare.
13406 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13408 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13409 variable `buf'. Mark unused parameter.
13410 (find-lisp-insert-directory): Mark unused parameter.
13412 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13413 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13414 (format-common-tail): Remove, unused.
13415 (format-deannotate-region): Remove unused variable `loc'.
13416 (format-annotate-region): Remove unused variable `p'.
13417 (format-annotate-single-property-change): Remove unused variables
13418 `default' and `tail'.
13420 * forms.el (read-file-filter): Declare.
13421 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13423 * frame.el (frame-creation-function-alist): Mark unused parameter.
13424 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13426 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13427 Remove unused parameters.
13428 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13429 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13431 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13432 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13433 (hfy-prepare-tag-map): Mark unused parameters.
13434 (htmlfontify-buffer): Use `called-interactively-p'.
13436 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13437 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13438 (ibuffer-do-occur): Mark unused parameters.
13439 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13440 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13442 * ibuffer.el: Don't quote `lambda'.
13443 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13444 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13445 Mark unused parameters.
13447 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13448 (ido-completing-read): Mark unused parameters.
13449 (ido-copy-current-word): Mark unused parameters;
13450 remove unused variable `name'.
13451 (ido-sort-merged-list): Remove unused parameter `dirs'.
13453 * ielm.el (ielm-input-sender): Mark unused parameter.
13454 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13455 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13456 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13457 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13458 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13460 * image-dired.el (image-dired-display-thumbs): Remove unused
13461 variables `curr-file' and `count'.
13462 (image-dired-remove-tag): Remove unused variable `start'.
13463 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13464 variable `curr-file'
13465 (image-dired-rotate-original): Remove unused variable `temp-file'.
13466 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13467 Remove unused variable `file'.
13468 (image-dired-gallery-generate): Remove unused variable `curr'.
13469 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13471 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13473 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13475 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13477 * isearch.el (minibuffer-history-symbol): Declare.
13478 (isearch-edit-string): Remove unused variable `err'.
13479 (isearch-message-prefix, isearch-message-suffix):
13480 Mark unused parameters.
13482 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13484 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13486 * makesum.el (double-column): Remove unused variable `cnt'.
13488 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13489 (ido-ignore-item-temp-list): Declare.
13491 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13492 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13493 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13494 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13497 * mouse-sel.el (mouse-extend-internal):
13498 Remove unused variable `orig-window-frame'.
13500 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13501 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13502 Move declarations before first use.
13503 (pcomplete-opt): Mark unused parameters; doc fix.
13505 * proced.el (proced-revert): Mark unused parameter.
13506 (proced-send-signal): Remove unused variable `err'.
13508 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13509 Rename parameter PREFIX-ARG to ARG.
13510 (ps-basic-plot-string, ps-basic-plot-whitespace):
13511 Mark unused parameters.
13513 * replace.el (replace-count): Define.
13514 (occur-revert-function): Mark unused parameters.
13515 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13516 (isearch-case-fold-search, isearch-string): Declare.
13517 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13518 bind `case-fold-search'. Remove unused variables `beg' and `end',
13520 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13521 COUNT and bind `replace-count'.
13522 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13525 * savehist.el (print-readably, print-string-length): Declare.
13527 * shadowfile.el (shadow-expand-cluster-in-file-name):
13528 Remove unused variable `cluster'.
13529 (shadow-copy-file): Remove unused variable `i'.
13530 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13531 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13532 (shadow-define-literal-group, shadow-define-regexp-group)
13533 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13535 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13536 (shell): Use `called-interactively-p'.
13537 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13539 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13540 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13541 (delete-backward-char): Remove unused variable `ocol'.
13542 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13543 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13544 (event-apply-hyper-modifier, event-apply-shift-modifier)
13545 (event-apply-control-modifier, event-apply-meta-modifier):
13546 Mark unused parameters.
13547 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13548 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13550 * speedbar.el (speedbar-ignored-directory-expressions)
13551 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13552 (speedbar-find-file, speedbar-dir-follow)
13553 (speedbar-directory-buttons-follow, speedbar-tag-find)
13554 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13555 (speedbar-buffers-line-directory, speedbar-buffer-click):
13556 Mark unused parameters.
13557 (speedbar-tag-file): Remove unused variable `mode'.
13558 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13560 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13562 * talk.el (talk): Remove unused variable `display'.
13564 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13565 (tar-write-region-annotate): Mark unused parameter.
13567 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13568 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13569 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13570 warning by another.
13572 * time-stamp.el (time-stamp-string-preprocess):
13573 Remove unused variable `require-padding'.
13575 * tree-widget.el (widget-glyph-enable): Declare.
13576 (tree-widget-action): Mark unused parameter.
13578 * w32-fns.el (x-get-selection): Mark unused parameter.
13579 (autoload-make-program, generated-autoload-file): Declare.
13581 * wdired.el (wdired-revert): Mark unused parameters.
13582 (wdired-xcase-word): Remove unused variable `err'.
13584 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13585 (whitespace-help-scroll): Remove unused variable `data-help'.
13587 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13588 (widget-image-insert, widget-after-change, default)
13589 (widget-default-format-handler, widget-default-notify)
13590 (widget-default-prompt-value, widget-info-link-action)
13591 (widget-url-link-action, widget-function-link-action)
13592 (widget-variable-link-action, widget-file-link-action)
13593 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13594 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13595 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13596 (widget-insert-button-action, widget-delete-button-action, visibility)
13597 (widget-documentation-link-action, widget-documentation-string-action)
13598 (widget-const-prompt-value, widget-regexp-match, symbol)
13599 (widget-coding-system-prompt-value)
13600 (widget-key-sequence-value-to-external, sexp)
13601 (widget-sexp-value-to-internal, character, vector, cons)
13602 (widget-choice-prompt-value, widget-boolean-prompt-value)
13603 (widget-color--choose-action): Mark unused parameters.
13604 (widget-item-match-inline, widget-choice-match-inline)
13605 (widget-checklist-match, widget-checklist-match-inline)
13606 (widget-group-match): Rename parameter VALUES to VALS.
13607 (widget-field-value-set): Remove unused variable `size'.
13608 (widget-color-action): Remove unused variables `value' and `start'.
13610 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13611 variable `dir'. Doc fix.
13612 (windmove-find-other-window): Don't pass it.
13614 * window.el (count-windows): Mark unused parameter.
13615 (bw-adjust-window): Remove unused variable `err'.
13617 * woman.el (woman-file-name): Remove unused variable `default'.
13618 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13619 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13620 (global-font-lock-mode): Declare.
13621 (woman-decode-region): Mark unused parameter.
13622 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13624 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13625 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13626 (x-dnd-handle-moz-url): Remove unused variable `title'.
13627 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13629 * xml.el (xml-parse-tag, xml-parse-attlist):
13630 Remove unused variable `pos'.
13632 2011-04-19 Glenn Morris <rgm@gnu.org>
13634 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13635 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13636 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13637 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13638 * calendar/cal-html.el (cal-html-insert-minical):
13639 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13640 (calendar-mark-date-pattern):
13641 Prefix "unused" locals.
13643 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13644 optional argument `style'.
13646 * calendar/appt.el (appt-make-list):
13647 * calendar/cal-china.el (calendar-chinese-date-string):
13648 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13649 (diary-hebrew-yahrzeit):
13650 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13651 * calendar/calendar.el (calendar-generate-window):
13652 * calendar/time-date.el (time-to-days):
13653 Remove unused local variables.
13655 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13657 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13658 glyphless-char-display table.
13659 (tabulated-list-glyphless-char-display): New var.
13661 2011-04-18 Sam Steingold <sds@gnu.org>
13663 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13664 to acknowledgments.
13666 2011-04-17 Glenn Morris <rgm@gnu.org>
13668 * calendar/diary-lib.el (diary-sexp-entry):
13669 * calendar/holidays.el (holiday-sexp):
13670 Set debug-on-error rather than the removed stack-trace-on-error.
13672 2011-04-16 Glenn Morris <rgm@gnu.org>
13674 * progmodes/f90.el: Use lexical-binding.
13675 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13677 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13680 (mail-mode): Setup mailalias completion here instead.
13681 * mail/mailalias.el: Use lexical-binding.
13682 (pattern, mailalias-done): Declare dynamic.
13683 (mail-completion-at-point-function): New function, from mail-complete.
13684 (mail-complete): Use it.
13685 (mail-completion-expand): New function.
13686 (mail-get-names): Use it.
13687 (mail-directory, mail-directory-process, mail-directory-stream):
13688 Don't use `pattern' for lexically bound arg.
13690 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13692 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13693 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13694 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13696 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13697 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13698 (byte-interactive-p): Define them again, for use when inlining
13701 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13703 * loadup.el: Use `string-to-number', not `string-to-int'.
13705 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13707 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13708 gud-gdb-complete-command.
13709 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13710 (gud-gdb-completion-at-point): New function.
13711 (gud-gdb-completions): Remove.
13713 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13715 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13716 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13717 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13718 whether `executable-find' is bound.
13720 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13722 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13724 * minibuffer.el (completion-in-region-mode-predicate)
13725 (completion-in-region-mode--predicate): New vars.
13726 (completion-in-region, completion-in-region--postch)
13727 (completion-in-region-mode): Use them.
13728 (completion--capf-wrapper): Also return the hook function.
13729 (completion-at-point, completion-help-at-point):
13730 Adjust and provide a predicate.
13732 Preserve arg names for advice of subr and lexical functions (bug#8457).
13733 * help-fns.el (help-function-arglist): Consolidate the subr and
13734 new-byte-code cases. Add argument `preserve-names' to extract names
13735 from the docstring when needed.
13736 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13737 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13738 (ad-arglist): Use help-function-arglist's new arg.
13739 (ad-definition-type): Use cond.
13741 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13743 * autorevert.el (auto-revert-handler):
13744 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13745 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13746 Don't quote lambda.
13748 * image-mode.el (image-transform-set-scale):
13749 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13751 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13753 * net/network-stream.el (network-stream-open-starttls): Only do
13754 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13755 Upgrades via gnutls-cli are too slow to be done opportunistically.
13757 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13759 * dframe.el (dframe-current-frame): Remove spurious quote.
13761 2011-04-12 Glenn Morris <rgm@gnu.org>
13763 * calendar/cal-tex.el (cal-tex-end-document):
13764 Try to automatically use latin1 input if needed.
13766 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13767 Don't try to cons a mark onto an empty element.
13769 2011-04-11 Leo Liu <sdl.web@gmail.com>
13771 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13773 (ido-kill-buffer-at-head): Support killing virtual buffers.
13775 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13777 * minibuffer.el (completion-show-inline-help): New var.
13778 (completion--do-completion, minibuffer-complete)
13779 (minibuffer-force-complete, minibuffer-complete-word):
13780 Inhibit minibuffer messages if completion-show-inline-help is nil.
13782 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13783 to avoid interference from inline help (Bug#5849).
13785 2011-04-10 Leo Liu <sdl.web@gmail.com>
13787 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13790 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13792 * image-mode.el (image-toggle-display-image): Signal an error if
13794 (image-transform-mode, image-transform-resize)
13795 (image-transform-set-rotation): Doc fix.
13796 (image-transform-set-resize): Delete.
13797 (image-transform-set-scale, image-transform-fit-to-height)
13798 (image-transform-fit-to-width): Handle image-toggle-display-image
13799 and image-transform-resize directly.
13801 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13803 * doc-view.el (doc-view-fit-width-to-window)
13804 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13805 New functions for fitting the shown image to the Emacs window size.
13806 (doc-view-mode-map): Add bindings for the new functions.
13808 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13810 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13811 Fix typo in docstring.
13813 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13815 * files.el (file-size-human-readable): Produce one digit after
13816 decimal, like "ls -lh" does.
13818 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13819 the file size representation.
13821 * simple.el (list-processes): If async subprocesses are not
13822 available, error out with a clear error message.
13824 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13826 * help.el (help-form-show): New function, to be called from C.
13827 Put help-form output in a buffer named differently than *Help*.
13829 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13831 * files.el (file-size-human-readable): New function.
13833 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13834 computing the representation inline. Don't require `cl'.
13836 2011-04-08 Glenn Morris <rgm@gnu.org>
13838 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13840 * net/browse-url.el (browse-url-firefox):
13841 Test system-type, not system-configuration.
13843 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13844 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13845 Use log-edit-empty-buffer-p. (Bug#7598)
13847 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13848 (rlogin-mode-map): Initialize in the defvar.
13849 (rlogin): Use ignore-errors.
13851 * replace.el (occur-mode-map): Some fixes for menu items.
13853 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13855 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13857 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13859 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13860 issuing unused warnings.
13862 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13865 * simple.el: Lisp reimplement of list-processes. Based on an
13866 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13867 (process-menu-mode): New major mode.
13868 (list-processes--refresh, list-processes):
13869 (process-menu-visit-buffer): New functions.
13871 * files.el (save-buffers-kill-emacs): Don't assume any return
13872 value of list-processes, which is undocumented anyway.
13874 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13876 * emacs-lisp/tabulated-list.el: New file.
13878 * emacs-lisp/package.el: Use Tabulated List mode.
13879 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13880 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13881 table format using Tabulated List mode variables.
13882 (package--push): New macro, replacing package-list-maybe-add.
13883 (package-menu--generate): Use package--push. Renamed from
13884 package--generate-package-list.
13885 (package-menu-refresh, list-packages): Use it.
13886 (package-menu--print-info): Rename from package-print-package.
13887 Return insertion data instead of inserting it directly.
13888 (package-menu-describe-package, package-menu-execute):
13889 Use tabulated-list-get-id.
13890 (package-menu-mark-delete, package-menu-mark-install)
13891 (package-menu-mark-unmark, package-menu-backup-unmark)
13892 (package-menu-mark-obsolete-for-deletion):
13893 Use tabulated-list-put-tag.
13894 (package--list-packages, package-menu-revert)
13895 (package-menu-get-package, package-menu-get-version)
13896 (package-menu-sort-by-column): Functions deleted.
13897 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13898 (package-menu--status-predicate, package-menu--version-predicate)
13899 (package-menu--name-predicate)
13900 (package-menu--description-predicate): Handle arguments in the
13901 Tabulated List format.
13902 (package-list-packages-no-fetch): Call list-packages.
13904 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13906 * files.el (after-find-file-from-revert-buffer): Remove variable.
13907 (after-find-file): Don't bind it.
13908 (revert-buffer-in-progress-p): New variable.
13909 (revert-buffer): Bind it.
13910 Pass nil for `after-find-file-from-revert-buffer'.
13912 * saveplace.el (save-place-find-file-hook): Use new variable
13913 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13915 2011-04-06 Glenn Morris <rgm@gnu.org>
13917 * Makefile.in (AUTOGEN_VCS): New variable.
13918 (autoloads): Use $AUTOGEN_VCS.
13920 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13921 * calendar/calendar.el (calendar-mode-map):
13922 Check for toolkit scroll bars. (Bug#8305)
13924 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13926 * minibuffer.el (completion-in-region--postch)
13927 (completion-in-region-mode): Remove unnecessary messages.
13929 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13931 * font-lock.el (font-lock-refresh-defaults):
13932 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13933 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13935 * info.el (Info-directory-list, Info-read-node-name-2)
13936 (Info-split-parameter-string): Doc fixes.
13937 (Info-virtual-nodes): Reflow docstring.
13938 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13939 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13940 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13941 Fix typos in docstrings.
13942 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13943 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13944 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13945 (Info-restore-desktop-buffer): Mark unused parameters.
13946 (Info-directory-find-file, Info-directory-find-node)
13947 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13948 (Info-virtual-index-find-node, Info-apropos-find-file)
13949 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13950 Mark unused parameters; fix typos in docstrings.
13951 (Info-virtual-index): Remove unused local variable `nodename'.
13953 2011-04-05 Deniz Dogan <deniz@dogan.se>
13955 * net/rcirc.el: Update my e-mail address.
13956 (rcirc-mode-map): Remove M-o binding.
13958 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13960 * startup.el (command-line): Save the cursor's theme-face
13961 directly, instead of using face-override-spec.
13963 * custom.el (load-theme): Minor optimization in assigning faces.
13965 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13967 * help-fns.el (describe-variable): Complete all variables having
13968 documentation, including keywords.
13969 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13971 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13973 Convert to lexical-binding.
13975 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13976 (bs--get-marked-string, bs--get-modified-string)
13977 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13978 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13979 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13981 * ehelp.el (electric-help-execute-extended)
13982 (electric-help-ctrl-x-prefix):
13983 * hexl.el (hexl-revert-buffer-function):
13984 * linum.el (linum-after-change, linum-after-scroll):
13985 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13987 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13989 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13996 * epg.el: Use lexical binding.
13998 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14000 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14002 * textmodes/flyspell.el (flyspell-word): Recognize default
14003 dictionary case for flyspell-mark-duplications-exceptions.
14004 Use regexp matching for languages.
14005 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14006 default dictionary (Bug#7926).
14008 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14010 * emacs-lisp/package.el (package--with-work-buffer):
14011 Recognize https URLs.
14013 * net/network-stream.el: Move from gnus/proto-stream.el.
14014 Change prefix to network-stream throughout.
14015 (open-protocol-stream): Merge into open-network-stream, leaving
14016 open-protocol-stream as an alias. Handle nil BUFFER args.
14018 * subr.el (open-network-stream): Move to net/network-stream.el.
14020 2011-04-02 Glenn Morris <rgm@gnu.org>
14022 * find-dired.el (find-exec-terminator): New option.
14023 (find-ls-option): Test for -ls support.
14024 (find-ls-subdir-switches): Test for -b in find-ls-option.
14025 (find-dired, find-grep-dired): Doc fixes.
14026 (find-dired): Use find-exec-terminator.
14028 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14029 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14030 (find-name-arg): Remove purecopy.
14032 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14033 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14034 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14035 accordingly. Don't add the null-device if not needed.
14037 * files.el (save-some-buffers): Doc fix.
14039 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14041 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14043 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14045 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14046 Use `dolist' rather than `mapcar'.
14048 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14050 Add lexical binding.
14052 * subr.el (apply-partially): Use new closures rather than CL.
14053 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14054 (dolist, dotimes): Use slightly different expansion for lexical code.
14055 (functionp): Move to C.
14056 (letrec): New macro.
14057 (with-wrapper-hook): Use it and apply-partially instead of CL.
14058 (eval-after-load): Preserve lexical-binding.
14059 (save-window-excursion, with-output-to-temp-buffer): Turn them
14062 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14064 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14066 (help-add-fundoc-usage): Don't add `Not documented'.
14067 (help-function-arglist): Handle closures, subroutines, and new
14068 byte-code-functions.
14069 (help-make-usage): Remove leading underscores.
14070 (describe-function-1): Handle closures.
14071 (describe-variable): Use special-variable-p for completion.
14073 * files.el (lexical-binding): Declare safe.
14075 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14076 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14077 (pcase): Add `let' pattern.
14078 Change memoization so it actually works.
14079 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14080 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14083 * emacs-lisp/macroexp.el: Use lexical binding.
14084 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14085 Don't convert ' to #' without checking that it's indeed quoting
14088 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14089 Use eval-sexp-add-defvars.
14090 (eval-sexp-add-defvars): New fun.
14092 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14094 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14096 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14097 than the internal `byte-compile-lambda'.
14098 (defmethod): Don't hide code under quotes.
14099 (eieio-defmethod): New `code' argument.
14101 * emacs-lisp/eieio-comp.el: Remove.
14103 * emacs-lisp/edebug.el (edebug-eval-defun)
14104 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14105 (edebug-toggle): Avoid `eval'.
14107 * emacs-lisp/disass.el (disassemble-internal): Handle new
14109 (disassemble-1): Handle new byte codes.
14111 * emacs-lisp/cl.el (pushnew): Silence warning.
14113 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14114 (cl-byte-compile-throw): Remove.
14115 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14117 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14120 * emacs-lisp/cconv.el: New file.
14122 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14123 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14124 (byte-compile-initial-macro-environment):
14125 Handle declare-function here.
14126 (byte-compile--lexical-environment): New var.
14127 (byte-stack-ref, byte-stack-set, byte-discardN)
14128 (byte-discardN-preserve-tos): New lap codes.
14129 (byte-interactive-p): Don't use any more.
14130 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14132 (byte-compile-lapcode): Use them and handle new lap codes.
14133 (byte-compile-obsolete): Remove.
14134 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14135 (byte-compile-arglist-warn): Check late def of inlinable funs.
14136 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14137 since they should have been expanded by now.
14138 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14139 (byte-compile-from-buffer): Remove unused second arg.
14140 (byte-compile-preprocess): New function.
14141 (byte-compile-toplevel-file-form): New function to distinguish
14142 file-form calls from outside from file-form calls from hunk-handlers.
14143 (byte-compile-file-form): Simplify.
14144 (byte-compile-file-form-defsubst): Remove.
14145 (byte-compile-file-form-defmumble): Simplify now that
14146 byte-compile-lambda always returns a byte-code-function.
14147 (byte-compile): Preprocess.
14148 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14149 Remove, not used any more.
14150 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14151 (byte-compile-make-args-desc): New funs.
14152 (byte-compile-lambda): Handle lexical functions. Always return
14153 a byte-code-function.
14154 (byte-compile-reserved-constants): New var, to make up room for
14155 closed-over variables.
14156 (byte-compile-constants-vector): Obey it.
14157 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14158 (byte-compile-macroexpand-declare-function): New function.
14159 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14160 byte-code-functions.
14161 (byte-compile-form): Check obsolescence here.
14162 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14163 (byte-compile-variable-ref): Remove.
14164 (byte-compile-dynamic-variable-op): New fun.
14165 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14166 (byte-compile-variable-set): New funs.
14167 (byte-compile-discard): Add 2 args.
14168 (byte-compile-stack-ref, byte-compile-stack-set)
14169 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14170 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14171 macroexpand-all instead.
14172 (byte-compile-quote-form): Remove.
14173 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14174 (byte-compile-bind, byte-compile-unbind): New funs.
14175 (byte-compile-let): Handle let* and lexical binding.
14176 (byte-compile-let*): Remove.
14177 (byte-compile-catch, byte-compile-unwind-protect)
14178 (byte-compile-track-mouse, byte-compile-condition-case):
14179 Handle a new :fun-body form, used for lexical scoping.
14180 (byte-compile-save-window-excursion)
14181 (byte-compile-with-output-to-temp-buffer): Remove.
14182 (byte-compile-defun): Simplify.
14183 (byte-compile-stack-adjustment): New fun.
14184 (byte-compile-out): Use it.
14185 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14187 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14190 * emacs-lisp/byte-opt.el: Use lexical binding.
14191 (byte-inline-lapcode): Remove (to bytecomp).
14192 (byte-compile-inline-expand): Pay attention to inlining to/from
14193 lexically bound code.
14194 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14196 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14197 any more and don't call compiler-macros.
14198 (byte-compile-splice-in-already-compiled-code): Remove.
14199 (byte-code): Don't inline any more.
14200 (disassemble-offset): Receive `bytes' as argument rather than via
14202 (byte-compile-tag-number): Declare before first use.
14203 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14204 `return' even if make-spliceable.
14205 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14206 obsolete interactive-p.
14207 (byte-optimize-lapcode): Optimize new lap-codes.
14208 Don't trip up on new form of `byte-constant' lap code.
14210 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14212 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14214 * custom.el (custom-initialize-default, custom-declare-variable):
14217 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14219 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14220 (COMPILE_FIRST): Add macroexp and cconv.
14221 * makefile.w32-in: Mirror changes in Makefile.in.
14223 * vc/cvs-status.el:
14227 * vc/smerge-mode.el:
14228 * textmodes/bibtex-style.el:
14229 * textmodes/css.el:
14237 * emacs-lisp/smie.el:
14240 * abbrev.el: Use lexical binding.
14242 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14244 * info.el (info-display-manual): New function.
14246 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14248 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14250 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14252 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14253 an entry for that server in rcirc-authinfo. (Bug#8385)
14255 2011-03-31 Glenn Morris <rgm@gnu.org>
14257 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14259 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14261 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14263 * progmodes/python.el (python-default-interpreter)
14264 (python-python-command-args, python-jython-command-args)
14265 (python-which-shell, python-which-args, python-which-bufname)
14266 (python-file-queue, python-comint-output-filter-function)
14267 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14268 variables and functions.
14270 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14272 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14273 (completion-in-region-mode): New minor mode.
14274 (completion-in-region): Use it.
14275 (completion-in-region--data, completion-in-region-mode-map): New vars.
14276 (completion-in-region--postch): New function.
14277 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14279 (completion--capf-wrapper): New function.
14280 (completion-at-point): Use it to track well-behavedness of
14282 (completion-help-at-point): New command.
14284 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14286 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14287 syntax class to search for whitespace on a single line
14288 (Message-ID: <4D938140.4030905@redhat.com>).
14290 2011-03-30 Leo Liu <sdl.web@gmail.com>
14292 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14294 (edit-abbrevs-map): Bind them here.
14295 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14297 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14299 * allout.el (allout-hide-by-annotation, allout-flag-region):
14300 Reduce possibility of overlay leakage by making them volatile.
14302 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14303 hash is not shared between buffers. Mode initialization is
14304 responsible for giving it a useful starting value.
14305 (allout-item-span): Reduce possibility of overlay leakage by
14306 making them volatile.
14307 (allout-widgets-count-buttons-in-region): Add diagnostic function
14308 for tracking down button overlay leaks.
14310 2011-03-29 Leo Liu <sdl.web@gmail.com>
14312 * ido.el (ido-read-internal): Use the default history var
14313 minibuffer-history if no HISTORY is specified.
14315 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14317 * net/imap.el (imap-shell-open, imap-process-connection-type):
14318 Use imap-process-connection-type for 'shell' streams as well as
14319 Kerberos, SSL, other subprocesses.
14321 2011-03-28 Leo Liu <sdl.web@gmail.com>
14323 * abbrev.el (abbrev-table-empty-p): New function.
14324 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14325 nonempty ones. (Bug#5937)
14327 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14329 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14331 2011-03-27 Leo Liu <sdl.web@gmail.com>
14333 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14334 for foreground and background colors.
14335 (ansi-color-make-color-map): Adapt.
14337 2011-03-25 Leo Liu <sdl.web@gmail.com>
14339 * midnight.el (midnight-time-float): Remove. Note it calculates
14340 the microsecond component incorrectly and seconds-to-time does the
14342 Remove redundant (require 'timer).
14344 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14345 (ido-completions): Remove unused arguments. (Bug#8329)
14347 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14349 * minibuffer.el (completion--flush-all-sorted-completions):
14350 Remove itself from hook.
14351 (completion-at-point): Let the functions perform the completion
14352 immediately and return nil or t.
14353 * comint.el (comint-dynamic-complete-functions): Now identical to
14354 completion-at-point-functions.
14355 (comint-dynamic-list-input-ring): Remove unused var `index'.
14356 (comint--match-partial-filename, comint--unquote&expand-filename):
14357 New funs, split from comint-match-partial-filename.
14358 (comint-dynamic-complete): Use completion-at-point.
14359 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14361 2011-03-24 Drew Adams <drew.adams@oracle.com>
14363 * thingatpt.el: Support `defun'.
14365 2011-03-23 Leo Liu <sdl.web@gmail.com>
14367 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14369 * help-mode.el (help-mode-finish): Tweak regexp.
14371 2011-03-23 Glenn Morris <rgm@gnu.org>
14373 * eshell/esh-opt.el (eshell-eval-using-options):
14374 Do not bind unused local variable `eshell-option-stub'.
14376 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14378 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14380 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14381 keymap variable in `with-no-warnings' to avoid a warning when the
14382 keymap has been already `defconst'ed.
14384 2011-03-22 Leo Liu <sdl.web@gmail.com>
14386 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14387 encode all chars in abbrevs; otherwise use emacs-mule or
14388 utf-8-emacs. (Bug#8308)
14390 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14392 * simple.el (backward-delete-char-untabify):
14393 Avoid warning about using `delete-backward-char'.
14395 * image.el (image-type-file-name-regexps): Make it variable.
14396 `imagemagick-register-types' modifies it, and the user may want
14397 to add new extensions for known image types.
14398 (imagemagick-register-types): Throw error if not using ImageMagick.
14400 2011-03-22 Leo Liu <sdl.web@gmail.com>
14402 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14403 located before rcirc-prompt-end-marker.
14404 (rcirc-complete): Error if point is not after rcirc prompt.
14405 Handle the case when table is nil.
14406 (rcirc-user-authenticated): Define to fix compiler warning.
14408 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14410 * custom.el (custom--inhibit-theme-enable): Make it affect only
14411 custom-theme-set-variables and custom-theme-set-faces.
14412 (provide-theme): Ignore custom--inhibit-theme-enable.
14413 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14414 (custom-enabling-themes): Delete variable.
14415 (enable-theme): Accept only loaded themes as arguments.
14416 Ignore the special custom-enabled-themes variable.
14417 (custom-enabled-themes): Forbid themes from setting this.
14418 Eliminate use of custom-enabling-themes.
14419 (custom-push-theme): Quote "changed" custom var entry.
14421 2011-03-21 Leo Liu <sdl.web@gmail.com>
14423 * ido.el (ido-read-internal): Add ido-selected to history instead
14426 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14428 * subr.el (deferred-action-list, deferred-action-function):
14431 2011-03-21 Leo Liu <sdl.web@gmail.com>
14433 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14434 change on 2011-02-13 (bug#8309).
14436 * minibuffer.el (read-file-name-function): Change default value.
14437 (read-file-name--defaults): Rename from read-file-name-defaults.
14438 (read-file-name-default): Rename from read-file-name.
14439 (read-file-name): Call read-file-name-function.
14441 2011-03-21 Glenn Morris <rgm@gnu.org>
14443 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14446 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14448 * cus-theme.el: Add missing provide statement.
14449 (customize-create-theme): Extract theme value correctly.
14450 (custom-theme-visit-theme): Autoload.
14451 (customize-create-theme): Prompt before inserting default faces.
14453 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14455 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14456 units and musical notes.
14458 2011-03-20 Leo Liu <sdl.web@gmail.com>
14460 * ido.el (ido-read-internal): Use completing-read-default.
14461 (ido-completing-read): Fix compatibility with completing-read.
14463 2011-03-20 Christian Ohler <ohler@gnu.org>
14465 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14466 (ert-delete-all-tests): Use `called-interactively-p' rather than
14468 (ert--make-xrefs-region): Respect END.
14470 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14472 * dired-aux.el (dired-create-directory): Signal an error if the
14473 directory already exists (Bug#8246).
14475 * facemenu.el (list-colors-display): Call list-faces-display
14476 inside with-help-window.
14477 (list-colors-print): Use display property to align the final
14478 column, instead of checking window-width.
14480 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14482 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14483 windows-nt systems.
14484 (emerge-protect-metachars): Quote correctly for ms-dos and
14485 windows-nt systems.
14487 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14489 * info.el (info-initialize): Replace all uses of `:' with
14490 path-separator for compatibility with non-Unix systems.
14491 Cache quoting of path-separator. (Bug#8258)
14493 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14495 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14496 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14497 (mouse-avoidance-mode): Fix typos in docstrings.
14499 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14501 * startup.el (package-subdirectory-regexp): Move from package.el.
14502 Omit \\` and \\', and let callers add them.
14504 * emacs-lisp/package.el (package-strip-version)
14505 (package-load-all-descriptors): Add \\` and \\' to
14506 package-subdirectory-regexp before using it.
14507 (package-untar-buffer): New arg DIR; ensure that file untars only
14508 into this expected directory. Remove superfluous delete-region.
14509 (package-unpack): Caller changed.
14510 (package-tar-file-info): Use package-subdirectory-regexp.
14512 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14514 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14515 diff-mode-shared-map (bug#8284).
14516 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14518 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14520 * calendar/time-date.el (format-seconds): Use assoc instead of
14521 assoc-string, since assoc-string doesn't exist in XEmacs.
14523 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14525 * custom.el (custom-known-themes): Reflow docstring.
14526 (custom-theme-load-path): Fix typo in docstring.
14527 (load-theme): Fix typo in error message.
14528 (custom-available-themes, custom-variable-theme-value):
14529 Use `let', not `let*'.
14531 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14533 * calc/README: Mention inclusion of musical notes.
14535 * calc/calc-units.el (calc-lu-quant): Rename from
14536 `calc-logunits-quantity'.
14537 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14538 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14539 (calc-db): Rename from `calc-dblevel'.
14540 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14541 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14542 (calc-np): Rename from `calc-nplevel'.
14543 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14544 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14545 (calc-lu-plus): Rename from `calc-logunits-add'.
14546 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14547 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14548 (calc-lu-minus): Rename from `calc-logunits-sub'.
14549 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14550 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14551 (calc-lu-times): Rename from `calc-logunits-mul'.
14552 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14553 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14554 (calc-lu-divide): Rename from `calc-logunits-div'.
14555 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14556 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14558 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14559 functions being autoloaded.
14561 * calc/calc.el (calc-lu-power-reference): Rename from
14562 `calc-logunits-power-reference'.
14563 (calc-lu-field-reference): Rename from
14564 `calc-logunits-field-reference'.
14566 * calc/calc-help.el (calc-l-prefix-help):
14567 Mention musical note functions.
14569 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14571 * minibuffer.el (completion-all-sorted-completions):
14572 Use :completion-cycle-penalty text property if present.
14574 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14576 * allout.el (allout-yank-processing): Adjust for new rebulleting
14577 regime so bullet being yanked is used without prompting the user
14580 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14582 * startup.el (command-line): Warn the user that _emacs is deprecated.
14584 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14586 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14587 (delphi-verbose, delphi-comment-face, delphi-string-face)
14588 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14589 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14590 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14591 (delphi-new-comment-line, delphi-font-lock-defaults)
14592 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14593 Fix typos in docstrings.
14595 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14597 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14598 Invert the roles of character and string values for INSTEAD, so a
14599 string is used for the more common case of a defaulting prompt.
14601 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14603 * progmodes/ruby-mode.el (ruby-backward-sexp):
14604 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14605 * play/gamegrid.el (gamegrid-make-face):
14606 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14607 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14608 * notifications.el (notifications-notify):
14609 * net/xesam.el (xesam-search-engines):
14610 * net/quickurl.el (quickurl-list-insert):
14611 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14613 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14615 * startup.el (command-line): Update package subdirectory regexp.
14617 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14619 * allout.el (allout-abbreviate-flattened-numbering)
14620 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14622 * subr.el (read-char-choice): Only show the cursor after the prompt,
14623 not after the answer.
14625 2011-03-15 Kevin Ryde <user42@zip.com.au>
14627 * help-fns.el (variable-at-point): Skip leading quotes, if any
14630 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14635 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14637 * shell.el (shell): When called interactively, offer to change the
14638 shell file name on remote hosts.
14640 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14642 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14643 integration for LDAP parameters. The host, base, user or binddn,
14644 and secret tokens can be specified in a netrc file, for instance.
14645 This is optional because an `auth-source' parameter must be
14646 specified in the search attributes.
14648 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14650 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14652 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14654 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14655 into declaration. Remove redundant and harmful binding.
14657 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14659 * files.el (file-ownership-preserved-p): Pass `integer' as an
14660 explicit 2nd argument to `file-attributes'. If the file's owner
14661 is the Administrators group on Windows, and the current user is
14662 Administrator, consider that a match.
14664 * server.el (server-ensure-safe-dir): Consider server directory
14665 safe on MS-Windows if its owner is the Administrators group while
14666 the current Emacs user is Administrator. Use `=' to compare
14667 numerical UIDs, since they could be integers or floats.
14669 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14671 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14673 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14675 Sync with Tramp 2.2.1.
14677 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14679 * net/trampver.el: Update release number.
14681 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14683 * progmodes/compile.el (compilation--previous-directory): Fix up
14684 various nil/dead-marker mismatches (bug#8014).
14685 (compilation-directory-properties, compilation-error-properties):
14686 Don't call it at a position past the one we're about to change.
14688 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14689 Disable obsolescence warnings in the file that declares it.
14691 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14693 * allout-widgets.el (allout-widgets-tally):
14694 Initialize allout-widgets-tally as a hash table rather than nil to
14695 prevent mode-line redisplay warnings. Also, clarify the module
14696 description and fix a comment typo.
14698 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14700 * help-fns.el (describe-variable): Don't complete keywords.
14701 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14703 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14705 * emacs-lisp/package.el (package-version-join): Impose a standard
14706 string representation for pre/alpha/beta version lists.
14707 (package-unpack-single): Standardize the directory name by passing
14708 it through package-version-join.
14709 (package-strip-rcs-id): Accept any version string that does not
14710 signal an error in version-to-list.
14712 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14714 * simple.el (delete-trailing-whitespace): Return nil for the
14715 benefit of `write-file-functions'.
14717 2011-03-10 Glenn Morris <rgm@gnu.org>
14719 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14721 * vc/vc-git.el (vc-git-program): New option.
14722 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14723 (vc-git--call): Use it.
14725 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14727 * cus-edit.el (Custom-newline): If no button at point, look
14728 for a subgroup button at start-of-line. (Bug#2298)
14730 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14732 2011-03-10 Julien Danjou <julien@danjou.info>
14734 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14735 `cursor-type' is nil.
14737 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14739 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14741 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14743 * allout.el: Change so yank of distinctive-bullet items
14744 preserves the existing header prefix, rebulleting it if necessary,
14745 rather than replacing it. This is necessary for proper operation
14746 of cooperative addons like allout-widgets.
14747 (allout-make-topic-prefix, allout-rebullet-heading):
14748 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14749 value as alternate bullet to be used, instead of prompting the user
14750 for a bullet character.
14752 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14755 Do not use `tramp-file-name-port', because this returns also
14756 `tramp-default-port'.
14758 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14760 * net/rcirc.el (rcirc-handler-001): Remove useless
14761 with-rcirc-process-buffer.
14762 (rcirc-check-auth-status): Swap arguments to string-match.
14764 2011-03-09 Glenn Morris <rgm@gnu.org>
14766 * shell.el (shell-mode):
14767 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14769 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14770 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14772 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14774 * emacs-lisp/package.el (package-refresh-contents)
14775 (package-menu-execute): Use condition-case-no-debug.
14777 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14779 * simple.el (shell-command-to-string): Use `process-file'.
14781 * emacs-lisp/package.el (package-tar-file-info): Handle also
14784 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14785 Use `equal' for upload base check.
14787 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14789 * textmodes/texinfo.el (texinfo-environments):
14790 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14792 2011-03-08 Glenn Morris <rgm@gnu.org>
14794 * cus-start.el (cursor-in-non-selected-windows):
14795 Fix :set quoting oddness. (Bug#8192)
14797 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14798 in some setf expressions. (Bug#2159)
14800 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14802 * custom.el (custom-available-themes): Return themes in
14803 alphabetical order.
14805 See ChangeLog.15 for earlier changes.
14807 ;; Local Variables:
14811 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14813 This file is part of GNU Emacs.
14815 GNU Emacs is free software: you can redistribute it and/or modify
14816 it under the terms of the GNU General Public License as published by
14817 the Free Software Foundation, either version 3 of the License, or
14818 (at your option) any later version.
14820 GNU Emacs is distributed in the hope that it will be useful,
14821 but WITHOUT ANY WARRANTY; without even the implied warranty of
14822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14823 GNU General Public License for more details.
14825 You should have received a copy of the GNU General Public License
14826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.