1 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4 * emacs-lisp/cl-macs.el: Provide itself.
5 (cl--labels-convert-cache): New var.
6 (cl--labels-convert): New function.
7 (cl-flet, cl-labels): New implementation with new semantics, relying on
9 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10 (cl-closure-vars, cl--function-convert-cache)
11 (cl--function-convert): Move from cl-macs.el.
12 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13 rename by removing the "cl-" prefix.
14 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
16 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
18 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
19 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
20 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
21 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
22 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
23 (cl-hash-table-count): Add old compatibility aliases.
25 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
26 Use macroexpand-all-environment instead.
27 (cl--old-macroexpand): New var.
28 (cl--sm-macroexpand): New function.
29 (cl-symbol-macrolet): Use it during macro expansion.
30 (cl--function-convert-cache): New var.
31 (cl--function-convert): New function, extracted from
33 (cl-lexical-let): Use it.
35 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
36 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
37 (cl-member): Remove old alias.
39 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
40 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
41 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
42 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
43 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
44 (cl-macroexpand-cmacs): Remove var.
45 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
46 Use macroexpand-all instead.
48 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
50 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
51 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
52 (macroexp-copyable-p): New functions and macros.
53 * emacs-lisp/edebug.el (edebug-unwrap):
54 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
55 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
56 (pcase--let*): Remove.
57 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
58 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
59 macroexp-const-p instead.
60 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
62 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
63 instead of "cl-" for internal definitions. Use macroexp-const-p.
64 (cl-old-bc-file-form): Remove var.
65 (cl-const-exprs-p): Remove fun.
66 (cl-labels, cl-macrolet): Use backquote.
67 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
68 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
69 (cl-define-setf-expander): Rename from cl-define-setf-method.
70 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
72 * international/mule-cmds.el: Don't require CL.
73 (view-hello-file): Don't use `letf'.
75 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
77 * tmm.el (tmm-prompt): Use string-prefix-p.
78 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
79 (tmm-add-prompt): Use minibuffer-completion-help.
80 (tmm-delete-map): Remove.
82 * subr.el (kbd): Make it its own function.
84 2012-06-07 Stefan Merten <smerten@oekonux.de>
86 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
87 Silence compiler warnings. Fix versions.
88 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
89 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
90 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
91 (rst-package-emacs-version-alist): Correct Emacs version to
92 represent major merge with upstream.
93 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
95 2012-06-06 Glenn Morris <rgm@gnu.org>
97 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
98 Only print environment variables if set.
100 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
102 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
103 (macroexp--cons): Rename from maybe-cons.
104 (macroexp--accumulate): Rename from macroexp-accumulate.
105 (macroexp--all-forms): Rename from macroexpand-all-forms.
106 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
107 (macroexp--expand-all): Rename from macroexpand-all-1.
109 2012-06-06 Sam Steingold <sds@gnu.org>
111 * calendar/calendar.el (calendar-in-read-only-buffer):
112 Call `special-mode' to enable the standard read-only keybindings.
114 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
116 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
117 with "loading" messages (bug#11635).
119 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
121 * files.el (enable-remote-dir-locals): New option.
122 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
124 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
125 Ensure, that the temp directory is local.
127 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
128 `temporary-file-directory'.
130 * progmodes/python.el (python-send-region): Ensure, that the
131 temporary file is created also in the remote case.
133 2012-06-06 Glenn Morris <rgm@gnu.org>
135 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
136 (vc-rcs-update-changelog): Use it.
138 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
140 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
141 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
142 (vc-sccs-diff): Replace use of the external vcdiff script.
144 2012-06-05 Glenn Morris <rgm@gnu.org>
146 * ledit.el: Move to obsolete/.
148 2012-06-05 Sam Steingold <sds@gnu.org>
150 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
153 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
155 * emacs-list/cust-print.el: Move to obsolete.
157 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
158 compiler-macro expansion.
160 Add native compiler-macro support.
161 * emacs-lisp/macroexp.el (macroexpand-all-1):
162 Support compiler-macros directly. Properly follow aliases and apply
163 the compiler macros more thoroughly.
164 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
165 macroexpand now properly follows aliases.
166 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
167 (cl-compiler-macroexpand): Use new prop.
168 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
170 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
172 2012-06-05 Martin Rudalics <rudalics@gmx.at>
174 * window.el (get-lru-window, get-mru-window, get-largest-window):
175 New argument NOT-SELECTED to avoid picking the selected window.
176 (window--display-buffer-1, window--display-buffer-2): Replace by
177 new function window--display-buffer
178 (display-buffer-same-window, display-buffer-reuse-window)
179 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
180 Use window--display-buffer.
181 (display-buffer-use-some-window): Remove temporary dedication
182 hack by calling get-lru-window and get-largest-window with
183 NOT-SELECTED argument non-nil. Call window--display-buffer.
185 2012-06-05 Glenn Morris <rgm@gnu.org>
187 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
188 Replace external vcdiff script.
190 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
192 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
194 2012-06-04 Chong Yidong <cyd@gnu.org>
196 * image.el (imagemagick-types-inhibit): Revert last change.
198 (imagemagick-enabled-types): Remove CIN and EPS*.
200 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emacs-lisp/cl-lib.el: Rename from cl.el.
203 * emacs-lisp/cl.el: New compatibility file.
204 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
205 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
206 to obey the "cl-" prefix.
207 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
209 2012-06-03 Glenn Morris <rgm@gnu.org>
211 * emacs-lisp/authors.el (authors-aliases): Addition.
213 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
216 2012-06-03 Stefan Merten <smerten@oekonux.de>
218 * textmodes/rst.el: Add comments.
219 (rst-transition, rst-adornment): New faces.
220 (rst-adornment-faces-alist): Make default safe to reevaluate.
222 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
223 Improve customization tags.
224 (rst-define-level-faces): Clarify meaning.
226 2012-06-03 Chong Yidong <cyd@gnu.org>
228 * progmodes/compile.el (compilation-mode-line-fail)
229 (compilation-mode-line-run, compilation-mode-line-exit):
231 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
233 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
235 * progmodes/which-func.el (which-func-update-ediff-windows):
236 New function. Use it in ediff-select-hook (Bug#11478).
238 2012-06-03 Chong Yidong <cyd@gnu.org>
240 * bindings.el: Remove explicit help text from format-mode-line.
241 It is now supplied by mode-line-default-help-echo.
242 (mode-line-front-space, mode-line-end-spaces)
243 (mode-line-misc-info): New variables.
244 (mode-line-modes, mode-line-position): Move the default value to
245 the variable definition.
246 (mode-line-default-help-echo): New defcustom.
247 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
248 (mode-line-modified-help-echo): New functions.
249 (mode-line-mule-info, mode-line-modified): Use them.
250 (mode-line-eol-desc, propertized-buffer-identification):
251 Consistency fixes for help text.
252 (mode-line-coding-system-map): Allow using mouse-3 to invoke
253 set-buffer-file-coding-system (Bug#289).
254 (mode-line-mule-info-help-echo): Update help text.
256 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
258 * simple.el (execute-extended-command): Set real-this-command
261 2012-06-02 Chong Yidong <cyd@gnu.org>
263 Remove incorrect uses of "modeline" in comments, docstrings, and
264 function/variable names (Bug#10329).
266 * cus-edit.el (mode-line):
267 * dframe.el (dframe-mouse-hscroll):
268 * emacs-lisp/re-builder.el:
269 * emacs-lisp/easy-mmode.el (define-minor-mode):
270 * frame.el (set-frame-name):
271 * help.el (lookup-minor-mode-from-indicator):
272 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
273 * progmodes/cc-cmds.el (c-toggle-auto-newline)
274 (c-toggle-hungry-state):
275 * progmodes/antlr-mode.el (antlr-language-alist):
276 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
277 * progmodes/vhdl-mode.el (vhdl-mode):
278 * progmodes/which-func.el (which-func, which-func-cleanup-function):
279 * term/ns-win.el (ns-face-at-pos):
280 * term/sup-mouse.el (sup-mouse-report):
281 * textmodes/flyspell.el (flyspell-mode-line-string):
282 * textmodes/ispell.el (ispell-highlight-face):
283 * textmodes/reftex-global.el:
284 * vc/vc-arch.el (vc-arch-mode-line-string):
285 * vc/vc-cvs.el (vc-cvs-mode-line-string):
286 * vc/vc-git.el (vc-git-mode-line-string):
287 * vc/vc-hooks.el (vc-display-status)
288 (vc-default-mode-line-string):
289 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
291 * ansi-color.el (ansi-color-faces-vector): Change default faces.
293 * dired.el (dired-sort-set-mode-line): Rename from
294 dired-sort-set-modeline. All callers changed.
296 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
297 eshell-status-in-modeline.
299 * foldout.el (foldout-mode-line-string): Rename from
300 foldout-modeline-string. All callers changed.
301 (foldout-update-mode-line): Rename from foldout-update-modeline.
303 * subr.el (redraw-modeline): Make into obsolete alias.
305 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
306 timeclock-modeline-display. Make old name an alias.
307 (timeclock-update-mode-line): Likewise. All callers changed.
308 (timeclock-mode-line-display): No need to check before using
310 (timeclock-relative, timeclock-day-over-hook)
311 (timeclock-use-elapsed, timeclock-mode-string)
312 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
314 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
315 crisp-mode-modeline-string.
317 * play/solitaire.el (solitaire-build-mode-line): Rename from
318 solitaire-build-modeline. All callers changed.
320 * play/zone.el (zone-hiding-mode-line): Rename from
321 zone-hiding-modeline. All callers changed.
322 (zone): Remove unusued `modeline-hidden-level' property.
324 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
325 xscheme-modeline-initialize. All callers changed.
327 * strokes.el (strokes-lighter): Rename from
328 strokes-modeline-string.
330 * textmodes/sgml-mode.el (html-face-tag-alist)
331 (html-tag-face-alist): Use mode-line face instead of obsolete
334 2012-06-02 Stefan Merten <smerten@oekonux.de>
336 * textmodes/rst.el: Always require `cl'.
337 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
339 2012-06-02 Chong Yidong <cyd@gnu.org>
341 * image.el (imagemagick-enabled-types): Rename from
342 imagemagick-types-enable. Add many more types.
343 (imagemagick-types-inhibit): Change default to nil.
344 (imagemagick-filter-types): Caller changed.
346 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
348 * emacs-lisp/cl-macs.el: Use backquotes.
349 (cl-transform-function-property): Use eval-and-compile rather than
351 (defstruct): Use declare-function instead of with-no-warnings.
353 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
354 (byte-compile-output-docform): Re-add the print-circle bindings.
355 (byte-compile-fix-header): Use #$ just because it's shorter.
356 (byte-compile-output-file-form): Remove defun/defmacro.
358 2012-06-01 Martin Rudalics <rudalics@gmx.at>
360 * simple.el (choose-completion): Remove now obsolete binding for
363 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
365 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
366 in order to avoid "Stack overflow in regexp matcher".
368 2012-05-31 Glenn Morris <rgm@gnu.org>
370 * image.el: For clarity, call imagemagick-register-types at
371 top-level, rather than relying on a custom :initialize.
372 (imagemagick-types-enable): New option. (Bug#11557)
373 (imagemagick-filter-types): New function. (Bug#7406)
374 (imagemagick-register-types): Use imagemagick-filter-types.
375 If disabling support, remove elements altogether rather
376 than using an impossible regexp.
377 (imagemagick-types-inhibit): Give it the default init function.
379 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
381 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
382 Handle arbitrary file name lengths (Bug#11585).
384 2012-05-31 Martin Rudalics <rudalics@gmx.at>
386 * desktop.el (desktop-read): Clear previous and next buffers for
387 all windows and bury *Messages* buffer (bug#11556).
389 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
391 Add `declare' for `defun'. Align `defmacro's with it.
392 * emacs-lisp/easy-mmode.el (define-minor-mode)
393 (define-globalized-minor-mode): Don't autoload the var definitions.
394 * emacs-lisp/byte-run.el: Use lexical-binding.
395 (defun-declarations-alist, macro-declarations-alist): New vars.
396 (defmacro, defun): Use them.
397 (make-obsolete, define-obsolete-function-alias)
398 (make-obsolete-variable, define-obsolete-variable-alias):
400 (macro-declaration-function): Mark obsolete.
401 * emacs-lisp/autoload.el: Use lexical-binding.
402 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
404 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
406 * textmodes/ispell.el (ispell-with-no-warnings):
408 (ispell-kill-ispell, ispell-change-dictionary):
409 Use `called-interactively-p' for Emacs instead of obsolete
412 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
414 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
415 (macro-declaration-function): Move var from C code.
416 (macro-declaration-function): Define function with defalias.
417 * emacs-lisp/macroexp.el (macroexpand-all-1):
418 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
419 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
420 defun/defmacro any more.
421 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
422 Provide fallback for unknown arglist.
423 (byte-compile-arglist-warn): Change calling convention.
424 (byte-compile-output-file-form): Move print-vars binding.
425 (byte-compile-output-docform): Simplify accordingly.
426 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
427 (byte-compile-defmacro-declaration): Remove.
428 (byte-compile-file-form-defmumble): Generalize to defalias.
429 (byte-compile-output-as-comment): Return byte-positions.
430 Simplify callers accordingly.
431 (byte-compile-lambda): Use `assert'.
432 (byte-compile-defun, byte-compile-defmacro): Remove.
433 (byte-compile-file-form-defalias):
434 Use byte-compile-file-form-defmumble.
435 (byte-compile-defalias-warn): Remove.
437 2012-05-29 Stefan Merten <smerten@oekonux.de>
439 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
440 possible. Fix authors. Improve comments. Improve loading of `cl'.
442 (rst-mode-abbrev-table): Merge definition.
443 (rst-mode): Make sure `font-lock-defaults' is buffer local.
444 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
446 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
448 * calendar/icalendar.el
449 (icalendar-export-region): Export UID properly.
451 2012-05-29 Leo <sdl.web@gmail.com>
452 * calendar/icalendar.el (icalendar-import-format):
453 Add `icalendar-import-format-uid' (Bug#11525).
454 (icalendar-import-format-uid): New.
455 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
458 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
460 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
461 different alternative patterns.
462 (pcase-codegen): Be more careful to preserve identity.
463 (pcase--u1): Don't forget to mark vars as used.
465 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
466 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
467 (byte-compile-from-buffer): ...rather than here.
469 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
470 functions from byte-compile-function-environment.
472 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
474 * window.el (window-deletable-p): Avoid deleting the root window
475 of a frame with an active minibuffer.
477 2012-05-29 Martin Rudalics <rudalics@gmx.at>
479 * simple.el (choose-completion): Use quit-window (Bug#11567).
481 2012-05-29 Chong Yidong <cyd@gnu.org>
483 * whitespace.el (whitespace-cleanup): Fix usage of
484 whitespace-empty-at-bob-regexp (Bug#11492).
486 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
488 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
491 2012-05-29 Juri Linkov <juri@jurta.org>
493 * isearch.el (isearch-mode-map): Bind `M-s _' to
494 `isearch-toggle-symbol'. Bind `M-s c' to
495 `isearch-toggle-case-fold'.
496 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
497 (isearch-forward): Add `M-s _' to the docstring.
498 (isearch-forward-symbol, isearch-toggle-case-fold)
499 (isearch-symbol-regexp): New functions. (Bug#11381)
501 2012-05-29 Juri Linkov <juri@jurta.org>
503 * isearch.el (isearch-word): Add docstring. (Bug#11381)
504 (isearch-occur, isearch-search-and-update): If `isearch-word' is
505 a function, call it to get the regexp.
506 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
507 property `isearch-message-prefix' instead of the string "word ".
508 (isearch-search-fun-default): For the case of `isearch-word',
509 return a lambda that calls re-search-forward/re-search-backward
510 with a regexp returned by `word-search-regexp' or by the function
513 2012-05-29 Juri Linkov <juri@jurta.org>
515 * isearch.el (isearch-search-fun-default): New function.
516 (isearch-search-fun): Move default part to the new function
517 `isearch-search-fun-default'.
518 (isearch-search-fun-function): Set the default value to
519 `isearch-search-fun-default'. (Bug#11381)
521 * comint.el (comint-history-isearch-end):
522 Use `isearch-search-fun-default'.
523 (comint-history-isearch-search): Use `isearch-search-fun-default'
524 and remove spacial case for `isearch-word'.
525 (comint-history-isearch-wrap): Remove spacial case for
528 * hexl.el (hexl-isearch-search-function):
529 Use `isearch-search-fun-default'.
531 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
532 Use `word-search-regexp' for `isearch-word'.
534 * misearch.el (multi-isearch-search-fun):
535 Use `isearch-search-fun-default'.
537 * simple.el (minibuffer-history-isearch-search):
538 Use `isearch-search-fun-default' and remove spacial case for
540 (minibuffer-history-isearch-wrap): Remove spacial case for
543 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
544 Remove spacial case for `isearch-word'.
545 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
547 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
549 Decrease XEmacs incompatibilities.
550 * textmodes/flyspell.el (flyspell-check-pre-word-p):
552 (flyspell-delete-region-overlays): Use alternative definition for
554 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
555 (flyspell-word): Use `process-kill-without-query' if XEmacs.
556 (flyspell-mode-on): Use `interactive-p' if XEmacs.
557 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
558 `define-obsolete-face-alias' under XEmacs, but old method.
560 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
561 `with-no-warnings' definition or Emacs alias.
562 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
563 (ispell-word): Do not use `region-p' if XEmacs.
565 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
567 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
568 Check for `ispell-dictionary-base-alist' instead of full
569 `ispell-dictionary-alist'.
570 (ispell-init-process): Show spellchecker when starting new Ispell
573 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
575 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
576 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
578 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
580 * version.el (motif-version-string, gtk-version-string)
581 (ns-version-string): Declare.
583 2012-05-27 Juri Linkov <juri@jurta.org>
585 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
586 after the `eval-defun-1' specialcaseing
587 like in `edebug-eval-defun' (bug#10181).
589 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
590 like in `eval-defun-1'.
592 2012-05-27 Eli Zaretskii <eliz@gnu.org>
594 * mail/sendmail.el (mail-yank-region):
595 Recognize rmail-yank-current-message in addition to insert-buffer.
596 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
597 a *mail* buffer created through rmail-start-mail with sendmail as
600 2012-05-27 Chong Yidong <cyd@gnu.org>
602 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
603 Default to 256 (Bug#11267).
605 * help.el (describe-mode): Doc fix.
607 2012-05-26 Glenn Morris <rgm@gnu.org>
609 * w32-fns.el (w32-init-info): Remove.
610 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
612 * info.el (info-initialize): For self-contained NS builds, put the
613 included info/ directory at the front. (Bug#2791)
615 * paths.el (Info-default-directory-list): Make it a defcustom,
616 mainly so that we can use custom-initialize-delay.
618 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
620 * subr.el (buffer-has-markers-at): Mark obsolete.
622 * subr.el (lambda): Use declare.
624 * emacs-lisp/lisp-mode.el (lambda):
625 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
627 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
629 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
631 2012-05-26 Glenn Morris <rgm@gnu.org>
633 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
635 2012-05-25 Glenn Morris <rgm@gnu.org>
637 * paths.el: Remove no-byte-compile.
638 * loadup.el: No need to load paths.el uncompiled.
640 * image.el (imagemagick-types-inhibit): Doc fix.
642 * version.el: Remove no-byte-compile and associated formatting.
643 * loadup.el: No need to load version.el uncompiled. AFAICS, this
644 is ancient code from when there was an "inc-vers.el".
646 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
648 * progmodes/gdb-mi.el: Minor style changes.
649 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
650 Turn into minor modes.
651 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
652 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
653 (gdb-shell): Remove unneeded let-binding.
654 (gdb-get-many-fields): Eliminate O(n²) behavior.
656 2012-05-25 Eli Zaretskii <eliz@gnu.org>
658 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
659 platforms that don't link in fontset.c.
661 2012-05-25 Juri Linkov <juri@jurta.org>
663 Use the same diff color scheme as in modern VCSes (bug#10181).
665 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
666 to avoid confusion with `diff-added' that now uses green colors.
667 (diff-removed): Use shades of red.
668 (diff-added): Use shades of green.
669 (diff-changed): Leave just the yellow color.
670 (diff-use-changed-face): New variable.
671 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
672 how to highlight context diff changes.
673 (diff-refine-change): Use shades of yellow.
674 (diff-refine-removed): New face that uses shades of red.
675 (diff-refine-added): New face that uses shades of green.
676 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
677 `diff-refine-removed' in the call to `smerge-refine-subst'
678 depending on the value of `diff-use-changed-face'.
680 * vc/smerge-mode.el (smerge-mine): Use shades of red.
681 (smerge-other): Use shades of green.
682 (smerge-base): Use shades of yellow.
683 (smerge-refined-change): Empty face.
684 (smerge-refined-removed): New face that uses shades of red.
685 (smerge-refined-added): New face that uses shades of green.
686 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
687 args `props-r' and `props-a', and use them. Doc fix.
688 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
689 on its value use different faces `smerge-refined-change',
690 `smerge-refined-removed', `smerge-refined-added' in the call to
691 `smerge-refine-subst'.
693 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
694 Add face condition `min-colors 88' with shades of red.
695 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
696 `min-colors 88' with shades of green.
697 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
698 `min-colors 88' with shades of yellow.
700 2012-05-24 Glenn Morris <rgm@gnu.org>
702 * paths.el (prune-directory-list, remote-shell-program): Move to...
703 * files.el (prune-directory-list, remote-shell-program): ...here.
704 For the latter, delay initialization, prefer ssh, just search PATH.
706 * paths.el (term-file-prefix): Move to faces.el (the only user).
707 * faces.el (term-file-prefix): Move here, make it a defcustom.
709 * paths.el (news-directory, news-path, news-inews-program):
710 Move to gnus/nnspool.el.
712 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
714 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
715 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
716 Make the latter a defcustom, with a delayed initialization.
718 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
719 These were deleted from Gnus itself late 2010.
721 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
723 * progmodes/which-func.el (which-func-ff-hook):
724 Check against user-error, not error.
726 * emacs-lisp/edebug.el (top): Do not load or set up loading of
727 cl-specs.el, which no longer exists.
729 2012-05-22 Glenn Morris <rgm@gnu.org>
731 * info.el (info-emacs-bug): New command.
732 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
733 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
735 2012-05-21 Glenn Morris <rgm@gnu.org>
737 * makefile.w32-in (update-subdirs-SH):
738 * Makefile.in (update-subdirs): Update for moved update-subdirs.
740 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
742 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
745 Simplify Maven regexp, and make sure the file can't start with a space
748 2012-05-21 Glenn Morris <rgm@gnu.org>
750 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
751 Scrap superfluous subshells.
753 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
755 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
756 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
758 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
760 * calc/calc.el (calc-ensure-consistent-units): New variable.
762 * calc/calc-units.el (math-consistent-units-p)
763 (math-check-unit-consistency): New functions.
764 (calc-quick-units, calc-convert-units):
765 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
767 (calc-extract-units): Fix typo.
769 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
771 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
773 * textmodes/flyspell.el: Commenting style, plus code simplifications.
774 (flyspell-default-deplacement-commands): Don't spell check after
775 repeated window/frame switches (e.g. triggered by mouse-movement).
776 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
777 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
778 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
779 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
781 (flyspell-get-casechars, flyspell-get-not-casechars):
782 Simplify; Don't bother removing a ] just to add it back.
783 * textmodes/ispell.el (ispell-program-name): Use executable-find.
785 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
787 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
789 (math-function-table): Add support for more C functions.
791 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
793 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
794 (flyspell-debug-signal-word-checked): Protect delay handling for
795 otherchars against empty otherchars.
797 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
799 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
800 their respective macro declarations.
801 * skeleton.el (define-skeleton):
802 * progmodes/compile.el (define-compilation-mode):
803 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
804 (define-ibuffer-filter):
805 * emacs-lisp/generic.el (define-generic-mode):
806 * emacs-lisp/easy-mmode.el (define-minor-mode)
807 (define-globalized-minor-mode):
808 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
809 * emacs-lisp/byte-run.el (defsubst):
810 * custom.el (deftheme): Add doc-string metadata.
812 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
816 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
818 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
820 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
821 * emacs-lisp/cl-macs.el: Idem.
822 * emacs-lisp/cl-specs.el: Remove.
824 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
826 Minor renaming of internal CL functions and variables.
827 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
828 (cl--position): Rename from cl-position.
829 (cl--delete-duplicates): Rename from cl-delete-duplicates.
830 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
831 (cl--random-state): Rename from *random-state*.
833 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
835 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
836 parens around the arg list (bug#11499).
838 2012-05-17 Juri Linkov <juri@jurta.org>
840 * isearch.el (word-search-regexp, word-search-backward)
841 (word-search-forward, word-search-backward-lax)
842 (word-search-forward-lax): Move functions from search.c
843 (bug#10145, bug#11381).
845 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
847 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
848 (flyspell-debug-signal-word-checked): Delay for otherchars as for
849 normal word components.
851 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
853 * minibuffer.el (completion--sifn-requote): Fix last change.
854 (minibuffer-local-must-match-filename-map):
855 Move define-obsolete-variable-alias before its var.
857 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
859 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
861 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
863 (completion--string-equal-p): New function.
864 (completion--twq-all): Use it to get better assertion failure data.
866 Only handle ".." and '..' quoting in shell-mode (bug#11466).
867 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
868 (shell--requote-argument): New functions.
869 (shell-completion-vars): Use them.
870 (shell--parse-pcomplete-arguments): Rename from
871 shell-parse-pcomplete-arguments.
872 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
873 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
874 Obey comint-file-name-quote-list.
876 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
877 (smie-indent-keyword): Use it.
879 2012-05-14 Stefan Merten <smerten@oekonux.de>
881 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
883 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
885 * net/rlogin.el (rlogin-mode-map): Fix last change.
887 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
889 * mail/smtpmail.el (smtpmail-send-command): Send the command and
890 the following \r\n using a single `process-send-string', since the
891 Lotus SMTP server refuses to accept any commands if they are sent
892 with two `process-send-string's (Bug#11444).
894 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
896 * shell.el (shell-parse-pcomplete-arguments):
897 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
899 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
901 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
902 (image-transform-scale, image-transform-right-angle-fudge): New vars.
903 (image-transform-width, image-transform-fit-width): New functions.
904 (image-transform-properties): Use them.
905 (image-transform-check-size): New function.
906 (image-toggle-display-image): Use it (for testing).
907 (image-transform-set-rotation): Reduce angle mod 360.
908 Delete obsolete comment.
910 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
912 * image-mode.el: Fix scaling (bug#11399).
913 (image-transform-resize): Doc fix.
914 (image-transform-properties): Default scale is 1 and height should
917 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
919 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
920 than hard-coding `car', to fix misbehavior when moving forward.
922 2012-05-13 Chong Yidong <cyd@gnu.org>
924 * emacs-lisp/tabulated-list.el (tabulated-list-format)
925 (tabulated-list-entries, tabulated-list-padding)
926 (tabulated-list-sort-key): Make permanent-local.
928 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
929 (electric-buffer-list): Put electric buffer menu
930 command descriptions in this docstring, instead of the docstring
931 of electric-buffer-menu-mode. Code cleanups.
932 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
933 Electric-buffer-menu-mode.
934 (electric-buffer-update-highlight): Minor code cleanup.
936 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
938 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
941 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
943 Move define-obsolete-variable-alias before the var's definition.
944 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
945 * tooltip.el (tooltip-hook):
946 * textmodes/reftex-toc.el (reftex-toc-map):
947 * textmodes/reftex-sel.el (reftex-select-label-map)
948 (reftex-select-bib-map):
949 * textmodes/reftex-index.el (reftex-index-map)
950 (reftex-index-phrases-map):
951 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
952 * progmodes/meta-mode.el (meta-mode-map):
953 * novice.el (disabled-command-hook):
954 * loadhist.el (unload-hook-features-list):
955 * frame.el (blink-cursor):
956 * files.el (find-file-not-found-hooks, write-file-hooks)
957 (write-contents-hooks):
958 * emulation/tpu-edt.el (GOLD-map):
959 * emacs-lock.el (emacs-lock-from-exiting):
960 * emacs-lisp/generic.el (generic-font-lock-defaults):
961 * emacs-lisp/chart.el (chart-map):
962 * dos-fns.el (register-name-alist):
963 * dired-x.el (dired-omit-files-p):
964 * desktop.el (desktop-enable):
965 * cus-edit.el (custom-mode-hook):
966 * buff-menu.el (buffer-menu-mode-hook):
967 * bookmark.el (bookmark-read-annotation-text-func)
968 (bookmark-exit-hooks):
969 * allout.el (allout-mode-deactivate-hook)
970 (allout-exposure-change-hook, allout-structure-added-hook)
971 (allout-structure-deleted-hook, allout-structure-shifted-hook):
972 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
973 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
974 comes before the corresponding variable's definition.
976 2012-05-12 Chong Yidong <cyd@gnu.org>
978 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
979 (Buffer-menu-mouse-select): Restore function (Bug#11459).
980 (Buffer-menu-mode-map): Bind it.
981 (Buffer-menu--pretty-name): Add a mouse-face property.
983 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
985 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
986 (prolog-upper-case-string, prolog-lower-case-string)
987 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
988 (prolog-use-smie, prolog-smie-grammar): New vars.
989 (prolog-smie-forward-token, prolog-smie-backward-token)
990 (prolog-smie-rules): New funs.
991 (prolog-comment-indent): Remove.
992 (prolog-mode-variables): Use default comment indentation instead.
994 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
995 (prolog-mode): Don't call them any more.
996 (prolog-electric-colon, prolog-electric-dash)
997 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
999 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1001 * minibuffer.el (completion--twq-all): Again, allow case differences.
1003 * term.el: Move keymap initialization code to be more idiomatic.
1004 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1005 (term-terminal-menu): Move initialization into declaration.
1006 (term-escape-char): Let the user set it in her .emacs.
1008 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1009 Provide SMIE-based indentation (not enabled by default yet).
1010 (sh-mode-map): Don't bind electric keys.
1011 Use electric-pair-mode instead of skeleton-pair.
1012 (sh-assignment-regexp): Fit within 80 columns.
1013 (sh-indent-supported): Specify actual shell name instead of boolean.
1014 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1015 (sh-maybe-here-document): Use it. Make obsolete.
1016 (sh-electric-here-document-mode) New minor mode.
1017 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1018 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1019 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1020 (sh-smie-rc-grammar, sh-use-smie): New vars.
1021 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1022 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1023 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1024 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1025 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1026 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1027 (sh-set-shell): Use smie-setup if requested.
1029 * term.el (term-set-escape-char): Properly set term-escape-char.
1030 See http://stackoverflow.com/questions/10524656.
1032 2012-05-10 Chong Yidong <cyd@gnu.org>
1034 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1035 Use url-generic-parse-url, and handle host names and Windows
1037 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1038 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1039 URL schemes to work on.
1040 (ffap--toggle-read-only): New function.
1041 (ffap-read-only, ffap-read-only-other-window)
1042 (ffap-read-only-other-frame): Use it.
1043 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1044 necessary for ffap-url-unwrap-remote.
1046 2012-05-10 Dave Abrahams <dave@boostpro.com>
1048 * cus-start.el (create-lockfiles): Add it.
1050 2012-05-09 Chong Yidong <cyd@gnu.org>
1052 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1053 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1055 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1059 2012-05-09 Chong Yidong <cyd@gnu.org>
1061 * ansi-color.el (ansi-color-process-output): Check for validity of
1062 comint-last-output-start before using it. This avoids a bad
1063 interaction with gdb-mi's input/output buffer.
1065 2012-05-09 Glenn Morris <rgm@gnu.org>
1067 * files.el (dir-locals-read-from-file):
1068 Mention dir-locals in any error message.
1070 2012-05-09 Chong Yidong <cyd@gnu.org>
1072 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1073 package (Bug#11410).
1075 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1076 variables into description.
1078 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1081 shell-delimiter-argument-list (bug#11348).
1082 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1084 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1086 * textmodes/rst.el: Silence byte-compiler warnings.
1087 (rst-re-alist, rst-reset-section-caches): Move around.
1088 (rst-re): Use `characterp', not `char-valid-p'.
1089 (font-lock-beg, font-lock-end): Declare.
1091 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1092 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1094 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1096 2012-05-08 Glenn Morris <rgm@gnu.org>
1098 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1100 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * vc/log-edit.el: Add GNU coding standards highlighting.
1103 (log-edit-font-lock-gnu-style)
1104 (log-edit-font-lock-gnu-keywords): New vars.
1105 (log-edit-font-lock-keywords): New fun.
1106 (log-edit-mode): Don't fold case in font-lock.
1107 (log-edit-font-lock-keywords): Do not assume case-folding.
1109 * imenu.el: Misc cleanup. Make docstrings out of comments.
1110 Use lexical-binding.
1111 (imenu--index-alist, imenu--last-menubar-index-alist)
1112 (imenu-menubar-modified-tick): Use defvar-local.
1113 (imenu--split-menu): Remove unused var.
1114 (imenu--cleanup-seen): Declare as global.
1115 (imenu--cleanup): Use dolist.
1117 * subr.el (defvar-local): Add debug spec and doc-string position.
1119 2012-05-08 Glenn Morris <rgm@gnu.org>
1121 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1122 * language/english.el, language/georgian.el, language/greek.el:
1123 * language/japanese.el, language/khmer.el, language/korean.el:
1124 * language/lao.el, language/misc-lang.el, language/romanian.el:
1125 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1126 * language/thai.el, language/utf-8-lang.el:
1127 Remove no-byte-compile setting.
1129 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1131 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1133 * progmodes/make-mode.el (makefile-browse):
1134 Remove unnecessary interactive. (Bug#11324)
1136 2012-05-07 Glenn Morris <rgm@gnu.org>
1138 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1140 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1142 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * loadup.el: Preload newcomment.el.
1145 * newcomment.el: Move autoload-only code to toplevel.
1147 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1148 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1149 Handle new :right-align column property.
1150 (tabulated-list-print-col): Idem, plus use `display' text-property to
1151 try and preserve alignment for variable pitch fonts.
1153 2012-05-07 Chong Yidong <cyd@gnu.org>
1155 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1156 (tabulated-list-use-header-line): New var.
1157 (tabulated-list-init-header): Use it.
1158 (tabulated-list-print-fake-header): New function.
1159 (tabulated-list-print): Use it.
1160 (tabulated-list-sort-button-map): Add non-header-line commands.
1161 (tabulated-list-init-header): Add column name property to basic
1163 (tabulated-list-col-sort): Handle non-header-line button case.
1164 (tabulated-list--sort-by-column-name): Fix a corner case.
1166 * buff-menu.el (list-buffers--refresh):
1167 Handle Buffer-menu-use-header-line.
1169 2012-05-06 Chong Yidong <cyd@gnu.org>
1171 * buff-menu.el: Convert to Tabulated List mode.
1172 (Buffer-menu-buffer+size-width): Make obsolete.
1173 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1174 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1175 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1176 documentation into docstring of buffer-menu.
1177 (Buffer-menu-toggle-files-only): Add an informative message.
1178 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1179 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1180 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1181 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1182 (Buffer-menu-execute, Buffer-menu-select)
1183 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1184 (Buffer-menu-bury): Use Tabulated List machinery.
1185 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1186 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1188 (list-buffers--refresh): New function.
1189 (list-buffers-noselect): Use it.
1190 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1191 (Buffer-menu--pretty-file-name): New helper functions.
1193 * loadup.el: Preload tabulated-list.
1195 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1196 tabulated-list-sort-column.
1197 (tabulated-list-init-header): Add the initial aligning space even
1198 if tabulated-list-padding is zero.
1200 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1202 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1203 whose cdr is not a cons cell correctly (bug#11038).
1205 2012-05-06 Chong Yidong <cyd@gnu.org>
1207 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1208 Accept additional plist in column descriptors.
1209 (tabulated-list-init-header): Obey it.
1210 (tabulated-list-get-entry): New function.
1211 (tabulated-list-put-tag): Use it. Use string-width instead of
1213 (tabulated-list--column-number): New function.
1214 (tabulated-list-print): Use it.
1215 (tabulated-list-print-col): New function.
1216 Set `tabulated-list-column-name' property on each column's text.
1217 (tabulated-list-print-entry): Use it.
1218 (tabulated-list-delete-entry, tabulated-list-set-col):
1220 (tabulated-list-sort-column): New command (Bug#11337).
1222 * buff-menu.el (list-buffers): Move C-x C-b binding from
1223 buff-menu.el to bindings.el.
1225 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1226 :advertised-binding feature.
1228 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1230 * progmodes/compile.el (compilation-internal-error-properties):
1231 Calculate start position correctly when end-col is set but
1232 end-line is not (Bug#11382).
1234 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1236 * man.el (Man-unindent): Use text-property-default-nonsticky to
1237 prevent untabify from inheriting face properties (Bug#11408).
1239 2012-05-05 Stefan Merten <smerten@oekonux.de>
1241 * textmodes/rst.el: Major merge with upstream development up to
1242 Docutils SVN r7399 / rst.el V1.2.1.
1244 Clarify maintainership and authors.
1246 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1247 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1248 (rst-official-version, rst-official-cvs-rev, rst-version)
1249 (rst-package-emacs-version-alist): New functions and variables
1250 for version information.
1252 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1253 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1254 (rst-mode-syntax-table, rst-mode): New and corrected functions
1255 and variables representing reStructuredText features.
1257 (rst-re): New function for reStructuredText regexes. Use in
1260 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1261 (rst-mode-map): Rebind keys.
1263 (rst-mode-lazy, rst-font-lock-keywords)
1264 (rst-font-lock-extend-region)
1265 (rst-font-lock-extend-region-internal)
1266 (rst-font-lock-extend-region-extend)
1267 (rst-font-lock-find-unindented-line-limit)
1268 (rst-font-lock-find-unindented-line-match)
1269 (rst-adornment-level, rst-font-lock-adornment-level)
1270 (rst-font-lock-adornment-match)
1271 (rst-font-lock-handle-adornment-pre-match-form)
1272 (rst-font-lock-handle-adornment-matcher): Major revision of
1273 font-locking. Integrate with other code. Use `jit-lock-mode'.
1275 (rst-preferred-adornments, rst-adjust-hook)
1276 (rst-new-adornment-down, rst-preferred-bullets)
1277 (rst-preferred-bullets, rst-indent, rst-indent-width)
1278 (rst-indent-field, rst-indent-literal-normal)
1279 (rst-indent-literal-minimized, rst-indent-comment): Change,
1280 extend and improve customization.
1282 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1283 (rst-normalize-cursor-position, rst-get-decoration)
1284 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1285 (rst-rstrip, rst-toc-insert-find-delete-contents)
1286 (rst-shift-fill-region, rst-compute-bullet-tabs)
1287 (rst-debug-print-tabs, rst-debug-mark-found)
1288 (rst-shift-region-guts, rst-shift-region-right)
1289 (rst-shift-region-left, rst-use-char-classes)
1290 (rst-font-lock-keywords-function)
1291 (rst-font-lock-indentation-point)
1292 (rst-font-lock-find-unindented-line-begin)
1293 (rst-font-lock-find-unindented-line-end)
1294 (rst-font-lock-find-unindented-line)
1295 (rst-font-lock-adornment-point, rst-font-lock-level)
1296 (rst-adornment-level-alist): Remove functions and variables.
1298 (rst-compare-adornments, rst-get-adornment-match)
1299 (rst-suggest-new-adornment, rst-get-adornments-around)
1300 (rst-adornment-complete-p, rst-get-next-adornment)
1301 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1302 (rst-straighten-adornments): Standardize function names to
1303 use "adornment" instead of "decoration". Correct callers.
1304 Similar standardizing in many places.
1306 (rst-update-section, rst-adjust, rst-promote-region)
1307 (rst-enumerate-region, rst-bullet-list-region)
1308 (rst-repeat-last-character): Correct use of `interactive'.
1310 (rst-classify-adornment, rst-find-all-adornments)
1311 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1312 (rst-find-leftmost-column, rst-repeat-last-character):
1315 (rst-find-title-line, rst-reset-section-caches)
1316 (rst-get-adornments-around, rst-adjust-adornment-work)
1317 (rst-arabic-to-roman, rst-roman-to-arabic)
1318 (rst-insert-list-pos, rst-insert-list-new-item)
1319 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1322 (rst-all-sections, rst-section-hierarchy)
1323 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1326 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1327 configuration instead of only buffer. Change where necessary.
1329 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1330 (rst-shift-region, rst-adaptive-fill): New functions for
1331 indentation and filling.
1333 (rst-comment-line-break, rst-comment-indent)
1334 (rst-comment-insert-comment, rst-comment-region)
1335 (rst-uncomment-region): New functions for handling comments.
1337 (rst-compile): Quote shell arguments.
1339 (rst-compile-pdf-preview, rst-compile-slides-preview):
1340 Delete temporary files after use.
1342 2012-05-05 Glenn Morris <rgm@gnu.org>
1344 * calendar/cal-html.el: Optionally include holidays in the output.
1345 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1346 (cal-html-holidays): New option.
1347 (cal-html-css-default): Add holiday entry.
1348 (holiday-in-range): Autoload it.
1349 (cal-html-htmlify-entry): Add optional class argument.
1350 (cal-html-htmlify-list): Add optional holidays argument.
1351 (cal-html-insert-agenda-days): Include holidays in the output.
1352 (cal-html-one-month): Maybe include holidays.
1354 * calendar/holidays.el (holiday-in-range):
1355 Move here from cal-tex-list-holidays.
1356 * calendar/cal-tex.el (cal-tex-list-holidays):
1357 Make it an obsolete alias for holiday-in-range. Update all callers.
1359 2012-05-05 Chong Yidong <cyd@gnu.org>
1361 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1364 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1366 * files.el (file-auto-mode-skip): New var.
1367 (set-auto-mode-1): Use it.
1369 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * repeat.el: Use lexical-binding.
1372 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1373 (repeat-undo-count): Remove.
1375 * progmodes/octave-mod.el (octave-abbrev-start):
1376 * progmodes/f90.el (f90-abbrev-start):
1377 * face-remap.el (text-scale-adjust):
1378 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1380 * emacs-lisp/pcase.el (pcase--let*): New function.
1381 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1383 (pcase--split-pred): Be more clever about ruling out overlap between
1384 a predicate and some constant pattern.
1385 (pcase--q1): Use `null' instead of (eq foo nil).
1387 * subr.el (setq-local, defvar-local): New macros.
1388 (kbd): Redefine as an alias.
1389 (with-selected-window): Leave unrelated frames alone.
1390 (set-temporary-overlay-map): New function.
1392 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * subr.el (user-error): New function.
1395 * window.el (switch-to-buffer):
1396 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1397 (smerge-match-conflict):
1398 * simple.el (previous-matching-history-element)
1399 (next-matching-history-element, goto-history-element, undo-more)
1401 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1402 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1403 (next-file, tags-loop-scan, list-tags, complete-tag):
1404 * progmodes/compile.el (compilation-loop):
1405 * mouse.el (mouse-minibuffer-check):
1406 * man.el (Man-bgproc-sentinel, Man-goto-page):
1407 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1408 (Info-history-forward, Info-follow-reference, Info-menu)
1409 (Info-extract-menu-item, Info-extract-menu-counting)
1410 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1411 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1412 (Info-next-reference, Info-prev-reference, Info-index)
1413 (Info-index-next, Info-follow-nearest-node)
1414 (Info-copy-current-node-name):
1415 * imenu.el (imenu--make-index-alist)
1416 (imenu-default-create-index-function, imenu-add-to-menubar):
1417 * files.el (basic-save-buffer, recover-file):
1418 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1419 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1420 (checkdoc-message-text, checkdoc-defun):
1421 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1422 * cus-edit.el (customize-changed-options, customize-rogue)
1423 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1424 (custom-variable-mark-to-reset-standard)
1425 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1427 * completion.el (check-completion-length):
1428 * comint.el (comint-search-arg)
1429 (comint-previous-matching-input-string-position)
1430 (comint-previous-matching-input)
1431 (comint-replace-by-expanded-history-before-point, comint-send-input)
1432 (comint-copy-old-input, comint-backward-matching-input)
1433 (comint-goto-process-mark, comint-set-process-mark):
1434 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1435 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1437 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * dabbrev.el (dabbrev--ignore-case-p): New function.
1440 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1443 * files.el (automount-dir-prefix): Mark as obsolete.
1445 2012-05-04 Glenn Morris <rgm@gnu.org>
1447 * patcomp.el, play/bruce.el: Move to obsolete/.
1449 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1451 Fix minor Y10k bugs.
1452 * arc-mode.el (archive-unixdate):
1453 * autoinsert.el (auto-insert-alist):
1454 * calc/calc-forms.el (math-this-year):
1455 * emacs-lisp/copyright.el (copyright-current-year)
1456 (copyright-update-year, copyright):
1457 * tar-mode.el (tar-clip-time-string):
1458 * time.el (display-time-update):
1459 Don't assume years have 4 digits.
1461 2012-05-04 Chong Yidong <cyd@gnu.org>
1463 * dos-w32.el (file-name-buffer-file-type-alist)
1464 (direct-print-region-use-command-dot-com):
1465 * ffap.el (ffap-menu-regexp):
1466 * find-file.el (ff-special-constructs):
1467 * follow.el (follow-debug):
1468 * forms.el (forms--debug):
1469 * iswitchb.el (iswitchb-all-frames):
1470 * ido.el (ido-all-frames):
1471 * emacs-lisp/timer.el (timer-max-repeats):
1472 * mail/feedmail.el (feedmail-mail-send-hook)
1473 (feedmail-mail-send-hook-queued):
1474 * mail/footnote.el (footnote-signature-separator):
1475 * mail/mailabbrev.el (mail-alias-separator-string)
1476 (mail-abbrev-mode-regexp):
1477 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1478 * progmodes/idlwave.el (idlwave-libinfo-file)
1479 (idlwave-default-completion-case-is-down)
1480 (idlwave-library-routines): Convert defvars to defcustoms.
1482 * mail/rmail.el (rmail-decode-mime-charset):
1483 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1484 (idlwave-shell-fix-inserted-breaks)
1485 (idlwave-shell-activate-alt-keybindings)
1486 (idlwave-shell-use-breakpoint-glyph):
1487 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1489 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1493 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1495 * progmodes/verilog-mode.el (font-lock-keywords):
1496 Fix mis-highligting auto. Reported by Craig Barner.
1497 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1498 defines from global name space. Reported by Dan Dever.
1499 (verilog-auto-reset, verilog-auto-reset-widths)
1500 (verilog-auto-tieoff): Support using unbased numbers for
1501 AUTORESET and AUTOTIEOFF.
1502 (verilog-submit-bug-report): Update variable list.
1503 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1504 parenthesis from not matching. Reported by Michael Rytting.
1505 (verilog-auto-template-lint): Fix hash error when linting modules
1506 with no used templates.
1507 (verilog-warn, verilog-warn-error)
1508 (verilog-warn-fatal): When non-interactive report multiple
1509 warnings before exiting. Suggested by Brad Dobbie.
1510 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1511 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1512 to report unused template errors. Reported by Brad Dobbie.
1513 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1514 nets, bug438. Reported by Vns Blore.
1515 (verilog-auto-inout-module, verilog-auto-reg)
1516 (verilog-read-decls, verilog-read-sub-decls-sig)
1517 (verilog-signals-edit-wire-reg, verilog-signals-with):
1518 Fix passing of Verilog data types in ANSI input/output ports
1519 such as "output logic" into the AUTOs. Special case "wire" and
1520 "reg" for backwards compatibility presuming Verilog 2001.
1521 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1522 (verilog-preprocess): Fix replication of preprocess output.
1523 Reported by Brad Dobbie.
1524 (verilog-auto-inst-interfaced-ports):
1525 Create verilog-auto-inst-interfaced-ports, bug429.
1526 Reported by Julian Gorfajn.
1527 (verilog-after-save-font-hook)
1528 (verilog-before-save-font-hook): New variable.
1529 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1530 (verilog-save-font-mods): Wrap disabling fontification, reported
1532 (verilog-do-indent, verilog-pretty-declarations-auto)
1533 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1534 Reported by Pierre-David Pfister.
1535 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1536 of class declarations, bug292. Reported by Kevin Heilman.
1537 (verilog-read-decls): Fix 'parameter type' not appearing in
1538 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1539 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1540 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1541 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1542 Reported by David Kravitz.
1544 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1546 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1547 assignment with tests in ifs and for loops.
1548 (verilog-extended-complete-re, verilog-complete-reg): Change so
1549 that DPI inport functions don't look like fuction declarations.
1550 (verilog-pretty-expr): Don't line up assignment
1551 operations to the test and increment in if and for loops
1552 (verilog-extended-complete-re, verilog-complete-reg): Change so
1553 that DPI inport functions don't look like fuction declarations
1555 2012-05-03 Kenichi Handa <handa@m17n.org>
1557 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1558 decoding, and show a warning message without signaling an error
1561 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * emacs-lisp/bytecomp.el
1564 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1565 since cconv.el might have introduced :fun-body, internal-make-closure,
1566 and friends for bytecomp to handle (bug#11391).
1567 * custom.el (defcustom): Avoid ((λ ..) ..).
1569 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1573 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1575 * notifications.el (dbus-debug):
1576 * term/linux.el (gpm-mouse-enable):
1577 * term/screen.el (xterm-register-default-colors): Declare.
1579 2012-05-02 Chong Yidong <cyd@gnu.org>
1581 * cus-start.el (gc-cons-percentage, exec-suffixes)
1582 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1583 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1584 (make-cursor-line-fully-visible, void-text-area-pointer)
1585 (font-list-limit): Add customization data.
1587 * allout.el (allout-exposure-change-functions)
1588 (allout-structure-added-functions)
1589 (allout-structure-deleted-functions)
1590 (allout-structure-shifted-functions): Rename abnormal hooks from
1591 *-hook, and convert to defcustoms.
1592 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1593 Convert to defcustoms.
1594 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1596 * allout-widgets.el: Hook callers changed.
1598 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1600 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1601 the yanked message in preference to the default value of
1602 buffer-file-coding-system.
1604 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1606 * window.el (display-buffer--action-function-custom-type):
1609 2012-05-02 Alan Mackenzie <acm@muc.de>
1611 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1613 2012-05-01 Glenn Morris <rgm@gnu.org>
1615 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1617 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1619 * cus-edit.el (custom-variable-documentation): Simplify with format.
1621 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1622 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * simple.el (suggest-key-bindings, execute-extended-command):
1625 Move from keyboard.c.
1627 2012-05-01 Chong Yidong <cyd@gnu.org>
1629 * follow.el: Eliminate advice.
1630 (set-process-filter, process-filter, sit-for): Advice deleted.
1631 (follow-mode-off-hook): Obsolete hook removed.
1632 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1634 (follow-auto): Use a :set function.
1635 (follow-mode): Rewritten. Don't advise process filters.
1636 (follow-switch-to-current-buffer-all, follow-scroll-up)
1637 (follow-scroll-down): Assume follow-mode is bound.
1638 (follow-comint-scroll-to-bottom)
1639 (follow-align-compilation-windows): New functions.
1640 (follow--window-sorter): New function.
1641 (follow-all-followers): Use it to explicitly sort windows by their
1642 positions; don't make assumptions about next-window order.
1643 (follow-windows-start-end, follow-delete-other-windows-and-split)
1644 (follow-calc-win-start): Doc fix.
1645 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1646 vertical-motion unnecessarily.
1647 (follow-adjust-window): New function.
1648 (follow-post-command-hook): Use it.
1649 (follow-call-set-process-filter, follow-call-process-filter)
1650 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1651 (follow-stop-intercept-process-output, follow-generic-filter):
1653 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1654 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1655 New functions, replacing advice on scroll-bar-* commands.
1656 (follow-mwheel-scroll): New function (Bug#4112).
1658 * comint.el (comint-adjust-point): New function.
1659 (comint-postoutput-scroll-to-bottom): Use it.
1660 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1662 2012-05-01 Glenn Morris <rgm@gnu.org>
1664 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1665 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1666 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1667 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1668 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1669 Remove no-byte-compile setting.
1671 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1673 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1674 all-completions code to not return a number in the last cdr.
1676 2012-04-30 Leo Liu <sdl.web@gmail.com>
1678 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1681 2012-04-29 Chong Yidong <cyd@gnu.org>
1683 * follow.el (follow-calc-win-end): Rewrite to handle partial
1684 screen lines correctly (Bug#8390).
1685 (follow-avoid-tail-recenter): Minor cleanup.
1687 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1689 Avoid the obsolete `assoc' package.
1690 * speedbar.el (speedbar-refresh): Avoid adelete.
1691 (speedbar-file-lists): Simplify and avoid aput.
1692 * man.el (Man--sections, Man--refpages): New vars, replacing
1693 Man-sections-alist and Man-refpages-alist.
1694 (Man-build-section-alist, Man-build-references-alist):
1695 Use them; avoid aput.
1696 (Man--last-section, Man--last-refpage): New vars.
1697 (Man-follow-manual-reference): Use them.
1698 Use the `default' arg of completing-read.
1699 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1701 2012-04-27 Chong Yidong <cyd@gnu.org>
1703 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1705 * startup.el (x-apply-session-resources): New function.
1707 * term/ns-win.el (ns-initialize-window-system):
1708 * term/w32-win.el (w32-initialize-window-system):
1709 * term/x-win.el (x-initialize-window-system): Use it to properly
1710 set menu-bar-mode and other vars from X resources, even if the
1711 initial frame is not a window-system frame (Bug#2299).
1713 * subr.el (read-key): Avoid running filter function when setting
1714 up temporary tool bar entries (Bug#9922).
1716 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1718 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1721 2012-04-27 Chong Yidong <cyd@gnu.org>
1723 * select.el (xselect--encode-string): New function, split from
1724 xselect-convert-to-string.
1725 (xselect-convert-to-string): Use it.
1726 (xselect-convert-to-filename, xselect-convert-to-os)
1727 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1728 returned strings are properly encoded (Bug#11315).
1730 2012-04-27 Chong Yidong <cyd@gnu.org>
1732 * simple.el (delete-active-region): Move to killing custom group.
1734 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1736 * progmodes/which-func.el (which-func-current): Quote %
1737 characters for mode-line processing.
1739 2012-04-27 Chong Yidong <cyd@gnu.org>
1741 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1742 reaching eob (Bug#11286).
1744 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1746 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1747 (gdb): Make it buffer-local and init to zero.
1748 (gdb-control-commands-regexp): New variable.
1749 (gdb-send): Don't wrap in "-interpreter-exec console" if
1750 gdb-control-level is positive. Increment gdb-control-level
1751 whenever the command matches gdb-control-commands-regexp, and
1752 decrement it each time the command is "end". (Bug#11279)
1754 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1756 * window.el (adjust-window-trailing-edge, enlarge-window)
1757 (shrink-window, window-resize):
1758 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1759 windows (Bug#11276).
1761 2012-04-27 Chong Yidong <cyd@gnu.org>
1763 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1764 fix "missing prefix" warning. All callers changed.
1766 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * emacs-lisp/assoc.el: Move to obsolete/.
1770 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1774 * term/ns-win.el (ns-define-service):
1775 * progmodes/pascal.el (pascal-goto-defun):
1776 * progmodes/js.el (js--read-tab):
1777 * progmodes/etags.el (tags-lazy-completion-table):
1778 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1779 * emacs-lisp/ewoc.el (ewoc--wrap):
1780 * emacs-lisp/assoc.el (aput, adelete, amake):
1781 * doc-view.el (doc-view-convert-current-doc):
1782 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1784 2012-04-26 Chong Yidong <cyd@gnu.org>
1786 * image.el (image-type-from-buffer): Only return supported image
1789 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1790 value, for symmetry with diff-end-of-hunk.
1791 (diff-split-hunk, diff-find-source-location)
1792 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1793 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1794 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1795 compute the relevant hunk or file properly (Bug#6005).
1796 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1798 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * vc/vc.el: Replace lexical-let by lexical-binding.
1808 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1809 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1810 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1812 2012-04-26 Chong Yidong <cyd@gnu.org>
1814 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1815 (diff-mode-shared-map): Bind it to / and [remap undo].
1817 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1818 (ediff-window-setup-function): Use it as the default, to set up
1819 windows based on whether the current frame is graphical (Bug#2138).
1820 (ediff-choose-window-setup-function-automatically): Make obsolete.
1822 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1824 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * ffap.el: Remove old code for obsolete package.
1827 (ffap-complete-as-file-p): Remove.
1829 Use completion-table-with-quoting for comint and pcomplete.
1830 * comint.el (comint--unquote&requote-argument)
1831 (comint--unquote-argument, comint--requote-argument): New functions.
1832 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1833 (comint-quote-filename): Use regexp-opt-charset.
1834 (comint--common-suffix, comint--common-quoted-suffix)
1835 (comint--table-subvert): Remove.
1836 (comint-unquote-function, comint-requote-function): New vars.
1837 (comint--complete-file-name-data): Use them with
1838 completion-table-with-quoting.
1839 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1840 * pcomplete.el (pcomplete-arg-quote-list)
1841 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1842 (pcomplete-unquote-argument-function): Default to non-nil.
1843 (pcomplete-unquote-argument): Simplify.
1844 (pcomplete--common-quoted-suffix): Remove.
1845 (pcomplete-requote-argument-function): New var.
1846 (pcomplete--common-suffix): New function.
1847 (pcomplete-completions-at-point): Use completion-table-with-quoting
1848 and completion-table-subvert.
1850 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1851 (minibuffer--double-dollars): Preserve properties.
1852 (completion--sifn-requote): New function.
1853 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1855 * minibuffer.el: Add support for completion of quoted/escaped data.
1856 (completion-table-with-quoting, completion-table-subvert): New funs.
1857 (completion--twq-try, completion--twq-all): New functions.
1858 (completion--nth-completion): New function.
1859 (completion-try-completion, completion-all-completions): Use it.
1861 2012-04-25 Leo Liu <sdl.web@gmail.com>
1863 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1864 Use compilation-message if available to find real filename.
1866 2012-04-25 Chong Yidong <cyd@gnu.org>
1868 * vc/diff-mode.el (diff-setup-whitespace): New function.
1869 (diff-mode): Use it.
1871 * vc/diff.el (diff-sentinel):
1872 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1873 Whitespace mode variables based on diff style (Bug#8612).
1875 2012-04-25 Leo Liu <sdl.web@gmail.com>
1877 * progmodes/python.el (python-send-region): Add suffix .py to the
1880 * files.el (auto-mode-alist): Use javascript-mode instead.
1882 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1884 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1886 * soap-client.el (soap-resolve-references-for-sequence-type)
1887 (soap-resolve-references-for-array-type): Hack to prevent self
1888 references, see Bug#9.
1889 (soap-parse-envelope): Report the contents of the 'detail' node
1890 when receiving a fault reply.
1891 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1893 * soap-inspect.el (soap-sample-value-for-simple-type)
1894 (soap-inspect-simple-type): New function.
1896 * soap-client.el (soap-simple-type): New struct.
1897 (soap-default-xsd-types, soap-default-soapenc-types)
1898 (soap-decode-basic-type, soap-encode-basic-type):
1899 support unsignedInt and double basic types.
1900 (soap-resolve-references-for-simple-type)
1901 (soap-parse-simple-type, soap-encode-simple-type): New function.
1902 (soap-parse-schema): Parse xsd:simpleType declarations.
1904 * soap-client.el (soap-default-xsd-types)
1905 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1906 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1907 the local name of "soapenc:Array".
1908 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1909 decoding integer, byte and anyURI xsd types.
1911 2012-04-25 Chong Yidong <cyd@gnu.org>
1913 * cus-edit.el (custom-buffer-create-internal): Update header text.
1915 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1917 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1918 settings on 'system-type', not on 'window-system'. On MS-Windows,
1919 set interactive-mode on in GDB.
1921 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1924 (ruby-syntax-propertize-regexp): Remove.
1925 (ruby-syntax-propertize-function): Split regexp into chunks.
1926 Match following code directly.
1928 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1930 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1931 (ruby-syntax-propertize-regexp): New function.
1932 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1933 by a special keyword.
1935 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1936 (ruby-syntax-general-delimiters-goto-beg)
1937 (ruby-syntax-propertize-general-delimiters): New functions.
1938 (ruby-syntax-propertize-function): Use them to handle GDL.
1939 (ruby-font-lock-keywords): Move old handling of GDL...
1940 (ruby-font-lock-syntactic-keywords): .. to here.
1941 (ruby-calculate-indent): Adjust indentation for GDL.
1943 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1945 * notifications.el (top): Remove unneeded declarations.
1946 (notifications-specification-version): Change to "1.2".
1947 (notifications-interface, notifications-notify-method)
1948 (notifications-close-notification-method): Fix docstring.
1949 (notifications-get-capabilities-method): New defconst.
1950 (notifications-notify): Add :action-items, :resident and
1951 :transient hints. Change "image_data" to "image-data" and
1952 "image_path" to "image-path".
1953 (notifications-get-capabilities): New defun.
1955 2012-04-24 Leo Liu <sdl.web@gmail.com>
1957 * progmodes/python.el: Move hideshow setup to the end.
1959 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1961 * window.el (handle-select-window): Clear echo area since this is
1962 no more done by read_char (Bug#11304).
1964 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1967 and `/ M' to filter-derived-mode.
1968 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1969 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1970 (ibuffer-mark-by-mode): Use default rather than initial-input.
1971 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1973 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1975 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1976 (ibuffer-filter-by-derived-mode): New filter.
1977 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1979 2012-04-23 Andreas Politz <politza@fh-trier.de>
1981 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1983 2012-04-23 Chong Yidong <cyd@gnu.org>
1985 * cus-edit.el (customize-apropos, customize-apropos-options):
1986 Disable matching of non-option variables (Bug#11176).
1987 (customize-option, customize-option-other-window)
1988 (customize-changed-options): Doc fix.
1989 (customize-apropos-options, customize-apropos-faces)
1990 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1992 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1993 Fix word list splitting (Bug#11132).
1994 (apropos-symbol, apropos-keybinding, apropos-label)
1995 (apropos-property, apropos-function-button)
1996 (apropos-variable-button, apropos-misc-button): New faces.
1997 (apropos-symbol-face, apropos-keybinding-face)
1998 (apropos-label-face, apropos-property-face, apropos-match-face):
1999 Variables removed (Bug#8396).
2000 (apropos-library-button, apropos-format-plist, apropos-print)
2001 (apropos-print-doc, apropos-describe-plist): Callers changed.
2003 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2005 * net/xesam.el (xesam-mode-map): Use let-bound map in
2006 initialization. (Bug#11292)
2008 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2010 Preserve ispell session localwords when switching back to
2013 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2014 variable to hold buffer session localwords.
2015 (ispell-kill-ispell): add option 'clear to delete session
2017 (ispell-command-loop, ispell-change-dictionary)
2018 (ispell-buffer-local-words): Preserve session localwords when
2021 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2022 Preserve session localwords when needed.
2024 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2026 * ispell.el (ispell-insert-word) Remove unneeded function using
2027 obsolete `translation-table-for-input'.
2028 (ispell-word, ispell-process-line, ispell-complete-word):
2029 Use plain `insert' instead of removed `ispell-insert-word'.
2031 2012-04-22 Chong Yidong <cyd@gnu.org>
2033 * cus-edit.el (custom-variable-menu)
2034 (custom-variable-reset-saved, custom-face-menu)
2035 (custom-face-reset-saved): If there is no saved value, make the
2036 "reset-saved" operation bring back the default (Bug#9509).
2037 (custom-face-state): Properly detect themed faces.
2039 * faces.el (face-spec-set): Stop supporting deprecated form of
2042 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2044 Move functions from C to Lisp. Make non-blocking method calls
2045 the default. Implement further D-Bus standard interfaces.
2047 * net/dbus.el (dbus-message-internal): Declare function.
2048 Remove unneeded function declarations.
2049 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2050 (dbus-message-type-method-return, dbus-message-type-error)
2051 (dbus-message-type-signal): Declare variables. Remove local
2053 (dbus-interface-dbus, dbus-interface-peer)
2054 (dbus-interface-introspectable, dbus-interface-properties)
2055 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2057 (dbus-interface-objectmanager): New defconst.
2058 (dbus-call-method, dbus-call-method-asynchronously)
2059 (dbus-send-signal, dbus-method-return-internal)
2060 (dbus-method-error-internal, dbus-register-service)
2061 (dbus-register-signal, dbus-register-method): New defuns, moved
2063 (dbus-call-method-handler, dbus-setenv)
2064 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2066 (dbus-call-method-non-blocking): Make it an obsolete function.
2067 (dbus-unregister-object, dbus-unregister-service)
2068 (dbus-handle-event, dbus-register-property)
2069 (dbus-property-handler): Obey the new structure of
2070 `bus-registered-objects'.
2071 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2072 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2073 Use `dbus-call-method'.
2075 2012-04-22 Chong Yidong <cyd@gnu.org>
2077 * cus-edit.el (custom-commands, custom-reset-menu)
2078 (Custom-reset-standard): Tweak labels.
2079 (custom-reset-button-menu): Change default to t.
2080 (custom-buffer-create-internal): For the custom-reset-button-menu
2081 case, put the revert button first.
2082 (custom-group-subtitle): New face.
2083 (custom-group-value-create): Align docstring to a specific column.
2085 * wid-edit.el (widget-documentation-link-add): Don't handle
2086 indentation in this function.
2087 (widget-documentation-string-indent-to): New function.
2088 (widget-documentation-string-value-create): Use it.
2090 * autorevert.el (auto-revert):
2091 * epg-config.el (epg):
2092 * ibuffer.el (ibuffer):
2095 * eshell/eshell.el (eshell):
2096 * net/ange-ftp.el (ange-ftp):
2097 * progmodes/ebnf2ps.el (postscript):
2098 * progmodes/flymake.el (flymake):
2099 * progmodes/prolog.el (prolog):
2100 * progmodes/verilog-mode.el (verilog-mode):
2101 * progmodes/which-func.el (which-func):
2102 * term/xterm.el (xterm):
2103 * textmodes/picture.el (picture):
2104 * textmodes/tildify.el (tildify):
2105 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2106 customization buffers.
2108 2012-04-22 Alan Mackenzie <acm@muc.de>
2110 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2111 Adding a ) can hide the resulting (..) from searches. Fix it.
2112 Bound the backward search to the position of the existing (.
2114 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2116 * progmodes/verilog-mode.el (verilog-mode): Check whether
2117 which-func-modes is t before adding verilog-mode.
2118 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2120 2012-04-21 Leo Liu <sdl.web@gmail.com>
2122 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2124 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2126 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2127 filling of the last column of a table (Bug#5635).
2128 (woman-find-next-control-line): New arg, specifying an additional
2129 regexp component for the control line.
2130 (woman2-roff-buffer): Use it.
2131 (woman-break-table): New function.
2132 (woman2-TS): Use it.
2134 2012-04-21 Chong Yidong <cyd@gnu.org>
2136 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2137 (woman-horizontal-escapes, woman-negative-vertical-space)
2138 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2139 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2141 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * minibuffer.el (completion-file-name-table): Complete user names.
2145 2012-04-20 Leo Liu <sdl.web@gmail.com>
2147 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2150 2012-04-20 Chong Yidong <cyd@gnu.org>
2152 * server.el (server-execute): Respect initial-buffer-choice if it
2153 is a string and there are no files to open (Bug#2825).
2154 (server-create-window-system-frame, server-create-tty-frame):
2155 Don't switch buffers here.
2156 (server-process-filter): Only try to open a window system frame if
2157 compiled with graphical support (Bug#8314).
2159 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2161 * battery.el (battery-echo-area-format): Display remaining time
2162 for sysfs backend too (Bug#11269).
2163 (battery-linux-sysfs): Fix conditional for the charge.
2165 2012-04-20 Chong Yidong <cyd@gnu.org>
2167 * progmodes/gdb-mi.el (gdb): Revert previous change.
2168 (gdb-inferior-io--init-proc): New function.
2169 (gdb-init-1): Use it.
2170 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2171 responsible for allocating a new pty and hooking it to gdb when
2172 the old pty gets an EIO due to process exit.
2173 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2174 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2175 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2177 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2179 * window.el (window-min-size, window-sizable, window-min-delta)
2180 (window-max-delta, window--resizable, window-resizable)
2181 (window-total-size, window-full-height-p, window-full-width-p)
2182 (window-in-direction, window--resize-mini-window, window-resize)
2183 (window--resize-child-windows-normal)
2184 (window--resize-child-windows, window--resize-siblings)
2185 (window--resize-this-window, adjust-window-trailing-edge)
2186 (enlarge-window, shrink-window): Doc fixes.
2188 2012-04-20 Chong Yidong <cyd@gnu.org>
2190 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2191 New function to call delete-process on the gdb-inferior buffer's pty.
2192 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2193 pty process (Bug#11273).
2194 (gdb-update): New arg to suppress talking to the gdb process.
2195 (gdb-done-or-error): Use it.
2196 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2197 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2198 sentinel not being called.
2200 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2202 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2204 2012-04-20 Glenn Morris <rgm@gnu.org>
2206 * net/network-stream.el (open-network-stream): Doc fix.
2208 2012-04-20 Chong Yidong <cyd@gnu.org>
2210 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2212 2012-04-20 Alan Mackenzie <acm@muc.de>
2214 Ensure searching for keywords is case sensitive.
2216 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2217 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2218 (c-defun-name, c-mark-function, c-cpp-define-name)
2219 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2220 (c-context-line-break): Bind case-fold-search to nil.
2222 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2223 Bind case-fold-search to nil.
2225 2012-04-20 Chong Yidong <cyd@gnu.org>
2227 * mail/sendmail.el (mail-bury): Call return action with the right
2228 Rmail buffer (Bug#11242).
2230 * server.el (server-process-filter): Handle corner case where both
2231 tty and nowait options are present (Bug#11102).
2233 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2235 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2236 (top level): Put into the executable the ident-style '$Id:' tag on
2239 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * electric.el (electric-indent-post-self-insert-function): Check that
2242 electric-indent-mode is enabled in current buffer.
2244 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2246 * imenu.el (imenu-progress-message): Restore; it is "used" in
2247 erc/erc-imenu.el and net/snmp-mode.el.
2249 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2251 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2252 (mouse-avoidance-nudge-mouse): Remove unused binding.
2254 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2256 * descr-text.el (describe-char):
2257 * progmodes/python.el (python-describe-symbol):
2258 Don't call `toggle-read-only', set `buffer-read-only'.
2260 * imenu.el (imenu-default-goto-function): Mark unused args.
2261 (imenu-progress-message): Remove obsolete macro; all callers changed.
2263 * subr.el (keymap-canonicalize): Remove unused binding.
2264 (read-passwd): Mark unused arg.
2266 * tutorial.el (tutorial--display-changes): Remove unused binding.
2267 (tutorial--save-tutorial-to): Remove unused variable.
2269 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2270 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2271 (package-generate-autoloads, package-menu--generate)
2272 (package-menu--find-upgrades): Remove unused bindings.
2274 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2275 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2276 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2277 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2278 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2279 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2280 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2281 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2282 (cua-delete-char-rectangle): Mark unused args.
2283 (cua-align-rectangle): Remove unused binding.
2285 * mail/rmail.el (compilation--message->loc)
2286 (epa--find-coding-system-for-mime-charset): Declare.
2288 * net/dbus.el (dbus-register-service): Declare.
2289 (dbus-name-owner-changed-handler): Remove unused binding.
2291 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2292 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2293 (nxml-scan-backward-within): Mark unused arg.
2294 (nxml-dynamic-markup-word): Remove unused binding.
2296 * mouse.el (mouse-menu-major-mode-map):
2297 * emacs-lisp/authors.el (authors-scan-change-log)
2298 (authors-add-to-author-list):
2299 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2300 * emacs-lisp/smie.el (smie-auto-fill):
2301 * mail/sendmail.el (mail-bury):
2302 * mail/unrmail.el (unrmail):
2303 * net/tls.el (open-tls-stream):
2304 * textmodes/picture.el (picture-mouse-set-point):
2305 Remove unused bindings.
2307 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2309 * net/tramp.el (tramp-action-password): Let-bind
2310 `enable-recursive-minibuffers' to t.
2312 2012-04-18 Sam Steingold <sds@gnu.org>
2314 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2315 instead of 'string to accommodate values like [f11].
2316 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2317 * progmodes/gdb-mi.el: Likewise.
2319 2012-04-18 Leo Liu <sdl.web@gmail.com>
2321 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2323 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2326 2012-04-18 Chong Yidong <cyd@gnu.org>
2328 * simple.el (line-move): Use forward-line if in batch mode
2331 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2333 * files.el (after-find-file): Do not try to add a final newline if
2334 the buffer is read-only (Bug#11156).
2336 2012-04-17 Richard Stallman <rms@gnu.org>
2338 * mail/rmail.el (rmail-start-mail):
2339 Pass (rmail-mail-return...) for the return-action.
2340 Pass (rmail-yank-current-message...) for the yank-action.
2341 (rmail-yank-current-message): New function.
2342 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2343 (rmail-reply): Likewise.
2344 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2346 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2347 buffer, not the last. Reject temp buffers. Use the rmail-mode
2350 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2352 * server.el (server-ensure-safe-dir): Simplify.
2354 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * emacs-lisp/smie.el: Provide smarter auto-filling.
2357 (smie-auto-fill): New function.
2358 (smie-setup): Use it.
2360 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2362 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2364 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2365 (comment-indent): Use it.
2367 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2369 * ses.el: The overall change is to add cell renaming, that is
2370 setting fancy names for cell symbols other than name matching
2371 "\\`[A-Z]+[0-9]+\\'" regexp .
2372 (ses-localvars): Add ses--renamed-cell-symb-list.
2373 (ses-create-cell-variable): New defun.
2374 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2375 (ses-relocate-formula): Relocate formulas only for cells the
2376 symbols of which are not renamed, i.e. symbols whose names do not
2377 match regexp "\\`[A-Z]+[0-9]+\\'".
2378 (ses-relocate-all): Relocate values only for cells the symbols of
2379 which are not renamed.
2380 (ses-load): Create cells variables as the (ses-cell ...) are read,
2381 in order to check row col consistency with cell symbol name only
2382 for cells that are not renamed.
2383 (ses-replace-name-in-formula): New defun.
2384 (ses-rename-cell): New defun.
2386 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2388 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2389 New option (bug#11118).
2390 (perl-calculate-indent): Respect it.
2392 2012-04-17 Glenn Morris <rgm@gnu.org>
2394 * dired-aux.el (dired-mark-read-string): Doc fix.
2396 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2398 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2399 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2401 2012-04-17 Glenn Morris <rgm@gnu.org>
2403 * mouse.el (mouse-drag-track):
2404 * speedbar.el (speedbar-frame-mode):
2405 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2407 2012-04-16 Leo Liu <sdl.web@gmail.com>
2409 * progmodes/python.el: Trivial cleanup.
2411 2012-04-16 Glenn Morris <rgm@gnu.org>
2413 * vc/vc.el (vc-string-prefix-p):
2414 * vc/pcvs-util.el (cvs-string-prefix-p):
2415 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2416 * mpc.el (mpc-string-prefix-p):
2417 Make all of these into obsolete aliases for string-prefix-p.
2419 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2421 * textmodes/two-column.el: Move custom options to the start.
2422 (frame-width): Remove compat definition.
2423 (2C-associate-buffer, 2C-dissociate):
2424 Use with-current-buffer rather than save-excursion.
2425 (2C-dissociate): Force a mode-line update.
2426 (2C-autoscroll): Use ignore-errors.
2428 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2431 * emacs-lisp/cl-extra.el (*random-state*):
2432 Remove unnecessary declaration.
2434 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2436 * play/cookie1.el (cookie-snarf):
2437 Give an explicit error if input file cannot be read.
2439 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2441 * progmodes/perl-mode.el (c-macro-expand):
2442 Remove unnecessary autoload (it is in loaddefs.el).
2444 * textmodes/picture.el (picture-desired-column)
2445 (picture-update-desired-column): Convert comments to doc-strings.
2446 (picture-substitute): Remove function.
2447 (picture-mode-map): Initialize in the defvar.
2449 * woman.el: Remove eval-after-load for tar-mode.
2450 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2451 (woman-tar-extract-file): Autoload it.
2453 * frame.el (automatic-hscrolling): Make this alias obsolete.
2455 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2457 * ispell.el (ispell-set-spellchecker-params): Post-process
2458 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2459 (ispell-dictionary-base-alist): Revert to original XEmacs
2460 friendly version for default. [:alpha:] will be added in
2461 `ispell-set-spellchecker-params' if needed
2463 2012-04-16 Chong Yidong <cyd@gnu.org>
2465 * image.el (imagemagick--extension-regexp): New variable.
2466 (imagemagick-register-types): Use it.
2467 (imagemagick-types-inhibit): Add :set function. Allow new value
2468 of t to inhibit all types.
2470 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2471 so we can preload it.
2473 * loadup.el (fboundp): Preload regexp-opt, needed by
2474 imagemagick-register-types.
2476 2012-04-15 Chong Yidong <cyd@gnu.org>
2478 * frame.el (scrolling): Remove nearly unused customization group.
2480 * scroll-all.el (scroll-all-mode): Move to windows group.
2482 2012-04-15 Chong Yidong <cyd@gnu.org>
2484 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2486 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2488 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2489 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2491 2012-04-15 Glenn Morris <rgm@gnu.org>
2493 * simple.el (process-file-side-effects): Doc fix.
2495 2012-04-15 Glenn Morris <rgm@gnu.org>
2497 * international/mule-cmds.el (set-language-environment): Doc fix.
2499 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2501 * server.el (server-auth-key, server-generate-key): Doc fixes.
2502 (server-get-auth-key): Doc fix. Use `string-match-p'.
2503 (server-start): Reflow docstring.
2505 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2507 * server.el (server-generate-key): `called-interactively-p'
2508 requires a parameter.
2510 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2512 * server.el (server-auth-key): New variable.
2513 (server-generate-key, server-get-auth-key): New function.
2514 (server-start): Use the new variable and functions to allow
2515 setting a permanent server key (bug#9423).
2517 2012-04-14 Leo Liu <sdl.web@gmail.com>
2519 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2521 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2524 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2525 Emacs uses American spelling.
2527 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2529 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2530 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2531 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2532 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2534 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * progmodes/which-func.el (which-func-modes): Change default.
2538 2012-04-14 Kim F. Storm <storm@cua.dk>
2540 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2541 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2543 2012-04-14 Chong Yidong <cyd@gnu.org>
2545 * custom.el (custom-theme-set-variables): Doc fix.
2547 2012-04-14 Glenn Morris <rgm@gnu.org>
2549 * international/mule.el (set-auto-coding-for-load): Doc fix.
2551 2012-04-14 Alan Mackenzie <acm@muc.de>
2553 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2554 imenu work again for Objective C Mode. Correct the *-index values,
2555 these having been disturbed by a previous change in 2011-08.
2557 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2558 Correct two search limits.
2560 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2564 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2566 * international/characters.el: Fix sorting.
2568 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2570 * international/characters.el: Add more missing Latin case pairs.
2572 2012-04-14 Glenn Morris <rgm@gnu.org>
2574 * files.el (dir-locals-set-class-variables): Doc fix.
2576 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2578 * international/characters.el: Add set-case-syntax-pair call for
2579 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2580 counterpart. (Bug#11209)
2582 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2584 2012-04-14 Glenn Morris <rgm@gnu.org>
2586 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2588 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2590 * textmodes/ispell.el (ispell-dictionary-base-alist):
2591 Add data for Hebrew.
2593 2012-04-14 Chong Yidong <cyd@gnu.org>
2595 * net/rcirc.el (rcirc-cmd-quit):
2596 Revert 2012-03-18 change (Bug#11192).
2598 2012-04-14 Glenn Morris <rgm@gnu.org>
2600 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2604 * minibuffer.el (completion-in-region-mode-map):
2605 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2607 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2609 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2611 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2613 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2614 to allow `C-M-f' and `C-M-b' to move to the nearest path
2615 separator (bug#9511).
2617 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2619 * avoid.el: Require cl when compiling. And also move the
2620 `provide' to the end.
2622 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2624 * avoid.el (mouse-avoidance-banish-position): New variable.
2625 (mouse-avoidance-banish-destination): Use it (bug#10165).
2627 2012-04-13 Leo Liu <sdl.web@gmail.com>
2629 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2631 2012-04-13 Ken Brown <kbrown@cornell.edu>
2633 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2634 this is no longer needed now that cygstart understands file:// URLs.
2635 (browse-url-filename-alist): For the same reason, don't modify
2636 file:// URLs on Cygwin.
2638 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2641 the region on shift if the binding is already shifted (bug#11221).
2643 2012-04-12 Glenn Morris <rgm@gnu.org>
2645 * mail/mailpost.el: Move to obsolete/.
2647 2012-04-12 Drew Adams <drew.adams@oracle.com>
2649 * imenu.el (imenu--generic-function): Ignore invisible definitions
2652 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2654 * hexl.el (hexl-bits): New variable.
2655 (hexl-options): Mention the variable in the doc string.
2656 (hexl-rulerise, hexl-line-displen): New functions.
2657 (hexl-mode): Mention the new variable.
2658 (hexl-mode, hexl-current-address, hexl-current-address):
2660 (hexl-ascii-start-column): New function.
2661 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2662 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2664 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2666 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2667 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2668 the encoding, as expected by hunspell.
2670 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * battery.el (battery--linux-sysfs-regexp): New const.
2673 (battery-status-function): Use it. Remove yeeloong special case.
2674 (battery-yeeloong-sysfs): Remove.
2675 (battery-echo-area-format): Remove yeeloong special case.
2677 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2680 Reported by Noah Friedman.
2682 * subr.el (read-passwd): Use read-string.
2684 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2686 * vcursor.el (vcursor-move): Increase the priority of the overlay
2689 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2691 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2692 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2694 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2696 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2697 define-minor-mode (bug#10760).
2699 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2701 * progmodes/grep.el (rgrep): Tweak the find command line so
2702 that directories matching `grep-find-ignored-files' won't be
2705 2012-04-11 Chong Yidong <cyd@gnu.org>
2707 * startup.el (command-line): Remove support for long-obsolete
2708 variable font-lock-face-attributes.
2710 2012-04-11 Glenn Morris <rgm@gnu.org>
2712 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2714 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * window.el (window--state-get-1): Obey window-point-insertion-type.
2718 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2720 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2721 to previous function when point is on the first character of a
2722 function. Take care of that in `narrow-to-defun' (bug#6157).
2724 2012-04-11 Glenn Morris <rgm@gnu.org>
2726 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2727 not just file-errors.
2729 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2730 (vc-bzr-sha1): Use internal sha1.
2732 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2736 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2738 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2739 that start in the middle of the line (bug#10496).
2741 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2743 * battery.el (battery-linux-proc-acpi): Only one battery is
2744 discharged at a time, but that seems to confuse battery.el when
2745 computing `rate-type' for the battery not being discharged
2748 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2750 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2752 * international/quail.el: Use dolist and simplify.
2753 (quail-define-package, quail-update-keyboard-layout)
2754 (quail-define-rules): Use dolist.
2755 (quail-insert-kbd-layout, quail-get-translation): CSE.
2757 * tmm.el: Use dolist, remove left over hook.
2758 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2760 (calendar-load-hook): Don't mess with it.
2762 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2763 Use derived-mode-p. Run the diff asynchronously.
2765 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2767 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2769 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2771 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2772 (list-dynamic-libraries--loaded): New function.
2773 (list-dynamic-libraries--refresh): Use it.
2775 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2777 * progmodes/python.el (python-fill-paragraph):
2778 Make python-fill-region in a multiline string work when font-lock is
2779 disabled (bug#7018).
2781 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2783 * language/european.el (cp775): Add oem/legacy (en)coding on
2784 DOS/MS Windows for the Baltic languages. There are still plenty
2785 of texts written in this encoding/codepage (bug#6519).
2787 2012-04-10 Glenn Morris <rgm@gnu.org>
2789 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2790 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2792 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2794 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2795 next-line "n" and previous-line "p" in order to make recentf more
2796 consistent with ibuffer, dired or org-mode (bug#9387).
2798 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800 * image.el (put-image): Return the overlay created instead of the
2801 optional input string (bug#7834). Note that this may break code
2802 that is (for some reason or other) depending on `put-image'
2803 returning the string.
2805 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2807 * simple.el (zap-to-char): Allow zapping using input methods
2810 * textmodes/fill.el (fill-region): Leave point and mark where they
2811 were before filling (bug#5399).
2813 2012-04-09 Glenn Morris <rgm@gnu.org>
2815 * version.el (emacs-bzr-get-version):
2816 Handle lightweight checkouts of local branches.
2818 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2820 * international/characters.el: Recover lost case pairs. (Bug#11209)
2822 2012-04-09 Chong Yidong <cyd@gnu.org>
2824 * custom.el (custom-variable-p): Return nil for non-symbol
2825 arguments instead of signaling an error.
2826 (user-variable-p): Obsolete alias for custom-variable-p.
2828 * apropos.el (apropos-variable):
2829 * files-x.el (read-file-local-variable):
2830 * simple.el (set-variable):
2831 * woman.el (woman-mini-help):
2832 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2834 2012-04-09 Glenn Morris <rgm@gnu.org>
2836 * startup.el (normal-top-level): Don't look for leim-list.el
2837 in places where it will not be found. (Bug#910)
2839 * international/mule-cmds.el (set-default-coding-systems):
2840 * files.el (normal-mode):
2841 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2842 This function was removed with ucs-tables.el in 2008.
2844 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2846 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2847 ispell-encoding8-command to "-i", without a trailing space.
2848 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2849 separate command-line arguments, to specify the encoding, since
2850 that's how hunspell expects it.
2852 2012-04-08 Glenn Morris <rgm@gnu.org>
2854 * loadup.el: Load bindings before cus-start.
2855 This reduces somewhat the number of "rogue" settings in emacs -Q.
2857 2012-04-07 Glenn Morris <rgm@gnu.org>
2859 * version.el (emacs-bzr-get-version): New function.
2860 (emacs-bzr-version): New variable.
2861 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2862 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2864 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2866 * international/uni-bidi.el, international/uni-category.el:
2867 * international/uni-combining.el, international/uni-decimal.el:
2868 * international/uni-decomposition.el, international/uni-digit.el:
2869 * international/uni-lowercase.el, international/uni-mirrored.el:
2870 * international/uni-name.el, international/uni-numeric.el:
2871 * international/uni-titlecase.el, international/uni-uppercase.el:
2872 Update for Unicode 6.1.
2874 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2876 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2878 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2880 * window.el (shrink-window): Mention the `window-min-height'
2881 variable in the doc string.
2883 2012-04-05 Bastien Guerry <bzg@altern.org>
2885 * color.el (color-lighten-name): Fix typo.
2887 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * server.el (server--on-display-p): New function.
2890 (server--on-display-p): Use it.
2892 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2894 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2897 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * comint.el (comint--common-quoted-suffix): Check string boundary
2900 before comparing (bug#11158).
2901 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2903 2012-04-04 Chong Yidong <cyd@gnu.org>
2905 * minibuffer.el (completion-extra-properties): Doc fix.
2907 * subr.el (delayed-warnings-hook): Doc fix.
2909 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2911 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2912 selection (Bug#11159).
2913 (epa-insert-keys): Inform that the default public key will be
2914 exported if no key is selected.
2916 2012-04-04 Richard Stallman <rms@gnu.org>
2918 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2920 2012-04-03 Chong Yidong <cyd@gnu.org>
2922 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2923 mail-insert-file, not its obsolete alias mail-attach-file.
2925 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2927 * notifications.el (notifications-notify): Fix docstring.
2929 2012-04-02 Glenn Morris <rgm@gnu.org>
2931 * emacs-lisp/authors.el (authors-aliases): Another addition.
2933 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2935 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2936 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2937 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2939 2012-04-01 Chong Yidong <cyd@gnu.org>
2941 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2942 Handle root directory properly.
2943 (copy-directory): Caller changed.
2945 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2946 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2948 2012-03-31 Glenn Morris <rgm@gnu.org>
2950 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2952 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2954 * calendar/calendar.el (calendar-window-list)
2955 (calendar-hide-window): Restore. (Bug#11140)
2956 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2958 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2960 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2962 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2963 Check if file is a symlink (Bug#10489).
2965 * files.el (copy-directory): Likewise.
2967 2012-03-30 Chong Yidong <cyd@gnu.org>
2969 * image.el (imagemagick-types-inhibit)
2970 (imagemagick-register-types): Doc fix.
2972 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2974 * ispell.el (ispell-get-extended-character-mode):
2975 Disable extended-char-mode for hunspell. hunspell does not support it
2976 and treats ~word as ordinary words in pipe mode.
2978 2012-03-30 Glenn Morris <rgm@gnu.org>
2980 * tutorial.el (help-with-tutorial): Ensure local variables don't
2981 happen to make the buffer read-only. (Bug#11127)
2983 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2986 (perl-calculate-indent): Return `noindent' in strings.
2988 2012-03-28 Sam Steingold <sds@gnu.org>
2990 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2991 instead of the broken adhockery which does not prevent calendar
2992 buffers from being displayed at random after exit.
2993 (calendar-window-list, calendar-hide-window): Remove the broken
2996 2012-03-28 Glenn Morris <rgm@gnu.org>
2998 * replace.el (query-replace-map): Doc fix.
3000 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3002 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3003 contents. (Bug#11109)
3005 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3009 (avl-tree--check, avl-tree--check-node): New funs.
3011 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3013 * window.el (switch-to-visible-buffer): New option.
3014 (switch-to-prev-buffer, switch-to-next-buffer):
3015 Observe switch-to-visible-buffer. Make sure that checking for a window
3016 showing a buffer already is done on the same frame.
3018 2012-03-27 Glenn Morris <rgm@gnu.org>
3020 * startup.el (mail-host-address): Doc fix.
3022 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3027 2012-03-26 Ami Fischman <ami@fischman.org>
3029 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3031 2012-03-26 Glenn Morris <rgm@gnu.org>
3033 * files.el (save-buffers-kill-emacs): Doc fix.
3035 * startup.el (normal-top-level, command-line, command-line-1):
3036 Give them doc strings.
3038 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3040 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3041 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3043 2012-03-25 Chong Yidong <cyd@gnu.org>
3045 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3046 theme if it was previously enabled before (Bug#11031).
3048 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3049 spec with custom-face-get-current-spec if its :shown-value is not
3050 determined yet (Bug#9337).
3051 (customize-create-theme, custom-theme-revert): Doc fixes.
3053 * button.el (button-at): Minor addition to docstring.
3055 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3057 * vc/vc.el (vc-merge): Fix a prompt.
3059 2012-03-24 Chong Yidong <cyd@gnu.org>
3061 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3064 * button.el (button-at): Minor addition to docstring.
3066 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * newcomment.el (comment-choose-indent): No space after BOL.
3070 2012-03-22 Sam Steingold <sds@gnu.org>
3072 * window.el (switch-to-prev-buffer): Revert last patch because the
3073 bug turned out to be an advertised feature (Elisp manual 28.14).
3075 2012-03-22 Glenn Morris <rgm@gnu.org>
3077 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3078 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3080 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3082 * net/network-stream.el (network-stream-open-starttls): Make error
3083 message under Windows be less misleading.
3085 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3087 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3088 understands (bug#9942).
3090 2012-03-22 Chong Yidong <cyd@gnu.org>
3092 * simple.el (end-of-visible-line): Handle return value of
3093 next-single-property-change properly (Bug#9371).
3095 2012-03-22 Kenichi Handa <handa@m17n.org>
3097 * international/quail.el (quail-insert-kbd-layout): Fix previous
3098 change. To avoid unwanted bidi reordering, use
3099 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3101 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3103 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3104 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3105 (ruby-beginning-of-indent): Be more careful with the difference
3106 between word-boundary and symbol boundary.
3107 (ruby-mode-syntax-table): Make : a symbol constituent.
3109 2012-03-21 Andreas Politz <politza@fh-trier.de>
3111 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3113 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3115 * progmodes/etags.el (tags-completion-at-point-function):
3118 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3120 2012-03-21 Sam Steingold <sds@gnu.org>
3122 * progmodes/etags.el (tags-completion-at-point-function):
3123 Avoid the error when point is inside the pattern.
3125 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3127 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3130 2012-03-21 Drew Adams <drew.adams@oracle.com>
3132 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3134 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3136 * ido.el (ido-set-current-directory, ido-read-internal)
3137 (ido-choose-completion-string, ido-completion-help): Handle nil
3138 value of ido-completion-buffer (Bug#11008).
3140 2012-03-21 Sam Steingold <sds@gnu.org>
3142 * window.el (switch-to-prev-buffer): Do not switch to a visible
3143 window previous buffer, just like with the frame previous buffers.
3145 2012-03-21 Chong Yidong <cyd@gnu.org>
3147 * faces.el (make-face, make-empty-face, copy-face):
3148 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3151 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3154 (widget-complete): Remove broken use of it.
3156 2012-03-20 Chong Yidong <cyd@gnu.org>
3158 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3159 Use string-width and truncate-string-width to handle arbitrary
3162 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3164 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3165 to draw rectangles, not squares. (Regression introduced by revno
3166 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3168 2012-03-18 Chong Yidong <cyd@gnu.org>
3170 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3171 it is not yet defined (for temacs).
3173 2012-03-18 Leo Liu <sdl.web@gmail.com>
3175 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3177 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3179 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3180 (ispell-choices-win-default-height, ispell-silently-savep)
3181 (ispell-dictionary-alist, ispell-encoding8-command)
3182 (ispell-check-version, ispell-aspell-find-dictionary)
3183 (ispell-valid-dictionary-list, ispell-words-keyword)
3184 (ispell-get-word, ispell-internal-change-dictionary)
3185 (ispell-region, ispell-skip-region-list)
3186 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3187 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3188 (ispell-message-text-end, ispell-message)
3189 (ispell-buffer-local-parsing): Doc fix.
3191 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3193 * htmlfontify.el: Add support for code block fontification for ODT
3195 (hfy-optimisations): Define new option
3197 (hfy-fontify-buffer): Honor above setting.
3198 (hfy-begin-span, hfy-end-span): New routines factored out form
3199 `hfy-fontify-buffer'.
3200 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3201 that permit insertion of custom tags.
3202 (hfy-fontify-buffer): Use above handlers.
3203 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3204 (hfy-face-to-css): Re-defined to be a variable.
3205 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3206 over multiple runs. This is made possible by having the caller let
3207 bind a special variable `hfy-user-sheet-assoc'.
3208 (htmlfontify-string): New defun.
3209 (hfy-compile-face-map): Make sure that the last char in the
3210 buffer is correctly fontified.
3211 (hfy-face-resolve-face): Whitespace only change.
3213 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3215 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3218 2012-03-16 Leo Liu <sdl.web@gmail.com>
3220 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3222 2012-03-16 Alan Mackenzie <acm@muc.de>
3224 Further optimise the handling of large macros.
3226 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3227 limit to a call of `c-literal-limits'.
3228 (c-determine-+ve-limit): New function.
3229 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3230 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3231 In CASE 5B, restrict a search limit to 500.
3232 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3234 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3235 Restrict macro bounds to +-500 from after-change's BEG END.
3237 2012-03-16 Leo Liu <sdl.web@gmail.com>
3239 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3241 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3243 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3244 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3246 2012-03-16 Glenn Morris <rgm@gnu.org>
3248 * view.el (view-buffer, view-buffer-other-window)
3249 (view-buffer-other-frame): Doc fixes re special mode-class.
3251 * subr.el (eval-after-load): If named feature is provided not from
3252 a file, run after-load forms. (Bug#10946)
3254 * calendar/calendar.el (calendar-insert-at-column):
3255 Handle non-unit-width characters a bit better. (Bug#10978)
3257 2012-03-15 Chong Yidong <cyd@gnu.org>
3259 * emacs-lisp/ring.el (ring-extend): New function.
3260 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3262 * comint.el (comint-read-input-ring)
3263 (comint-add-to-input-history): Grow comint-input-ring lazily.
3265 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3268 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3270 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3271 (imenu-add-to-menubar): Don't add a redundant index.
3272 (imenu-update-menubar): Handle a dynamically composed keymap.
3274 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3276 * mail/sendmail.el (mail-encode-header):
3277 Bind rfc2047-encode-encoded-words to nil.
3279 2012-03-13 Glenn Morris <rgm@gnu.org>
3281 * calendar/calendar.el (calendar-string-spread):
3282 Handle non-unit-width characters a bit better. (Bug#10978)
3284 2012-03-13 Leo Liu <sdl.web@gmail.com>
3286 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3287 directory and file as argument (Bug#10822).
3289 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3291 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3292 For dynamically generated code, follow $PC.
3293 (gdb-disassembly-handler-custom): Handle no function name case.
3295 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3297 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3298 * emulation/ws-mode.el (ws-query-replace):
3299 * sort.el (sort-regexp-fields):
3300 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3302 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * dabbrev.el: Fix cycle completion order (bug#10963).
3305 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3306 (dabbrev-completion): Don't use an obarray; provide
3307 a cycle-sort-function.
3309 2012-03-12 Leo Liu <sdl.web@gmail.com>
3311 * simple.el (kill-new): Use equal-including-properties for comparison.
3312 (kill-do-not-save-duplicates): Doc fix.
3314 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3316 * dabbrev.el: Fix cycle completion (bug#10963).
3317 Use lexical binding and wrap to 80 columns.
3318 (dabbrev-completion): Delay computing the list of completions.
3320 2012-03-12 Kenichi Handa <handa@m17n.org>
3322 * international/quail.el (quail-insert-kbd-layout): Surround each
3323 row by LRO and PDF instead of inserting many LRMs. Pad the left
3324 and right of each non-spacing marks. Insert invisible space
3325 between lower and upper characters to prevent composition.
3327 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * minibuffer.el (minibuffer-complete): Don't get confused when the
3330 function is run twice via different commands (bug#10958).
3331 (complete-with-action): Fix docstring.
3333 2012-03-12 Chong Yidong <cyd@gnu.org>
3335 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3336 (nxml-completion-at-point-function): New function.
3337 (nxml-mode): Use it.
3338 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3340 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3341 Load generated autoloads file before byte compiling (Bug#10970).
3342 (package--make-autoloads-and-compile): New helper fun.
3344 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3346 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3348 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3350 * autorevert.el (auto-revert-handler): Ensure, that
3351 file-readable-p is applied only for local files or in
3352 auto-revert-tail-mode.
3354 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3356 * server.el (server-eval-at): Handle non-tcp connections.
3357 Decode result string.
3359 * server.el (server-msg-size): New constant.
3360 (server-reply-print): New function.
3361 (server-eval-and-print): Use it.
3362 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3365 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3367 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3370 2012-03-11 Chong Yidong <cyd@gnu.org>
3372 * simple.el (goto-line): Doc fix (Bug#9938).
3374 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3376 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3377 when finished (Bug#10963).
3379 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3381 * window.el (split-window-below): Fix bug in case where
3382 split-window-keep-point is nil (Bug#10971).
3384 2012-03-11 Juri Linkov <juri@jurta.org>
3386 * replace.el (replace-highlight): Set isearch-word to nil
3387 unconditionally. (Bug#10887)
3389 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3391 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3392 mairix-replace-illegal-chars; all callers changed. Don't remove
3393 ^, ~, and = characters: they are meaningful in mairix search specs.
3394 (mairix-widget-create-query): Add usage information about mairix
3395 search forms: negating words, searching for substrings, etc.
3397 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3399 * international/fontset.el (font-encoding-alist): Add an entry for
3402 2012-03-10 Richard Stallman <rms@gnu.org>
3404 * mail/sendmail.el (mail-encode-header):
3405 Set rfc2047-encode-encoded-words.
3407 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3409 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3410 view buffer means not swapped.
3411 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3412 (rmail-write-region-annotate): Error if real text has disappeared.
3414 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3416 2012-03-10 Chong Yidong <cyd@gnu.org>
3418 * emulation/cua-rect.el (cua--init-rectangles):
3419 * emulation/cua-base.el (cua--init-keymaps):
3420 Add delete-forward-char to remappings (Bug#9666).
3422 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3424 * speedbar.el (speedbar-unhighlight-one-tag-line):
3425 Avoid unhighlighting due to frame switching (Bug#10275).
3427 2012-03-10 Chong Yidong <cyd@gnu.org>
3429 * minibuffer.el (completion-in-region, completion-help-at-point):
3430 Give the completion field overlay a high priority (Bug#6830).
3432 * dired.el (dired-goto-file): Recognize absolute file name
3433 listings (Bug#7126).
3434 (dired-goto-file-1): New helper function.
3435 (dired-toggle-read-only): Inhibit warnings.
3437 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3439 * net/dbus.el (dbus-property-handler): Return empty array if
3440 there are no properties.
3442 2012-03-09 Leo Liu <sdl.web@gmail.com>
3444 * savehist.el (savehist-printable): Stricter check for string
3447 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3449 * mail/smtpmail.el (smtpmail-send-it):
3450 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3453 2012-03-09 Glenn Morris <rgm@gnu.org>
3455 * files.el (dir-locals-find-file):
3456 Don't check result is regular, readable.
3457 (dir-locals-read-from-file): Demote errors.
3459 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3461 * international/quail.el (quail-insert-kbd-layout):
3462 Insert invisible LRM characters before each character in a keyboard
3463 layout cell, to prevent their reordering by bidi display engine.
3464 For details, see the discussion in
3465 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3467 2012-03-08 Alan Mackenzie <acm@muc.de>
3469 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3470 the starting position; make it extend the marked region when
3471 invoked repeatedly - all under appropriate circumstances.
3472 Fixes bugs #5525, #10906.
3474 2012-03-08 Glenn Morris <rgm@gnu.org>
3476 * files.el (locate-dominating-file, dir-locals-find-file):
3477 Undo 2012-03-06 change.
3479 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3481 * international/quail.el (quail-help):
3482 Force bidi-paragraph-direction be left-to-right. See discussion in
3483 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3486 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3488 Avoid superfluous registering of signals. (Bug#10807)
3490 * notifications.el (notifications-on-action-object)
3491 (notifications-on-close-object): New defvars.
3492 (notifications-on-action-signal, notifications-on-closed-signal):
3493 Unregister the signal if not needed any longer.
3494 (notifications-notify): Register `notifications-action-signal' or
3495 `notifications-closed-signal', if :on-action or :on-close has been
3498 2012-03-07 Chong Yidong <cyd@gnu.org>
3500 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3503 2012-03-06 Glenn Morris <rgm@gnu.org>
3505 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3506 (x-disown-selection-internal, x-get-selection-internal):
3507 Doc fix (add arglist signatures). (Bug#10783)
3509 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3511 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3512 Handle breakpoints with no "type".
3514 2012-03-06 Glenn Morris <rgm@gnu.org>
3516 * files.el (locate-dominating-file): Add optional predicate argument.
3517 (dir-locals-find-file): Make use of above change.
3519 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3521 * info.el (Info-insert-dir): Also try "dir.gz".
3523 2012-03-06 Glenn Morris <rgm@gnu.org>
3525 * files.el (dir-locals-find-file):
3526 Ignore non-readable or non-regular files. (Bug#10928)
3528 * files.el (locate-dominating-file): Doc fix.
3530 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3532 * calendar/calendar.el (calendar-set-mode-line):
3533 `getenv' returns a string. (Bug#10951)
3535 2012-03-05 Leo Liu <sdl.web@gmail.com>
3537 * simple.el (backward-delete-char-untabify): Constrain point to
3540 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3542 2012-03-05 Chong Yidong <cyd@gnu.org>
3544 * simple.el (count-words): If called from Lisp, return the word
3545 count, for symmetry with `count-lines'. Arglist changed.
3546 (count-words--message): Args changed. Consolidate counting code
3547 from count-words and count-words-region.
3548 (count-words-region): Caller changed.
3549 (count-lines-region): Make it an obsolete alias.
3551 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3553 * saveplace.el (save-place-to-alist)
3554 (save-place-ignore-files-regexp): Allow value nil to disable this
3557 2012-03-04 Chong Yidong <cyd@gnu.org>
3559 * faces.el (face-spec-reset-face): For the default face, reset the
3560 attributes to default values (Bug#10748).
3562 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3564 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3565 previous patch: Check `message-send-mail-function', and not the
3566 default function (bug#10897).
3568 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3570 * notifications.el (notifications-on-action-signal)
3571 (notifications-on-closed-signal): Check for unique service name of
3572 incoming event. Fix error in removing entry.
3573 (top): Register for signals with wildcard service name.
3574 (notifications-notify): Use daemon unique service name for map entries.
3576 2012-03-04 Chong Yidong <cyd@gnu.org>
3578 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3580 2012-03-04 Glenn Morris <rgm@gnu.org>
3582 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3583 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3584 (expand-abbrev, define-abbrev-table): Doc fixes.
3586 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3588 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3589 `message-default-send-mail-function' and not `send-mail-function'
3590 when doing the prompting for `sendmail-query-once' before sending
3591 in Message buffers (bug#10897).
3593 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3594 This is inconsistent with all the other stream functions, which leave
3595 the setting up to the higher levels (if so wanted) (bug#10931).
3597 2012-03-02 Alan Mackenzie <acm@muc.de>
3599 Depessimize the handling of very large macros.
3601 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3602 (c-macro-cache-syntactic): New variables to implement a one
3603 element macro cache.
3604 (c-invalidate-macro-cache): New function.
3605 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3606 Adapt to use the new cache.
3607 (c-state-safe-place): Use better the cache of safe positions.
3608 (c-state-semi-nonlit-pos-cache)
3609 (c-state-semi-nonlit-pos-cache-limit):
3610 New variables for...
3611 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3612 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3613 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3614 Use c-state-semi-safe-place.
3616 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3617 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3619 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3621 * jka-compr.el (jka-compr-call-process):
3622 Apply `file-accessible-directory-p' only when the default directory is
3625 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3627 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3628 access of FILE2, if FILE1 does not exist.
3630 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3631 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3633 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3634 Add "PAGER=" to `process-environment'.
3636 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3638 * progmodes/sql.el: Bug fix
3639 (sql-get-login-ext): Save login values in globals.
3640 (sql-get-login): Use new version of `sql-get-login-ext'.
3641 (sql-interactive-mode): Set global `sql-connection' to nil.
3642 (sql-connect): Set global values for connection.
3643 (sql-product-interactive): Save global values as buffer local.
3645 2012-02-29 Leo Liu <sdl.web@gmail.com>
3647 * abbrev.el (define-abbrevs): Reset sys to nil.
3649 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3651 * files.el (file-equal-p): Rename from `files-equal-p'.
3652 Return nil when one or both files don't exist.
3653 (file-subdir-of-p): Now only top directory must exists,
3654 return nil if it doesn't.
3655 (copy-directory): No need to test with `file-subdir-of-p' after
3657 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3660 2012-02-28 Glenn Morris <rgm@gnu.org>
3662 * shell.el (shell-mode):
3663 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3664 * play/landmark.el (landmark-font-lock-face-O):
3665 * play/handwrite.el (handwrite):
3666 * play/gomoku.el (gomoku-O):
3667 * net/browse-url.el (browse-url-browser-display):
3668 * international/mule.el (define-charset):
3669 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3670 * filesets.el (filesets-find-file-delay):
3671 * eshell/em-xtra.el (eshell-xtra):
3672 * eshell/em-unix.el (eshell-grep):
3673 * emulation/viper.el (viper-mode):
3674 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3675 * emacs-lisp/easymenu.el (easy-menu-define):
3676 * calendar/timeclock.el (timeclock-use-display-time):
3678 * bookmark.el (bookmark-save-flag):
3679 Doc fix (standardize possessive apostrophe usage).
3681 2012-02-27 Chong Yidong <cyd@gnu.org>
3683 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3684 Fix key-binding lookup for ESC key (Bug#9146).
3686 * font-lock.el (font-lock-specified-p): Rename from
3687 font-lock-spec-present. Callers changed.
3689 2012-02-27 Daniel Hackney <dan@haxney.org>
3691 * emacs-lisp/package.el (package-compute-transaction):
3692 Handle holding a package version to t in package-load-list.
3694 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3696 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3697 (tramp-get-inode, tramp-get-device): Use cached values.
3699 2012-02-26 Alan Mackenzie <acm@muc.de>
3701 Check there is a font-lock specification before doing initial
3704 * font-core.el (font-lock-mode): Move the conditional from
3705 :after-hook to font-lock-initial-fontify.
3706 (font-lock-default-function): Move the check for a specification
3707 to font-lock-spec-present.
3709 * font-lock.el (font-lock-initial-fontify): Call ...
3710 (font-lock-spec-present): New function.
3712 2012-02-26 Jim Blandy <jimb@red-bean.com>
3714 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3715 (gdb-send): Apply it to the operand of the '-interpreter-exec
3716 console' command, so that we can pass arguments with (say) quotes
3717 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3719 2012-02-26 Chong Yidong <cyd@gnu.org>
3721 * help-fns.el (describe-function-1): Clarify description of
3722 remapping (Bug#10844).
3724 * files.el (files-equal-p): Doc fix.
3725 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3726 and quit the loop once a mismatch is found.
3728 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3730 * bs.el (bs--show-with-configuration): Don't throw an error
3731 if the window cannot be split; otherwise, subsequent calls to
3732 bs-show fail, restoring a stale window config. (Bug#10882)
3734 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3736 * term/ns-win.el (global-map): Bind ns-drag-file to
3737 ns-find-file (Bug#5855, Bug#10050).
3739 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3741 * calendar/parse-time.el (parse-time-string): Allow extractor to
3744 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3746 * net/tramp.el (tramp-file-name-for-operation):
3747 Add `files-equal-p' and `file-subdir-of-p'.
3749 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3750 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3751 Add COPY-CONTENTS argument.
3753 2012-02-25 Chong Yidong <cyd@gnu.org>
3755 Add custom groups for VC backends, for consistency with vc-bzr.
3757 * vc/vc-arch.el (vc-arch):
3758 * vc/vc-cvs.el (vc-cvs):
3759 * vc/vc-git.el (vc-git):
3760 * vc/vc-hg.el (vc-hg):
3761 * vc/vc-mtn.el (vc-mtn):
3762 * vc/vc-rcs.el (vc-rcs):
3763 * vc/vc-sccs.el (vc-sccs):
3764 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3765 All relevant defcustoms reassigned.
3767 2012-02-25 Chong Yidong <cyd@gnu.org>
3769 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3771 * term/x-win.el (x-initialize-window-system): Reduce default for
3772 x-selection-timeout to 5 seconds (Bug#8869).
3774 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3776 * files.el (files-equal-p, file-subdir-of-p): New functions.
3777 (copy-directory): Error when trying to copy a directory on itself.
3778 Add missing copy-contents arg to tramp handler.
3779 * dired-aux.el (dired-copy-file-recursive): Same.
3780 (dired-create-files): Modify destination when source is equal to
3781 dest when copying files.
3782 Return also when dest is a subdir of source. (Bug#10489)
3784 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3786 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3789 2012-02-23 Alan Mackenzie <acm@muc.de>
3791 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3792 parameter "after-hook:" to allow the expansion to run code after
3793 the execution of the mode hooks.
3795 * font-lock.el (font-lock-initial-fontify): New function extracted
3796 from font-lock-mode-internal.
3798 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3801 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3803 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3804 (completion--cache-all-sorted-completions): New function.
3805 (completion-all-sorted-completions): Use it.
3806 (completion--do-completion, minibuffer-force-complete):
3807 Use it to re-instate the flush hook.
3809 * icomplete.el (icomplete-completions): Replace last fix with a better
3812 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3814 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3815 when it might call us back infinitely (bug#10797).
3817 2012-02-23 Glenn Morris <rgm@gnu.org>
3819 * minibuffer.el (completion-category-overrides): Doc fix.
3821 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3824 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3826 2012-02-23 Glenn Morris <rgm@gnu.org>
3828 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3829 (authors-obsolete-files-regexps, authors-ignored-files)
3830 (authors-ambiguous-files, authors-renamed-files-alist):
3833 2012-02-23 Juri Linkov <juri@jurta.org>
3835 * isearch.el (isearch-occur): Sync interactive spec with occur's
3836 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3838 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3840 2012-02-22 Juri Linkov <juri@jurta.org>
3842 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3843 (ucs-insert): Doc fix. Check for hex digits in the string.
3844 Don't display `nil' in the error message. (Bug#10857)
3846 2012-02-22 Alan Mackenzie <acm@muc.de>
3848 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3850 2012-02-22 Glenn Morris <rgm@gnu.org>
3852 * ffap.el (ffap-c-path):
3853 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3855 2012-02-22 Chong Yidong <cyd@gnu.org>
3857 * custom.el (load-theme): Doc fix.
3859 2012-02-22 Glenn Morris <rgm@gnu.org>
3861 * dired-x.el (dired-guess-shell-alist-default):
3862 Remove escape sequences from nroff output. (Bug#172)
3864 2012-02-21 Glenn Morris <rgm@gnu.org>
3866 * vc/emerge.el (emerge-defvar-local):
3867 Set `permanent-local' property rather than unused `preserved'.
3869 * textmodes/picture.el (picture-delete-char): New alias.
3870 (picture-mode-map): Use it. (Bug#10860)
3871 (picture-mode): Doc fix.
3873 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3875 * newcomment.el (uncomment-region-default): Remove unused binding.
3877 2012-02-21 Glenn Morris <rgm@gnu.org>
3879 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3880 (picture-self-insert, picture-tab-chars): Doc fix.
3881 (picture-mode-map): Fix C-a, C-e.
3883 2012-02-20 Glenn Morris <rgm@gnu.org>
3885 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3887 2012-02-20 Leo Liu <sdl.web@gmail.com>
3889 * icomplete.el (icomplete-completions): Check FROM arg before
3890 passing to substring (Bug#10850).
3892 2012-02-19 Chong Yidong <cyd@gnu.org>
3894 * comint.el: Require ansi-color.
3895 (comint-output-filter-functions): Add ansi-color-process-output.
3897 * ansi-color.el: Don't set comint-output-filter-functions; it is
3898 now in the initial value defined in comint.el.
3899 (ansi-color-apply-face-function): New variable.
3900 (ansi-color-apply-on-region): Use it.
3901 (ansi-color-apply-overlay-face): New function.
3903 * shell.el (shell): No need to require ansi-color.
3904 (shell-mode): Use ansi-color-apply-face-function to highlight
3905 color escapes using font-lock-face property (Bug#10835).
3907 2012-02-19 Chong Yidong <cyd@gnu.org>
3909 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3910 mode-line formats (Bug#10839).
3912 2012-02-18 Glenn Morris <rgm@gnu.org>
3914 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3916 * mail/undigest.el (unforward-rmail-message): Doc fix.
3918 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3920 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3922 * international/characters.el (script-list): Sync with the latest
3923 Unicode Character Database.
3925 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3927 * international/titdic-cnv.el: Remove duplicate coding tag.
3928 * language/cham.el: Likewise.
3929 * language/tai-viet.el: Likewise.
3931 2012-02-18 Glenn Morris <rgm@gnu.org>
3933 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3934 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3935 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3936 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3937 * calendar/holidays.el (holiday-bahai-holidays)
3938 (calendar-holidays, list-holidays):
3939 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
3941 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3943 * saveplace.el (save-place-ignore-files-regexp): New variable
3944 allowing for excluding files from saving their location of point.
3945 The default value matches the temporary commit message editing
3946 files from Git, SVN, Bazaar, and Mercurial.
3947 (save-place-to-alist): Use it.
3949 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3950 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * newcomment.el (uncomment-region-default): Don't leave extra space
3953 when an arg is provided (bug#8150).
3955 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3957 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3959 2012-02-17 Glenn Morris <rgm@gnu.org>
3961 * net/socks.el: Require network-stream. (Bug#10599)
3963 2012-02-17 Kenichi Handa <handa@m17n.org>
3965 * international/charprop.el:
3966 * international/uni-name.el:
3967 * international/uni-old-name.el:
3968 * international/uni-comment.el: Regenerate.
3970 2012-02-16 Glenn Morris <rgm@gnu.org>
3972 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3973 Interactively in calendar buffer, give an error if not on a date.
3975 2012-02-15 Glenn Morris <rgm@gnu.org>
3977 * shell.el (shell-delimiter-argument-list):
3978 Revert 2011-02-17 change. (Bug#8027)
3980 2012-02-15 Chong Yidong <cyd@gnu.org>
3982 * minibuffer.el (completion-at-point-functions): Doc fix.
3984 * custom.el (defcustom): Doc fix; note use of defvar.
3986 2012-02-15 Glenn Morris <rgm@gnu.org>
3988 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3991 2012-02-14 Glenn Morris <rgm@gnu.org>
3993 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3995 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3997 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3998 way the ports list is computed.
3999 (smtpmail-query-smtp-server): Prompt the user for a port number if
4000 we can't connect to any of the standard ports (bug#10810).
4002 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4004 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4006 2012-02-13 Glenn Morris <rgm@gnu.org>
4008 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4010 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4012 * net/gnutls.el (gnutls-trustfiles): New variable.
4013 (gnutls-negotiate): Use it.
4015 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4017 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4018 does its stuff if Gnus is running.
4020 2012-02-13 Alan Mackenzie <acm@muc.de>
4022 Fix a loop in c-set-fl-decl-start.
4024 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4025 c-backward-syntactic-ws actually moves backwards.
4027 2012-02-13 Leo Liu <sdl.web@gmail.com>
4029 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4030 beginning so that all \C-o chars are removed.
4032 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4034 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4036 2012-02-12 Alan Mackenzie <acm@muc.de>
4038 Fix infinite loop with long macros.
4039 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4041 2012-02-12 Chong Yidong <cyd@gnu.org>
4043 * window.el (display-buffer): Doc fix (Bug#10785).
4045 2012-02-12 Glenn Morris <rgm@gnu.org>
4047 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4048 (x-disown-selection-internal, x-get-selection-internal):
4049 Sync docs with the xselect.c versions.
4051 * allout-widgets.el: Add missing license notice.
4053 2012-02-11 Glenn Morris <rgm@gnu.org>
4055 * select.el (x-get-selection-internal, x-own-selection-internal)
4056 (x-disown-selection-internal):
4057 * x-dnd.el (x-get-selection-internal): Update declarations.
4059 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4061 * window.el (window-sides-slots):
4062 * tool-bar.el (tool-bar-position):
4063 * term/xterm.el (xterm-extra-capabilities):
4064 * ses.el (ses-self-reference-early-detection):
4065 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4066 (verilog-auto-wire-type)
4067 (verilog-auto-delete-trailing-whitespace)
4068 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4069 (verilog-auto-tieoff-declaration):
4070 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4071 (sql-oracle-statement-starters, sql-oracle-scan-on):
4072 * progmodes/prolog.el (prolog-align-comments-flag)
4073 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4074 (prolog-left-indent-regexp, prolog-paren-indent-p)
4075 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4076 (prolog-types, prolog-mode-specificators)
4077 (prolog-determinism-specificators, prolog-directives)
4078 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4079 (prolog-electric-dot-flag)
4080 (prolog-electric-dot-full-predicate-template)
4081 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4082 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4083 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4084 (prolog-program-switches, prolog-prompt-regexp)
4085 (prolog-debug-on-string, prolog-debug-off-string)
4086 (prolog-trace-on-string, prolog-trace-off-string)
4087 (prolog-zip-on-string, prolog-zip-off-string)
4088 (prolog-use-standard-consult-compile-method-flag)
4089 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4090 (prolog-imenu-max-lines, prolog-info-predicate-index)
4091 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4092 (prolog-char-quote-workaround):
4093 * progmodes/cc-vars.el (c-defun-tactic):
4094 * net/tramp.el (tramp-encoding-command-interactive)
4095 (tramp-local-end-of-line):
4096 * net/soap-client.el (soap-client):
4097 * net/netrc.el (netrc-file):
4098 * net/gnutls.el (gnutls):
4099 * minibuffer.el (completion-category-overrides)
4100 (completion-cycle-threshold)
4101 (completion-pcm-complete-word-inserts-delimiters):
4102 * man.el (Man-name-local-regexp):
4103 * mail/feedmail.el (feedmail-display-full-frame):
4104 * international/characters.el (glyphless-char-display-control):
4105 * eshell/em-ls.el (eshell-ls-date-format):
4106 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4107 (lisp-lambda-list-keyword-parameter-indentation)
4108 (lisp-lambda-list-keyword-parameter-alignment):
4109 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4110 * dired-x.el (dired-omit-verbose):
4111 * cus-theme.el (custom-theme-allow-multiple-selections):
4112 * calc/calc.el (calc-highlight-selections-with-faces)
4113 (calc-lu-field-reference, calc-lu-power-reference)
4114 (calc-note-threshold):
4115 * battery.el (battery-mode-line-limit):
4116 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4117 (archive-7z-update):
4118 * allout.el (allout-prefixed-keybindings)
4119 (allout-unprefixed-keybindings)
4120 (allout-inhibit-auto-fill-on-headline)
4121 (allout-flattened-numbering-abbreviation):
4122 * allout-widgets.el (allout-widgets-auto-activation)
4123 (allout-widgets-icons-dark-subdir)
4124 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4125 (allout-widgets-theme-dark-background)
4126 (allout-widgets-theme-light-background)
4127 (allout-widgets-item-image-properties-emacs)
4128 (allout-widgets-item-image-properties-xemacs)
4129 (allout-widgets-run-unit-tests-on-load)
4130 (allout-widgets-time-decoration-activity)
4131 (allout-widgets-hook-error-post-time)
4132 (allout-widgets-track-decoration):
4133 Add missing :version tags to new defcustoms and defgroups.
4135 * progmodes/sql.el (sql-ansi-statement-starters)
4136 (sql-oracle-statement-starters): Add custom type.
4138 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4139 (prolog-system-version): Give it a type.
4141 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4143 * term/pc-win.el (x-select-text, x-selection-owner-p)
4144 (x-own-selection-internal, x-disown-selection-internal)
4145 (x-get-selection-internal): Sync doc strings and argument lists
4146 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4148 2012-02-11 Leo Liu <sdl.web@gmail.com>
4150 * progmodes/python.el (python-end-of-statement): Fix infinite
4153 2012-02-10 Glenn Morris <rgm@gnu.org>
4155 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4156 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4158 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4160 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4161 about SMTP before checking the From header.
4163 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4164 into own function for reuse by emacsbug.el.
4166 2012-02-10 Leo Liu <sdl.web@gmail.com>
4168 * subr.el (condition-case-unless-debug): Rename from
4169 condition-case-no-debug. All callers changed.
4170 (with-demoted-errors): Fix caller.
4172 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4173 * nxml/rng-valid.el (rng-do-some-validation):
4174 * emacs-lisp/package.el (package-refresh-contents)
4175 (package-menu-execute):
4176 * desktop.el (desktop-create-buffer):
4177 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4179 2012-02-10 Glenn Morris <rgm@gnu.org>
4181 * textmodes/bibtex.el:
4182 Add missing :version tags for new/changed defcustoms.
4184 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4186 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4188 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4189 (smtpmail-via-smtp): Use it, or fall back on the From address.
4190 (smtpmail-send-it): Ditto.
4192 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4195 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4196 (byte-compile-tmp-var): New const.
4197 (byte-compile-defvar): Use it to minimize .elc size.
4198 Just use `defvar' rather than simulate it (bug#10761).
4200 2012-02-09 Glenn Morris <rgm@gnu.org>
4202 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4204 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4207 * progmodes/compile.el (compilation-error-screen-columns)
4208 (compilation-first-column, compilation-filter-start): Doc fixes.
4210 * vc/log-view.el (log-view-toggle-entry-display):
4211 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4213 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4214 (report-emacs-bug-can-use-xdg-email):
4215 (report-emacs-bug-insert-to-mailer): Doc fixes.
4216 (report-emacs-bug): Message fix.
4218 * net/browse-url.el (browse-url-can-use-xdg-open)
4219 (browse-url-xdg-open): Doc fixes.
4221 * electric.el (electric-indent-mode, electric-pair-mode)
4222 (electric-layout-rules, electric-layout-mode): Doc fixes.
4223 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4225 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4227 * server.el (server-unselect-display): Don't inadvertently kill
4228 the current buffer. (Bug#10729)
4230 2012-02-08 Glenn Morris <rgm@gnu.org>
4232 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4233 (sql-list-table): Doc fixes.
4235 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4236 Comment out (does nothing).
4238 * completion.el (dynamic-completion-mode):
4239 * dirtrack.el (dirtrack-debug-mode):
4240 * electric.el (electric-layout-mode):
4241 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4242 * face-remap.el (text-scale-mode, buffer-face-mode):
4243 * iimage.el (iimage-mode):
4244 * image-mode.el (image-transform-mode):
4245 * minibuffer.el (completion-in-region-mode):
4246 * scroll-lock.el (scroll-lock-mode):
4247 * simple.el (next-error-follow-minor-mode):
4248 * tar-mode.el (tar-subfile-mode):
4249 * tooltip.el (tooltip-mode):
4250 * vcursor.el (vcursor-use-vcursor-map):
4251 * wid-browse.el (widget-minor-mode):
4252 * emulation/tpu-edt.el (tpu-edt-mode):
4253 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4254 * international/iso-ascii.el (iso-ascii-mode):
4255 * language/thai-util.el (thai-word-mode):
4256 * mail/supercite.el (sc-minor-mode):
4257 * net/goto-addr.el (goto-address-mode):
4258 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4259 * progmodes/cwarn.el (cwarn-mode):
4260 * progmodes/flymake.el (flymake-mode):
4261 * progmodes/glasses.el (glasses-mode):
4262 * progmodes/hideshow.el (hs-minor-mode):
4263 * progmodes/pascal.el (pascal-outline-mode):
4264 * textmodes/enriched.el (enriched-mode):
4265 * vc/smerge-mode.el (smerge-mode):
4266 Doc fixes (minor mode argument).
4268 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4270 * ls-lisp.el (ls-lisp-sanitize): New function.
4271 (ls-lisp-insert-directory): Use it to fix or remove any elements
4272 in file-alist with missing attributes. (Bug#4673)
4274 2012-02-07 Alan Mackenzie <acm@muc.de>
4276 Fix spurious recognition of c-in-knr-argdecl.
4278 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4279 putative K&R region.
4281 2012-02-07 Alan Mackenzie <acm@muc.de>
4283 * progmodes/cc-engine.el (c-forward-objc-directive):
4284 Prevent looping in "#pragma mark @implementation".
4286 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4288 * notifications.el (notifications-on-closed-signal): Make `reason'
4289 optional. (Bug#10744)
4291 2012-02-07 Glenn Morris <rgm@gnu.org>
4293 * emacs-lisp/easy-mmode.el (define-minor-mode):
4294 Doc fixes for the macro and the mode it defines.
4296 * image.el (imagemagick-types-inhibit): Doc fix.
4298 * cus-start.el (imagemagick-render-type): Add it.
4300 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4302 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4303 Set the default at load time, too, so that `font-lock-fontify-buffer'
4304 can be called without setting up the entire mode first. This fixes
4305 a bug in `mm-inline-text' with C MIME parts.
4307 2012-02-06 Chong Yidong <cyd@gnu.org>
4309 * simple.el (list-processes--refresh): Delete exited processes
4312 * comint.el (comint-next-prompt): next-single-char-property-change
4313 and prev-single-char-property-change never return nil (Bug#8657).
4315 * custom.el (defcustom): Doc fix (Bug#9711).
4317 2012-02-05 Chong Yidong <cyd@gnu.org>
4319 * cus-edit.el (custom-variable-reset-backup): Quote the value
4320 before storing it in the customized-value property (Bug#6712).
4321 (custom-display): Add a customization type tag.
4322 (custom-buffer-create-internal): Improve tooltip message.
4324 * wid-edit.el (widget-field-value-get): New optional arg to
4325 suppress trailing whitespace truncation.
4326 (character): Use it (Bug#2689).
4328 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4330 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4331 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4333 2012-02-05 Chong Yidong <cyd@gnu.org>
4335 * cus-edit.el (custom-variable-value-create): For mismatched
4336 types, show the current value (Bug#7600).
4338 * custom.el (defcustom): Doc fix.
4340 2012-02-05 Glenn Morris <rgm@gnu.org>
4342 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4344 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4346 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4347 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4348 (pp-last-sexp): Use `looking-at-p'.
4350 2012-02-04 Glenn Morris <rgm@gnu.org>
4352 * files.el (revert-buffer):
4353 Doc fix (mention revert-buffer-in-progress-p).
4355 * emacs-lisp/ert-x.el (ert-simulate-command):
4356 Check deferred-action-list (which is obsolete) is bound.
4358 * subr.el (with-wrapper-hook): Doc fixes.
4360 * simple.el (filter-buffer-substring-functions)
4361 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4363 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4365 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4366 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4368 2012-02-04 Leo Liu <sdl.web@gmail.com>
4370 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4372 2012-02-04 Glenn Morris <rgm@gnu.org>
4374 * image.el (image-extension-data): Add obsolete alias.
4376 * isearch.el (isearch-update): Doc fix.
4378 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4380 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4382 2012-02-03 Glenn Morris <rgm@gnu.org>
4384 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4385 (image-animate-timeout): Doc fix.
4387 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4389 2012-02-02 Glenn Morris <rgm@gnu.org>
4391 * server.el (server-auth-dir): Doc fix.
4392 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4394 * subr.el (run-mode-hooks): Doc fix.
4396 2012-02-02 Juri Linkov <juri@jurta.org>
4398 * image-mode.el (image-toggle-display-image): Remove tautological
4399 `major-mode' from the `derived-mode-p' test.
4401 2012-02-02 Kenichi Handa <handa@m17n.org>
4403 * composite.el (compose-region): Cancel previous change.
4405 2012-02-02 Kenichi Handa <handa@m17n.org>
4407 * composite.el (compose-region, compose-string): Signal error for
4408 a null string component (Bug#6988).
4410 2012-02-01 Chong Yidong <cyd@gnu.org>
4412 * view.el (view-buffer-other-window, view-buffer-other-frame):
4413 Handle special modes like view-buffer (Bug#10650).
4414 (view-buffer): Simplify.
4416 * frame.el (set-frame-font): Tweak meaning of third argument.
4418 * dynamic-setting.el (font-setting-change-default-font):
4419 Use set-frame-font (Bug#9982).
4421 2012-02-01 Glenn Morris <rgm@gnu.org>
4423 * progmodes/compile.el (compilation-internal-error-properties):
4424 Respect compilation-first-column in the "*compilation*" buffer.
4426 * emacs-lisp/easy-mmode.el (define-minor-mode):
4427 Relax :variable's test for a named function.
4429 2012-01-31 Alan Mackenzie <acm@muc.de>
4431 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4434 2012-01-31 Chong Yidong <cyd@gnu.org>
4436 * frame.el (set-frame-font): New arg ALL-FRAMES.
4438 * menu-bar.el (menu-set-font): Use set-frame-font.
4440 * faces.el (face-spec-reset-face): Don't apply unspecified
4441 attribute values to the default face.
4443 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4445 * progmodes/cwarn.el (cwarn): Remove dead link.
4446 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4447 Remove * from defcustom docstrings.
4448 (turn-on-cwarn-mode): Make obsolete.
4449 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4450 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4452 2012-01-31 Glenn Morris <rgm@gnu.org>
4454 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4455 Fix :variable handling of mode a symbol not equal to modefun.
4456 Allow named functions to be used as the cdr of :variable.
4458 2012-01-30 Glenn Morris <rgm@gnu.org>
4460 * emacs-lisp/authors.el (authors-fixed-entries):
4461 Remove reference to deleted file rnewspost.el.
4463 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4465 * window.el (window-with-parameter): Remove unused variable `windows'.
4466 (window--side-check): Remove unused variable `code'.
4467 (window--resize-siblings): Remove unused variable `first'.
4468 (adjust-window-trailing-edge): Remove unused variable `failed'.
4469 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4470 Use `let', not `let*'.
4471 (balance-windows-2): Remove unused variable `found'.
4472 (window--state-put-2): Remove unused variable `splits'.
4473 (window-state-put): Remove unused variable `selected'.
4474 (same-window-p): Use `string-match-p'.
4475 (display-buffer-assq-regexp): Remove unused variable `value'.
4476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4477 Mark argument ALIST as ignored.
4478 (pop-to-buffer): Remove unused variable `old-window'.
4480 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4482 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4483 and .lzma compressed files.
4485 2012-01-29 Chong Yidong <cyd@gnu.org>
4487 * frame.el (window-system-default-frame-alist): Doc fix.
4489 * dynamic-setting.el (font-setting-change-default-font): Don't
4490 change the default face if SET-FONT argument is non-nil (Bug#9982).
4492 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4494 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4496 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4498 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4499 breakpoints in files outside current directory (Bug#6098).
4501 2012-01-29 Chong Yidong <cyd@gnu.org>
4503 * progmodes/python.el: Require ansi-color at top-level.
4505 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4506 Define and use in Emacs Lisp mode (Bug#9360).
4507 (lisp-mode-abbrev-table): Add doc.
4508 (lisp-mode-variables): Don't set local-abbrev-table.
4509 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4511 2012-01-28 Roland Winkler <winkler@gnu.org>
4513 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4515 2012-01-28 Roland Winkler <winkler@gnu.org>
4517 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4518 (bibtex-set-dialect): Use it. Either set global values of
4519 dialect-dependent variables or bind these variables buffer-locally
4521 (bibtex-mode): Call bibtex-set-dialect via
4522 hack-local-variables-hook.
4523 (bibtex-dialect): Update docstring.
4524 Add safe-local-variable predicate.
4525 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4527 (bibtex-mode-map): Define menu for each dialect.
4528 (bibtex-entry): Fix docstring.
4530 2012-01-28 Chong Yidong <cyd@gnu.org>
4532 * eshell/esh-arg.el (eshell-quote-argument): New function.
4534 * eshell/esh-ext.el (eshell-invoke-batch-file):
4535 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4536 first arg to eshell-parse-command (Bug#10523).
4538 2012-01-28 Drew Adams <drew.adams@oracle.com>
4540 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4541 `default-directory' is non-nil.
4543 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4545 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4546 line that displays system-configuration-options. (Bug#9924)
4548 2012-01-28 Drew Adams <drew.adams@oracle.com>
4550 * descr-text.el (describe-char): Show information about POS, in
4551 addition to information about the character at POS. Improve and
4552 update the doc string. Change "code point" to "code point in
4553 charset", to avoid confusion with the character's Unicode code
4554 point shown above that. (Bug#10129)
4556 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4558 * descr-text.el (describe-char): Show the raw character, not only
4559 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4560 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4563 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4565 * emacs-lisp/package.el (package-install):
4566 Run package-refresh-contents if there is no archive yet (Bug#9798).
4568 2012-01-28 Chong Yidong <cyd@gnu.org>
4570 * emacs-lisp/package.el (package-maybe-load-descriptor):
4571 New function, split from package-maybe-load-descriptor.
4572 (package-maybe-load-descriptor): Use it.
4573 (package-download-transaction): Fully load required packages
4574 inside the loop, so that `require' calls work (Bug#10593).
4575 (package-install): No need to call package-initialize now.
4577 2012-01-28 Chong Yidong <cyd@gnu.org>
4579 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4581 * tooltip.el (tooltip-mode): Doc fix.
4582 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4584 * frame.el (set-cursor-color): Doc fix (Bug#352).
4586 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4587 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4589 * cus-edit.el (custom-buffer-create-internal): Fix search button
4591 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4593 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4595 * dired.el (dired-mark-files-regexp):
4596 Include any subdirectory components. (Bug#10445)
4598 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4600 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4601 Handle [host]:port syntax. (Bug#10533)
4603 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4605 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4607 2012-01-26 Glenn Morris <rgm@gnu.org>
4609 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4610 * term.el (term-raw-escape-map): Use Control-X-prefix.
4611 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4613 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4615 * window.el (window-state-get, window--state-get-1): Don't deal
4616 with fixed-sizeness of windows. Simplify code.
4618 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4620 * window.el (window--state-get-1, window--state-put-2):
4621 Don't save and restore the mark.
4623 2012-01-25 Chong Yidong <cyd@gnu.org>
4625 * custom.el (custom-variable-p): Doc fix.
4627 2012-01-25 Glenn Morris <rgm@gnu.org>
4629 * dired.el (dired-goto-file): Handle some of the more common
4630 characters that `ls -b' escapes. (Bug#10596)
4632 * progmodes/compile.el (compilation-next-error-function):
4633 Respect compilation-first-column in the "*compilation*" buffer.
4634 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4636 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4638 2012-01-24 Glenn Morris <rgm@gnu.org>
4640 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4642 2012-01-24 Julien Danjou <julien@danjou.info>
4644 * color.el (color-rgb-to-hsl): Fix value computing.
4645 (color-hue-to-rgb): New function.
4646 (color-hsl-to-rgb): New function.
4647 (color-clamp, color-saturate-hsl, color-saturate-name)
4648 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4649 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4651 2012-01-24 Glenn Morris <rgm@gnu.org>
4653 * vc/vc-rcs.el (vc-rcs-create-tag):
4654 * vc/vc-sccs.el (vc-sccs-create-tag):
4655 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4657 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4659 * eshell/esh-util.el (eshell-read-hosts-file):
4660 Skip comment lines. (Bug#10549)
4662 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4664 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4666 * subr.el (display-delayed-warnings): Doc fix.
4667 (collapse-delayed-warnings): New function to collapse identical
4669 (delayed-warnings-hook): Add it.
4671 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4673 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4675 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4676 properties, when "login-as" is set.
4678 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4679 (tramp-default-user-alist): Don't add "pscp".
4680 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4681 property "login-as", if set. (Bug#10530)
4683 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4685 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4686 "plink1" and "psftp". (Bug#10530)
4688 2012-01-21 Kenichi Handa <handa@m17n.org>
4690 * international/mule-cmds.el (prefer-coding-system): Show a
4691 warning message if the default value of file-name-coding-system
4694 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4696 * windmove.el (windmove-reference-loc):
4697 Fix windmove-reference-loc miscalculation.
4699 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4701 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4704 2012-01-21 Glenn Morris <rgm@gnu.org>
4706 * international/mule.el (auto-coding-alist): Add .tbz.
4708 * files.el (local-enable-local-variables): Doc fix.
4709 (inhibit-local-variables-regexps): Rename from
4710 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4711 Doc fix. Add some extensions from auto-coding-alist.
4712 (inhibit-local-variables-suffixes):
4713 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4714 (inhibit-local-variables-p):
4715 New function, extracted from set-auto-mode-1.
4716 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4717 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4718 (hack-local-variables): Doc fix. Make the mode-only case
4719 respect enable-local-variables and friends.
4720 Respect inhibit-local-variables-regexps for file-locals, but
4721 not for directory-locals.
4722 (set-visited-file-name):
4723 Take account of inhibit-local-variables-regexps.
4724 Whether it applies may change as the file name is changed.
4725 * jka-cmpr-hook.el (jka-compr-install):
4726 * jka-compr.el (jka-compr-uninstall):
4727 Update for inhibit-first-line-modes-suffixes name change.
4729 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4731 * help-macro.el (make-help-screen): Temporarily restore original
4732 binding for minor-mode-map-alist (Bug#10454).
4734 2012-01-19 Julien Danjou <julien@danjou.info>
4736 * color.el (color-name-to-rgb): Use the white color to find the max
4737 color component value and return correctly computed values.
4738 (color-name-to-rgb): Add missing float conversion for max value.
4740 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4742 * window.el (window--state-get-1, window-state-get): Do not use
4743 special state value for window-persistent-parameters.
4744 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4745 (window--state-put-2): Reset all window parameters to nil before
4746 assigning values of persistent parameters.
4748 2012-01-18 Alan Mackenzie <acm@muc.de>
4750 Eliminate sluggishness and hangs in fontification of "semicolon
4753 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4754 Change value 10000 -> 3000.
4755 (c-state-safe-place): Reformulate so it doesn't stack up an
4756 infinite number of wrong entries in c-state-nonlit-pos-cache.
4757 (c-determine-limit-get-base, c-determine-limit): New functions to
4758 determine backward search limits disregarding literals.
4759 (c-find-decl-spots): Amend commenting.
4760 (c-cheap-inside-bracelist-p): New function which detects "={".
4762 * progmodes/cc-fonts.el
4763 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4765 (c-font-lock-declarations): Fix an occurrence of point being
4766 undefined. Check additionally for point being in a bracelist or
4767 near a macro invocation without a semicolon so as to avoid a
4768 fruitless time consuming search for a declarator. Give a more
4769 precise search limit for declarators using the new
4772 2012-01-18 Glenn Morris <rgm@gnu.org>
4774 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4775 (set-auto-mode): Doc fixes.
4777 2012-01-17 Glenn Morris <rgm@gnu.org>
4779 * isearch.el (search-nonincremental-instead): Fix doc typo.
4781 * dired.el (dired-insert-directory): Handle newlines in directory name.
4782 (dired-build-subdir-alist): Unescape newlines in directory name.
4784 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4786 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4787 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4788 (tramp-action-terminal): Use it. (Bug#10530)
4790 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4794 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4796 * window.el (window-state-ignored-parameters): Remove variable.
4797 (window--state-get-1): Rename argument MARKERS to IGNORE.
4798 Handle persistent window parameters. Make copy of clone-of
4799 parameter only if requested. (Bug#10348)
4800 (window--state-put-2): Install a window parameter only if it has
4801 a non-nil value or an existing parameter shall be overwritten.
4803 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4805 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4807 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4809 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4810 don't pass the (nil) value of `upnode' to string-match.
4812 2012-01-14 Chong Yidong <cyd@gnu.org>
4814 * startup.el (command-line): Fix X resource class for cursorColor.
4815 Fix values recognized by the cursorBlink resource.
4817 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4819 * epg.el (epg--make-temp-file): Avoid permission race condition
4820 when running on old Emacs versions (bug#10403).
4822 2012-01-14 Glenn Morris <rgm@gnu.org>
4824 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4826 2012-01-13 Alan Mackenzie <acm@muc.de>
4828 Fix filling for when filladapt mode is enabled.
4830 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4831 c-mask-paragraph, pass in `fill-paragraph' rather than
4832 `fill-region-as-paragraph'. (This is a reversion of a previous
4834 * progmodes/cc-mode.el (c-basic-common-init):
4835 Make fill-paragraph-handle-comment buffer local and set it to nil.
4837 2012-01-13 Glenn Morris <rgm@gnu.org>
4839 * dired.el (dired-switches-escape-p): New function.
4840 (dired-insert-directory): Use dired-switches-escape-p.
4841 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4843 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4845 2012-01-12 Glenn Morris <rgm@gnu.org>
4847 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4848 changes in adaptive-fill-regexp. (Bug#10276)
4850 2012-01-11 Alan Mackenzie <acm@muc.de>
4852 Fix Emacs bug #10463 - put `widen's around the critical spots.
4854 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4855 widen around each invocation of c-state-pp-to-literal. Remove an
4856 unused let variable.
4858 2012-01-11 Glenn Morris <rgm@gnu.org>
4860 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4863 2012-01-10 Chong Yidong <cyd@gnu.org>
4865 * net/network-stream.el (network-stream-open-starttls):
4866 Avoid emitting a confusing error message when the server gives a bad
4867 response to the capability command.
4869 2012-01-10 Glenn Morris <rgm@gnu.org>
4871 * mail/unrmail.el (unrmail): Tweak previous change.
4873 2012-01-09 Chong Yidong <cyd@gnu.org>
4875 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4877 2012-01-08 Alan Mackenzie <acm@muc.de>
4879 Optimise font locking in long enum definitions.
4881 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4882 arm to a cond form to handle enums.
4883 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4884 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4886 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4888 * files.el (move-file-to-trash): Preserve default file modes on error.
4891 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4893 * faces.el (set-face-attribute): Clarify the meaning of the nil
4896 * subr.el (with-selected-frame): Mention that the selected frame
4897 is restored (bug#9980).
4899 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4902 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4903 (password-read): Don't autoload unused function.
4905 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4907 * progmodes/which-func.el (which-func-mode): Turn into a
4908 non-interactive function and mark as obsolete (bug#10428).
4910 2012-01-06 Chong Yidong <cyd@gnu.org>
4912 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4913 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4914 functions, along with 1 and -1.
4916 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4918 * time.el (display-time-load-average)
4919 (display-time-default-load-average): Doc fixes. See the thread
4921 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4924 2012-01-06 Glenn Morris <rgm@gnu.org>
4926 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4927 has no messages. (Bug#10377)
4929 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4930 than Info-edit. (Bug#10385)
4932 * time.el (display-time-load-average, display-time-next-load-average):
4935 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4936 local setting of buffer-read-only to the input buffer. (Bug#10419)
4938 * calendar/calendar.el (calendar-mode):
4939 Locally set scroll-margin to 0. (Bug#10379)
4941 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4943 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4945 2012-01-05 Glenn Morris <rgm@gnu.org>
4947 * eshell/em-unix.el (diff-no-select): Autoload it.
4948 (eshell/diff): Use diff-no-select. (Bug#10420)
4950 2012-01-05 Chong Yidong <cyd@gnu.org>
4952 * shell.el (shell-dynamic-complete-functions): Revert last change.
4953 (shell-command-completion-function): New function.
4954 (shell-completion-vars): Use it to implement
4955 shell-completion-execonly (Bug#10417).
4957 * custom.el (enable-theme): Don't set custom-safe-themes.
4959 * cus-theme.el (custom-theme-merge-theme):
4960 Ignore custom-enabled-themes and custom-safe-themes.
4962 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4964 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4965 first prompt in `sql-interacive-mode'.
4966 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4968 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4969 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4970 context of original buffer. Invoke `sql-login-hook'.
4972 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4974 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4975 letters in cite-prefix.
4977 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4981 2012-01-03 Chong Yidong <cyd@gnu.org>
4983 * shell.el (shell-dynamic-complete-functions):
4984 Put pcomplete-completions-at-point, so as to try
4985 comint-filename-completion first (Bug#10417).
4987 2012-01-02 Richard Stallman <rms@gnu.org>
4989 * battery.el (battery-status-function):
4990 Detect when to use battery-yeeloong-sysfs.
4991 (battery-echo-area-format): Add string for Yeeloong.
4992 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4993 (battery-yeeloong-sysfs): New function.
4995 2012-01-02 Chong Yidong <cyd@gnu.org>
4997 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4998 (dirtrack): Merge code for handling relative filenames in prompt
4999 from shell-dir-cookie-watcher.
5000 (dirtrack-debug-message): New arg to avoid excess format calls.
5002 * shell.el (shell-dir-cookie-re): Variable deleted.
5003 (shell-dir-cookie-watcher): Function deleted.
5004 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5007 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5009 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5010 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5013 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5015 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5017 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5019 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5020 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5022 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5024 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5025 also for alternative shells.
5026 (tramp-open-connection-setup-interactive-shell): Check, whether
5027 the shell is a busybox.
5028 (tramp-send-command): Don't suppress multiple prompts for
5029 busyboxes, it hurts.
5031 2011-12-28 Chong Yidong <cyd@gnu.org>
5033 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5034 (gdb-get-source-file): Move mode line update to
5035 gdb-get-source-file (Bug#10087).
5037 2011-12-25 Chong Yidong <cyd@gnu.org>
5039 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5040 gud-gdb-marker-filter without taking it as an argument.
5041 (gud-gdb-run-command-fetch-lines): Caller changed.
5042 (gud-gdb-completion-function): New variable.
5043 (gud-gdb-completion-at-point): Use it.
5044 (gud-gdb-completions-1): Split from gud-gdb-completions.
5046 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5047 function as separate arguments.
5048 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5049 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5050 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5051 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5052 (gdb-stopped, def-gdb-auto-update-trigger)
5053 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5054 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5056 (gud-gdbmi-completions): New function.
5057 (gdb): Use it for generating the completion table.
5059 2011-12-24 Alan Mackenzie <acm@muc.de>
5061 Introduce a mechanism to widen the region used in context font
5062 locking. Use this to protect declarations from losing their contexts.
5064 * progmodes/cc-langs.el (c-before-font-lock-functions):
5065 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5066 (c-before-context-fontification-functions): New defvar, a list of
5067 functions to be run just before context (etc.) font locking.
5069 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5070 New, functionality extracted from
5071 c-neutralize-syntax-in-and-mark-CPP.
5072 (c-in-after-change-fontification): New variable.
5073 (c-after-change): Set c-in-after-change-fontification.
5074 (c-set-fl-decl-start): Rejig its interface, so it can be called
5075 from both after-change and context fontifying.
5076 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5078 (c-standard-font-lock-fontify-region-function): New variable.
5079 (c-font-lock-fontify-region): New function.
5081 2011-12-24 Juri Linkov <juri@jurta.org>
5083 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5086 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5088 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5089 existence of source file. (Bug#10325)
5091 2011-12-23 Alan Mackenzie <acm@muc.de>
5093 Fix unstable fontification inside templates.
5095 * progmodes/cc-langs.el (c-before-font-lock-functions):
5096 Newly created from the singular version. The (c c++ objc) entry now
5097 additionally has c-set-fl-decl-start. The other languages (apart
5098 from AWK) have that as a single entry.
5100 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5101 The functionality for "local" declarations has been extracted to
5102 c-set-fl-decl-start.
5104 * progmodes/cc-mode.el (c-common-init, c-after-change):
5105 Changes due to pluralisation of c-before-font-lock-functions.
5106 (c-set-fl-decl-start): New function, extracted from
5107 c-font-lock-enclosing-decls and enhanced.
5109 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5111 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5113 2011-12-22 Juri Linkov <juri@jurta.org>
5115 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5117 2011-12-22 Chong Yidong <cyd@gnu.org>
5119 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5121 2011-12-21 Drew Adams <drew.adams@oracle.com>
5123 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5125 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5127 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5129 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5131 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5132 highlighting and support. Fix up comments for capitalization.
5133 (cfengine-mode-debug): New var.
5134 (cfengine3-mode): Change the modeline indicator to "CFE3".
5135 (cfengine3-font-lock-keywords): Improve defun highlighting.
5136 (cfengine2-actions): Rename from `cfengine-actions'.
5137 (cfengine2-font-lock-keywords): Rename from
5138 `cfengine-font-lock-keywords'.
5139 (cfengine2-imenu-expression): Rename from
5140 `cfengine-imenu-expression'.
5141 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5142 (cfengine2-beginning-of-defun): Rename from
5143 `cfengine-beginning-of-defun'.
5144 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5145 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5146 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5147 modeline indicator to "CFE2".
5148 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5149 (cfengine-mode-abbrevs): Mark obsolete.
5151 2011-12-21 Chong Yidong <cyd@gnu.org>
5153 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5156 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5158 * window.el (window-normalize-buffer-to-display): Remove.
5159 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5161 2011-12-19 Chong Yidong <cyd@gnu.org>
5163 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5164 Don't signal an error in a predicate function; return non-nil.
5165 (vc-dir-mark-file): Move the error here.
5166 (vc-dir-mark-unmark): If acting on the region, keep going if one
5167 of the entries cannot be marked/unmarked.
5168 (vc-dir-mark-all-files): If current entry is a directory, mark
5169 only child files, as documented.
5171 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5173 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5174 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5177 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5179 * term/ns-win.el (ns-get-selection-internal)
5180 (ns-store-selection-internal): Declare.
5181 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5182 Declare as obsolete.
5183 (ns-get-pasteboard, ns-paste-secondary):
5184 Use ns-get-selection-internal.
5185 (ns-set-pasteboard, ns-copy-including-secondary):
5186 Use ns-store-selection-internal.
5188 2011-12-17 Chong Yidong <cyd@gnu.org>
5190 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5191 (vc-deduce-fileset): Doc fix.
5193 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5195 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5197 2011-12-13 Sam Steingold <sds@gnu.org>
5199 * man.el (Man-getpage-in-background): When running under a
5200 window-system, ignore $MANWIDTH and $COLUMNS.
5202 2011-12-15 Kenichi Handa <handa@m17n.org>
5204 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5205 (setup-ethiopic-environment-internal): Comment out key-binding for
5206 ethio-toggle-punctuation.
5208 2011-12-13 Alan Mackenzie <acm@muc.de>
5210 Add the switch statement to AWK Mode.
5212 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5213 "default" to the keywords regexp.
5215 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5216 expression as the rest.
5217 (c-nonlabel-token-key): Allow string literals for AWK.
5218 Refactor for the other modes.
5220 Large brace-block initialisation makes CC Mode slow: Fix.
5221 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5222 routines. Limit backward searching in c-font-lock-enclosing.decl.
5224 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5225 pp-state and literal type in addition to the limits.
5226 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5227 (c-state-literal-at): Use the above new defun.
5228 (c-slow-in-literal, c-fast-in-literal): Remove.
5229 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5231 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5232 being in a literal. Add a limit for backward searching.
5234 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5237 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5239 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5241 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5243 * window.el (delete-other-windows): Use correct frame in call to
5244 window-with-parameter.
5246 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5248 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5249 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5250 (makefile-gmake-statements, makefile-makepp-statements):
5251 Use it and add new makepp keywords.
5252 (makefile-makepp-font-lock-keywords): Add new patterns.
5253 (makefile-match-function-end): Match new [...] and [[...]].
5255 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5257 * ses.el (ses-call-printer-return, ses-cell-property-get)
5258 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5259 (ses-create-cell-variable, ses-reset-header-string)
5260 (ses-cell-set-formula, ses-repair-cell-reference-all)
5261 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5262 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5263 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5264 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5265 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5266 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5267 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5268 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5269 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5270 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5271 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5272 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5274 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5276 * ses.el: The overall change is to add cell renaming, that is
5277 setting fancy names for cell symbols other than name matching
5278 "\\`[A-Z]+[0-9]+\\'" regexp .
5279 (ses-create-cell-variable): New defun.
5280 (ses-relocate-formula): Relocate formulas only for cells the
5281 symbols of which are not renamed, i.e. symbols whose names do not
5282 match regexp "\\`[A-Z]+[0-9]+\\'".
5283 (ses-relocate-all): Relocate values only for cells the symbols of
5284 which are not renamed.
5285 (ses-load): Create cells variables as the (ses-cell ...) are read,
5286 in order to check row col consistency with cell symbol name only
5287 for cells that are not renamed.
5288 (ses-replace-name-in-formula): New defun.
5289 (ses-rename-cell): New defun.
5291 2011-12-11 Chong Yidong <cyd@gnu.org>
5293 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5294 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5296 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5298 * window.el (other-window): Fix docstring.
5300 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5302 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5303 `from' or `to' address before taking its substring.
5304 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5305 encoded name is chopped in the middle of the encoded string, and
5306 thus displayed encoded.
5308 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5310 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5312 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5314 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5315 to use texinfo-update-node and commands that call it if the
5316 Texinfo file uses @node lines without next/prev/up pointers.
5317 Correct outdated description about texinfo-master-menu.
5318 (texinfo-all-menus-update, texinfo-master-menu)
5319 (texinfo-update-node, texinfo-every-node-update)
5320 (texinfo-multiple-files-update): Doc fix. Warn against updating
5321 all the @node lines.
5322 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5323 argument is numeric. Explain better in the doc string what the
5324 function really does.
5325 (texinfo-insert-master-menu-list): Improve the error message
5326 displayed if there's no menu in the Top node.
5327 (Bug#2975) See also this thread:
5328 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5330 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5332 * speedbar.el (speedbar-supported-extension-expressions):
5333 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5335 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5337 * printing.el (pr-mode-alist):
5338 * simple.el (filter-buffer-substring-functions)
5339 (completion-list-insert-choice-function):
5340 * window.el (window-with-parameter, window-atom-root)
5341 (window-sides-slots, window-size-fixed, window-min-delta)
5342 (window-max-delta, window--resize-mini-window)
5343 (window--resize-child-windows-normal, window-tree)
5344 (delete-other-windows, quit-window, split-window)
5345 (display-buffer-record-window, special-display-buffer-names)
5346 (special-display-regexps, special-display-popup-frame)
5347 (same-window-p, split-window-sensibly)
5348 (display-buffer-overriding-action, display-buffer-alist)
5349 (display-buffer-base-action, display-buffer, switch-to-buffer)
5350 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5351 (fit-window-to-buffer, recenter-positions)
5352 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5353 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5354 and remove unneeded backslashes in docstrings.
5356 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5358 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5360 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5361 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5363 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5364 when reading the makefile (bug#10116).
5366 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5368 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5371 2011-12-06 Glenn Morris <rgm@gnu.org>
5373 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5375 2011-12-06 Chong Yidong <cyd@gnu.org>
5377 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5379 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5381 * textmodes/table.el (table-shorten-cell): Fix typo.
5383 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5385 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5387 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5389 * descr-text.el (describe-char): Fix display of strong
5390 right-to-left characters and directional embeddings and overrides.
5392 * simple.el (what-cursor-position): Fix display of codepoints of
5393 strong right-to-left characters.
5395 2011-12-05 Chong Yidong <cyd@gnu.org>
5397 * faces.el (read-color): Doc fix.
5399 2011-12-05 Glenn Morris <rgm@gnu.org>
5401 * align.el (align--set-marker): Add doc-string.
5402 Don't try to move something that is not a marker. (Bug#10216)
5404 2011-12-04 Glenn Morris <rgm@gnu.org>
5406 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5407 overly zealous deletion of trailing whitespace.
5409 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5411 * server.el (server-delete-client): On Windows, do not try to delete
5413 (server-process-filter): On Windows, treat requests for a tty frame as
5414 if they were for a GUI frame if the running server is in GUI mode.
5416 2011-12-03 Glenn Morris <rgm@gnu.org>
5418 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5420 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * electric.el: Streamline electric-indent's hook.
5423 (electric-indent-chars): Revert to simple list.
5424 (electric-indent-functions): New var.
5425 (electric-indent-post-self-insert-function): Use it.
5427 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5428 there's no inferior buffer (bug#10196).
5429 (prolog-consult-compile): Don't use toggle-read-only.
5431 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5433 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5434 interrupt. (Bug#10187)
5436 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5441 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5444 2011-12-02 Juri Linkov <juri@jurta.org>
5446 * info.el (Info-search): Display "end of manual" when Isearch
5447 reaches the end of single-file Info manual. (Bug#9918)
5449 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5451 * isearch.el (isearch-message-prefix): Run the input method part
5452 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5454 2011-12-02 Juri Linkov <juri@jurta.org>
5456 * isearch.el (isearch-occur): Use `word-search-regexp' for
5458 (isearch-search-and-update): Add condition for `isearch-word' and
5459 call `word-search-regexp'. (Bug#10145)
5461 2011-12-01 Glenn Morris <rgm@gnu.org>
5463 * eshell/em-hist.el (eshell-hist-initialize):
5464 Handle eshell-history-size nil and HISTSIZE set or unset.
5465 (eshell-history-file-name, eshell-history-size): Fix custom type.
5467 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5471 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5473 * progmodes/verilog-mode.el (verilog-pretty-expr):
5474 Rework verilog-pretty-expr to handle new assignment operators in system
5475 verilog, such as += *= and the like.
5476 (verilog-assignment-operator-re): Regular expression to find the
5477 assigment operator in a verilog assignment.
5478 (verilog-assignment-operation-re): Regular expression to find an
5479 assignment statement for pretty-expr.
5480 (verilog-in-attribute-p): Query returns true if point is in an
5481 attribute context; used to skip these for expression line up from
5483 (verilog-in-parameter-p): Query returns true if point is in an
5484 parameter definition context; used to skip these for expression
5485 line up from pretty-expr.
5486 (verilog-in-parenthesis-p): Query returns true if point is in a
5487 parenthetical expression, specifically ( ) but not [ ] or { };
5488 used by pretty-expr.
5489 (verilog-just-one-space): If there is no space, don't add one.
5490 (verilog-get-lineup-indent-2): Specifically skip just attribute
5491 contexts for expression lineup, rather than skipping all
5492 parenthetical expressions.
5493 (verilog-calculate-indent): Fix comment, and fix indent.
5494 (verilog-do-indent): Indent declarations in lists (suggested by
5496 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5498 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5501 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5503 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5504 parameters with embedded comments. Reported by Ray Stevens.
5505 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5506 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5507 Reported by Tim Holt.
5508 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5509 instantiated by upper module causing wrong expansion until AUTOed a
5510 second time. Reported by K C Buckenmaier.
5511 (verilog-diff-auto): Fix showing .* as a difference when
5512 `verilog-auto-star-save' off. Reported by Dan Dever.
5513 (verilog-auto-reset, verilog-read-always-signals)
5514 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5515 temporary signals in reset list if
5516 verilog-auto-reset-blocking-in-non is nil, and match assignment
5517 style to each signal's assignment type, bug381.
5518 Reported by Thomas Esposito.
5519 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5520 (verilog-uvm-statement-re): Support UVM indentation and
5521 highlighting, with old OVM keywords only.
5522 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5523 Support AUTOTIEOFF creating non-wire data types.
5524 Suggested by Jonathan Greenlaw.
5525 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5526 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5527 (verilog-inject-sense, verilog-read-inst-pins)
5528 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5529 Fix mismatching parenthesis inside commented out code when deleting
5530 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5531 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5532 non-numeric vector width. Reported by Alex Reed.
5533 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5534 detecting signals with parameter widths. Reported by Alex Reed.
5535 (verilog-auto-delete-trailing-whitespace):
5536 With `verilog-auto-delete-trailing-whitespace' remove trailing
5537 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5538 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5539 Fix verilog-scan-cache corruption when running user AUTO expansion
5540 hooks that call indentation routines.
5541 (verilog-simplify-range-expression): Fix typo ignoring lower case
5543 (verilog-delete-auto): Fix delete-autos to also remove user created
5544 automatics, as long as they start with AUTO.
5545 (verilog-batch-diff-auto, verilog-diff-auto)
5546 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5547 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5548 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5549 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5550 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5551 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5552 is disabled and its cache will get corrupt, causing AUTOS not to
5553 expand. Instead use only -quick functions.
5554 (verilog-scan-region): Fix scanning over escaped quotes.
5555 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5556 (verilog-re-search-backward-quick)
5557 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5558 related functions now ignore strings, to fix misparsing of strings
5559 with magic comments embedded in them.
5560 (verilog-read-auto-template):
5561 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5562 Reported by Brad Dobbie.
5563 (verilog-read-auto-template):
5564 Fix 'verilog-auto-inst-template-numbers' with comments.
5565 Reported by Brad Dobbie.
5566 (verilog-auto-inst, verilog-auto-inst-param)
5567 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5568 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5569 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5570 debugging templates without merge conflicts, bug357.
5571 Reported by Brad Dobbie.
5572 (verilog-read-auto-template):
5573 Fix verilog-auto-inst-template-numbers with multiple templates.
5574 Reported by Brad Dobbie.
5575 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5576 abbrevs so user won't be asked to save.
5577 (verilog-read-auto-lisp-present): Fix to start at beginning of
5578 buffer in case called outside of verilog-auto.
5579 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5580 to "X-2". Reported by Matthew Myers.
5581 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5582 all inputs from module templates. Reported by Leith Johnson.
5583 (verilog-module-inside-filename-p): Fix locating programs as with
5585 (verilog-auto-inst-port): Fix vl-width expressions when using
5586 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5587 (verilog-decls-get-regs, verilog-decls-get-signals,
5588 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5589 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5590 verilog-read-decls): Combine reg and wire structures into one var
5591 structure to represent SystemVerilog concepts.
5592 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5593 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5594 (verilog-auto-wire-type, verilog-insert-definition):
5595 Add verilog-auto-wire-type and AUTOLOGIC to support using
5596 SystemVerilog "logic" keyword instead of "wire"/"reg".
5597 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5598 to declares outputs that also have assignments (presumably in an
5599 ifdef or generate if so there's not a driver conflict).
5600 Reported by Matthew Myers.
5601 (verilog-auto-declare-nettype, verilog-insert-definition):
5602 Add verilog-auto-declare-nettype to fix declarations using
5603 `default_nettype none. Reported by Julian Gorfajn.
5604 (verilog-read-always-signals-recurse, verilog-read-decls)
5605 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5606 malformed end statement, bug325. Reported by Joshua Wise and
5608 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5609 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5610 when expanding .* in interfaces, bug320.
5611 Reported by Pierre-David Pfister.
5612 (verilog-read-module-name): Fix import statements between module
5613 name and open parenthesis, bug317.
5614 Reported by Pierre-David Pfister.
5615 (verilog-simplify-range-expression): Fix simplification of
5616 multiplications inside AUTOWIRE connections, bug303.
5617 (verilog-auto-inst-port): Support parameter expansion in
5618 multidimensional arrays.
5619 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5620 after "assert property". Reported by Julian Gorfajn.
5621 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5622 with multiplication, bug303.
5623 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5624 Reported by Jan Frode Lonnum.
5626 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5628 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5629 (hfy-shell-file-name, hfy-shell):
5630 * international/fontset.el (x-decompose-font-name): Fix typos.
5632 2011-11-29 Ken Brown <kbrown@cornell.edu>
5634 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5635 (gdb-version): Remove defvar.
5636 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5637 (gdb-gud-context-command, gdb-non-stop-handler)
5638 (gdb-current-context-command, gdb-stopped): Use it.
5639 (gdb-init-1): Enable pretty printing here.
5640 (gdb-non-stop-handler): Don't enable pretty-printing here.
5641 Check to see if the target supports non-stop mode; if not, turn off
5642 non-stop mode. Use the following.
5643 (gdb-check-target-async): New defun.
5644 (gud-watch, gdb-stopped): Fix whitespace.
5645 (gdb-get-source-file): Don't try to display the source file if
5646 `gdb-main-file' is nil.
5648 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5650 * align.el: Try to generate fewer markers (bug#10047).
5651 (align--set-marker): New macro.
5652 (align-region): Use it.
5654 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5656 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5658 2011-11-29 Chong Yidong <cyd@gnu.org>
5660 * indent.el (indent-for-tab-command, indent-according-to-mode):
5662 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5664 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5666 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5667 aware of remote file names. (Bug#10124)
5669 2011-11-29 Chong Yidong <cyd@gnu.org>
5671 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5673 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5675 * files.el (find-file): Don't use force-same-window (bug#10144).
5676 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5677 use pop-to-buffer if the selected window can't be used.
5678 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5680 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5682 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5685 2011-11-28 Chong Yidong <cyd@gnu.org>
5687 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5689 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5691 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5692 gdb-get-source-file-list on gdb-create-source-file-list.
5694 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5696 * whitespace.el (whitespace-newline): Use a different foreground
5697 color for 16-color light-background displays.
5699 2011-11-24 Chong Yidong <cyd@gnu.org>
5701 * window.el (display-buffer--special-action): Doc fix.
5703 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5705 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5706 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5707 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5708 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5709 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5710 (avl-tree-stack-first):
5711 * emacs-lisp/cconv.el (cconv--analyse-use):
5712 * net/gnutls.el (gnutls-negotiate): Fix typos.
5714 2011-11-24 Glenn Morris <rgm@gnu.org>
5716 * lpr.el (lpr-windows-system, lpr-lp-system):
5717 * mail/binhex.el (binhex-begin-line):
5718 * progmodes/grep.el (grep-history, grep-find-history):
5719 * textmodes/flyspell.el:
5720 * vc/pcvs-defs.el (cvs-global-menu):
5721 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5722 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5723 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5725 * net/tls.el: Fix case of "GnuTLS".
5727 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5729 * version.el (emacs-build-system): Give it a doc-string.
5731 2011-11-24 Juri Linkov <juri@jurta.org>
5733 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5735 2011-11-24 Glenn Morris <rgm@gnu.org>
5737 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5738 if called on a non-mime message just toggle the headers. (Bug#8006)
5740 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5742 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5743 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5744 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5745 (allout-rebullet-heading, allout-open-sibtopic)
5746 (allout-toggle-current-subtree-encryption)
5747 (allout-toggle-subtree-encryption, allout-encrypt-string)
5748 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5749 (allout-distinctive-bullets-string, allout-auto-activation):
5750 * window.el (window-normalize-buffer-to-display):
5751 * progmodes/verilog-mode.el (verilog-batch-indent):
5752 * textmodes/bibtex.el (bibtex-field-braces-opt)
5753 (bibtex-field-strings-opt):
5754 * vc/cvs-status.el (cvs-tree-merge):
5757 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5759 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5760 `non-essential' to t, in order to avoid remote connections.
5762 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5764 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5765 On MS-DOS and MS-Windows, compare with loaddefs.el
5768 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5770 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5772 2011-11-23 Glenn Morris <rgm@gnu.org>
5774 * paths.el (rmail-file-name): Reformat the doc-string so that it
5777 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5778 (rmail-auto-file): Ignore case in the "special" field names,
5779 as mail-fetch-field does for all others.
5781 * mail/rmail.el (rmail-forward):
5782 * mail/rmailkwd.el (rmail-set-label):
5783 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5784 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5786 * mail/rmail.el (rmail-current-message): Doc fix.
5788 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5790 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5794 2011-11-22 Glenn Morris <rgm@gnu.org>
5796 * mail/rmailmm.el (test-rmail-mime-handler)
5797 (test-rmail-mime-bulk-handler)
5798 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5800 2011-11-21 Juri Linkov <juri@jurta.org>
5802 * calc/calc.el (calc-read-key-sequence):
5803 Let-bind `input-method-function' to nil. (Bug#10018)
5805 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5807 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5808 Tell the caller that the next line needs recomputation, even
5809 though it doesn't start a sexp (bug#10094).
5811 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5815 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5817 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5818 Use force-same-window.
5820 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5822 * descr-text.el (describe-char-unicode-data):
5823 * json.el (json-string-escape):
5824 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5825 (Footnote-unicode, Footnote-style-p):
5826 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5828 2011-11-20 Chong Yidong <cyd@gnu.org>
5830 * window.el (replace-buffer-in-windows): Restore interactive spec.
5832 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5836 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5837 (byte-compile-global-not-obsolete-vars): New var.
5838 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5840 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5842 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5844 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5845 * progmodes/pascal.el (electric-pascal-equal):
5846 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5847 * xml.el (xml-substitute-special): Fix typos.
5849 2011-11-20 Glenn Morris <rgm@gnu.org>
5851 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5852 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5854 (rmail-decode-mime-charset): Mark as obsolete.
5856 * mail/rmailsum.el (rmail-message-regexp-p-1):
5857 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5858 Before using mime functions, check they are set. (Bug#10077)
5860 2011-11-19 Juri Linkov <juri@jurta.org>
5862 * info.el (Info-finder-find-node): Use `package--builtins' instead
5863 of `package-alist'. Use node names formed by the pattern "Keyword "
5864 and the keyword name.
5866 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5868 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5870 2011-11-19 Juri Linkov <juri@jurta.org>
5872 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5873 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5874 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5875 `old-history', `old-history-forward'. Add let-binding
5876 `window-selected'. Remove calls to `kill-buffer',
5877 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5878 before calling `Info-find-node', so `Info-find-node-2' will reread
5879 the Info file. Restore window positions only when `window-selected'
5882 2011-11-19 Juri Linkov <juri@jurta.org>
5884 * isearch.el (isearch-lazy-highlight-new-loop):
5885 Remove condition `(not isearch-error)'. (Bug#9918)
5887 * misearch.el (multi-isearch-search-fun): Add condition
5888 `(not bound)' to ignore lazy-highlighting search.
5889 Add the search-failed message "end of multi" when the end of
5890 multi-sequence is reached. Uncapitalize the search-failed
5891 message "Repeat for next buffer".
5893 * info.el (Info-search): Add the search-failed message
5894 "end of the manual" when the end of the manual is reached
5897 2011-11-19 Juri Linkov <juri@jurta.org>
5899 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5900 Use non-destructive `remove' instead of `delete' because
5901 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5902 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5904 2011-11-19 Juri Linkov <juri@jurta.org>
5906 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5907 to nil instead of binding `search-ring' and `regexp-search-ring'.
5910 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5912 * simple.el (line-move): Force movement by logical lines for any
5913 hscrolled window, not only when auto-hscroll-mode is on.
5914 (line-move-visual): Update doc string to that effect. (Bug#10076)
5916 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5918 * language/european.el (macintosh): Define as alias for mac-roman.
5920 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5922 * mail/rmailmm.el (rmail-mime-display-header)
5923 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5924 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5925 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5926 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5927 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5929 (rmail-mime-entity-segment): To get past the tagline, move forward
5930 2 more lines, to account for the 2 empty lines that precede and
5931 follow the line with the buttons.
5932 (rmail-mime-update-tagline): Move one more line, to get past the
5933 empty line that follows the buttons in the tagline. (Bug#9520)
5935 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5937 * window.el (window-max-delta-1, window-min-delta-1)
5938 (window-min-size-1, window-state-get-1, window-state-put-1)
5939 (window-state-put-2): Use "window--" prefix.
5941 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5944 (smie-warning-count): New var.
5945 (smie-set-prec2tab): Use it.
5946 (smie-bnf->prec2): Improve warnings. Add docstring.
5947 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5948 (smie-bnf--set-class): New function.
5949 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5952 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5953 (compilation-error-properties, compilation-move-to-column):
5954 Handle compilation-first-column while in the target buffer.
5956 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5957 Don't hardcode point-min==1.
5959 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5960 (eshell-rewrite-for-command): Remove workaround.
5961 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5962 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5963 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5965 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5967 2011-11-17 Glenn Morris <rgm@gnu.org>
5969 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5970 Ignore buffer-local generated-autoload-file if it is the same
5971 as the global value. (Bug#10049)
5973 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5975 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5976 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5977 (reftex-toc-previous-heading, reftex-toc-max-level)
5978 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5979 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5980 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5981 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5982 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5983 (reftex-toc-rename-label, reftex-toc-visit-location)
5984 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5985 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5986 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5987 leaving "*toc*" only for references to the buffer.
5989 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5991 * window.el (window-resize, delete-window, split-window):
5992 Replace window-splits by window-combination-resize.
5993 * cus-start.el (window-splits): Replace by window-combination-resize.
5995 2011-11-17 Glenn Morris <rgm@gnu.org>
5997 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5998 Make bash entry derive from sh entry, not shell entry.
6000 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6002 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6003 properties of linked files. (Bug#9879)
6005 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6008 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6010 * menu-bar.el (menu-bar-file-menu):
6011 * printing.el (pr-ps-utility):
6012 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6013 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6014 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6015 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6016 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6017 (icalendar--convert-cyclic-to-ical)
6018 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6019 (icalendar--convert-ical-to-diary)
6020 (icalendar--convert-recurring-to-diary)
6021 (icalendar--convert-non-recurring-all-day-to-diary)
6022 (icalendar-import-format-sample):
6023 * progmodes/idlw-shell.el (idlwave-shell-mode):
6024 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6025 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6026 (vhdl-ps-print-init): Fix typos.
6028 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6030 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6031 FSF and collapse date sequence, obscure author/maintainer email address
6032 better, remove extra version line, track relocation of author's webpage.
6034 * progmodes/python.el (python-pdbtrack-input-prompt)
6035 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6036 regular python pdb prompts. Adjustments shamelessly taken exactly as
6037 suggested in EmacsWiki page (tiny change):
6038 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6040 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6042 * expand.el (expand-pos, expand-index, expand-point):
6043 Remove redundant info from docstring.
6044 (expand-add-abbrevs): Doc fix.
6045 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6046 (expand-sample-perl-mode-expand-list): Fix typos.
6048 * net/dbus.el (dbus-event-member-name):
6049 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6050 * term/pc-win.el (msdos-create-frame-with-faces):
6051 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6053 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6055 * window.el (split-window, window-state-get-1)
6056 (window-state-put-1, window-state-put-2): Rename occurrences of
6057 window-nest to window-combination-limit.
6058 * cus-start.el (window-nest): Rename to window-combination-limit.
6060 2011-11-16 Chong Yidong <cyd@gnu.org>
6062 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6065 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6067 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6068 `completing-read' will remove *Completions* and will preserve
6069 current-buffer for us.
6070 (tmm-add-prompt): Users of *Completions* will always (re)set its
6072 (tmm-old-comp-map): Remove.
6074 2011-11-16 Glenn Morris <rgm@gnu.org>
6076 * mail/rmailedit.el: Require rmailmm when compiling.
6077 (rmail-old-mime-state): New declaration.
6078 (rmail-edit-current-message): If editing a mime message,
6079 edit the "raw" message from the mbox buffer.
6080 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6082 2011-11-15 Glenn Morris <rgm@gnu.org>
6084 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6085 which wasn't being used. Add optional arg to force given state.
6086 (rmail-mime): Add optional arg to force given state.
6088 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6090 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6091 * frame.el (display-mm-dimensions-alist):
6092 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6093 (outline-move-subtree-down):
6094 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6095 (newsticker--treeview-do-get-node):
6096 * net/quickurl.el (quickurl-list-buffer-name):
6097 * progmodes/dcl-mode.el (dcl-mode):
6098 * progmodes/gdb-mi.el (gdb-mapcar*):
6099 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6101 2011-11-15 Glenn Morris <rgm@gnu.org>
6103 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6104 in a boolean sense, so just make it a boolean, and fix the doc.
6105 (rmail-show-mime-function, rmail-mime-feature)
6106 (rmail-require-mime-maybe): Doc fixes.
6107 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6109 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6111 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6113 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6114 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6115 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6116 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6118 2011-11-15 Glenn Morris <rgm@gnu.org>
6120 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6121 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6122 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6123 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6124 (rmail-mime, rmail-show-mime): Doc fixes.
6126 * term/ns-win.el (mode-line-frame-identification):
6127 Leave it alone. (Bug#10051)
6129 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6131 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6132 Handle empty buffers. (Bug#9978)
6134 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6136 * international/mule.el (define-charset):
6137 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6138 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6139 * progmodes/verilog-mode.el (verilog-backward-token):
6140 * textmodes/ispell.el (lookup-words):
6141 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6143 2011-11-14 Glenn Morris <rgm@gnu.org>
6145 * progmodes/executable.el
6146 (executable-make-buffer-file-executable-if-script-p):
6147 Handle file-modes returning nil.
6149 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6150 message - not necessary, and causes problems. (Bug#9831)
6152 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6154 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6156 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6157 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6158 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6160 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6162 * window.el (window-resize, delete-window): Use window-splits
6163 variable instead of function.
6164 (window-state-get-1, window-state-put-2, window-state-put):
6165 Don't deal with windows' splits status.
6167 2011-11-12 Glenn Morris <rgm@gnu.org>
6169 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6170 (apropos-documentation): Doc fixes.
6172 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6174 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6175 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6177 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * electric.el (electric-indent-post-self-insert-function): Make it
6180 possible for a char to only indent in some circumstances.
6181 (electric-indent-mode): Simplify.
6183 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6185 * window.el (windows-with-parameter): Remove unused function.
6186 (windows-at-side): Rename to window-at-side-list.
6187 (window-check, window-atom-check, window-atom-check-1)
6188 (window-side-check, window-size-ignore, window-size-fixed-1)
6189 (window-in-direction-2): Prefix with "window--".
6190 (window-tree-1): Rename to window--subtree, fix doc-string.
6192 2011-11-11 Glenn Morris <rgm@gnu.org>
6194 * subr.el (eval-after-load): If FILE is already loaded,
6195 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6197 2011-11-10 Glenn Morris <rgm@gnu.org>
6199 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6200 Call svn via vc-svn-command rather than vc-do-command.
6201 (vc-svn-command): Add --non-interactive. (Bug#9993)
6202 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6204 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6205 Add toggle-read-only. (Bug#7292)
6206 * files.el (toggle-read-only): Mention that it should only
6207 be used interactively. (Bug#10006)
6209 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6212 Adjust regexp for OCaml warnings.
6214 * electric.el (electric-pair-post-self-insert-function): Let user
6215 turn it off buffer-locally (bug#9932).
6217 * progmodes/python.el (python-beginning-of-statement):
6220 * progmodes/compile.el: Better handle TABs (bug#9749).
6221 (compilation-internal-error-properties)
6222 (compilation-next-error-function): Obey the target buffer's
6223 compilation-error-screen-columns.
6225 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6227 * progmodes/meta-mode.el: Remove obsolete comments.
6228 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6229 Fix typos in docstrings.
6231 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6233 * window.el (window-size-fixed-p): Rewrite doc-string.
6234 (window-resizable-p): Rename to window--resizable-p. Update callers.
6235 (window--resizable): New function. Make all callers of
6236 window-resizable call window--resizable instead.
6237 (window-resizable): Rewrite in terms of window--resizable.
6239 2011-11-08 Glenn Morris <rgm@gnu.org>
6241 * progmodes/delphi.el (delphi-mode-syntax-table):
6242 Let define-derived-mode define a proper syntax table. (Bug#9994)
6244 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * window.el: Stay away from defsubst.
6247 (window-list-no-nils): Remove.
6248 (window-state-get-1, window-state-get): Use backquote instead.
6250 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6252 * emacs-lisp/find-func.el (find-function-read):
6253 Fix incorrect use of default argument in `completing-read'.
6255 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6257 * window.el (display-buffer-function, special-display-function):
6258 Mention display-buffer-record-window but do not mention
6259 help-setup parameter in doc-strings.
6260 (window-min-delta): Fix doc-string typo.
6262 2011-11-08 Chong Yidong <cyd@gnu.org>
6264 * window.el (window-total-height, window-total-width): Doc fix.
6265 (window-body-size): Move from C.
6266 (window-body-height, window-body-width): Move to C.
6268 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6270 * window.el: Make special-display like display-buffer-alist (bug#9532).
6271 (display-buffer--special-action): New function, morphed
6272 from display-buffer--special.
6273 (display-buffer): Use it to handle special-display-buffers at higher
6274 priority (just after display-buffer-alist).
6275 (display-buffer-fallback-action, display-buffer--other-frame-action)
6276 (pop-to-buffer-same-window): Remove display-buffer--special.
6278 2011-11-07 Glenn Morris <rgm@gnu.org>
6280 * calendar/cal-menu.el (cal-menu-set-date-title):
6281 Do nothing if not in a calendar. (Bug#9976)
6283 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6285 * files.el (find-file): Always use selected-window.
6287 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6289 * window.el (window-combinations): Make WINDOW argument
6290 mandatory. Rewrite doc-string.
6291 (walk-window-subtree, window-atom-check, window-min-delta)
6292 (window-max-delta, window--resize-this-window)
6293 (window--resize-root-window-vertically, window-tree)
6294 (balance-windows, window-state-put): Rewrite doc-strings as to
6295 not mention the term "subwindow".
6296 (window--resize-subwindows-skip-p): Rename to
6297 window--resize-child-windows-skip-p.
6298 (window--resize-subwindows-normal): Rename to
6299 window--resize-child-windows-normal.
6300 (window--resize-subwindows): Rename to
6301 window--resize-child-windows.
6302 (window-or-subwindow-p): Rename to window--in-subtree-p.
6304 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6306 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6307 Ensure that mbox format messages end in two newlines (Bug#9974).
6309 2011-11-06 Chong Yidong <cyd@gnu.org>
6311 * window.el (window-combination-p): Function deleted; its
6312 side-effect is not used in any existing code.
6313 (window-combinations, window-combined-p): Call window-*-child
6316 2011-11-05 Chong Yidong <cyd@gnu.org>
6318 * window.el (window-valid-p): Rename from window-any-p.
6319 (window-size-ignore, window-state-get): Callers changed.
6320 (window-normalize-window): Rename from window-normalize-any-window.
6321 New arg LIVE-ONLY, replacing window-normalize-live-window.
6322 (window-normalize-live-window): Delete.
6323 (window-combination-p, window-combined-p, window-combinations)
6324 (walk-window-subtree, window-atom-root, window-min-size)
6325 (window-sizable, window-sizable-p, window-size-fixed-p)
6326 (window-min-delta, window-max-delta, window-resizable)
6327 (window-resizable-p, window-full-height-p, window-full-width-p)
6328 (window-current-scroll-bars, window-point-1, set-window-point-1)
6329 (window-at-side-p, window-in-direction, window-resize)
6330 (adjust-window-trailing-edge, maximize-window, minimize-window)
6331 (window-deletable-p, delete-window, delete-other-windows)
6332 (record-window-buffer, unrecord-window-buffer)
6333 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6334 (quit-window, split-window, window-state-put)
6335 (set-window-text-height, fit-window-to-buffer)
6336 (shrink-window-if-larger-than-buffer): Callers changed.
6338 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6340 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6341 rfc2047-decode-string.
6342 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6345 * window.el (window-body-height, window-body-width): Mention in
6346 the doc string that the return values are in frame's canonical
6349 2011-11-03 Alan Mackenzie <acm@muc.de>
6351 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6352 change in cc-engine.el.
6354 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6358 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6360 * window.el (quit-window): Call unrecord-window-buffer after
6361 showing another buffer in the window. (Bug#9937)
6362 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6364 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6366 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6367 Accept status with more than 9 shelves. (Bug#9935)
6368 Reported by Colin D Bennett <colin@gibibit.com>.
6370 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6372 * help.el (with-help-window): Don't reference
6373 temp-buffer-show-specifiers in doc-string.
6375 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6377 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6380 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6382 * whitespace.el: New version 13.2.2.
6383 (whitespace-newline-mode): Disable properly. Reported by Sarah
6386 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6388 * net/newst-treeview.el: Remove "Time-stamp".
6389 (newsticker--group-manage-orphan-feeds): Do not call
6390 newsticker--treeview-tree-update.
6391 (newsticker-treeview-update, newsticker-treeview):
6392 Call newsticker--treeview-tree-update if necessary.
6394 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6396 * window.el (window-iso-combination-p, window-iso-combined-p)
6397 (window-iso-combinations): Remove "iso-" infix.
6398 Suggested by Chong Yidong.
6399 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6400 (window-max-delta-1, window-resize, window--resize-siblings)
6401 (window--resize-this-window, adjust-window-trailing-edge)
6402 (split-window, balance-windows-1)
6403 (shrink-window-if-larger-than-buffer):
6404 * calendar/calendar.el (calendar-generate-window):
6405 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6407 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6410 in place (bug#9907).
6411 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6412 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6413 (eshell-structure-basic-command, eshell-rewrite-while-command)
6414 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6415 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6416 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6417 (eshell-do-pipelines-synchronously, eshell-eval-command):
6418 Use backquotes and prefer setq to set.
6419 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6420 (eshell-macrop): Use functionp.
6421 (eshell-do-eval): Handle multiple expressions in `while' body.
6423 2011-10-30 Chong Yidong <cyd@gnu.org>
6425 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6426 instead of set-mark (Bug#9810).
6428 2011-10-30 Chong Yidong <cyd@gnu.org>
6430 * window.el (split-window-below, split-window-right): Rename from
6431 split-window-above-each-other and split-window-side-by-side
6432 respectively. All callers changed.
6433 (split-window-sensibly, split-window-sensibly): Use them.
6434 (split-window-keep-point): Doc fix.
6436 * isearch.el: Add isearch-scroll property to split-window-below
6437 and split-window-right.
6439 * follow.el (follow-mode):
6440 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6441 * progmodes/ada-xref.el (ada-gdb-application):
6442 * emulation/vip.el (vip-buffer-in-two-windows):
6443 * image-dired.el (image-dired-dired-with-window-configuration):
6444 * dired-x.el (dired-do-find-marked-files):
6445 * dired.el (dired-pop-to-buffer):
6446 * bs.el (bs--show-with-configuration):
6447 * vc/emerge.el (emerge-setup-windows):
6448 * textmodes/two-column.el (2C-two-columns):
6449 * textmodes/reftex-toc.el (reftex-toc):
6450 * progmodes/gdb-mi.el (gdb-setup-windows):
6451 * progmodes/fortran.el (fortran-window-create):
6452 * net/newst-treeview.el (newsticker--treeview-window-init):
6453 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6454 * emulation/tpu-edt.el (tpu-gold-map):
6455 * emulation/crisp.el (crisp-mode-map):
6456 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6458 2011-10-29 Chong Yidong <cyd@gnu.org>
6460 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6462 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6464 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6465 forged Ispell output (Bug#7904).
6467 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6469 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * doc-view.el: Avoid ugly errors about not finding nil.
6472 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6473 (doc-view-dvipdf-program, doc-view-unoconv-program)
6474 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6475 Avoid nil or absolute file name as default value.
6476 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6478 2011-10-28 Alan Mackenzie <acm@muc.de>
6480 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6482 2011-10-28 Alan Mackenzie <acm@muc.de>
6484 Amend the handling of c-beginning/end-of-defun in nested declaration
6487 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6488 cc-langs.el. Change it to a defcustom.
6490 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6493 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6494 Prevent "class foo : bar" being spuriously recognized as a label.
6496 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6497 Add parameter `inclusive' (to include enclosing braces in the region).
6498 (c-widen-to-enclosing-decl-scope): New function.
6499 (c-while-widening-to-decl-block): New macro.
6500 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6501 outward for defun boundaries, and correspondingly change symbol
6502 `respect-enclosure' to `go-outward'.
6503 (c-declaration-limits): Change algorithm to report only the "innermost"
6506 2011-10-28 Deniz Dogan <deniz@dogan.se>
6508 * net/rcirc.el (rcirc-mode): Use hard newlines.
6510 2011-10-28 Alan Mackenzie <acm@muc.de>
6512 Amend to indent and fontify macros "which include their own semicolon"
6513 correctly, using the "virtual semicolon" mechanism.
6515 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6517 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6518 Recode to scan one line at a time rather than having \n and \r
6519 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6520 (c-forward-label): Amend for virtual semicolons.
6521 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6523 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6524 of the new C macros.
6526 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6527 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6528 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6529 (c-opt-cpp-macro-define): Make into a full language variable.
6530 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6531 AWK Mode (including \n, \r) removed, no longer needed.
6533 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6534 Invoke c-make-macro-with-semi-re.
6536 * progmodes/cc-vars.el (c-macro-with-semi-re):
6537 (c-macro-names-with-semicolon): New variables.
6538 (c-make-macro-with-semi-re): New function.
6540 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * vc/log-edit.el: Fill empty field rather than adding new one.
6543 (log-edit-add-field): New function.
6544 (log-edit-insert-changelog): Use it.
6546 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6548 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6550 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6552 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6553 (gdb--check-interpreter): New function.
6556 2011-10-27 Glenn Morris <rgm@gnu.org>
6558 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6559 (least-positive-float, least-negative-float)
6560 (least-positive-normalized-float, least-negative-normalized-float)
6561 (float-epsilon, float-negative-epsilon):
6562 Remove unnecessary declarations.
6564 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6565 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6566 (least-positive-float, least-negative-float)
6567 (least-positive-normalized-float, least-negative-normalized-float)
6568 (float-epsilon, float-negative-epsilon): Add doc-strings,
6569 based on those in cl.texi.
6571 * files.el (set-visited-file-name): If the major-mode changed,
6572 reload the local variables. (Bug#9796)
6574 2011-10-27 Chong Yidong <cyd@gnu.org>
6576 * subr.el (change-major-mode-after-body-hook): New hook.
6577 (run-mode-hooks): Run it.
6579 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6580 Use change-major-mode-before-body-hook.
6582 * simple.el (fundamental-mode):
6583 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6584 change introducing fundamental-mode-hook.
6586 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6588 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6590 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6592 * ido.el (ido-file-name-all-completions-1): Do not require
6593 tramp.el explicitly. (Bug#7583)
6595 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * progmodes/octave-mod.el:
6598 * progmodes/octave-inf.el: Update maintainer.
6600 2011-10-26 Chong Yidong <cyd@gnu.org>
6602 * subr.el (with-wrapper-hook): Rewrite doc.
6604 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6606 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6607 filenames "/method:foo:". (Bug#9793)
6609 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6614 2011-10-24 Glenn Morris <rgm@gnu.org>
6616 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6618 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6620 * notifications.el: Add the requirement of a running D-Bus session
6621 bus to the Commentary.
6623 2011-10-24 Juri Linkov <juri@jurta.org>
6625 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6626 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6629 2011-10-24 Juri Linkov <juri@jurta.org>
6631 * info.el (Info-following-node-name-re): Add newline to the list
6632 of allowed characters for leading space. (Bug#9824)
6634 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * progmodes/octave-inf.el (inferior-octave-mode-map):
6637 Fix C-c C-h binding.
6638 * progmodes/octave-mod.el (octave-help): Remove.
6640 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6642 Sync with Tramp 2.2.3.
6644 * net/tramp-cache.el (top): Pacify byte-compiler using
6645 `init-file-user' and `site-run-file'.
6647 * net/trampver.el: Update release number.
6649 2011-10-23 Chong Yidong <cyd@gnu.org>
6651 * files.el (toggle-read-only): Remove obsolete comment about
6654 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6655 for toggle-read-only. Note that this hasn't called vc-next-action
6656 since 2008-05-02, though it wasn't documented at the time.
6658 * vc/ediff-init.el (ediff-toggle-read-only-function):
6659 Use toggle-read-only.
6661 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6663 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6666 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6667 correct faulty logical expression.
6668 (c-parse-state-state, c-record-parse-state-state):
6669 (c-replay-parse-state-state): New defvar/defuns.
6670 (c-debug-parse-state): Use new functions.
6672 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6674 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6675 last fix. Use window-in-direction correctly.
6677 2011-10-21 Chong Yidong <cyd@gnu.org>
6679 * progmodes/idlwave.el (idlwave-mode):
6680 * progmodes/vera-mode.el (vera-mode): No need to set
6681 require-final-newline; that's done in prog-mode.
6682 Suggested by Stefan Monnier.
6684 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6686 * mouse.el (mouse-drag-window-above)
6687 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6688 (mouse-drag-mode-line-1, mouse-drag-header-line)
6689 (mouse-drag-vertical-line-rightward-window): Remove.
6690 (mouse-drag-line): New function.
6691 (mouse-drag-mode-line, mouse-drag-header-line)
6692 (mouse-drag-vertical-line): Call mouse-drag-line.
6693 * window.el (window-at-side-p, windows-at-side): New functions.
6695 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6697 * tar-mode.el (tar-grind-file-mode):
6698 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6700 2011-10-21 Chong Yidong <cyd@gnu.org>
6702 * progmodes/idlwave.el (idlwave-mode):
6703 * progmodes/vera-mode.el (vera-mode):
6704 Use mode-require-final-newline.
6706 2011-10-20 Glenn Morris <rgm@gnu.org>
6708 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6710 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6712 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6714 2011-10-20 Chong Yidong <cyd@gnu.org>
6716 * emulation/cua-base.el (cua-mode):
6717 * mail/footnote.el (footnote-mode):
6718 * mail/mailabbrev.el (mail-abbrevs-mode):
6719 * net/xesam.el (xesam-minor-mode):
6720 * progmodes/bug-reference.el (bug-reference-mode):
6721 * progmodes/cap-words.el (capitalized-words-mode):
6722 * progmodes/compile.el (compilation-minor-mode)
6723 (compilation-shell-minor-mode):
6724 * progmodes/gud.el (gud-tooltip-mode):
6725 * progmodes/hideif.el (hide-ifdef-mode):
6726 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6727 * progmodes/subword.el (subword-mode):
6728 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6729 * progmodes/which-func.el (which-function-mode):
6730 * term/tvi970.el (tvi970-set-keypad-mode):
6731 * term/vt100.el (vt100-wide-mode):
6732 * textmodes/flyspell.el (flyspell-mode):
6733 * textmodes/ispell.el (ispell-minor-mode):
6734 * textmodes/nroff-mode.el (nroff-electric-mode):
6735 * textmodes/paragraphs.el (use-hard-newlines):
6736 * textmodes/refill.el (refill-mode):
6737 * textmodes/reftex.el (reftex-mode):
6738 * textmodes/rst.el (rst-minor-mode):
6739 * textmodes/sgml-mode.el (html-autoview-mode)
6740 (sgml-electric-tag-pair-mode):
6741 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6742 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6743 * emulation/crisp.el (crisp-mode):
6744 * emacs-lisp/eldoc.el (eldoc-mode):
6745 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6746 minor mode behavior.
6748 2011-10-19 Juri Linkov <juri@jurta.org>
6750 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6751 the list of hard-coded chars with escape-glyph face.
6753 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6755 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6757 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6759 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6762 2011-10-19 Glenn Morris <rgm@gnu.org>
6764 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6765 Ignore ignored files. (Bug#9726)
6767 2011-10-19 Chong Yidong <cyd@gnu.org>
6769 Doc fix for minor modes, stating that an omitted argument enables
6770 the mode unconditionally when called from Lisp.
6772 * abbrev.el (abbrev-mode):
6773 * allout.el (allout-mode):
6774 * autoinsert.el (auto-insert-mode):
6775 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6776 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6777 (global-auto-revert-mode):
6778 * battery.el (display-battery-mode):
6779 * composite.el (global-auto-composition-mode)
6780 (auto-composition-mode):
6781 * delsel.el (delete-selection-mode):
6782 * desktop.el (desktop-save-mode):
6783 * dired-x.el (dired-omit-mode):
6784 * dirtrack.el (dirtrack-mode):
6785 * doc-view.el (doc-view-minor-mode):
6786 * double.el (double-mode):
6787 * electric.el (electric-indent-mode, electric-pair-mode):
6788 * emacs-lock.el (emacs-lock-mode):
6789 * epa-hook.el (auto-encryption-mode):
6790 * follow.el (follow-mode):
6791 * font-core.el (font-lock-mode):
6792 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6793 * help.el (temp-buffer-resize-mode):
6794 * hilit-chg.el (highlight-changes-mode)
6795 (highlight-changes-visible-mode):
6796 * hi-lock.el (hi-lock-mode):
6797 * hl-line.el (hl-line-mode, global-hl-line-mode):
6798 * icomplete.el (icomplete-mode):
6799 * ido.el (ido-everywhere):
6800 * image-file.el (auto-image-file-mode):
6801 * image-mode.el (image-minor-mode):
6802 * iswitchb.el (iswitchb-mode):
6803 * jka-cmpr-hook.el (auto-compression-mode):
6804 * linum.el (linum-mode):
6805 * longlines.el (longlines-mode):
6806 * master.el (master-mode):
6807 * mb-depth.el (minibuffer-depth-indicate-mode):
6808 * menu-bar.el (menu-bar-mode):
6809 * minibuf-eldef.el (minibuffer-electric-default-mode):
6810 * mouse-sel.el (mouse-sel-mode):
6811 * msb.el (msb-mode):
6812 * mwheel.el (mouse-wheel-mode):
6813 * outline.el (outline-minor-mode):
6814 * paren.el (show-paren-mode):
6815 * recentf.el (recentf-mode):
6816 * reveal.el (reveal-mode, global-reveal-mode):
6817 * rfn-eshadow.el (file-name-shadow-mode):
6818 * ruler-mode.el (ruler-mode):
6819 * savehist.el (savehist-mode):
6820 * scroll-all.el (scroll-all-mode):
6821 * scroll-bar.el (scroll-bar-mode):
6822 * server.el (server-mode):
6823 * shell.el (shell-dirtrack-mode):
6824 * simple.el (auto-fill-mode, transient-mark-mode)
6825 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6826 (line-number-mode, column-number-mode, size-indication-mode)
6827 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6828 * strokes.el (strokes-mode):
6829 * time.el (display-time-mode):
6830 * t-mouse.el (gpm-mouse-mode):
6831 * tool-bar.el (tool-bar-mode):
6832 * tooltip.el (tooltip-mode):
6833 * type-break.el (type-break-mode-line-message-mode)
6834 (type-break-query-mode):
6835 * view.el (view-mode):
6836 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6837 (global-whitespace-mode, global-whitespace-newline-mode):
6838 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6840 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6841 Fix autogenerated docstring.
6843 2011-10-19 Juri Linkov <juri@jurta.org>
6845 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6846 by checking environment variables "DESKTOP_SESSION" and
6847 "XDG_CURRENT_DESKTOP". (Bug#9779)
6849 2011-10-19 Juri Linkov <juri@jurta.org>
6851 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6852 (browse-url-chromium-program, browse-url-chromium-arguments):
6854 (browse-url-default-browser): Check for `browse-url-chromium' and
6855 call `browse-url-chromium-program'.
6856 (browse-url-chromium): New command. (Bug#9779)
6858 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6860 * facemenu.el (list-colors-duplicates): On Windows, detect more
6861 duplicates by assuming that only colors matching "^System" are
6862 special "system colors". (Bug#9722)
6864 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6866 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6867 to distinguish the author from the committer.
6869 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6871 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6873 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6875 * international/mule.el (sgml-html-meta-auto-coding-function):
6876 Add support for detecting encoding in HTML5 specified only as
6877 <meta charset="UTF-8">. Implementation just makes http-equiv and
6878 content-type parts from HTML4 encoding string optional. (Bug#9716)
6880 2011-10-18 Glenn Morris <rgm@gnu.org>
6882 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6884 2011-10-18 Chong Yidong <cyd@gnu.org>
6886 * faces.el (cursor): Doc fix.
6888 2011-10-17 Chong Yidong <cyd@gnu.org>
6890 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6892 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6894 * dirtrack.el (dirtrack): Support shell buffers with path
6895 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6897 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6899 * json.el: Bump version to 1.3 and note change in History.
6900 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6902 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6904 * comint.el (comint-insert-input, comint-send-input)
6905 (comint-get-old-input-default, comint-backward-matching-input)
6906 (comint-next-prompt): Use nil instead of `input' for field property of
6907 past user input (bug#114).
6909 * minibuffer.el (completion--replace): Inherit surrounding properties
6911 (minibuffer-complete-and-exit): Use it.
6913 * comint.el (comint--table-subvert): Quote the all-completions output
6916 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6918 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6920 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6921 window on right of selected. (Bug#9350) Reword other window
6922 entries and separate them from frame entries.
6924 2011-10-15 Glenn Morris <rgm@gnu.org>
6926 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6929 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6931 * net/network-stream.el (network-stream-open-starttls):
6932 Improve detection of failure due to lack of TLS support.
6934 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6935 putting the input text in front and in bold.
6937 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6941 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6944 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6945 unread-command-events rather than pushing yet-another event.
6947 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6949 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6950 the explanation of the possible choices. Make the options passed
6951 to completing-read shorter.
6953 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6955 * textmodes/flyspell.el (flyspell-large-region): Make sure
6956 extended character mode is used if defined (Bug#1339).
6958 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6960 * simple.el (what-cursor-position): Fix the display of the
6961 character info for LRE, LRO, RLE, and RLO characters by appending
6964 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6966 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6967 even in case of error; add debug spec; simplify data flow.
6968 (with-timeout-handler): Remove.
6970 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6972 Fix Bug#6019, Bug#9315.
6974 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6975 complete `buffer-file-name', the local file name part could look
6976 remotely (for example on VMS).
6978 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6979 `tramp-run-real-handler'.
6980 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6981 already quoted by '"'.
6983 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6984 Let `file-name-handler-alist' be nil, the local file name part
6985 could look remotely (for example on VMS).
6987 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6991 (flyspell-post-command-hook): ...to here.
6993 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6995 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6997 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6998 using completion. Protect against "slow" callers.
6999 Remove the "message hack".
7001 2011-10-11 Juri Linkov <juri@jurta.org>
7003 * isearch.el (isearch-lazy-highlight-word): New variable.
7004 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7007 2011-10-11 Glenn Morris <rgm@gnu.org>
7009 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7010 like f90-previous-statement does.
7012 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7014 * eshell/eshell.el (eshell-command): History should be saved
7015 only in interactive use, to avoid error.
7017 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * minibuffer.el (completion-file-name-table): Fix last change,
7020 i.e. ignore normal errors but not the other ones.
7022 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7024 * window.el (special-display-buffer-names)
7025 (special-display-regexps): Remove some remnants of earlier
7026 changes from doc-strings.
7027 (quit-windows-on): New function.
7029 * vc/vc.el (vc-revert, vc-rollback):
7030 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7031 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7032 (Bug#6183) (Bug#7074) (Bug#7447)
7034 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7036 * window.el (frame-auto-hide-function): Add version tag.
7039 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7041 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7044 2011-10-09 Leo Liu <sdl.web@gmail.com>
7046 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7049 2011-10-08 Glenn Morris <rgm@gnu.org>
7051 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7052 before the first code statement zero indent. (Bug#9690)
7054 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7056 * simple.el (count-words-region): Always count in the region.
7057 Report the number of lines and characters too.
7058 (count-words): New command, which counts in the buffer if the
7059 region is inactive, as count-words-region used to.
7060 (count-words--message): New function. Handle plurals.
7061 (count-lines-region): Make it an alias for count-words-region.
7063 * bindings.el (esc-map): Replace count-lines-region with
7066 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7068 * window.el (window--delete): Delete dedicated frame
7069 unconditionally when argument KILL is non-nil. (Bug#9699)
7070 (switch-to-buffer): Fix doc-string typo.
7072 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7074 * eshell/eshell.el (eshell-command): Avoid using hooks.
7076 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7078 * bindings.el ([M-left],[M-right]): Bind to left-word and
7079 right-word respectively.
7081 2011-10-07 Glenn Morris <rgm@gnu.org>
7083 * cus-start.el (debug-on-quit): Fix custom type.
7085 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087 * subr.el (define-key-after): Clarify that the function is not
7088 useful for non-menu keymaps.
7090 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7092 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7094 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7095 in current minibuffer (Fix bug with recursive minibuffers).
7097 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7099 * progmodes/gdb-mi.el (gdb): Doc fix.
7101 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7103 * window.el (frame-auto-hide-function): New option replacing
7104 frame-auto-delete. Suggested by Stefan Monnier.
7105 (window--delete): Call frame-auto-hide-function instead of
7106 investigating frame-auto-delete.
7107 (window-point-1, set-window-point-1): New functions.
7108 (window-in-direction, record-window-buffer, window-state-get-1)
7109 (display-buffer-record-window): Use window-point-1 instead of
7111 (set-window-buffer-start-and-point): Use set-window-point-1.
7113 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7117 2011-10-05 Glenn Morris <rgm@gnu.org>
7119 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7120 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7122 2011-10-05 Leo Liu <sdl.web@gmail.com>
7124 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7125 works with buffer object.
7127 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7129 * mpc.el (mpc-tool-bar-map): Add labels.
7131 2011-10-04 Glenn Morris <rgm@gnu.org>
7133 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7135 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7137 * window.el (window--delete): New function.
7138 (frame-auto-delete): Resuscitate option.
7139 (bury-buffer, replace-buffer-in-windows)
7140 (quit-window): Rewrite using window--delete.
7141 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7142 Pass display-buffer-mark-dedicated to window--display-buffer-2
7145 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7148 returns a list (bug#9554). Add remote file name completion.
7149 * comint.el (comint--table-subvert): Curry and get quote&unquote
7150 functions as arguments.
7151 (comint--complete-file-name-data): Adjust call accordingly.
7152 * pcomplete.el (pcomplete--table-subvert): Remove.
7153 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7155 * minibuffer.el (completion-table-case-fold): Use currying.
7156 (completion--styles-type, completion--cycling-threshold-type):
7158 (completion-styles, completion-category-overrides)
7159 (completion-cycle-threshold): Use them.
7160 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7161 completion-table-case-fold.
7163 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7165 * minibuffer.el (completion-category-overrides): Fix type of styles
7166 and add more user friendly tags (bug#9660).
7168 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7171 (mule-input-method-string): New widget.
7172 (default-input-method, language-info-custom-alist): Use it.
7174 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * pcomplete.el: Require comint.
7177 (pcomplete--common-suffix): Remove.
7178 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7179 (pcomplete--table-subvert): Sync with comint--table-subvert.
7180 (pcomplete--entries): Use comint-completion-file-name-table.
7181 * comint.el (comint-unquote-filename): Simplify.
7182 (comint-completion-file-name-table): New function (bug#9616).
7183 (comint--complete-file-name-data): Use it.
7185 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7186 (pcmpl-gnu-tar-buffer): Remove.
7187 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7188 around. Make sure pcomplete-suffix-list is only changed temporarily.
7189 Don't look inside the tar's file if it's too large.
7191 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7193 * cus-edit.el (custom-mode-map):
7194 * epa.el (epa-key-list-mode-map):
7195 * man.el (Man-mode-map):
7196 * startup.el (splash-screen-keymap):
7197 * simple.el (special-mode-map): Use scroll-up-command and
7198 scroll-down-command.
7200 * progmodes/idlw-help.el (idlwave-help-mode-map):
7201 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7202 * net/newst-plainview.el (newsticker-mode-map):
7203 * emulation/ws-mode.el (wordstar-mode-map):
7204 * emulation/vi.el (vi-com-map):
7205 * calc/calc-graph.el (calc-graph-show-dumb):
7206 * term/sun.el (terminal-init-sun):
7207 * term/ns-win.el (global-map):
7208 * progmodes/grep.el (grep-mode-map):
7209 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7210 * mail/rmail.el (rmail-mode-map):
7211 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7213 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7214 custom-safe-themes as special.
7216 2011-10-01 Julien Danjou <julien@danjou.info>
7218 * notifications.el (notifications-notify): Fix docstring.
7220 2011-10-01 Per Starbäck <per@starback.se>
7222 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7224 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7226 * startup.el (command-line-1): Fix last fix by inserting
7227 initial-scratch-message into *scratch* before displaying it.
7228 (Bug#9605) and (Bug#9636)
7230 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7232 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7233 window is hscrolled, move by logical lines. (Bug#9607)
7234 (line-move-visual): Update the doc string to the above effect.
7236 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7238 * window.el (display-buffer-record-window): When WINDOW is the
7239 selected window use `point' instead of `window-point'. (Bug#9626)
7241 * startup.el (command-line-1): Use insert-before-markers when
7242 inserting initial-scratch-message. (Bug#9605)
7244 * help.el (help-window): Remove variable.
7246 2011-09-29 Glenn Morris <rgm@gnu.org>
7248 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7250 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7252 * descr-text.el (describe-char-categories): Accept category
7253 descriptions more than one line long.
7255 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7257 * simple.el (delete-trailing-whitespace): Fix last change.
7259 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7260 Don't confuse "y => 3" as the beginning of a `y' operation.
7262 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7263 object has more than 4 slots (bug#9613).
7265 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7267 * subr.el (with-output-to-temp-buffer):
7268 * net/quickurl.el (quickurl, quickurl-browse-url):
7269 Fix typos in docstrings.
7271 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7273 * minibuffer.el (completion-styles)
7274 (completion-category-overrides): Cross reference each other in doc
7277 2011-09-27 Glenn Morris <rgm@gnu.org>
7279 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7280 to split-string. (Bug#9606)
7282 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7287 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7289 * emacs-lisp/package.el (list-packages): Fix echo area message.
7291 2011-09-27 Leo Liu <sdl.web@gmail.com>
7293 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7295 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7297 * net/dbus.el (dbus-unregister-object): Don't release services for
7298 registered signals. (Bug#9581)
7300 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7302 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7303 function that picks between cfengine 2 and 3 support
7304 automatically. Update docs accordingly.
7306 2011-09-22 Kenichi Handa <handa@m17n.org>
7308 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7310 (indian-itrans-v5-table-for-tamil): New variable.
7311 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7313 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7315 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7316 that's true if the current command involved collapsing of text.
7317 It's reset to false at the beginning of the next command.
7318 (allout-post-command-business): Move the cursor to the beginning
7319 of entry if the cursor is hidden and collapsing activity just
7322 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7324 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7325 tracking (Bug#9541).
7327 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7329 * net/newst-reader.el (newsticker-html-renderer)
7330 (newsticker-show-news): Automatically load html rendering package
7331 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7332 because w3m-fill-column is let-bound" and the error "Symbol's value
7333 as variable is void: w3m-fill-column".
7335 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7337 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7338 Release services only if they are defined. (Bug#9581)
7340 2011-09-23 Richard Stallman <rms@gnu.org>
7342 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7343 distinguish start of paragraph from start of its text.
7345 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7347 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7348 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7349 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7351 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7353 * international/mule-diag.el (mule-diag): Insert a newline after
7354 each fontset description.
7356 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7358 * simple.el (delete-trailing-whitespace):
7359 Document last change; simplify.
7361 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7363 * simple.el (delete-trailing-whitespace): Also delete
7364 extra newlines at the end of the buffer.
7366 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7367 (picture-newline): Use forward-line so as to ignore fields.
7369 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7371 * subr.el (with-wrapper-hook): Fix edebug spec.
7373 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7378 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7380 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7381 Fix nasty bug using wrong cached values.
7383 2011-09-23 Alan Mackenzie <acm@muc.de>
7385 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7387 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7389 * window.el (pop-to-buffer): Ensure right window is selected if we
7390 chose another frame.
7392 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7394 * simple.el (what-cursor-position): Use get-char-property-change
7395 and next-single-char-property-change, to be able to show display
7396 properties that come from overlays as well as text properties.
7398 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7400 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7402 * cmuscheme.el (run-scheme, switch-to-scheme):
7403 * cus-edit.el (customize-group, custom-buffer-create)
7407 * mail/sendmail.el (mail):
7408 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7410 2011-09-22 Richard Stallman <rms@gnu.org>
7412 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7413 move back only to line beg, don't move back over blank lines.
7415 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7417 * files.el (copy-directory): Set directory attributes only in case
7418 they could be retrieved from the source directory. (Bug#9565)
7420 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7422 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7423 (hs-find-block-beginning, hs-hide-level-recursive):
7424 Ignore strings as well as comments. (Bug#9502)
7426 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7428 * progmodes/sql.el (sql-comint-postgres):
7429 Convert port number to a string. (Bug#9566)
7431 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7433 * window.el (quit-window): Undedicate window when switching to
7434 previous buffer. Reported by Thierry Volpiatto
7435 <thierry.volpiatto@gmail.com>.
7436 (special-display-popup-frame): When popping up a new frame reset
7437 its previous buffers to nil. Simplify code.
7439 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7441 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7442 and process filter, as done also in `shell-command'.
7444 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7446 * window.el (set-window-buffer-start-and-point):
7447 Call set-window-start with NOFORCE argument t.
7448 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7449 (quit-window): Reword doc-string. Handle new format of
7450 quit-restore parameter. Don't delete window if it has a
7451 previous buffer we can show instead of the present one.
7452 (display-buffer-record-window): Rewrite using a new format for
7453 the quit-restore window parameter
7454 (special-display-popup-frame, display-buffer-same-window)
7455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7456 (display-buffer-pop-up-window, display-buffer-use-some-window):
7457 Adapt symbol passed to display-buffer-record-window.
7458 * help.el (help-window-setup): Handle new format of quit-restore
7461 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * faces.el (face-list): Fix docstring (bug#9564).
7465 * window.el (display-buffer--action-function-custom-type):
7466 Don't include internal functions in the Custom interface.
7468 2011-09-20 Juri Linkov <juri@jurta.org>
7470 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7471 (Info-forward-node, Info-backward-node, Info-next-preorder)
7472 (Info-last-preorder): Use it. (Bug#9528)
7474 2011-09-20 Juri Linkov <juri@jurta.org>
7476 * info.el (Info-last-preorder): Visit last menu item only when
7477 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7479 2011-09-20 Julien Danjou <julien@danjou.info>
7481 * password-cache.el (password-cache-remove): Remove entries even if the
7482 value is nil, so that password with a nil value (negative caching) is
7483 possible to invalidate.
7485 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7487 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7488 all whitespace around breakpoint. (Bug#9553)
7489 (f90-find-breakpoint): Only break at whitespace inside a comment.
7491 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * minibuffer.el (completion-file-name-table): Keep track of errors.
7494 (completion-table-with-predicate): Handle the case where pred1 is nil.
7495 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7497 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7500 (debugger-return-value): Signal an error if the debugging context does
7501 not await any return value.
7503 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7504 * image-mode.el (image-toggle-display-text)
7505 (image-toggle-display-image): Stay away from evil `intangible'.
7507 2011-09-19 Leo Liu <sdl.web@gmail.com>
7509 * replace.el (occur-revert-arguments): Make it permanent-local.
7510 (occur-mode): Don't call font-lock-defontify.
7512 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7514 * net/ldap.el (ldap-search-internal): Don't push empty search
7517 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7521 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7524 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7526 2011-09-18 Juri Linkov <juri@jurta.org>
7528 * buff-menu.el (Buffer-menu-mode-map):
7529 * dired.el (dired-mode-map):
7530 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7531 (lisp-interaction-mode-map):
7532 * emacs-lisp/package.el (package-menu-mode-map):
7533 * epa.el (epa-key-list-mode-map):
7534 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7535 (menu-bar-options-menu):
7536 * outline.el (outline-mode-menu-bar-map):
7537 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7538 * vc/vc-dir.el (vc-dir-menu-map):
7539 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7540 Capitalize non-function content words in menu item strings.
7542 * dired.el (dired-mode-map): Add menu item for
7543 `image-dired-dired-toggle-marked-thumbs'.
7545 2011-09-18 Juri Linkov <juri@jurta.org>
7547 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7548 to `isearch-case-fold-search' and restore its original value
7549 after the `isearch-mode' call.
7551 2011-09-18 Juri Linkov <juri@jurta.org>
7553 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7554 because `zgrep' returns 1 for successful matches (bug#9226).
7556 2011-09-18 Juri Linkov <juri@jurta.org>
7558 * info.el (Info-extract-menu-node-name): Check the second match
7559 for empty string (second test-case of bug#9528).
7560 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7561 intermediate nodes to the history (first test-case of bug#9528).
7563 2011-09-18 Juri Linkov <juri@jurta.org>
7565 * info.el (Info-mode-syntax-table): New variable.
7566 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7568 2011-09-18 Juri Linkov <juri@jurta.org>
7570 * info.el (Info-file-supports-index-cookies):
7571 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7572 outputs one more line for long file names (bug#4142).
7574 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7576 * newcomment.el (comment-normalize-vars): If prompting for
7577 comment-start, set comment-start-skip too (Bug#8424).
7579 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7581 * icomplete.el: Fix previous fix of Bug#5849.
7582 (icomplete-mode): Don't set completion-show-inline-help.
7583 (icomplete-minibuffer-setup): Set completion-show-inline-help
7584 locally during icompletion.
7586 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7588 * woman.el (woman2-process-escapes): Don't delete unrecognized
7591 * files.el (inhibit-first-line-modes-regexps): Add image files.
7592 (hack-local-variables-prop-line): Return nil for malformed
7593 prop-lines (Bug#9044).
7595 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7597 * net/tramp.el (top): Don't require 'shell.
7598 (tramp-methods): Fix docstring.
7599 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7600 Return complete remote file name. Handle "smb" case.
7601 Use `tramp-tmpdir', if defined for the respective method.
7602 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7604 * net/tramp-compat.el (top): Require 'shell.
7606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7607 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7608 `tramp-current-host'.
7609 (tramp-get-remote-tmpdir): Remove.
7611 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7612 `tramp-tmpdir' entries.
7613 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7614 (tramp-smb-handle-file-attributes): Ignore errors.
7615 (tramp-smb-wait-for-output): Check also for process end.
7617 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7619 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7620 when sending QUIT (bug#9312).
7622 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7624 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7625 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7626 occur-mode-display-occurrence.
7627 (occur-edit-mode): Add usage message.
7628 (occur-cease-edit): New command.
7629 (occur-after-change-function): Use text properties to find the
7630 position of the prefix text.
7631 (occur-engine): Set stickiness of prefix text properties.
7633 2011-09-17 Glenn Morris <rgm@gnu.org>
7635 * progmodes/etags.el (complete-tag):
7636 Fix call to completion-in-region. (Bug#9526)
7638 2011-09-17 Juri Linkov <juri@jurta.org>
7640 * textmodes/ispell.el (ispell-word): Add to the error message
7641 the word, ispell program name and current dictionary (bug#9121).
7642 (ispell-tex-arg-end): Capitalize "error" in the error message.
7644 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7646 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7649 2011-09-17 Juri Linkov <juri@jurta.org>
7651 * window.el (window-safe-min-height, window-safe-min-width):
7652 Fix typos (followup to bug#9522).
7654 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7656 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7658 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7660 * simple.el (line-move): If goal-column is set, move by logical
7661 lines, not by display lines. (Bug#971)
7662 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7663 to reflect the above change.
7665 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * image.el (imagemagick-register-types): Use regexp-opt.
7669 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7671 * window.el (display-buffer-base-action): Rename from
7672 display-buffer-default-action. Make default value empty.
7673 (display-buffer-overriding-action): Convert to defvar.
7674 (display-buffer-fallback-action): New var.
7676 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7678 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7680 (package--add-to-archive-contents): If there is a duplicate entry
7681 with an older version, remove it.
7682 (package-menu-mark-delete, package-menu-mark-install)
7683 (package-menu-mark-unmark): Make unused args optional.
7684 (package-menu-mark-obsolete-for-deletion):
7685 Use package-menu-get-status instead of a regexp search.
7686 (package-menu-get-status): Use tabulated-list-entry.
7687 (package-menu-mark-upgrades): New command.
7688 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7689 (package-menu-execute): Do installation before deletion.
7690 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7691 instead of checking major-mode.
7692 (package-menu--find-upgrades): New function.
7694 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7696 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7697 passwords in the log buffer.
7698 (smtpmail-process-filter): Update the process marker so that the
7699 "broken by peer" status message is inserted in the right place.
7701 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7703 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7704 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7705 bibtex-completion-at-point-function.
7706 (bibtex-completion-at-point-function): Use them.
7708 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7710 * mpc.el (mpc-constraints-tag-lookup): New function.
7711 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7712 also to browser "album|playlist".
7714 2011-09-14 Juri Linkov <juri@jurta.org>
7716 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7717 (isearch-edit-string): Use length of `isearch-string' when
7718 `isearch-fail-pos' returns nil.
7719 (isearch-message): Remove duplicate code and call
7720 `isearch-fail-pos' with arg `t'.
7722 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7724 * replace.el (occur-mode-goto-occurrence): Don't force using other
7727 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7729 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7731 * window.el (display-buffer-window): Remove.
7732 (display-buffer-record-window): Use help-setup window parameter
7733 instead of variable display-buffer-window.
7734 (display-buffer-function, special-display-buffer-names)
7735 (special-display-function): Mention help-setup parameter instead
7736 of display-buffer-window in doc-string.
7737 * help.el (help-window-setup): New argument help-window.
7738 Use help-window-setup parameter instead of display-buffer-window.
7739 Reword some messages.
7740 (with-help-window): Pass window used for displaying the buffer
7741 to help-window-setup. Don't set display-buffer-window.
7743 2011-09-13 Glenn Morris <rgm@gnu.org>
7745 * emacs-lisp/debug.el (debugger-make-xrefs):
7746 Preserve point. (Bug#9462)
7748 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7750 * window.el (window-deletable-p): Use next-frame.
7752 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7754 * window.el (window-auto-delete): Remove.
7755 (window-deletable-p): Remove argument FORCE. Don't deal with
7756 dedication and previous buffers.
7757 (switch-to-prev-buffer): Don't delete window.
7758 (delete-windows-on): Delete a window's frame if and only if the
7759 window is dedicated.
7760 (replace-buffer-in-windows): Delete buffer's window or frame if
7761 and only if window is dedicated.
7762 (quit-window): Handle quit-restore as before last change.
7763 (bury-buffer): Delete window only if window-deletable-p returns t.
7765 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7767 * window.el (window-deletable-p): Never delete the last frame on a
7770 2011-09-13 Glenn Morris <rgm@gnu.org>
7772 * help.el (describe-key-briefly): Copy previous standard-output change.
7774 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7776 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7778 2011-09-13 Glenn Morris <rgm@gnu.org>
7780 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7781 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7783 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7785 * dired-aux.el (dired-mark-read-string): Don't return default
7786 value on empty input (Bug#9361).
7787 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7788 Omit initial minibuffer contents.
7789 (dired-do-chmod): Signal an error on empty input.
7790 (dired-mark-read-string): Don't return default on empty input.
7792 * files.el (file-modes-symbolic-to-number): Doc fix.
7794 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * international/mule-cmds.el (ucs-completions): Remove.
7797 (read-char-by-name): Use complete-with-action instead; add metadata.
7799 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7801 * window.el (display-buffer--action-function-custom-type)
7802 (display-buffer--action-custom-type): New vars.
7803 (display-buffer-alist, display-buffer-default-action)
7804 (display-buffer-overriding-action): Add defcustom types.
7806 * frame.el (delete-other-frames): Doc fix (Bug#276).
7808 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7812 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7814 Change modes that used same-window-* vars to use switch-to-buffer.
7816 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7817 Use switch-to-buffer.
7819 * cus-edit.el (customize-group, custom-buffer-create)
7820 (customize-browse, custom-buffer-create-other-window):
7821 Use switch-to-buffer or switch-to-buffer-other-window.
7823 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7824 (Info-prev, Info-up, Info-speedbar-goto-node)
7825 (info-display-manual): Use switch-to-buffer.
7826 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7828 * mail/sendmail.el (mail): Use switch-to-buffer.
7829 (mail-recover): Use switch-to-buffer-other-window.
7831 * cmuscheme.el (run-scheme, switch-to-scheme):
7834 * net/rlogin.el (rlogin):
7835 * net/telnet.el (telnet, rsh):
7836 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7838 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7840 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7842 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7845 so don't mention it (bug#9301).
7846 (dired-sort-toggle-or-edit): Clarify string further.
7848 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7849 match `x', `w32' and `ns', like the manual says (bug#9029).
7851 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7852 (process-kill-buffer-query-function): Mention the buffer name in
7855 * image-mode.el (image-next-line): The line parameter is mandatory
7858 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7859 which can be useful (bug#9301).
7861 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7863 * subr.el (match-string): Mention that the current buffer should
7864 be the same as the search was done in (bug#9282).
7866 * facemenu.el: Disable the remove-* commands if the mark isn't
7869 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7871 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7873 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7875 * replace.el (occur-mode-goto-occurrence)
7876 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7879 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7882 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7883 special-display and same-window variables.
7884 (mail-other-window): Use switch-to-buffer-other-window.
7885 (mail-other-frame): USe switch-to-buffer-other-frame.
7887 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7888 Use display-buffer-other-frame.
7889 (gdb-display-gdb-buffer): Use pop-to-buffer.
7891 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7893 * progmodes/python.el: Don't set same-window-buffer-names.
7895 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7897 * window.el (display-buffer-alist): Add *Python*.
7899 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7901 * window.el (display-buffer-alist): Add entry for buffers
7902 previously handled same-window-*.
7903 (display-buffer-alist, display-buffer-default-action)
7904 (display-buffer-overriding-action): Mark as risky.
7905 (display-buffer-alist): Document action function changes.
7906 (display-buffer--same-window-action)
7907 (display-buffer--other-frame-action): New variables.
7908 (switch-to-buffer, display-buffer-other-frame): Use them.
7909 (display-buffer): Rename reuse-frame entry to reusable-frames.
7910 (display-buffer-reuse-selected-window): Function deleted.
7911 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7912 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7913 (display-buffer-special): New function.
7914 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7915 display-buffer-reuse-or-pop-window. Split off special-display
7916 part into display-buffer-special.
7917 (display-buffer-use-some-window): Don't perform any special
7918 pop-up-frames handling.
7919 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7920 (display-buffer--maybe-same-window): Rename from
7921 display-buffer-maybe-same-window.
7923 * info.el: Don't set same-window-regexps.
7924 (info-setup): New function.
7925 (info-other-window, info): Call it.
7927 * cus-edit.el: Don't set same-window-regexps.
7928 (customize-group): New argument.
7929 (customize-group-other-window): Use it.
7930 (customize-face, customize-face-other-window): Likewise.
7931 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7935 * progmodes/gud.el: Don't set same-window-regexps.
7941 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7943 2011-09-10 Juri Linkov <juri@jurta.org>
7945 * isearch.el (isearch-edit-string): Remove obsolete mention of
7946 `C-w' (`isearch-yank-word-or-char') from docstring.
7947 (isearch-query-replace): Fix typo in docstring (bug#9466).
7949 2011-09-10 Juri Linkov <juri@jurta.org>
7951 * paren.el (show-paren-function): Don't show escaped parens.
7952 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7954 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7956 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7957 (mm-default-file-encoding): Remove autoload forms, they are
7958 replaced with autoload cookies in mml.el and mm-encode.el.
7959 (mail-add-attachment): New command.
7960 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7961 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7963 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7965 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7967 * simple.el (count-words-region): Use buffer if there's no region
7970 2011-09-09 Juri Linkov <juri@jurta.org>
7972 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7973 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7974 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7976 2011-09-09 Alan Mackenzie <acm@muc.de>
7978 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7979 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7981 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7983 Fix for Savannah bug#9392.
7984 * simple.el (mail-encode-mml): New defvar.
7986 * mail/rmail.el (mail-encode-mml): Add a defvar.
7987 (rmail-enable-mime-composing): Default to t.
7988 (rmail-forward): Use MIME method of forwarding only if both
7989 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7990 Set mail-encode-mml non-nil if the MIME method was used.
7992 * mail/sendmail.el (mml-to-mime): Add autoload form.
7993 (mail-encode-mml): Add a defvar.
7994 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7996 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7997 message through mml-to-mime, and reset mail-encode-mml to nil.
7999 2011-09-09 Glenn Morris <rgm@gnu.org>
8001 * woman.el (woman-if-body): When processing an .el block,
8002 do not delete the next .el block as well. (Bug#9447)
8003 (woman-special-characters): Add oq, cq, and hy characters.
8005 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8007 * window.el (window-deletable-p): Make sure window is live before
8008 invoking window-prev-buffers.
8010 2011-09-08 Leo Liu <sdl.web@gmail.com>
8012 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8014 2011-09-08 Juri Linkov <juri@jurta.org>
8016 * progmodes/compile.el (compilation-environment): Make it
8017 a defcustom (bug#8340).
8019 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8021 * window.el (frame-auto-delete): Rename to window-auto-delete.
8022 Make it control auto-deletion of windows and/or frames.
8023 (window-deletable-p): New argument FORCE. Rewrite conditions
8024 for deleting window/frame. (Bug#9419)
8025 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8026 Rewrite handling of case when window/frame can be deleted.
8027 (delete-windows-on): Call window-deletable-p with new FORCE
8028 argument t. (Bug#9456)
8030 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8032 * help-mode.el (help-mode): Restore autoload.
8034 2011-09-07 Juri Linkov <juri@jurta.org>
8036 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8037 `compilation-environment'. Set buffer-local
8038 `compilation-environment' to `thisenv' later after (funcall mode).
8041 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8042 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8043 instead of replacing its value. (Bug#8340)
8045 2011-09-07 Juri Linkov <juri@jurta.org>
8047 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8048 based on text properties put by `grep-filter' instead of matching
8050 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8051 to the value of `grep-error-screen-columns' (bug#9438).
8053 2011-09-07 Juri Linkov <juri@jurta.org>
8055 * simple.el (next-error-highlight, next-error-highlight-no-select):
8058 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8060 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8061 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8063 2011-09-07 Leo Liu <sdl.web@gmail.com>
8065 * net/rcirc.el (rcirc-mode): Conditionally initialize
8068 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * emacs-lisp/find-func.el (find-function-C-source): Only set
8071 find-function-C-source-directory after checking that we found a source
8072 file there (bug#9440).
8074 2011-09-06 Alan Mackenzie <acm@muc.de>
8076 * isearch.el (isearch-other-meta-char): Wherever a key list is
8077 unread, "unread" the prefix arg, too. This fixes bug #8901.
8079 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8081 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8083 2011-09-05 Juri Linkov <juri@jurta.org>
8085 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8087 2011-09-05 Juri Linkov <juri@jurta.org>
8089 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8090 keeping point where processing of grep matches begins, and
8091 continue to delete remaining escape sequences from the same point.
8092 (grep-filter): Make leading zero optional in "0?1;31m" because
8093 git-grep emits "\033[1;31m" escape sequences unlike expected
8094 "\033[01;31m" as GNU Grep does (bug#9408).
8095 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8097 2011-09-05 Juri Linkov <juri@jurta.org>
8099 * subr.el (y-or-n-p): Capitalize "yes".
8101 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8103 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8104 `tramp-cache-unload-hook' where appropriate.
8105 (tramp-methods): Rename `tramp-remote-sh' to
8106 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8107 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8109 * net/tramp-sh.el (top): Don't require 'shell.
8110 (tramp-methods): Add `tramp-remote-shell' and
8111 `tramp-remote-shell-args' entries.
8112 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8113 (tramp-sh-handle-shell-command): Remove.
8114 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8115 Use `tramp-remote-shell'.
8117 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8119 * mail/sendmail.el (sendmail-query-once-function): Delete.
8120 (sendmail-query-once): Save directly to send-mail-function.
8121 Update message-send-mail-function too.
8123 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8125 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8127 * progmodes/python.el (python-mode-map): Use correct function to
8128 start python interpreter from menu-bar (as reported by Geert
8130 (inferior-python-mode-map): Fix typo.
8131 (python-shell-map): Remove.
8133 2011-09-03 Deniz Dogan <deniz@dogan.se>
8135 * net/rcirc.el (rcirc-print): Simplify code for
8136 rcirc-scroll-show-maximum-output. There is no need to walk
8137 through all windows to find the right one.
8139 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8141 * help.el (help-return-method): Doc fix.
8143 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8145 * window.el (window-deletable-p): Don't return a non-nil value
8146 when there's a buffer that was shown in the window before.
8148 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8149 Set window's previous buffers to nil.
8151 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8153 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8154 newline before and after the tag line, so it doesn't interfere
8155 with determining the paragraph direction of bidirectional text.
8157 2011-09-03 Leo Liu <sdl.web@gmail.com>
8159 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8161 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8163 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8164 (pop-to-buffer): Change interactive spec. Pass second argument
8165 directly to display-buffer.
8166 (display-buffer): Fix interactive spec. Use functionp to
8167 distinguish between a function and a list of functions.
8169 * abbrev.el (edit-abbrevs):
8170 * arc-mode.el (archive-extract):
8171 * autoinsert.el (auto-insert):
8172 * bookmark.el (bookmark-bmenu-list):
8173 * files.el (find-file):
8174 * view.el (view-buffer):
8175 * progmodes/compile.el (compilation-goto-locus):
8176 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8178 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8180 * window.el (display-buffer-alist): Doc fix.
8181 (display-buffer): Add docstring. Don't treat
8182 display-buffer-default specially.
8183 (display-buffer-reuse-selected-window)
8184 (display-buffer-same-window, display-buffer-maybe-same-window)
8185 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8186 (display-buffer-pop-up-window)
8187 (display-buffer-reuse-or-pop-window)
8188 (display-buffer-use-some-window): New functions.
8189 (display-buffer-default-action): Use them.
8190 (display-buffer-default): Delete.
8191 (pop-to-buffer-1): Fix choice of actions.
8193 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * minibuffer.el (completion--insert-strings): Don't get confused by
8196 completion entries that end with an LF char.
8198 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8200 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8202 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8204 * window.el (display-buffer): Restore interactive spec.
8205 (display-buffer-same-window, display-buffer-other-window):
8207 (pop-to-buffer-1): New function. Use the above.
8208 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8209 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8211 * view.el (view-buffer-other-window, view-buffer-other-frame):
8212 Just use pop-to-buffer.
8214 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8216 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8218 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8220 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8222 2011-08-31 Richard Stallman <rms@gnu.org>
8224 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8225 of the separation of rmail-view-buffer from rmail-buffer.
8226 If you say no to "replace original", the decrypt is in the
8227 view buffer. If you say yes, the decrypt goes into the
8230 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8232 * window.el (display-buffer-window): Rewrite doc-string.
8233 (display-buffer-record-window): New function.
8234 (display-buffer-macro-specifiers)
8235 (display-buffer-even-window-sizes, display-buffer-set-height)
8236 (display-buffer-set-width, display-buffer-in-window)
8237 (display-buffer-reuse-window, display-buffer-split-specifiers)
8238 (display-buffer-side-specifiers, display-buffer-split-window-1)
8239 (display-buffer-split-window, display-buffer-split-atom-window)
8240 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8241 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8242 (display-buffer-other-window-means-other-frame)
8243 (display-buffer-normalize-special)
8244 (display-buffer-normalize-default)
8245 (display-buffer-normalize-argument)
8246 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8247 (display-buffer-normalize-specifiers, display-buffer-frame)
8248 (display-buffer-same-window, display-buffer-same-frame)
8249 (display-buffer-other-window)
8250 (display-buffer-same-frame-other-window)
8251 (display-buffer-other-frame, pop-to-buffer-same-window)
8252 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8253 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8254 (switch-to-buffer-same-frame)
8255 (switch-to-buffer-other-window-same-frame)
8256 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8257 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8258 (display-buffer-alist-set): Remove.
8259 (display-buffer-function, special-display-buffer-names)
8260 (special-display-regexps, special-display-function):
8261 In doc-string refer to display-buffer-window and quit-restore
8263 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8264 (special-display-frame-alist, special-display-popup-frame)
8265 (same-window-buffer-names, same-window-regexps, same-window-p)
8266 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8267 (split-window-preferred-function, split-height-threshold)
8268 (split-width-threshold, window-splittable-p)
8269 (split-window-sensibly, window--try-to-split-window)
8270 (window--frame-usable-p, even-window-heights)
8271 (window--even-window-heights, window--display-buffer-1)
8272 (window--display-buffer-2, display-buffer-other-frame):
8273 Restore old Emacs 23 code, order and doc-strings where applicable.
8274 (display-buffer-default, display-buffer-assq-regexp): New functions.
8275 (display-buffer-alist): Rewrite doc-string.
8276 (display-buffer-default-action)
8277 (display-buffer-overriding-action): New variables.
8278 (display-buffer, switch-to-buffer): Rewrite.
8279 (pop-to-buffer): Restore Emacs 23 behavior but use
8280 window-normalize-buffer-to-display.
8281 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8282 Restore Emacs 23 behavior but use
8283 window-normalize-buffer-to-switch-to.
8284 (pop-to-buffer-same-window): Rewrite.
8285 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8286 Rewrite using Emacs 23 options.
8288 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8290 * net/tramp.el (tramp-root-regexp): Remove.
8291 (tramp-completion-file-name-regexp-unified)
8292 (tramp-completion-file-name-regexp-separate)
8293 (tramp-completion-file-name-regexp-url): Don't use leading volume
8294 letter on win32 systems. (Bug#5303, Bug#9311)
8295 (tramp-drop-volume-letter): Simplify definition.
8296 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8298 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8303 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8305 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8307 2011-08-29 Juri Linkov <juri@jurta.org>
8309 * isearch.el (isearch-done): Don't display message "Mark saved"
8310 when arg `edit' is non-nil to prevent its flicker in the echo area.
8312 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8314 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8315 obsolete packages for deletion.
8317 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8319 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8320 (help-mode): Derive help-mode from special-mode. Don't invoke
8321 view-mode from help-mode.
8322 (help-xref-override-view-map): Remove.
8323 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8324 view-mode is not used anymore.
8326 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8328 * server.el (server-port): Doc fix.
8330 * cus-theme.el (custom-theme-choose-mode): Inherit from
8331 special-mode (Bug#9124).
8332 (custom-theme-choose-mode-map): Add special-mode to parent.
8334 2011-08-28 Alan Mackenzie <acm@muc.de>
8336 * progmodes/cc-fonts.el
8337 (c-make-font-lock-BO-decl-search-function): New function.
8338 (c-basic-matchers-after - "Fontify the clauses after various
8339 keywords"): Extract the three keyword lists for the 3 erroneous
8340 constructs from the list of four, and use the new function above
8341 in place of an old one.
8343 2011-08-28 Deniz Dogan <deniz@dogan.se>
8345 * net/rcirc.el (rcirc-insert-prev-input)
8346 (rcirc-insert-next-input): Remove unused argument.
8348 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8350 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8352 2011-08-27 Alan Mackenzie <acm@muc.de>
8354 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8355 handle function pointer parameters properly.
8357 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8359 * window.el (display-buffer-reuse-window): Fix case where
8360 selected window was reused with non-nil OTHER-WINDOW argument.
8363 2011-08-27 Deniz Dogan <deniz@dogan.se>
8365 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8366 oftc's NickServ messages.
8368 2011-08-27 Glenn Morris <rgm@gnu.org>
8370 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8372 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8374 * emacs-lisp/package.el (package-install): Call package-initialize
8375 if called interactively.
8377 2011-08-26 Leo Liu <sdl.web@gmail.com>
8379 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8381 2011-08-25 Juri Linkov <juri@jurta.org>
8383 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8384 `search-whitespace-regexp' (bug#9364).
8386 2011-08-25 Juri Linkov <juri@jurta.org>
8388 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8389 `regexp-search-ring' to their global values to protect from
8390 updating by `read-from-minibuffer' (bug#9185).
8392 2011-08-25 Juri Linkov <juri@jurta.org>
8394 * textmodes/ispell.el (ispell-command-loop): Add newline
8395 at the end of the "Use option `i'..." line.
8397 2011-08-25 Juri Linkov <juri@jurta.org>
8399 * battery.el (display-battery-mode): If `battery-status-function'
8400 or `battery-mode-line-format' is nil, display the message and set
8401 `display-battery-mode' to nil (bug#9363).
8403 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8405 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8406 bidi-string-mark-left-to-right; they are unnecessary now.
8408 2011-08-25 Deniz Dogan <deniz@dogan.se>
8410 * net/quickurl.el: Documentation typo fixes.
8412 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8414 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8416 2011-08-25 Glenn Morris <rgm@gnu.org>
8418 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8420 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8421 (smtpmail-via-smtp): Handle nil response from smtp.
8423 2011-08-24 Juri Linkov <juri@jurta.org>
8425 * proced.el (proced-marked): Inherit from `error' instead of
8426 `font-lock-warning-face'.
8428 * ibuffer.el (ibuffer-marked-face): Change default face from
8429 `font-lock-warning-face' to `warning'.
8430 (ibuffer-deletion-face): Change default face from
8431 `font-lock-type-face' to `error'.
8433 * battery.el (battery-update): Use the face `error' instead of
8434 `font-lock-warning-face' (bug#6117).
8436 2011-08-24 Juri Linkov <juri@jurta.org>
8438 * faces.el (success): Change face color from "Green3" to
8439 "ForestGreen" on light background (bug#9353).
8441 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8443 * window.el (quit-window): Rename from quit-restore-window.
8444 Use same arglist as old quit-window.
8445 (frame-auto-delete): Doc fix.
8447 * view.el (view-mode-exit): Use quit-window.
8449 2011-08-24 Juri Linkov <juri@jurta.org>
8451 * isearch.el (isearch-ring-adjust1): Start visiting previous
8452 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8453 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8454 for empty search string (when the last search string is reused
8455 automatically) to adjust the isearch ring to the last element and
8456 prepare the correct index for further M-p commands (bug#9185).
8458 2011-08-24 Kenichi Handa <handa@m17n.org>
8460 * international/ucs-normalize.el: If decomposition property of
8461 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8463 (nfd, nfkd): Likewise.
8465 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8468 from process filters aren't reliably transmitted to the surrounding
8469 accept-process-output.
8470 (mpc-proc-check): New function.
8471 (mpc-proc-sync): Use it (bug#8293)
8473 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8475 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8476 Add compatibility functions (bug#9313).
8478 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8480 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8482 * international/uni-bidi.el: Regenerate.
8484 2011-08-23 Kenichi Handa <handa@m17n.org>
8486 * international/charprop.el:
8487 * international/uni-bidi.el:
8488 * international/uni-category.el:
8489 * international/uni-combining.el:
8490 * international/uni-comment.el:
8491 * international/uni-decimal.el:
8492 * international/uni-decomposition.el:
8493 * international/uni-digit.el:
8494 * international/uni-lowercase.el:
8495 * international/uni-mirrored.el:
8496 * international/uni-name.el:
8497 * international/uni-numeric.el:
8498 * international/uni-old-name.el:
8499 * international/uni-titlecase.el:
8500 * international/uni-uppercase.el: Regenerate.
8502 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8504 * help.el (help-window-setup): Fix message displayed when other
8505 window is reused. (Bug#9341)
8507 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8510 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8512 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8514 * shell.el (shell-parse-pcomplete-arguments): New function.
8515 (shell-completion-vars): Use it instead (bug#9160).
8517 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8519 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8520 strings and comments (bug#9333).
8522 * emacs-lisp/debug.el (debug-arglist): New function.
8523 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8524 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8526 2011-08-22 Juri Linkov <juri@jurta.org>
8528 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8529 Revert regexp that highlights output switches to its old
8530 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8532 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8533 to check for empty output (bug#9226).
8535 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8537 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8538 symbol-constituent as the default, as that stops font-lock from
8539 working properly (Bug#8843).
8541 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8544 `coding-system-for-*' around the process open call to avoid
8545 auth-source side effects.
8546 (smtpmail-try-auth-methods): Expand the secret password.
8547 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8550 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8552 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8554 * emacs-lisp/find-func.el (find-function-noselect): New arg
8557 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8558 signal an error for built-in functions (Bug#6664).
8560 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8563 (smtpmail-try-auth-methods): Use it.
8565 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8567 * font-lock.el (font-lock-fontify-region)
8568 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8569 (font-lock-default-unfontify-buffer)
8570 (font-lock-default-fontify-region)
8571 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8573 * progmodes/compile.el (compilation-error-properties):
8574 Fix confusion between file struct and message struct (Bug#9319).
8575 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8578 * net/browse-url.el (browse-url-firefox): Don't call
8579 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8581 2011-08-20 Glenn Morris <rgm@gnu.org>
8583 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8585 * tutorial.el (tutorial--default-keys): Update some default bindings.
8587 * files.el (hack-local-variables): Fully ignore case for "mode:".
8589 2011-08-20 Alan Mackenzie <acm@muc.de>
8591 Resolve invalid use of a regexp in regexp-opt.
8593 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8594 detection for a java annotation.
8596 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8597 detection for a java annotation.
8599 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8601 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8603 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8605 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8608 2011-08-20 Alan Mackenzie <acm@muc.de>
8610 Fontify CPP expressions correctly when starting in the middle of
8611 such a construct. Mainly for when jit-lock etc. starts a chunk
8614 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8616 (c-make-font-lock-search-form): New function, extracted from
8617 c-make-font-lock-search-function.
8618 (c-make-font-lock-search-function): Use the above function.
8619 (c-make-font-lock-context-search-function): New function.
8620 (c-cpp-matchers): Enhance the preprocessor expression case with
8622 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8623 which takes an expression.
8625 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8627 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8629 * window.el (display-buffer-reuse-window)
8630 (display-buffer-pop-up-window): Don't reuse or split a side
8633 2011-08-19 Glenn Morris <rgm@gnu.org>
8635 * files.el (hack-local-variables-prop-line, hack-local-variables):
8636 Downcase "Mode:". (Bug#9331)
8638 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8640 * international/characters.el: Add L and R categories.
8642 * subr.el (bidi-string-mark-left-to-right): Rename from
8643 string-mark-left-to-right. Use category search.
8645 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8647 2011-08-18 Juri Linkov <juri@jurta.org>
8649 * faces.el (error, warning, success): New faces with definitions
8650 copied from old default values of `font-lock-warning-face',
8651 `compilation-warning', `compilation-info' (bug#6117).
8653 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8655 * progmodes/compile.el (compilation-error): Inherit from `error'.
8656 (compilation-warning): Inherit from `warning'.
8657 (compilation-info): Inherit from `success'.
8659 * dired.el (dired-marked): Inherit from `warning'.
8660 (dired-flagged): Inherit from `error'.
8662 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664 * mail/smtpmail.el (auth-source): Require to avoid problems with
8665 binding variables (bug#9298). Also clean up some unused
8668 * net/network-stream.el (network-stream-open-starttls):
8669 Support using starttls.el without using gnutls-cli.
8671 2011-08-17 Juri Linkov <juri@jurta.org>
8673 * progmodes/grep.el (rgrep): Handle the case when
8674 `grep-find-command' is a cons cell (bug#9278).
8676 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8678 * window.el (display-buffer-pop-up-frame): Run frame creation
8679 function with BUFFER current (as special-display-popup-frame
8680 does). Reported by Drew Adams.
8682 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8684 * epa-mail.el: Simplify GnuPG group expansion using
8686 (epa-mail-group-alist, epa-mail-group-modtime)
8687 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8688 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8689 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8692 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8694 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8696 2011-08-16 Alan Mackenzie <acm@muc.de>
8698 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8699 Correct, to avoid the inside of macros.
8701 2011-08-16 Richard Stallman <rms@gnu.org>
8703 * epa-mail.el: Handle GnuPG group definitions.
8704 (epa-mail-group-alist, epa-mail-group-modtime)
8705 (epa-mail-gnupg-conf-file): New variables.
8706 (epa-mail-parse-groups, epa-mail-sync-groups)
8707 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8708 (epa-mail-expand-recipients): New functions.
8709 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8711 * mail/rmail.el (rmail-epa-decrypt): New command.
8713 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8714 Don't bind buffer-read-only, just inhibit-read-only.
8715 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8716 (epa-decrypt-armor-in-region): Make error message clearer.
8718 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8721 and "a2b" to "ab" for `prefix'.
8723 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8725 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8727 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8728 Fourquet (Bug#8804).
8730 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8732 * startup.el (argi): Declare as global variable (bug#9275).
8734 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8736 * subr.el (string-mark-left-to-right): Search the entire string
8737 for RTL script, not just the terminating character. Doc fix.
8739 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8743 (js--regexp-literal, js-syntax-propertize-function): Remove.
8744 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8745 (js-mode-map): Don't rebind electric keys.
8746 (js-insert-and-indent): Remove.
8747 (js-mode): Setup electric-layout and electric-indent instead.
8749 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8751 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8753 * epa.el (epa-progress-callback-function): Fix the logic of
8754 displaying progress.
8755 * epa-file.el (epa-file-insert-file-contents): Make progress
8756 display more user-friendly.
8757 (epa-file-write-region): Ditto.
8759 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8761 * subr.el (string-mark-left-to-right): New function.
8763 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8764 Use string-mark-left-to-right.
8765 (list-buffers-noselect): Caller changed.
8767 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8768 Use string-mark-left-to-right.
8769 (tabulated-list-print): Recenter after moving point.
8771 2011-08-10 Juri Linkov <juri@jurta.org>
8773 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8774 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8775 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8777 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8779 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8782 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8784 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8785 character. (Bug#6594)
8787 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8789 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8790 (image-dired--with-db-file): New macro.
8791 (image-dired-write-tags, image-dired-remove-tag)
8792 (image-dired-create-gallery-lists, image-dired-write-comments)
8793 (image-dired-get-comment, image-dired-mark-tagged-files)
8794 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8795 (image-dired-gallery-generate): Use insert-file-contents.
8797 * time.el (display-time-world-list, display-time-world-display):
8798 * time-stamp.el (time-stamp-string):
8799 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8800 set-time-zone-rule (Bug#7337).
8802 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8804 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8805 (epg-error-to-string, epg-errors-to-string): New function.
8806 (epg-wait-for-completion): Reverse errors list.
8807 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8808 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8809 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8810 (epg-sign-keys, epg-generate-key-from-file)
8811 (epg-generate-key-from-string): Format errors by using
8812 epg-errors-to-string (bug#9255).
8813 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8815 2011-08-07 Juri Linkov <juri@jurta.org>
8817 * faces.el (list-faces-display): Remove extra angle bracket
8818 from `help-mode-map'.
8820 * info.el (Info-history-toc-nodes): Doc fix.
8822 * longlines.el (longlines-mode): Doc fix.
8824 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8827 of statements and in a few more cases (bug#9183).
8829 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8831 (cl-transform-lambda): Use them (bug#9239).
8833 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8835 * window.el (display-buffer-same-window)
8836 (display-buffer-same-frame, display-buffer-other-window)
8837 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8838 (pop-to-buffer-other-window)
8839 (pop-to-buffer-same-frame-other-window)
8840 (pop-to-buffer-other-frame): Make them defuns.
8841 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8843 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * subr.el (make-composed-keymap): Move from C. Change calling
8846 convention, and improve docstring to bring attention to a subtle point.
8847 * minibuffer.el (completing-read-default): Adjust accordingly.
8849 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8851 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8852 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8854 * net/trampver.el: Update release number.
8856 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8861 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8863 * mail/sendmail.el (sendmail-query-once): Restore the current
8864 buffer after querying (bug#9074).
8866 * dired.el (dired-flagged): Use different faces for marked and
8867 flagged files (bug#6117).
8869 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8872 * ido.el (ido-mode): Switch off the message if called
8875 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8876 before 587, since it appears that that's more likely to work for
8879 * cus-edit.el (custom-file): When running under emacs -q, always
8880 refuse to save the customizations, even if the .emacs file doesn't
8883 * info.el: Remove the `Info-beginning-of-buffer' function
8886 * net/network-stream.el (network-stream-open-starttls):
8887 Use `starttls-available-p' to see whether starttls.el can be used.
8889 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8891 * window.el (display-buffer-in-window): Don't set dedicated status
8892 of window here (Bug#9215).
8893 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8894 (display-buffer-pop-up-side-window)
8895 (display-buffer-in-side-window): Set dedicated status of window here.
8897 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8900 before binding generated-autoload-file.
8902 2011-08-01 Deniz Dogan <deniz@dogan.se>
8904 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8906 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8908 Sync with Tramp 2.2.2.
8910 * net/trampver.el: Update release number.
8912 2011-07-30 Juri Linkov <juri@jurta.org>
8914 * dired-aux.el (dired-touch-initial): Remove function.
8915 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8916 current time, and `default' to the last modification time of the
8917 current marked file (bug#6887).
8919 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8921 * simple.el (goto-line): Use string-to-number to provide a
8922 numeric argument to read-number (bug#9163).
8924 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8926 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8927 connection process, it could be nil.
8929 2011-07-27 Leo Liu <sdl.web@gmail.com>
8931 Simplify url handling in rcirc-mode.
8933 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8934 (rcirc-browse-url-at-mouse): Remove.
8935 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8937 2011-07-26 Alan Mackenzie <acm@muc.de>
8939 Fontify bitfield declarations properly.
8941 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8942 (c-symbol-chars): Now exported as a lang variable.
8943 (c-not-primitive-type-keywords): New lang variable.
8945 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8946 QT keyword "more" to prevent "more slots: ...." being spuriously
8947 parsed as a bitfield declaration.
8949 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8950 Refactor and enhance to handle bitfield declarations.
8951 (c-punctuation-in): New function.
8952 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8953 declarations properly.
8955 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8957 * calendar/icalendar.el (icalendar--all-events): Take care of
8958 multiple vcalendars in a single file.
8959 (icalendar--convert-float-to-ical): Checkdoc fixes.
8961 2011-07-25 Deniz Dogan <deniz@dogan.se>
8963 * image.el (insert-image): Clarifying docstring.
8965 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8967 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8968 `tramp-send-command-and-check' if there is no error.
8969 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8971 2011-07-22 Alan Mackenzie <acm@muc.de>
8973 Prevent cc-langs.elc being loaded at run time.
8975 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8978 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8979 "(require 'cc-langs)". Quote a form so it will evaluate at
8980 (cc-mode's) compilation time.
8982 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8984 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8987 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8989 * window.el (display-buffer-pop-up-window)
8990 (display-buffer-pop-up-side-window)
8991 (display-buffer-in-side-window): Call display-buffer-set-height
8992 and display-buffer-set-width after setting the new window's
8993 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8995 2011-07-20 Sam Steingold <sds@gnu.org>
8997 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8998 (etags-tags-included-tables): Call `convert-standard-filename' on
8999 the file names contained in TAGS so that windows Emacs can handle
9000 TAGS files created by cygwin ctags.
9002 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9005 which apparently didn't work.
9007 2011-07-19 Roland Winkler <winkler@gnu.org>
9009 * proced.el (proced-send-signal): For *Marked Processes* buffer
9010 put point at beginning of buffer.
9012 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9014 * proced.el (proced-format): Make header lines align with the text
9017 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9019 * view.el (view-buffer): Allow running in `special' modes if we're
9020 visiting a file (bug#8615).
9022 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9024 * window.el (display-buffer-alist-of-strings-p)
9025 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9027 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9030 2011-07-18 Alan Mackenzie <acm@muc.de>
9032 Fontify declarators properly when, e.g., a jit-lock chunk begins
9033 inside a declaration.
9035 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9037 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9039 (c-complex-decl-matchers): Insert reference to
9040 c-font-lock-enclosing-decls.
9042 * progmodes/cc-engine.el (c-backward-single-comment):
9043 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9044 to nil around calls to (forward-comment -1).
9046 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9048 * image.el (put-image): Doc typo fix.
9050 * progmodes/etags.el (tags-search): Doc typo fix.
9052 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9053 password if we get errors 550 to 554.
9055 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9057 * net/gnutls.el (gnutls-log-level): Remove.
9059 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9060 indentation character (bug#6380).
9062 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9064 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9065 to clarify what the problem is (bug#4291).
9067 * simple.el (current-kill): Clarify what
9068 `interprogram-paste-function' does (bug#7500).
9069 (auto-fill-mode): Document `auto-fill-function' in relation to
9070 `auto-fill-mode' (bug#2470).
9072 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9074 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9075 method if slot is read-only (bug#9035).
9077 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9079 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9080 * window.el (pop-to-buffer): Select window used even if it was
9081 selected before, see discussion of (Bug#8615), (Bug#6954).
9082 Pass argument NORECORD on to select-frame-set-input-focus.
9084 2011-07-15 Glenn Morris <rgm@gnu.org>
9086 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9089 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9091 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9092 (gnutls-negotiate): Use it.
9094 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9096 * net/gnutls.el (gnutls-negotiate):
9097 Upcase `gnutls-algorithm-priority'.
9099 2011-07-15 Glenn Morris <rgm@gnu.org>
9101 * jka-compr.el (jka-compr-verbose): Move from here...
9102 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9103 Add missing :version tag.
9104 * info.el: No need to require jka-compr when compiling.
9106 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9108 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9109 (gnutls-negotiate): Use it.
9111 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9113 * info.el (Info-beginning-of-buffer): New command.
9114 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9115 announcing `b' as the key (bug#8325).
9116 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9118 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9120 * international/mule-cmds.el
9121 (describe-specified-language-support): Make the error message
9124 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9126 * isearch.el (isearch-barrier): Add a doc string, since it's
9127 mentioned in a function doc string (bug#8678).
9129 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9131 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9132 buffer argument (Bug#9083) and self-identifying label argument.
9134 2011-07-15 Glenn Morris <rgm@gnu.org>
9136 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9138 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9140 * man.el (Man-fontify-manpage): Fix message when formatting the
9141 man page (bug#7929).
9143 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9145 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9146 argument LRM; if non-nil, append an invisible LRM character to the
9148 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9149 last argument non-nil, when formatting buffer names.
9150 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9151 paragraph direction.
9153 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9155 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9156 the man page name (bug#7929).
9158 * image.el (put-image): Mention the `put-image' overlay property
9161 * scroll-bar.el (set-scroll-bar-mode): Mention that
9162 `scroll-bar-mode' lists the values (bug#7772).
9164 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9167 * rect.el (apply-on-rectangle): Return the point after the last
9169 (string-rectangle): Go to the point after the last operation
9172 * printing.el (pr-toggle-region): Clarify the documentation
9173 slightly (bug#7493).
9175 * time.el (display-time-update):
9176 Allow `display-time-mail-function' to return nil (bug#7158).
9177 Fix suggested by Detlev Zundel.
9179 * vc/diff.el (diff): Clarify the order the file names are read
9182 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9183 the doc string (bug#7015).
9185 * font-lock.el (font-lock-maximum-decoration): Mention what
9186 numeric levels mean (bug#6935).
9188 * startup.el (initial-buffer-choice): Don't mention the `none'
9189 selection, which is against policy.
9191 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9193 * window.el (display-buffer-normalize-special):
9194 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9196 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9198 * subr.el (version<, version<=, version=): Mention "-CVS" and
9199 "-12345" alpha version numbers.
9201 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9203 * bindings.el: Add advertised binding for set-mark-command
9206 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9208 * bindings.el (mode-line-other-buffer):
9209 * bookmark.el (bookmark-bmenu-2-window):
9210 * bs.el (bs-cycle-next, bs-cycle-previous):
9211 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9214 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9217 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9219 * follow.el (follow-debug-message, follow-redisplay):
9220 * jka-cmpr-hook.el (with-auto-compression-mode):
9221 Fix typos in docstrings.
9223 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9225 * subr.el (with-silent-modifications): Clarify somewhat what the
9226 macro inhibits (bug#6525).
9228 * simple.el (eval-expression): Note what it does if called
9229 interactively (bug#6495).
9231 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9233 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9234 Use pop-to-buffer buffer-or-name if it is nil.
9236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9237 Remove switch-to-buffer.
9239 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241 * files.el (make-directory): Clarify that an error will be raised
9242 if there's an error (bug#6397).
9244 * startup.el (initial-buffer-choice): Add `none' as a choice
9247 * subr.el (add-hook): Clarify section about buffer-local hooks
9250 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9252 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9254 * tabify.el (untabify): Preserve the current column so that point
9255 doesn't move (bug#6032).
9257 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9260 Rewrite to avoid awkward possessive "s" (bug#5986).
9262 2011-07-13 Glenn Morris <rgm@gnu.org>
9264 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9265 (dired-insert-directory): Give a message the first time
9266 if ls is found not to support --dired.
9268 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9270 * simple.el (toggle-truncate-lines): Clarify what is toggled
9271 (bug#5580). Text by Drew Adams.
9273 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9275 * simple.el (blink-matching-open): Make the error message from the
9276 last change less verbose.
9278 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9280 * font-lock.el (font-lock-comment-face): Use the high contrast
9281 "yellow" color for font-lock-comment-face on low color terminals
9282 using a dark background color (bug#4221).
9284 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286 * dired.el (dired-insert-set-properties): Make the doc string
9287 reflect what it does now (bug#5325).
9289 * simple.el (blink-matching-open): Say that we were unable to find
9290 the match within the limit, if we're limited (bug#5122).
9292 * international/mule-cmds.el (prefer-coding-system): Add an
9295 * progmodes/etags.el (tags-search): Document `file-list-form'
9298 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9300 * net/browse-url.el (browse-url-default-browser)
9301 (browse-url-browser-function): Make the default browser choice a
9302 bit more logical (bug#4300). Also clean up the doc string.
9304 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9306 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9307 binary endings (bug#4440).
9309 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9312 which can be pretty annoying (bug#8971).
9314 * jka-compr.el (jka-compr-verbose): New variable, and use
9315 throughout (bug#8971).
9317 * info.el (Info-find-file): Fall back on the installation
9318 directory if we can't find the info node anywhere else.
9320 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9322 * vc/vc.el (vc-revert-file):
9323 Don't set file time-stamp in the past. (Bug#5181)
9325 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327 * files.el (after-find-file): Give a better error message when
9328 trying to find a symlink that points to a file that doesn't exist
9331 * progmodes/cc-vars.el: Remove (probably) misleading comment
9334 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9336 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9338 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9340 * mouse-sel.el: Hack restoring functionality, while keeping
9341 compatibility with 2010-07-03 changes to mouse selection.
9342 (mouse-sel-primary-overlay): New var.
9343 (mouse-sel-selection-alist): Use it.
9344 (mouse-sel-mode): Doc fix; remove points that are default features
9347 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9350 Fix previous fix (bug#2490).
9352 2011-07-12 Roland Winkler <winkler@gnu.org>
9354 * textmodes/bibtex.el (bibtex-initialize):
9355 Use pop-to-buffer-same-window.
9356 (bibtex-search-entries): Fix interactive call.
9358 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9360 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9361 Fontise bytecomp Error lines more correctly (bug#2490).
9362 Fix suggested by Johan BockgĂ¥rd.
9364 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9366 * dired-x.el (dired-guess-default): Use `delete-dups'.
9368 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9370 * dired.el (dired-mark-prompt):
9371 * dired-aux.el (dired-read-shell-command): Doc fix.
9373 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375 * mail/sendmail.el (sendmail-query-once):
9376 Use `customize-save-variable' unconditionally, now that it works under
9379 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9381 * cus-edit.el (custom-file): Take an optional no-error variable.
9382 (customize-save-variable): Set the variable, and give a warning if
9383 running under "emacs -q".
9385 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9387 * loadhist.el (unload-feature-special-hooks):
9388 Add `auto-coding-functions', `fill-nobreak-predicate' and
9389 `find-directory-functions' (bug#5327).
9391 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9393 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9395 * cus-edit.el (custom-guess-name-alist): -alist variables should
9396 use the `alist' type (bug#3120). Suggested by Drew Adams.
9398 * printing.el: Add documentation to all the `pr-toggle-' commands.
9400 2011-07-11 Leo Liu <sdl.web@gmail.com>
9402 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9403 backends where it makes sense (bug#2623).
9405 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9407 * dired-x.el (dired-guess-default): Remove duplicate shell command
9409 (dired-guess-default): Fix grammar in doc string (bug#2028).
9410 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9412 * subr.el (remove-duplicates): New conveniency function.
9414 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9416 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9419 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9421 * window.el (display-buffer-normalize-default): Don't invert
9422 meaning of even-window-heights. Reported by Eli Zaretskii
9425 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9427 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9429 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9431 * window.el (display-buffer): Fix arguments to
9432 display-buffer-reuse-window in last change.
9434 * faces.el (link): Use a less saturated blue on light backgrounds.
9436 * startup.el (fancy-startup-text, fancy-about-text)
9437 (fancy-startup-tail): Use font-lock faces, for background safety.
9439 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9441 * emulation/viper-cmd.el (viper-change-state-to-vi):
9442 Limit triggering of abbrev expansion (Bug#9038).
9444 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9446 * window.el (display-buffer-default-specifiers): Remove.
9447 (display-buffer-macro-specifiers): Remove default specifiers.
9448 (display-buffer-alist): Default to nil.
9449 (display-buffer-reuse-window): New optional argument other-window.
9450 (display-buffer-pop-up-window): Allow splitting internal
9451 windows. Check whether a live window was created.
9452 (display-buffer-other-window-means-other-frame)
9453 (display-buffer-normalize-arguments): Rename to
9454 display-buffer-normalize-argument and rewrite. Set the
9455 other-window specifier.
9456 (display-buffer-normalize-special): New function.
9457 (display-buffer-normalize-options): Rename to
9458 display-buffer-normalize-default and rewrite.
9459 (display-buffer-normalize-options-inhibit): Remove.
9460 (display-buffer-normalize-specifiers): Rewrite.
9461 (display-buffer): Process other-window specifier and call
9462 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9464 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9465 (display-buffer-alist-set): Don't handle 'unset default values.
9466 (display-buffer-in-window, display-buffer-alist-set):
9467 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9468 <tassilo@member.fsf.org>.
9470 2011-07-09 Leo Liu <sdl.web@gmail.com>
9472 * register.el (insert-register): Restore accidental change on
9473 2011-06-26. (Bug#9028)
9475 2011-07-09 Glenn Morris <rgm@gnu.org>
9477 * subr.el (remq): Handle the empty list. (Bug#9024)
9479 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9481 * mail/sendmail.el (send-mail-function): No longer delay custom
9483 * custom.el (custom-initialize-delay): Doc fix.
9485 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9489 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9491 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9492 human-friendly prompt.
9494 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9497 provided by a particular plugin.
9499 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9501 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9502 save customizations (with "emacs -Q"), just set the variable
9503 instead of erroring out.
9505 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9507 2011-07-08 Juri Linkov <juri@jurta.org>
9509 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9510 (archive-zip-update-case): Use 7z if found by `executable-find'.
9511 The order of searching the available programs is the same as in
9512 `archive-zip-extract' (bug#8968).
9514 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9516 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9517 (menu-bar-options-menu): Tweak descriptions.
9519 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9522 menu items into verb phrases (bug#1421). Also refill to fit under
9525 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9527 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9528 (Info-read-node-name): Doc fix (Bug#1084).
9530 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9531 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9532 (end-of-sexp, beginning-of-sexp)
9533 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9534 (forward-symbol, forward-same-syntax, word-at-point)
9535 (sentence-at-point): Doc fix (Bug#1144).
9537 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9540 should cover it (bug#1281).
9542 * cus-edit.el (custom-show): Mark as obsolete.
9544 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9545 negotiation fails, then possibly try again with a non-encrypted
9546 connection (bug#9017).
9548 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9551 2011-07-07 Richard Stallman <rms@gnu.org>
9553 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9554 property, and handle its changed format.
9555 Look for the correct line number.
9556 Use file's line contents (but not past first =) to find
9557 correct line in message.
9559 2011-07-07 Kenichi Handa <handa@m17n.org>
9561 * international/characters.el (build-unicode-category-table):
9563 (unicode-category-table): Set it by unicode-property-table-internal.
9565 * international/mule-cmds.el (char-code-property-alist): Move to
9567 (get-char-code-property): Call unicode-property-table-internal to
9568 load a file. Call get-unicode-property-internal where necessary.
9569 (put-char-code-property): Call unicode-property-table-internal to
9570 load a file. Call put-unicode-property-internal where necessary.
9571 put-unicode-property-internal where necessary.
9572 (char-code-property-description):
9573 Call unicode-property-table-internal to load a file.
9575 * international/charprop.el:
9576 * international/uni-bidi.el:
9577 * international/uni-category.el:
9578 * international/uni-combining.el:
9579 * international/uni-comment.el:
9580 * international/uni-decimal.el:
9581 * international/uni-decomposition.el:
9582 * international/uni-digit.el:
9583 * international/uni-lowercase.el:
9584 * international/uni-mirrored.el:
9585 * international/uni-name.el:
9586 * international/uni-numeric.el:
9587 * international/uni-old-name.el:
9588 * international/uni-titlecase.el:
9589 * international/uni-uppercase.el: Regenerate.
9591 * loadup.el: Load international/charprop.el before
9592 international/characters.
9594 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9596 * window.el (next-buffer, previous-buffer): Signal an error if
9597 called from a minibuffer window.
9599 * bindings.el: Revert 2011-07-04 change.
9601 2011-07-06 Richard Stallman <rms@gnu.org>
9603 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9604 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9605 Treat markers like ints.
9606 (rmail-mime-entity): Doc fix.
9608 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9610 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9611 defcustom again for backwards compatibility.
9613 * simple.el (shell-command-on-region): Fill.
9615 * dired-aux.el (dired-kill-line): Add a doc string.
9617 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9618 to "\\sw\\|\\s_" (bug#358).
9620 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9621 (dired-unmark-backward): Ditto.
9622 (dired-flag-backup-files): Ditto.
9624 * dired-x.el (dired-mark-sexp): Ditto.
9626 2011-07-06 Richard Stallman <rms@gnu.org>
9628 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9629 (rmail-mime-entity): New arg TRUNCATED.
9630 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9632 (rmail-mime-save): Warn if entity is truncated.
9633 (rmail-mime-toggle-hidden): Likewise, for showing.
9634 (rmail-mime-process-multipart): Record when an entity is truncated.
9636 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9637 if ENTITY is a string.
9639 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9642 of faces when `M-C-x'-ing their definitions (bug#8378).
9643 Also clean up the code slightly.
9645 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9646 because that makes the colors go away.
9648 * mail/sendmail.el (send-mail-function): Change the default to
9649 `sendmail-query-once'.
9650 (sendmail-query-once): Add an autoload cookie.
9652 * net/network-stream.el (network-stream-open-starttls): Try using
9653 a plain connection even if the server offered STARTTLS, and we
9654 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9655 capability. This should make smtpmail.el work in slightly more
9658 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9660 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9662 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9664 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9666 * progmodes/sql.el: Version 3.0
9667 (sql-product-alist): Add product :completion-object,
9668 :completion-column, and :statement attributes.
9669 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9670 (sql-mode-syntax-table): Mark all punctuation.
9671 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9673 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9674 (sql-mode-oracle-font-lock-keywords): Improve.
9675 (sql-oracle-show-reserved-words): New function for development.
9676 (sql-product-font-lock): Simplify for source code buffers.
9677 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9679 (sql-highlight-product): Set product specific syntax table.
9680 (sql-mode-map): Add statement movement functions.
9681 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9683 (sql-statement-regexp, sql-beginning-of-statement)
9684 (sql-end-of-statement, sql-signum): New functions.
9685 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9686 (sql-show-sqli-buffer): Bug fix.
9687 (sql-interactive-mode): Store connection data as buffer local.
9688 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9689 with sql-interactive-mode.
9690 (sql-save-connection): Save buffer local settings.
9691 (sql-connection-menu-filter): Change menu entry name.
9692 (sql-product-interactive): Bug fix.
9693 (sql-preoutput-hold): New variable.
9694 (sql-interactive-remove-continuation-prompt): Bug fixes.
9695 (sql-debug-redirect): New variable.
9696 (sql-str-literal): New function.
9697 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9699 (sql-oracle-save-settings, sql-oracle-restore-settings)
9700 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9701 (sql-completion-object, sql-completion-column)
9702 (sql-completion-sqlbuf): New variables.
9703 (sql-build-completions-1, sql-build-completions)
9704 (sql-try-completion): New functions.
9705 (sql-read-table-name): Use them.
9706 (sql-contains-names): New buffer local variable.
9707 (sql-list-all, sql-list-table): Use it.
9708 (sql-oracle-completion-types): New variable.
9709 (sql-oracle-completion-object, sql-sqlite-completion-object)
9710 (sql-postgres-completion-object): New functions.
9712 2011-07-06 Glenn Morris <rgm@gnu.org>
9714 * window.el (pop-to-buffer): Doc fix.
9716 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9718 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9720 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9722 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9724 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9726 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9728 * button.el (button): Inherit from link face. Suggested by Dan
9731 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * progmodes/gdb-mi.el: Fit in 80 columns.
9734 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9737 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9738 if imenu is simply not configured (bug#8941).
9740 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9742 * allout.el (allout-post-undo-hook): New allout outline-change
9743 event hook to signal undo activity.
9744 (allout-post-command-business): Run allout-post-undo-hook if an
9746 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9747 * allout-widgets.el (allout-widgets-after-undo-function):
9748 Ensure the integrity of the current item's decoration after it has been
9749 in the vicinity of an undo.
9750 (allout-widgets-mode): Include allout-widgets-after-undo-function
9751 on the new allout-post-undo-hook.
9753 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9755 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9756 Let define-derived-mode define it.
9757 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9758 cycles of abbrev-table inheritance (bug#8998).
9760 2011-07-05 Roland Winkler <winkler@gnu.org>
9762 * textmodes/bibtex.el: Add support for biblatex.
9763 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9764 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9765 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9766 (bibtex-entry-alist, bibtex-field-alist): New variables.
9767 (bibtex-entry-field-alist): Obsolete alias for
9768 bibtex-BibTeX-entry-alist.
9769 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9770 (bibtex-set-dialect): New command.
9771 (bibtex-entry-type, bibtex-entry-head)
9772 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9773 Bind via bibtex-set-dialect.
9774 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9775 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9776 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9777 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9778 Define via bibtex-set-dialect.
9779 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9780 Obey bibtex-no-opt-remove-re.
9781 (bibtex-vec-push, bibtex-vec-incr): New functions.
9782 (bibtex-format-entry, bibtex-field-list)
9783 (bibtex-print-help-message, bibtex-validate)
9784 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9786 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * progmodes/compile.el (compilation-goto-locus):
9789 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9790 * bs.el (bs-cycle-next, bs-cycle-previous):
9791 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9792 * bindings.el (mode-line-other-buffer):
9793 * autoinsert.el (auto-insert):
9794 * arc-mode.el (archive-extract):
9795 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9797 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9799 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9800 Fix check of `emacs-lock-unlockable-modes'.
9801 Coerce true values of `emacs-lock--try-unlocking' to t.
9803 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9805 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9806 * emacs-lock.el: New file.
9808 2011-07-05 Julien Danjou <julien@danjou.info>
9810 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9811 than `boundp' to check if face is set.
9813 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9815 * register.el (registerv-make):
9816 * window.el (window-min-height): Fix typos in docstrings.
9818 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9820 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9823 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9825 * server.el (server-execute): Catch quit and call
9826 `server-return-error' to pass the error back to emacsclient and
9827 close the connection (bug#8942).
9829 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9831 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9832 insecure exception for current topic. Also note that auto-saves
9833 are handled differently.
9835 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9836 State variables for tracking auto-save inhibition situation.
9838 (allout-write-contents-hook-handler): Rename from
9839 'allout-write-file-hook-handler', and describe how it depends on
9840 write-contents-functions sensitivity to non-nil value to prevent
9843 (allout-auto-save-hook-handler): Remove. auto-save does not check
9844 this in individual buffers, only in the starting buffer, so this
9845 is not the right way for us to inhibit auto-save in a buffer
9846 according to its condition.
9848 (allout-mode): Use new allout-write-contents-hook-handler, and
9849 only with write-contents-functions. Remove auto-save provisions -
9850 they're implemented elsewhere.
9852 (allout-before-change-handler): If undo is in progress, note that
9853 for attention of allout-post-command-business.
9855 (allout-post-command-business): If the command we're following was
9856 an undo, check for change in the status of encrypted items and
9857 adjust auto-save inhibitions accordingly.
9859 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9860 according to whether there are or aren't any plain-text topics
9863 (allout-inhibit-auto-save-info-for-decryption):
9864 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9865 if there are plain-text topics pending encryption.
9867 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9868 buffer-saved-size and some allout state to not inhibit auto-saves
9869 if there are no longer any plain-text topics pending encryption.
9871 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9872 No longer provide for exemption of the current topic.
9874 2011-07-04 Juri Linkov <juri@jurta.org>
9876 Add 7z operations to delete and save changed members (bug#8968).
9877 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9879 (archive-7z-write-file-member): New function.
9880 (archive-7z-summarize): Fix the number of dashes in the
9883 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9885 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9888 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9890 * bindings.el: Ignore next-buffer and previous-buffer in
9891 minibuffer-local-map.
9893 * font-lock.el (font-lock-builtin-face): Change light background
9894 color to dark slate blue (Bug#6693).
9896 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9898 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9900 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9902 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9903 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9904 Add switch-to-buffer.
9906 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9908 * isearch.el (isearch-search-fun-function): Clarify further the
9909 meaning of the function returned.
9911 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9913 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9915 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9916 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9918 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9919 `tramp-default-remote-path' does not exist.
9920 (tramp-send-command-and-read): New optional argument NOERROR.
9921 (tramp-open-connection-setup-interactive-shell)
9922 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9923 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9924 (tramp-process-sentinel): Flush also process' connection property.
9925 (tramp-sh-handle-start-file-process): Do not set process
9926 sentinel. It is done now ...
9927 (tramp-maybe-open-connection): ... here. (Bug#8929)
9929 2011-07-04 MON KEY <monkey@sandpframing.com>
9931 * play/animate.el (animate-string): Doc fixes and allow changing
9932 the buffer name (bug#5417).
9934 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9936 * play/animate.el (animation-buffer-name): Rename from *animate*.
9938 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9940 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9941 This is simpler and helps future-proof the code.
9942 (timer-until): Use time-subtract and float-time.
9943 (timer--time-less-p): Use time-less-p.
9945 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9947 * type-break.el (timep): Use the value of `float-time' to avoid a
9948 byte-compiler warning.
9950 * server.el (server-eval-and-print): Return any result, even nil.
9952 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9954 * type-break.el: Accept time formats that the builtins accept.
9955 (timep, type-break-time-difference): Accept any format that
9956 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9957 This is simpler and helps future-proof the code.
9958 (type-break-time-difference): Round rather than ignoring
9959 subseconds components.
9961 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963 * info.el (Info-apropos-matches): Make non-interactive, since it
9964 doesn't seem to do anything useful as a command (bug#8829).
9966 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9968 * frame.el (frame-background-mode, frame-set-background-mode):
9970 (frame-default-terminal-background): New function.
9972 * custom.el (custom-push-theme): Don't record faces in `changed'
9973 theme; this doesn't work correctly for per-frame face settings.
9974 (disable-theme): Use face-set-after-frame-default to reset faces.
9975 (custom--frame-color-default): New function.
9977 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9979 * dired.el (dired-flagging-regexp): Remove unused variable
9982 2011-03-29 Kevin Ryde <user42@zip.com.au>
9984 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9985 `perl-Test2' extend to match possible "fail #N" rep count
9988 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9991 `smtpmail-via-smtp' now returns the error instead of nil.
9993 * isearch.el (isearch-search-fun-function): Clarify the doc string
9996 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9998 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9999 unnecessary spaces (bug#8987).
10001 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10003 * net/network-stream.el (open-network-stream): Use the
10004 :end-of-capability command thoughout.
10006 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10008 * net/network-stream.el (open-network-stream): Add the
10009 :end-of-capability command parameter, used by pop3.el.
10011 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10013 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10015 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10016 for list)" (bug#6475).
10018 * files.el (file-expand-wildcards): Ignore non-readable
10019 sub-directories while trying to find matches instead of signaling
10020 an error (bug#6297).
10022 * man.el (Man-reference-regexp): Allow matching possible
10023 word-wrapped references (bug#6289).
10025 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10026 for consistency with the other vc buffers (bug#6197).
10027 (vc-checkin): Ditto.
10029 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10031 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10033 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035 * custom.el (defcustom): Clarify that :set is only used in the
10036 Customize user interface (bug#6089).
10038 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10039 associated with a file, refuse to run instead of erroring out
10042 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10043 the doc string, since it appears that using `fill-column' always
10044 controls the width (bug#7845).
10046 * simple.el (shell-command-on-region): Say where the error output
10047 went if `shell-command-default-error-buffer' is set (bug#6857).
10049 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10051 * allout.el (allout-yank-processing): Adjust cursor position for
10052 backwards-deleted space.
10054 (allout-rebullet-heading): Register changes with
10055 allout-exposure-changed-hook, so the modified topic is properly
10058 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10060 * minibuffer.el (completion-in-region): Document PREDICATE
10063 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10064 of keyword/argument pairs (bug#6904).
10066 * replace.el (multi-occur):
10067 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10069 2011-07-02 Drew Adams <drew.adams@oracle.com>
10071 * dired.el (dired-mark-if): Make the message about whether it's
10072 marking or unmarking clearer (bug#8523).
10074 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10076 * disp-table.el (display-table-print-array): New function.
10077 (describe-display-table): Use it to print the vectors more pretty
10080 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10082 * window.el (window-state-get-1): Don't assign clone numbers.
10083 Add clone-of item to list of window parameters.
10084 (window-state-put-2): Don't process clone numbers.
10085 (display-buffer-alist): Fix doc-string.
10087 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * subr.el (remq): Don't allocate if it's not needed.
10090 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10091 (keymap--merge-bindings): New functions.
10092 (keymap-canonicalize): Use them to refine the canonicalization.
10093 * minibuffer.el (minibuffer-local-completion-map)
10094 (minibuffer-local-must-match-map): Move initialization from C.
10095 (minibuffer-local-filename-completion-map): Move initialization from C;
10096 don't inherit from anything here.
10097 (minibuffer-local-filename-must-match-map): Make obsolete.
10098 (completing-read-default): Use make-composed-keymap to combine
10099 minibuffer-local-filename-completion-map with either
10100 minibuffer-local-must-match-map or
10101 minibuffer-local-filename-completion-map.
10103 2011-07-01 Glenn Morris <rgm@gnu.org>
10105 * type-break.el (type-break-time-sum): Use dolist.
10107 * textmodes/flyspell.el (flyspell-word-search-backward):
10108 Replace CL function.
10110 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * mouse.el (mouse--strip-first-event): New function.
10113 (function-key-map): Use it to map fringe clicks to normal clicks
10116 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10117 (vc-bzr-revision-completion-table): Add support for annotate and date.
10119 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10120 inherit from parent.
10122 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10125 (dired-show-file-type): Doc fixup (bug#8818).
10127 * dired.el (dired-mode): Fix up the doc string as suggested by
10128 Drew Adams (bug#8817).
10130 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10131 cookie, since the manual says that it should be possible to add
10132 this function to `find-file-hook' (bug#8709).
10134 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10136 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10137 here. Noted Ted Zlatanov as the maintainer.
10138 (cfengine-common-settings, cfengine-common-syntax): New functions
10139 to set up common things between `cfengine-mode' and
10141 (cfengine3-mode): New mode.
10142 (cfengine3-defuns cfengine3-defuns-regex
10143 (cfengine3-class-selector-regex cfengine3-category-regex)
10144 (cfengine3-vartypes cfengine3-font-lock-keywords)
10145 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10146 (cfengine3-indent-line): Add from cfengine3.el.
10148 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10150 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10152 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10154 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10156 * window.el (same-window-buffer-names, same-window-regexps)
10157 (same-window-p, special-display-frame-alist)
10158 (special-display-popup-frame, special-display-function)
10159 (special-display-buffer-names, special-display-regexps)
10160 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10161 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10162 (split-window-preferred-function, split-height-threshold)
10163 (split-width-threshold, even-window-heights)
10164 (display-buffer-mark-dedicated, window-splittable-p)
10165 (split-window-sensibly, window-safely-shrinkable-p):
10167 (display-buffer): Don't spread args with function specifier
10168 because special-display-popup-frame won't like it.
10170 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10172 Time-stamp simplifications and fixes.
10173 These improve accuracy slightly, and future-proof the code
10174 against some potential changes to current-time format.
10176 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10177 by using time-since and float-time.
10179 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10180 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10181 + NNN microseconds".
10183 * type-break.el (type-break-time-sum): Rewrite using time-add.
10185 * play/hanoi.el (hanoi-current-time-float): Remove.
10186 All uses replaced by float-time.
10188 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10189 This yields a more-accurate answer.
10190 (rng-time-to-float): Remove; no longer needed.
10192 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10194 * calendar/timeclock.el (timeclock-seconds-to-time):
10195 Defalias to seconds-to-time, since they're the same thing.
10197 * emacs-lisp/elp.el (elp-elapsed-time):
10198 * emacs-lisp/benchmark.el (benchmark-elapse):
10199 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10201 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * window.el (bury-buffer): Don't iconify the only frame.
10204 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10205 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10207 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10209 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10210 Add mouse-yank-primary.
10212 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10214 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10216 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10219 (find-library-name): Use it to find relative load names when provided
10220 absolute file name (bug#8803).
10222 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10224 * textmodes/flyspell.el (flyspell-word): Consider words that
10225 differ only in case as potential doublons (bug#5687).
10227 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10228 Remove two rather uninteresting debugging-like messages to make
10229 debbugs.el more silent.
10231 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10232 a password-like phrase.
10234 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10236 * progmodes/cc-guess.el: New file.
10238 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10240 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10241 derived from `c-basic-common-init'.
10243 * progmodes/cc-mode.el (top-level): Require cc-guess.
10244 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10246 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10248 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10250 2011-06-30 Alan Mackenzie <acm@muc.de>
10252 * progmodes/cc-engine.el (c-guess-continued-construct):
10253 Correct the handling of template-args-cont, particularly for when font
10254 lock is disabled. Name this case as "CASE G".
10256 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10258 * allout.el (allout-yank-processing): Fix injection of extra space
10259 between bullet and non-whitespace character in first topic when
10260 pasting, ensuring that the actual spacing in the pasted topic
10261 following the bullet char is preserved. This extra space was
10262 causing pasted encrypted topics to get a decrypted status even
10263 when the content was actually still encrypted. Now the decryption
10264 status from before the paste is preserved.
10266 (allout-flag-region): Set all allout overlays so they evaporate
10267 when reduced to zero length (evanescent), to prevent overlay
10270 2011-06-30 Glenn Morris <rgm@gnu.org>
10272 * w32-fns.el (w32-charset-info-alist): Declare.
10274 * find-dired.el (find-grep-options): Simplify.
10276 * term/ns-win.el (ns-set-resource): Declare.
10278 * ses.el (row, col): Declare dynamic variables honestly.
10280 * textmodes/reftex-parse.el (index-tags): Declare.
10282 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10284 * cus-edit.el (customize-push-and-save): New function.
10286 * files.el (hack-local-variables-confirm): Use it.
10288 * custom.el (load-theme): New arg NO-CONFIRM.
10289 Use customize-push-and-save (Bug#8720).
10290 (custom-enabled-themes): Doc fix.
10292 * cus-theme.el (customize-create-theme)
10293 (custom-theme-merge-theme): Callers to load-theme changed.
10295 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10297 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10298 short URLs have at least one dot in them (bug #7614).
10300 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10301 nil, because using a pty is apparently too slow (bug #895).
10303 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10305 * mail/sendmail.el (sendmail-query-once): New function.
10306 (sendmail-query-once-function): New variable.
10308 2011-06-29 Glenn Morris <rgm@gnu.org>
10310 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10312 * ses.el (top-level): Require cl when compiling.
10313 (ses-set-localvars): Fix error statement.
10314 Call it at compile time to silence a storm of warnings.
10316 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10318 * window.el (normalize-live-buffer): Rename to
10319 window-normalize-buffer.
10320 (normalize-live-frame): Rename to window-normalize-frame.
10321 (normalize-any-window): Rename to window-normalize-any-window.
10322 (normalize-live-window): Rename to window-normalize-live-window.
10323 (make-window-atom): Rename to window-make-atom.
10324 (window-resize-reset): Rename to window--resize-reset.
10325 (window-resize-reset-1): Rename to window--resize-reset-1.
10326 (resize-mini-window): Rename to window--resize-mini-window.
10327 (resize-subwindows-skip-p): Rename to
10328 window--resize-subwindows-skip-p.
10329 (resize-subwindows-normal): Rename to
10330 window--resize-subwindows-normal.
10331 (resize-subwindows): Rename to window--resize-subwindows.
10332 (resize-other-windows): Rename to window--resize-siblings.
10333 (resize-this-window): Rename to window--resize-this-window.
10334 (resize-root-window): Rename to window--resize-root-window.
10335 (resize-root-window-vertically): Rename to
10336 window--resize-root-window-vertically.
10337 (normalize-buffer-to-display): Rename to
10338 window-normalize-buffer-to-display.
10339 (normalize-buffer-to-switch-to): Rename to
10340 window-normalize-buffer-to-switch-to.
10341 Correspondingly update all callers of the functions listed
10343 (display-buffer-alist, display-buffer-normalize-arguments)
10344 (display-buffer-normalize-options, display-buffer)
10345 (display-buffer-alist-set): Use "function" instead of
10348 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10350 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10351 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10352 debbugs.gnu.org. Mention acknowledgment email.
10354 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10356 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10357 buffer multibyteness, since it shouldn't matter.
10359 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10361 * window.el (display-buffer-in-side-window): Handle dedicated
10362 windows as in display-buffer-reuse-window.
10363 (display-buffer-normalize-alist): Use value of override
10365 (display-buffer-normalize-specifiers): Use value of
10366 other-window-means-other-frame specifier.
10367 (display-buffer-alist): Rewrite some texts in widgets.
10368 (display-buffer): Spread arguments when calling function
10369 specified by fun-with-args.
10371 2011-06-28 Deniz Dogan <deniz@dogan.se>
10373 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10376 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10377 selectors (Bug#5732).
10378 (css-proprietary-nmstart-re): Use `regexp-opt'.
10380 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10382 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10383 (eshell-ls-date-format): New defcustom.
10384 (eshell-ls-file): Use it.
10386 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10388 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10390 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10392 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10393 (ange-ftp-make-tmp-name): New arg.
10394 (ange-ftp-file-local-copy): Use it.
10396 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10398 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10399 no-conversion (Bug#8870).
10401 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10403 * window.el (window-right, window-left, window-child)
10404 (window-child-count, window-last-child)
10405 (window-iso-combination-p, walk-window-tree-1)
10406 (window-atom-check-1, window-tree-1, delete-window)
10407 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10408 new naming conventions - window-vchild, window-hchild,
10409 window-next and window-prev are now called window-top-child,
10410 window-left-child, window-next-sibling and window-prev-sibling
10412 (resize-window-reset): Rename to window-resize-reset.
10413 (resize-window-reset-1): Rename to window-resize-reset-1.
10414 (resize-window): Rename to window-resize.
10415 (window-min-height, window-min-width)
10416 (resize-mini-window, resize-this-window, resize-root-window)
10417 (resize-root-window-vertically, adjust-window-trailing-edge)
10418 (enlarge-window, shrink-window, maximize-window)
10419 (minimize-window, delete-window, quit-restore-window)
10420 (split-window, balance-windows, balance-windows-area-adjust)
10421 (balance-windows-area, window-state-put-2)
10422 (display-buffer-even-window-sizes, display-buffer-set-height)
10423 (display-buffer-set-width, set-window-text-height)
10424 (fit-window-to-buffer): Rename all "resize-window" prefixed
10425 calls to use the "window-resize" prefix convention.
10426 (display-buffer-alist): Fix symbol for label specifier.
10427 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10428 corresponding specifier.
10429 Reported by Juanma Barranquero <lekktu@gmail.com>.
10431 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10433 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10435 (ses-call-printer): Does not pass an empty string to formatter when the
10436 cell is empty to keep from barking printer Calc math-format-value.
10438 2011-06-27 Richard Stallman <rms@gnu.org>
10440 * battery.el (battery-mode-line-limit): New variable.
10441 (battery-update): Handle it.
10443 * mail/rmailmm.el (rmail-mime-process-multipart):
10444 Handle truncated messages.
10446 2011-06-27 Glenn Morris <rgm@gnu.org>
10448 * progmodes/flymake.el (flymake-err-line-patterns):
10449 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10451 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10453 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10454 (ses--clean-!, ses--clean-_): New functions.
10455 (ses-range): Add configurability of readout order, and conversion
10458 * ses.el (ses-repair-cell-reference-all): New function.
10459 (ses-cell-symbol): Set macro as safe, so that it can be used in
10462 * ses.el: Update cycle detection algorithm.
10463 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10464 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10465 (ses-set-localvars): New function.
10466 (ses-make-cell): Add property-list as a cell element.
10467 (ses-cell-property-get-fun, ses-cell-property-get)
10468 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10469 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10471 (ses-cell-property-set, ses-cell-property-pop)
10472 (ses-cell-property-get-handle): New macro.
10473 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10474 New aliases, used for code readability.
10475 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10477 (ses-self-reference-early-detection): New defcustom.
10478 (ses-formula-references): Robustify against self-referring cells.
10479 (ses-mode): Use ses-set-localvars.
10480 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10481 before lauching the update processing.
10482 (ses-initialize-Dijkstra-attempt): New function.
10483 (ses-recalculate-cell): Update for cycle detection based on
10484 Dijkstra algorithm.
10486 * ses.el: Fix commenting and indenting convention.
10488 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10490 * bs.el (bs-cycle-next): Complete last change.
10492 2011-06-27 Drew Adams <drew.adams@oracle.com>
10494 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10496 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10498 * net/network-stream.el (network-stream-open-starttls):
10499 Don't re-get capabilities unless we've reestablished connection.
10500 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10502 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10503 to binary to possibly avoid line encoding issues on Windows (among
10506 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10508 * net/network-stream.el (open-network-stream): Return an :error
10509 saying what the problem was, if possible.
10511 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10514 * net/network-stream.el (network-stream-open-starttls): If we
10515 wanted to use STARTTLS, and the server offered it, but we weren't
10516 able to because we had no STARTTLS support, then close the connection.
10517 (open-network-stream): Return an :error element, if present.
10519 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10521 * hl-line.el (hl-line-sticky-flag): Doc fix.
10522 (global-hl-line-sticky-flag): New option (Bug#8323).
10523 (global-hl-line-highlight): Obey it.
10525 * vc/vc.el (vc-revert-show-diff): Default to t.
10527 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10529 * allout-widgets.el (allout-widgets-post-command-business):
10530 Stop decorating intermediate isearch matches. They're not being
10531 undecorated when an isearch is continued past, and isearch
10532 automatically collapses them. This leads to "widget leaks", where
10533 decorated items accumulate in collapsed areas. Lines with lots of
10534 hidden widgets can slow down cursor travel, substantially.
10535 Too much complicated machinery would be needed to ensure undecoration,
10536 so we're doing without this nicety.
10538 (allout-widgets-tally-string): Don't try to do a hash-table-count
10539 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10540 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10541 *Messages* when allout-widgets-maintain-tally is t.
10543 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10545 * window.el (display-buffer-normalize-argument): Rename to
10546 display-buffer-normalize-arguments. Handle special meaning of
10547 LABEL argument. Respect special-display-function when popping up
10548 a new frame. Fix code searching for a window showing the buffer
10550 (display-buffer-normalize-specifiers):
10551 Call display-buffer-normalize-arguments.
10552 (display-buffer-in-window): Don't undedicate the window if its
10553 buffer remains the same.
10554 Reported by Drew Adams <drew.adams@oracle.com>.
10555 (display-buffer-alist): Add choice for same-window macro
10557 (display-buffer): Mention special meaning of LABEL argument in
10558 doc-string. Fix quoting. Don't pop up a new frame even as
10561 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10563 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10564 avoid deleting the current window in some cases (bug#8911).
10566 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10568 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10571 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573 * net/network-stream.el (network-stream-open-starttls):
10574 Use built-in TLS support if `gnutls-available-p' is true.
10575 (network-stream-open-tls): Ditto.
10577 2011-06-26 Leo Liu <sdl.web@gmail.com>
10579 * register.el (registerv): New struct.
10580 (registerv-make): New function.
10581 (jump-to-register, describe-register-1, insert-register):
10582 Support the jump-func, print-func and insert-func slot of a registerv
10585 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10587 * vc/vc.el (vc-revert-show-diff): New defcustom.
10588 (vc-diff-internal): New arg specifying diff buffer.
10589 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10590 reuse an existing *vc-diff* buffer (Bug#8927).
10592 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10594 2011-06-26 Glenn Morris <rgm@gnu.org>
10596 * progmodes/f90.el (f90-critical-indent): New option.
10597 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10598 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10599 (f90-mode): Doc fix.
10600 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10601 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10602 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10603 (f90-match-end): Handle block, critical.
10605 2011-06-25 Glenn Morris <rgm@gnu.org>
10607 * calendar/diary-lib.el (diary-included-files): Doc fix.
10608 (diary-include-files): New function, extracted from
10609 diary-include-other-diary-files and diary-mark-included-diary-files.
10610 (diary-include-other-diary-files, diary-mark-included-diary-files):
10611 Just call diary-include-files.
10612 (diary-mark-entries): Reset diary-included-files on first call.
10614 * calendar/diary-lib.el (diary-mark-entries)
10615 (diary-mark-included-diary-files):
10616 Visit included diary-files in temp buffers.
10618 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10619 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10620 (f90-start-block-re, f90-imenu-generic-expression)
10621 (f90-looking-at-program-block-start, f90-no-block-limit):
10622 Add support for submodules.
10624 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10625 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10627 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10629 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10630 buffer-file-type before setting its value, to avoid disastrous
10631 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10633 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10635 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10637 * ses.el (ses-unload-function):
10638 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10640 * proced.el (proced-unload-function):
10641 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10643 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10645 * server.el (server-create-window-system-frame): Add parameters arg.
10646 (server-process-filter): Doc fix. Handle frame-parameters.
10648 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10650 Fix bug#8730, bug#8781.
10652 * loadhist.el (unload--set-major-mode): New function.
10653 (unload-feature): Use it.
10655 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10656 (python-unload-function): New function.
10658 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10662 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10664 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10665 the candidates list.
10667 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10669 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10671 2011-06-23 Richard Stallman <rms@gnu.org>
10673 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10674 (rmail-variables): Set next-error-move-function.
10675 (rmail-what-message): Take argument POS.
10676 (rmail-next-error-move): New function.
10678 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10681 messages for adjacent non-terminals.
10683 2011-06-23 Richard Stallman <rms@gnu.org>
10685 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10686 (rmail-show-message-1): Preserve buffer modified flag.
10687 (rmail-start-mail): Don't specify use of rmail-mail-return;
10688 that's done by mail-bury now.
10689 (rmail-mail-return): Handle arg NEWBUF.
10691 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10693 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10696 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10698 * window.el (get-lru-window, get-mru-window)
10699 (get-largest-window): Never return a minibuffer window.
10700 (display-buffer-pop-up-window): Fix a bug that could lead to
10701 reusing the minibuffer window.
10702 (display-buffer): Pass original specifier argument to
10703 display-buffer-function instead of the normalized one.
10704 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10706 2011-06-22 Leo Liu <sdl.web@gmail.com>
10708 * minibuffer.el (completing-read-function)
10709 (completing-read-default): Move from minibuf.c
10711 2011-06-22 Richard Stallman <rms@gnu.org>
10713 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10714 to Rmail even if not started by a special Rmail command.
10716 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10717 Copy the buffer currently showing just one message.
10719 2011-06-22 Roland Winkler <winkler@gnu.org>
10721 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10722 (bibtex-clean-entry): First delete the old key so that a
10723 customized algorithm for generating the new key does not get
10724 confused by the old key.
10725 (bibtex-url): Obey regexp of first step.
10726 (bibtex-search-entries): Do not use add-to-list with local
10729 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10731 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10732 stored a user name, then query for the password first, instead of
10733 waiting for SMTP to give an error message and the trying again.
10735 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10737 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10738 BUFFER in call-process.
10740 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10742 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10744 (smtpmail-try-auth-methods): Require user name and password from
10747 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10749 * window.el (display-buffer-default-specifiers)
10750 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10751 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10752 (split-window): Normalize SIDE argument (Bug#8916).
10754 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10755 (special-display-frame-alist, special-display-popup-frame):
10756 Remove duplicate declarations. These are now in window.el.
10758 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10760 * mail/smtpmail.el (smtpmail-via-smtp):
10761 Set :use-starttls-if-possible so that we always use STARTTLS if the
10762 server supports it. SMTP servers that support STARTTLS commonly
10765 * net/network-stream.el (network-stream-open-starttls): Support
10766 upgrading to STARTTLS always, even if we don't have built-in support.
10767 (open-network-stream): Add the :always-query-capabilities keyword.
10769 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10770 upgrades with `open-network-stream', and rely solely on
10771 auth-source for all credentials. Big changes throughout the file,
10773 (smtpmail-auth-credentials): Remove.
10774 (smtpmail-starttls-credentials): Remove.
10775 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10778 * net/network-stream.el (network-stream-open-starttls):
10779 Provide support for client certificates both for external and built-in
10781 (auth-source): Require.
10782 (open-network-stream): Document the :client-certificate keyword.
10783 (network-stream-certificate): Change cert-cert to cert and
10786 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10788 * net/tramp-cache.el (top): Don't load the persistency file when
10789 "emacs -Q" has been called.
10791 2011-06-21 Tim Harper <timcharper@gmail.com>
10793 * term/ns-win.el (ns-initialize-window-system):
10794 Set application-specific `ApplePressAndHoldEnabled' system
10795 resource to NO as it is not yet supported by the NS port.
10797 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10799 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10800 (list-dynamic-libraries): ...not here.
10802 2011-06-21 Leo Liu <sdl.web@gmail.com>
10804 * subr.el (sha1): Implement sha1 using secure-hash.
10806 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10808 * window.el (display-buffer-alist): In default value do not
10809 enforce searching a window on any but the selected frame.
10810 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10811 (display-buffer-select-window): Remove function.
10812 (display-buffer-in-window): When a window on another frame gets
10813 reused, do not select it any more but just raise its frame if
10814 necessary (Bug#8851) and (Bug#8856).
10815 (display-buffer-normalize-options): Handle pop-up-frames related
10816 options more faithfully.
10817 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10818 window if it is on another frame.
10819 (display-buffer-alist, display-buffer-default-specifiers):
10820 Don't make new frame unsplittable by default.
10821 (display-buffer-normalize-argument): Fix doc-string typo and use
10822 'same-frame-other-window instead of 'other-window when associating
10823 with display-buffer-macro-specifiers.
10825 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10827 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10829 (5x5-mode-map, 5x5-mode-menu): Bind them.
10830 (5x5-draw-grid): Tweak the solver's rendering.
10832 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10834 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10835 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10837 2011-06-21 Drew Adams <drew.adams@oracle.com>
10839 * menu-bar.el: Use function variable instead of switch-to-buffer.
10840 (menu-bar-select-buffer-function): New variable.
10841 (menu-bar-update-buffers): Use it (bug#8876).
10843 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10845 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10848 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10850 * x-dnd.el (x-dnd-version-from-flags)
10851 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10852 and long as number (Bug#8899).
10853 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10855 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10858 (completion-try-completion, completion-all-completions): Compute the
10859 metadata argument if it's missing; make it optional (bug#8795).
10861 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10862 (widget-complete): Use new :completion-function property.
10863 (widget-completions-at-point): New function.
10864 (default): Use :completion-function instead of :complete.
10865 (widget-default-completions): Rename from widget-default-complete;
10867 (widget-string-complete, widget-file-complete, widget-color-complete):
10869 (file, symbol, function, variable, coding-system, color):
10870 * international/mule-cmds.el (default-input-method, charset)
10871 (language-info-custom-alist):
10872 * cus-edit.el (face): Use new property :completions.
10874 * progmodes/pascal.el (pascal-completions-at-point): New function.
10875 (pascal-mode): Use it.
10876 (pascal-mode-map): Use completion-at-point.
10877 (pascal-toggle-completions): Make obsolete.
10878 (pascal-complete-word, pascal-show-completions):
10879 * progmodes/octave-mod.el (octave-complete-symbol):
10880 Redefine as obsolete alias.
10881 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10882 Signal absence of completion info for old Octave,
10883 (inferior-octave-complete): Redefine as obsolete alias.
10884 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10885 (meta-completions-at-point): Rename from meta-complete-symbol and
10886 adapt it for use on completion-at-point-functions.
10887 (meta-common-mode): Use it.
10888 (meta-looking-at-backward, meta-match-buffer): Remove.
10889 (meta-complete-symbol): Redefine as obsolete alias.
10890 (meta-common-mode-map): Use completion-at-point.
10891 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10892 (makefile-mode-map): Use completion-at-point.
10893 (makefile-completions-at-point): Rename from makefile-complete and
10894 adapt it for use on completion-at-point-functions.
10895 (makefile-mode): Use it.
10896 (makefile-complete): Redefine as obsolete alias.
10898 2011-06-20 Deniz Dogan <deniz@dogan.se>
10900 * net/rcirc.el: Delete trailing whitespaces once and for all.
10902 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10904 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10906 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10908 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10910 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10912 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10914 * window.el (display-buffer-other-window-means-other-frame):
10915 Call display-buffer-normalize-alist.
10916 (display-buffer-normalize-specifiers-1): Rename to
10917 display-buffer-normalize-argument. New argument other-frame.
10919 (display-buffer-normalize-specifiers-2): Rename to
10920 display-buffer-normalize-options.
10921 (display-buffer-normalize-alist-1): New function.
10922 (display-buffer-normalize-specifiers-3): Rename to
10923 display-buffer-normalize-alist.
10924 Call display-buffer-normalize-alist-1.
10925 (display-buffer-normalize-options-inhibit): New variable.
10926 (display-buffer-normalize-specifiers): Rewrite calling
10927 display-buffer-normalize-alist,
10928 display-buffer-normalize-argument, and
10929 display-buffer-normalize-options. Don't call the latter if
10930 display-buffer-normalize-options-inhibit is non-nil.
10931 (frame-auto-delete): New option.
10932 (window-deletable-p): Use frame-auto-delete.
10933 (window-list-no-nils, window-state-ignored-parameters)
10934 (window-state-get-1, window-state-get, window-state-put-list)
10935 (window-state-put-1, window-state-put-2, window-state-put):
10937 (display-buffer-normalize-options): Move special-display-p group
10938 after pop-up-frame group (Bug#8851) and (Bug#8856).
10940 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10942 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10944 (rx-submatch-n): New function.
10947 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10950 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10952 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10954 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10955 anytime existing face settings are present (Bug#8889).
10957 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10958 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10959 Remove unused argument.
10961 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10963 * window.el (display-buffer-default-specifiers):
10964 Remove pop-up-frame. Add pop-up-window-min-height,
10965 pop-up-window-min-width, and another reuse-window specifier
10966 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10967 (display-buffer-normalize-specifiers-2):
10968 Handle split-height-threshold and split-width-threshold also when
10969 pop-up-windows is unset. Add a reuse-window specifier for the
10970 case popping up a new window fails.
10971 (special-display-popup-frame): Remove double quoting.
10972 (display-buffer-normalize-specifiers-1): Fix thinko.
10974 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10976 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10977 according to comint-completion-addsuffix.
10979 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10980 (pcomplete-suffix-list): Mark as obsolete.
10981 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10982 pcomplete-seen in the closure.
10983 (pcomplete-comint-setup): Setup completion-at-point as well.
10984 (pcomplete--entries): New function.
10985 (pcomplete--env-regexp): New var.
10986 (pcomplete-entries): Rewrite to work with partial-completion and
10987 without relying on pcomplete-suffix-list.
10988 (pcomplete-pare-list): Remove, unused.
10990 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10992 * window.el (display-buffer-alist): Set pop-up-window-min-height
10993 and pop-up-window-min-width in default value. Reported by
10994 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10995 other-window-means-other-frame.
10996 (display-buffer-macro-specifiers): Comment out entry for
10997 other-window specifier.
10998 (display-buffer-other-window-means-other-frame): New function.
10999 (display-buffer-normalize-specifiers-1): New arguments
11000 buffer-name and label. Treat other-window case specially.
11001 (display-buffer-normalize-specifiers-2): Treat other-window case
11003 (display-buffer-normalize-specifiers-3): New function.
11004 (display-buffer-normalize-specifiers):
11005 Call display-buffer-normalize-specifiers-3.
11007 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11009 * window.el (same-window-p): Fix two typos introduced when
11010 adding with-no-warnings.
11011 (display-buffer-normalize-specifiers-1): Don't check
11012 pop-up-frames for 'unset initialization.
11013 (display-buffer-normalize-specifiers-2): Major rewrite using
11014 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11015 (pop-up-frames, display-buffer-reuse-frames)
11016 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11017 Suggested by David Engster <deng@randomsample.de>.
11018 (even-window-heights): Initialize to 'unset.
11019 (display-buffer-alist-set): Handle new 'unset initializations.
11020 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11023 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11025 * window.el (display-buffer-normalize-specifiers-1):
11026 Respect current value of pop-up-frames for most reasonable values of
11027 second argument of display-buffer (Bug#8865).
11028 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11029 (switch-to-buffer-other-window-same-frame)
11030 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11032 (display-buffer): Don't check noninteractive when calling
11033 display-buffer-pop-up-frame.
11034 (display-buffer-pop-up-frame): Never pop up a frame in
11035 noninteractive mode (Bug#8857).
11036 (enlarge-window, shrink-window): Don't report an error when the
11037 window can't be resized as requested (Bug#8862).
11039 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11041 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11043 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11045 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11047 2011-06-15 Alan Mackenzie <acm@muc.de>
11049 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11050 for declarators, disable knr checking to speed up for normal files.
11051 2: Refactor, replacing a sequence of nested if forms by a cond form.
11053 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11055 * net/network-stream.el (open-network-stream): Add the keyword
11056 :always-query-capabilities for the case where you want to force a
11057 `plain' network connection, but the protocol still requires the
11058 capabilitiy command (i.e., SMTP and EHLO).
11060 * subr.el (process-live-p): Rename from `process-alive-p' for
11061 consistency with other `-live-p' functions.
11063 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * window.el (same-window-buffer-names, same-window-regexps)
11066 (special-display-frame-alist, special-display-popup-frame)
11067 (special-display-function, special-display-buffer-names)
11068 (special-display-regexps, pop-up-frame-alist)
11069 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11070 (pop-up-windows, split-window-preferred-function)
11071 (split-height-threshold, split-width-threshold, even-window-heights)
11072 (display-buffer-mark-dedicated): Don't encourage the use of
11073 display-buffer-alist from Elisp code.
11075 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11077 * progmodes/python.el (python-mode): Derive from prog-mode.
11078 * progmodes/ps-mode.el (ps-mode):
11079 * progmodes/mixal-mode.el (mixal-mode):
11080 * progmodes/cfengine.el (cfengine-mode):
11081 * progmodes/ld-script.el (ld-script-mode): Likewise.
11083 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11085 * window.el (display-buffer-alist): Trim default value to avoid
11086 popping up a new frame (Bug#8857) or reusing an arbitrary window
11088 (display-buffer): Do not fall back on popping up a new frame in
11089 batch mode (Bug#8857).
11091 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11093 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11094 (custom-theme-summary): New function.
11095 (customize-themes): Use it.
11097 2011-06-13 Glenn Morris <rgm@gnu.org>
11099 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11101 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11103 * help.el (help-window): Remove variable.
11104 (help-window-point-marker, temp-buffer-max-height)
11105 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11106 (help-print-return-message): Don't set help-window.
11107 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11108 (help-window-setup-finish): Remove.
11109 (help-window-display-message, help-window-setup)
11110 (with-help-window): Major rewrite based on new
11111 display-buffer-window variable.
11113 * help-mode.el (help-mode-finish): Remove help-window related
11116 * view.el (view-exits-all-viewing-windows): Remove reference to
11117 view-return-to-alist in doc-string.
11118 (view-return-to-alist): Make obsolete.
11119 (view-buffer): Call pop-to-buffer-same-window and remove
11121 (view-buffer-other-window): Call pop-to-buffer-other-window and
11122 simplify code. Ignore second argument.
11123 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11124 simplify code. Ignore second argument.
11125 (view-return-to-alist-update): Make obsolete.
11126 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11127 Rewrite using quit-restore window parameters.
11128 (view-mode-exit): Rename second argument to EXIT-ONLY.
11129 Rewrite using quit-restore-window.
11130 (View-exit, View-exit-and-edit, View-leave, View-quit)
11131 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11132 appropriate arguments.
11133 (view-end-message): Use quit-restore window parameter.
11135 * window.el (display-buffer-function): Rewrite doc-string.
11136 (display-buffer-window, display-buffer-alist): New variables.
11137 (display-buffer-split-specifiers)
11138 (display-buffer-side-specifiers)
11139 (display-buffer-macro-specifiers): New constants.
11140 (display-buffer-even-window-sizes, display-buffer-set-height)
11141 (display-buffer-set-width, display-buffer-select-window)
11142 (display-buffer-in-window, display-buffer-reuse-window)
11143 (display-buffer-split-window-1, display-buffer-split-window)
11144 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11145 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11146 (display-buffer-in-side-window, normalize-buffer-to-display)
11147 (display-buffer-normalize-specifiers-1)
11148 (display-buffer-normalize-specifiers-2)
11149 (display-buffer-normalize-specifiers, display-buffer-frame):
11151 (display-buffer): Major rewrite.
11152 (display-buffer-other-window, display-buffer-other-frame)
11153 (pop-to-buffer, switch-to-buffer-other-window)
11154 (switch-to-buffer-other-frame): Rewrite.
11155 (display-buffer-same-window, display-buffer-same-frame)
11156 (display-buffer-same-frame-other-window)
11157 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11158 (pop-to-buffer-other-window)
11159 (pop-to-buffer-same-frame-other-window)
11160 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11161 (switch-to-buffer-other-window-same-frame): New functions.
11162 (same-window-p, special-display-p): Rewrite disabling warnings.
11164 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11165 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11167 (same-window-buffer-names, same-window-regexps)
11168 (special-display-frame-alist, special-display-popup-frame)
11169 (special-display-function, special-display-buffer-names)
11170 (special-display-regexps, pop-up-frame-alist)
11171 (pop-up-frame-function, split-window-preferred-function)
11172 (split-height-threshold, split-width-threshold)
11173 (even-window-heights): Make obsolete.
11175 2011-06-12 Glenn Morris <rgm@gnu.org>
11177 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11178 Misc simplifications.
11180 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11182 * window.el (window-safely-shrinkable-p): Restore function which
11183 was inadvertently removed in change from 2011-06-11. Declare as
11186 * calendar/calendar.el (calendar-generate-window):
11187 Use window-iso-combined-p instead of combination of one-window-p and
11188 window-safely-shrinkable-p.
11190 2011-06-12 Glenn Morris <rgm@gnu.org>
11192 * progmodes/fortran.el (fortran-mode-syntax-table):
11193 * progmodes/f90.el (f90-mode-syntax-table):
11194 Set % to punctuation. (Bug#8820)
11195 (f90-find-tag-default): Remove, no longer needed.
11197 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11199 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11201 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11203 * image.el (image-animated-p): Return animation delay in seconds.
11204 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11205 (image-animate-timeout): Remove DELAY argument. Don't assume
11206 every subimage has the same delay; get it from image-animated-p.
11207 (image-animate): Caller changed.
11209 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11211 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11212 to ignored backtrace functions.
11214 2011-06-11 Glenn Morris <rgm@gnu.org>
11216 * calendar/appt.el (appt-disp-window-function): Doc fix.
11217 (appt-check): Handle overlapping appointments. (Bug#8337)
11219 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11221 * window.el (window-tree-1, window-tree): New functions, moving
11222 the latter to window.el.
11223 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11224 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11225 (bw-refresh-edges): Remove.
11226 (balance-windows-1, balance-windows-2): New functions.
11227 (balance-windows): Rewrite in terms of window tree functions,
11228 balance-windows-1 and balance-windows-2.
11229 (bw-adjust-window): Remove.
11230 (balance-windows-area-adjust): New function with functionality of
11231 bw-adjust-window but using resize-window.
11232 (set-window-text-height): Rewrite doc-string.
11233 Use normalize-live-window and resize-window.
11234 (enlarge-window-horizontally, shrink-window-horizontally):
11235 Rename argument to DELTA.
11236 (window-buffer-height): New function.
11237 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11238 Rewrite using new window resize routines.
11239 (kill-buffer-and-window, mouse-autoselect-window-select):
11240 Use ignore-errors instead of condition-case.
11241 (quit-window): Call delete-frame instead of delete-windows-on
11242 for the only buffer on frame.
11244 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11246 * loadup.el (top-level): Load window before files for the sake
11247 of replace-buffer-in-windows.
11249 * files.el (read-buffer-to-switch)
11250 (switch-to-buffer-other-window)
11251 (switch-to-buffer-other-frame, display-buffer-other-frame):
11254 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11255 (previous-buffer): Move to window.el.
11257 * bindings.el (unbury-buffer): Move to window.el.
11259 * window.el (delete-other-windows-vertically): Move after
11260 definition of delete-other-windows.
11261 (other-window, delete-windows-on, replace-buffer-in-windows):
11262 Move here from window.c.
11263 (record-window-buffer, unrecord-window-buffer)
11264 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11265 (switch-to-next-buffer): New functions.
11266 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11267 from simple.el. Call switch-to-next-buffer.
11268 (previous-buffer): Move here from simple.el.
11269 Call switch-to-prev-buffer.
11270 (bury-buffer): Move here from buffer.c. Switch to previous
11271 buffer when window cannot be deleted.
11272 (unbury-buffer): Move here from bindings.el.
11273 (ctl-x-map): Move binding for other-window from window.c to
11275 (read-buffer-to-switch, switch-to-buffer-other-window)
11276 (switch-to-buffer-other-frame): Move here from files.el.
11277 (normalize-buffer-to-switch-to): New functions.
11278 (switch-to-buffer): Move here from buffer.c.
11279 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11281 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11283 * window.el (window-min-height, window-min-width): Move here
11284 from window.c. Add defcustoms and rewrite doc-strings.
11285 (resize-mini-window, resize-window): New functions.
11286 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11287 Move here from window.c.
11288 (maximize-window, minimize-window): New functions.
11289 (delete-window, delete-other-windows, split-window): Move here
11291 (window-split-min-size): New function.
11292 (split-window-keep-point): Mention split-window-above-each-other
11293 instead of split-window-vertically.
11294 (split-window-above-each-other, split-window-vertically):
11295 Rename split-window-vertically to split-window-above-each-other
11296 and provide defalias for old definition.
11297 (split-window-side-by-side, split-window-horizontally):
11298 Rename split-window-horizontally to split-window-side-by-side
11299 and provide defalias for the old definition.
11300 (ctl-x-map): Move bindings for delete-window,
11301 delete-other-windows and enlarge-window here from window.c.
11302 Replace bindings for split-window-vertically and
11303 split-window-horizontally by bindings for
11304 split-window-above-each-other and split-window-side-by-side.
11306 * cus-start.el (all): Remove entries for window-min-height and
11307 window-min-width. Add entries for window-splits and
11310 2011-06-09 Glenn Morris <rgm@gnu.org>
11312 * calendar/appt.el (appt-mode-line): New function.
11313 (appt-check, appt-disp-window): Use it.
11315 * files.el (hack-one-local-variable-eval-safep):
11316 Allow minor-modes with explicit +/-1 arguments.
11318 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11320 * term/xterm.el (xterm): Add defgroup.
11321 (xterm-extra-capabilities): Add defcustom to supply known xterm
11322 capabilities, skip querying them, or query them (default).
11323 (terminal-init-xterm): Use it.
11324 (terminal-init-xterm-modify-other-keys): New function to set up
11325 modifyOtherKeys support to simplify `terminal-init-xterm'.
11327 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11329 * window.el (resize-window-reset, resize-window-reset-1)
11330 (resize-subwindows-skip-p, resize-subwindows-normal)
11331 (resize-subwindows, resize-other-windows, resize-this-window)
11332 (resize-root-window, resize-root-window-vertically)
11333 (window-deletable-p, window-or-subwindow-p)
11334 (frame-root-window-p): New functions.
11336 2011-06-09 Glenn Morris <rgm@gnu.org>
11338 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11339 (ange-ftp-get-files): Use it.
11341 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11343 * mail/sendmail.el (mail-recover-1, mail-recover):
11344 * files.el (recover-file, recover-session):
11345 Handle dired-listing-switches not being just a single short option.
11347 2011-06-09 Glenn Morris <rgm@gnu.org>
11349 * calendar/appt.el (appt-display-message, appt-disp-window):
11350 Handle lists of appointments.
11352 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11354 * window.el (one-window-p): Move down in code.
11355 Rewrite doc-string.
11356 (window-current-scroll-bars): Rewrite doc-string.
11357 Normalize live window argument.
11358 (walk-windows, get-window-with-predicate, count-windows):
11359 Rewrite doc-string. Use window-list-1.
11360 (window-in-direction-2, window-in-direction, get-mru-window):
11363 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11365 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11366 Doc fix (Bug#8713).
11368 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11370 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11372 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11374 * loadhist.el (unload-feature-special-hooks):
11375 Add `comint-output-filter-functions'.
11377 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11379 * calendar/appt.el (appt-check): Move some initializations into the let.
11381 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11383 * window.el (window-height): Defalias to window-total-height.
11384 (window-width): Defalias to window-body-width.
11386 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11388 * image-mode.el (image-toggle-animation): New command.
11389 (image-mode-map): Bind it to RET.
11390 (image-mode): Update message.
11391 (image-toggle-display-image): Avoid a spurious cache flush.
11392 (image-transform-rotation): Doc fix.
11393 (image-transform-properties): Return quickly in the normal case.
11394 (image-animate-loop): Rename from image-animate-max-time.
11396 * image.el (image-animate-max-time): Move to image-mode.el.
11397 (create-animated-image): Remove unnecessary function.
11398 (image-animate): Rename from image-animate-start. New arg.
11399 (image-animate-stop): Remove; just use image-animate-timer.
11400 (image-animate-timer): Use car-safe.
11401 (image-animate-timeout): Rename argument.
11403 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11405 * window.el (get-lru-window, get-largest-window): Move here from
11406 window.c. Rename first argument to ALL-FRAMES.
11407 Rephrase doc-strings.
11408 (get-buffer-window-list): Rewrite using window-list-1.
11409 Rephrase doc-string.
11410 (window-safe-min-height, window-safe-min-width): New constants.
11411 (window-size-ignore, window-min-size, window-min-size-1)
11412 (window-sizable, window-sizable-p, window-size-fixed-1)
11413 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11414 (window-max-delta-1, window-max-delta, window-resizable)
11415 (window-resizable-p, window-total-height, window-total-width)
11416 (window-body-width): New functions.
11417 (window-full-height-p, window-full-width-p): Rewrite using
11419 (window-body-height): Rewrite using window-body-size.
11421 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11423 * window.el (window-right, window-left, window-child)
11424 (window-child-count, window-last-child, window-any-p)
11425 (normalize-live-buffer, normalize-live-frame)
11426 (normalize-any-window, normalize-live-window)
11427 (window-iso-combination-p, window-iso-combined-p)
11428 (window-iso-combinations)
11429 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11430 (windows-with-parameter, window-with-parameter)
11431 (window-atom-root, make-window-atom, window-atom-check-1)
11432 (window-atom-check, window-side-check, window-check):
11434 (ignore-window-parameters, window-sides, window-sides-vertical)
11435 (window-sides-slots): New variables.
11436 (window-size-fixed): Move down in code. Minor doc-string fix.
11438 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11440 * comint.el (comint-dynamic-complete-as-filename)
11441 (comint-dynamic-complete-filename): Correctly call
11442 completion-in-region.
11444 2011-06-05 Deniz Dogan <deniz@dogan.se>
11446 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11449 2011-06-05 Deniz Dogan <deniz@dogan.se>
11451 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11452 (rcirc): Use it to prompt for encryption.
11454 2011-06-05 Roland Winkler <winkler@gnu.org>
11456 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11457 (bibtex-search-entries): New command bound to C-c C-a.
11458 (bibtex-display-entries): New function.
11460 2011-06-05 Roland Winkler <winkler@gnu.org>
11462 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11463 (bibtex-insert-kill): After yanking insert newline if necessary.
11464 (bibtex-initialize): Call bibtex-string-files-init only once.
11465 (bibtex-mode): Do not call easy-menu-add.
11466 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11467 (bibtex-yank): Set arg properly if nil.
11469 2011-06-05 Roland Winkler <winkler@gnu.org>
11471 * textmodes/bibtex.el (bibtex-search-entry-globally):
11473 (bibtex-search-entry): Use it.
11475 2011-06-05 Roland Winkler <winkler@gnu.org>
11477 * textmodes/bibtex.el (bibtex-entry-format): New option
11479 (bibtex-format-entry, bibtex-reformat): Honor this option.
11480 (bibtex-parse-entry): Return fields in proper order.
11482 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11484 * doc-view.el (doc-view-remove-if): Move computation of result out
11485 of `dolist' to silence misleading lexical-binding warning.
11487 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11489 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11490 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11492 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11494 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11497 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11499 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11500 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11501 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11502 (tramp-parse-putty):
11503 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11504 (tramp-completion-function-alist-ssh)
11505 (tramp-completion-function-alist-telnet)
11506 (tramp-completion-function-alist-su)
11507 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11510 * net/tramp-ftp.el:
11512 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11513 load "tramp.el" `tramp-set-completion-function'.
11515 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11517 * shell.el: Require and use pcomplete.
11518 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11519 (shell-completion-vars): Set pcomplete-default-completion-function.
11521 2011-06-04 Deniz Dogan <deniz@dogan.se>
11523 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11526 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11528 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11530 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11532 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11533 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11534 * vc/log-view.el (log-view-beginning-of-defun):
11535 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11536 (smerge-refine-forward, smerge-refine-chopup-region):
11537 Silence warning for unused `dotimes' counter variables.
11539 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * net/tramp.el (tramp-with-progress-reporter): Rename from
11542 with-progress-reporter. Use `declare'.
11543 * net/tramp-smb.el:
11545 * net/tramp-gvfs.el: Update all uses.
11547 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11549 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11550 buffer isn't killed before making it current.
11552 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11554 Silence various byte-compiler warnings.
11555 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11556 `access-type' and new obsolescence format.
11557 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11559 (byte-compile-check-variable): New `access-type' argument.
11560 Only warn if the access-type is obsolete.
11561 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11562 (byte-compile-variable-set): Adjust callers.
11563 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11564 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11565 setting it as obsolete.
11566 * simple.el (minibuffer-completing-symbol):
11567 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11568 access as obsolete.
11569 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11571 * international/quail.el (quail-mouse-choose-completion): Remove unused
11572 code referring to obsolete var.
11573 (quail-choose-completion-string): Remove.
11574 * server.el (server-clients-with, server-kill-buffer-query-function)
11575 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11576 * proced.el (proced-send-signal):
11577 * emacs-lisp/lisp.el (lisp-complete-symbol):
11578 Replace completion-annotate-function with completion-extra-properties.
11580 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11582 * simple.el (goto-line): Use read-number.
11583 (overriding-map-is-bound): Remove.
11584 (saved-overriding-map): Change default.
11585 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11586 Take the map as argument.
11587 (universal-argument, negative-argument, digit-argument): Use it.
11588 (restore-overriding-map): Adjust.
11589 (do-auto-fill): Use fill-forward-paragraph.
11590 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11592 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11593 (minibuffer-inactive-mode): New major mode.
11594 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11595 the *Messages* buffer" hack.
11596 (mouse-popup-menubar): Don't burp if the event is a normal key.
11598 Miscellaneous tweaks.
11599 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11600 lexical scoping as in subr.el's dolist and dotimes.
11601 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11602 Silence compiler warning.
11603 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11604 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11605 * international/ccl.el (ccl-compile): Trivial simplification.
11606 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11607 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11608 `printflag' argument.
11609 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11610 Purecopy the whole obsolescence data.
11612 2011-06-01 Leo Liu <sdl.web@gmail.com>
11614 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11615 improve doc-string as suggested by Marco Pessotto
11616 <melmothx@gmail.com>.
11617 (rcirc-print): Fix last change.
11619 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * minibuffer.el (complete-with-action): Return nil for the metadata and
11622 boundaries of non-functional tables.
11623 (completion-table-dynamic): Return nil for the metadata.
11624 (completion-table-with-terminator): Add default case, using
11625 complete-with-action.
11626 (completion--metadata): New function.
11627 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11628 to try and avoid pathological performance problems.
11629 (completion--embedded-envvar-table): Return `category' metadata.
11631 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11633 * subr.el (process-alive-p): New tiny convenience function.
11635 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11637 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11638 content but also its previous major mode.
11640 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11642 * emacs-lisp/debug.el (debug): Restore the previous content of the
11643 *Backtrace* buffer when we exit with C-M-c.
11645 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11647 * minibuffer.el: Add metadata method to completion tables.
11648 (completion-category-overrides): New defcustom.
11649 (completion-metadata, completion--field-metadata)
11650 (completion-metadata-get, completion--styles)
11651 (completion--cycle-threshold): New functions.
11652 (completion-try-completion, completion-all-completions):
11653 Add `metadata' argument to choose completion-styles.
11654 (completion--do-completion): Use metadata to choose cycling.
11655 (completion-all-sorted-completions): Use metadata for sorting.
11656 Remove :completion-cycle-penalty which is not needed any more.
11657 (completion--try-word-completion): Add `metadata' argument.
11658 (minibuffer-completion-help): Check metadata for annotation function
11660 (completion-file-name-table): Return `category' metadata.
11661 (minibuffer-completing-file-name): Make obsolete.
11662 * simple.el (minibuffer-completing-symbol): Make obsolete.
11663 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11664 completion-try-completion.
11666 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11670 2011-05-30 Leo Liu <sdl.web@gmail.com>
11672 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11673 (rcirc-print): Decode all incoming messages (bug#8744).
11674 (rcirc-decode-coding-system): Allow value nil for automatic coding
11677 2011-06-01 Glenn Morris <rgm@gnu.org>
11679 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11681 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11683 * image.el (image-animate-max-time): Allow nil and t values.
11685 (create-animated-image): Doc fix.
11686 (image-animate-start): Remove second arg; just use
11687 image-animate-max-time.
11688 (image-animate-timeout): Doc fix. Args changed.
11690 * image-mode.el (image-toggle-display-image): Ensure that the
11691 image spec passed to the animate timer is the same object as in
11692 the buffer's display property (Bug#6981).
11693 (image-transform-properties): Doc fix.
11695 * image.el (image-animate-max-time): Default to nil.
11697 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11699 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11700 entire buffer list (Bug#8184).
11702 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11704 * image.el (imagemagick-types-inhibit)
11705 (imagemagick-register-types): Doc fix.
11707 2011-05-29 Deniz Dogan <deniz@dogan.se>
11709 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11712 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11714 * select.el: Don't perform clipboard-manager saving in hooks;
11715 leave the hooks empty.
11717 2011-05-28 Leo Liu <sdl.web@gmail.com>
11719 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11720 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11721 (occur-edit-mode): New major mode (Bug#8463).
11722 (occur-after-change-function): New function.
11723 (occur-engine): Give Occur tags a read-only property.
11725 2011-05-28 Kevin Ryde <user42@zip.com.au>
11727 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11729 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11731 * bindings.el (help-echo): Make the initial non-indicator dash
11732 empty on graphical terminals (Bug#7295).
11734 * files.el (auto-mode-alist): Move config rule after the
11735 in-stripping one (Bug#8547).
11737 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11739 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11740 setting (Bug#8740).
11742 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11744 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11745 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11748 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11750 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11752 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11754 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11755 (hs-hide-block-at-point, hs-find-block-beginning)
11756 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11759 2011-05-28 Glenn Morris <rgm@gnu.org>
11761 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11763 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11765 * help-fns.el (describe-function-1): If the function is a derived
11766 major mode, print the parent mode.
11768 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11769 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11771 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11773 * minibuffer.el (completion--capf-wrapper): Check applicability before
11774 returning non-nil for non-exclusive completion data.
11775 * progmodes/etags.el (tags-completion-at-point-function):
11776 * info-look.el (info-lookup-completions-at-point): Mark as
11778 (info-complete): Adjust accordingly.
11780 * info-look.el: Convert to lexical-binding and completion-at-point.
11781 (info-lookup-completions-at-point): New function.
11782 (info-complete): Use it and completion-in-region.
11784 2011-05-28 Drew Adams <drew.adams@oracle.com>
11786 * isearch.el: Let M-e start with point at the first mismatched char.
11787 (isearch-fail-pos): New function.
11788 (isearch-edit-string): Use it.
11790 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11792 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11794 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11796 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11797 traversal functions for avl-trees.
11798 (avl-tree--stack): New struct.
11799 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11800 (avl-tree-enter): Add optional `updatefun' arg.
11801 (avl-tree--do-enter): Add optional `updatefun' arg.
11802 Change return value.
11803 (avl-tree-delete): Add optional `test' and `nilflag' args.
11804 (avl-tree--do-delete): Add `test' and `nilflag' args.
11805 Change return value.
11806 (avl-tree-member): Add optional `nilflag'
11807 (avl-tree-member-p): New function.
11808 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11809 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11810 (avl-tree-stack-empty-p): New functions.
11812 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11813 avl-tree--del-balance1 and make it work both ways.
11814 (avl-tree--del-balance2): Remove.
11815 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11816 make it work both ways.
11817 (avl-tree--enter-balance2): Remove.
11818 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11820 (avl-tree--mapc, avl-tree-map): Add direction argument.
11822 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11824 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11826 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11828 * select.el: Support clipboard managers with built-in function
11829 x-clipboard-manager-save, via delete-frame-functions and
11831 (xselect-convert-to-targets): Add MULTIPLE target to list.
11832 (xselect-convert-to-save-targets): New function.
11834 2011-05-27 Kenichi Handa <handa@m17n.org>
11836 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11837 let-binding rfc2047-encode-encoded-words to nil.
11839 2011-05-27 Glenn Morris <rgm@gnu.org>
11841 * mail/emacsbug.el: Don't require url-util.
11843 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11845 * files.el (set-auto-mode):
11846 Also respect mode: entries at the end of the file. (Bug#8586)
11848 2011-05-26 Glenn Morris <rgm@gnu.org>
11850 * files.el (hack-local-variables-prop-line, hack-local-variables):
11851 Downcase mode names, as seems to be traditional.
11852 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11854 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11855 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11857 2011-05-25 Julien Danjou <julien@danjou.info>
11859 * textmodes/rst.el (rst-define-level-faces): Do not define face
11860 symbol if it is already defined.
11862 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11864 * play/5x5.el (5x5-new-game, 5x5-randomize):
11865 Reset 5x5-solver-output to nil when a new grid is cast.
11866 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11867 these debugging traces, as defmacro breaks the compiled code.
11869 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11871 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11873 2011-05-24 Leo Liu <sdl.web@gmail.com>
11875 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11876 (vc-bzr-sha1): Adapt.
11878 * sha1.el: Remove. Function `sha1' is now builtin.
11880 * bindings.el: Provide sha1 feature.
11882 2011-05-24 Kenichi Handa <handa@m17n.org>
11884 * mail/sendmail.el: Require `rfc2047'.
11885 (mail-insert-from-field): Do not perform RFC2047 encoding.
11886 (mail-encode-header): New function.
11887 (sendmail-send-it): Set buffer-file-coding-system of the work
11888 buffer to the return value of select-message-coding-system.
11889 Call mail-encode-header.
11891 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11893 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11895 * mail/supercite.el (sc-default-cite-frame):
11896 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11898 2011-05-24 Glenn Morris <rgm@gnu.org>
11900 * progmodes/python.el (brm-menu): Declare.
11902 * emulation/viper.el (viper-set-hooks): Declare.
11904 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11905 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11906 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11907 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11908 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11909 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11911 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11913 Add an :exit-function for completion-at-point.
11915 * minibuffer.el (completion--done): New fun.
11916 (completion--do-completion): Use it. New arg `expect-exact'.
11917 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11918 since completion--do-completion does it for us now.
11919 (minibuffer-force-complete): Use completion--done and
11920 completion--replace. Handle sole-completion case with more care.
11921 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11922 (completion-extra-properties): New var.
11923 (completion-annotate-function): Make obsolete.
11924 (minibuffer-completion-help): Adjust accordingly.
11925 Use completion-list-insert-choice-function.
11926 (completion-at-point, completion-help-at-point):
11927 Bind completion-extra-properties.
11928 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11929 * simple.el (completion-list-insert-choice-function): New var.
11930 (completion-setup-function): Preserve it.
11931 (choose-completion): Pay attention to it, shuffle the code a bit.
11932 (choose-completion-string): New arg `insert-function'.
11934 * textmodes/bibtex.el: Convert to lexical binding.
11935 (bibtex-mode-map): Use completion-at-point.
11936 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11937 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11938 (bibtex-complete): Define as obsolete alias.
11939 (bibtex-complete-internal): Remove.
11940 (bibtex-format-entry): Remove unused sub-group in regexp.
11941 * shell.el (shell--command-completion-data)
11942 (shell-environment-variable-completion):
11943 * pcomplete.el (pcomplete-completions-at-point):
11944 * comint.el (comint--complete-file-name-data): Use :exit-function
11945 instead of completion-table-with-terminator so it also works for
11948 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11950 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11952 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11955 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11957 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11959 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11960 customization variable and implement: If non-nil, auto-fill will
11961 be inhibited while on topic's header line.
11963 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11965 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11966 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11967 always have a solution in grid size = 5 cases.
11968 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11969 (5x5-solver-output, 5x5-log-buffer): New vars.
11970 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11971 Make these variables buffer local to achieve 5x5 multi-session-ness.
11972 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11973 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11974 (5x5-solve-suggest): New funs.
11975 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11976 randomize a grid so that we ensure that there is always a solution.
11977 (5x5-make-random-grid): Allow other movement than flipping.
11979 2011-05-23 Kevin Ryde <user42@zip.com.au>
11981 * emacs-lisp/advice.el (ad-read-advised-function):
11982 Use `function-called-at-point' as the default, if it has
11983 advice and passes PREDICATE.
11985 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11987 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11988 byte-compile-lambda if it's actually a lambda.
11990 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11991 Fix function quoting. Use backquote better.
11993 2011-05-22 Yuanle Song <sylecn@gmail.com>
11995 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11996 matching (Bug#8516).
11998 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12000 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12001 different face (Bug#8178).
12003 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12005 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12006 defface (Bug#8144).
12008 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12010 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12011 funcall as well (bug#8712). Warn when performing those conversions.
12012 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12014 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12016 2011-05-22 Glenn Morris <rgm@gnu.org>
12018 * files.el (hack-local-variables-prop-line): Small simplifications.
12019 (hack-local-variables, hack-local-variables-prop-line):
12020 If MODE-ONLY, return the mode, rather than just `t'.
12022 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12024 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12026 2011-05-21 Glenn Morris <rgm@gnu.org>
12028 * files.el (hack-local-variables-prop-line, hack-local-variables):
12029 If only interested in the mode, don't bother doing the other stuff.
12031 * image-mode.el (image-after-revert-hook):
12032 Redraw all frames on which the image is visible. (Bug#8567)
12034 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12036 * wid-edit.el (widget-checklist-match-inline):
12037 Fix 2011-04-19 change. (Bug#8649)
12039 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12042 Also allow singlespace after single-letter capitals followed by a dot.
12044 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12045 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12047 2011-05-20 Nix <nix@esperi.org.uk>
12049 * files.el (basic-save-buffer-2):
12050 Fix handling of break-hardlink-on-save with non-existent files.
12052 2011-05-19 Deniz Dogan <deniz@dogan.se>
12054 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12055 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12057 2011-05-19 Glenn Morris <rgm@gnu.org>
12059 * progmodes/f90.el (f90-type-def-re):
12060 Handle "type, bind(c)". (Bug#8691)
12062 * emacs-lisp/autoload.el (batch-update-autoloads):
12063 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12065 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12067 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12068 property for the correct connection in case of multihops.
12070 2011-05-18 Glenn Morris <rgm@gnu.org>
12072 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12073 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12075 Rationalize calendar handling of day and month abbrev-arrays.
12076 * calendar/calendar.el (calendar-customized-p): New function.
12077 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12078 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12080 (calendar-abbrev-length, calendar-day-abbrev-array)
12081 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12082 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12083 Elements may no longer be nil.
12084 (calendar-day-name, calendar-month-name):
12085 Update for changed nature of abbrev arrays.
12086 * calendar/diary-lib.el (diary-name-pattern):
12087 Update for changed nature of abbrev arrays.
12088 (diary-mark-entries-1): Update calendar-make-alist calls.
12089 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12090 * calendar/cal-html.el (cal-html-day-abbrev-array):
12091 Simply inherit from calendar-day-abbrev-array.
12093 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * progmodes/grep.el (grep-mode): Disable default
12096 compilation-directory-matcher setting (bug#8684).
12098 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12100 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12101 instead of "head" and "tail". There were problems with SunOS 5.9,
12102 and it performs better.
12104 2011-05-17 Glenn Morris <rgm@gnu.org>
12106 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12108 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12109 Replace obsolete function.
12111 * shell.el (pcomplete-parse-arguments-function): Declare.
12113 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12114 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12115 (appt-check): Doc fixes.
12116 (appt-disp-window-function, appt-delete-window-function):
12117 Remove needless special case in custom :type.
12118 (appt-display-count): Default to 0, not nil.
12119 (appt-check): Reset appt-display-count to 0, not nil.
12121 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12123 * progmodes/python.el (python-font-lock-keywords):
12124 Add the Python 3.X keyword "nonlocal" (bug#8639).
12126 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12128 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12130 2011-05-16 Kevin Ryde <user42@zip.com.au>
12132 * info-look.el (makefile-automake-mode): New setups, looking in
12133 automake manual, then makefile-mode.
12134 (makefile-mode): Remove automake manual, have it just in
12135 makefile-automake-mode since there's various things different or
12136 not relevant to plain make.
12137 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12138 believe a hypothetical automake-mode would go to makefile-mode,
12139 not the other way around.
12141 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12143 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12144 hunk-end tags (Bug#8672).
12146 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12147 vc-annotate-show-diff-revision-at-line (Bug#8671).
12149 2011-05-14 Glenn Morris <rgm@gnu.org>
12151 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12152 in the middle of an existing one with multiple authors. (Bug#8645)
12153 (change-log-font-lock-keywords): Also handle multiple author lines
12154 with leading tabs. (Bug#8644)
12156 * calendar/appt.el (appt-check): Rename some local variables.
12157 Some simplification/reordering.
12159 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12160 (feedmail-sendmail-f-doesnt-sell-me-out)
12161 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12162 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12163 (feedmail-queue-runner-message-sender): Set :version.
12164 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12165 (bbdb-dwim-net-address, vm-mail): Declare.
12166 (feedmail-binmail-gnulinuxish-template):
12167 Rename from feedmail-binmail-linuxish-template.
12168 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12169 Use insert-buffer-substring.
12171 2011-05-14 Bill Carpenter <bill@carpenter.org>
12173 * mail/feedmail.el (feedmail-patch-level): Increase.
12174 (feedmail-debug): New custom group.
12175 (feedmail-confirm-outgoing-timeout)
12176 (feedmail-sendmail-f-doesnt-sell-me-out)
12177 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12178 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12179 (feedmail-sender-line, feedmail-from-line)
12180 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12181 (feedmail-spray-this-address)
12182 (feedmail-spray-address-fiddle-plex-list)
12183 (feedmail-queue-use-send-time-for-date)
12184 (feedmail-queue-use-send-time-for-message-id)
12185 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12186 (feedmail-buffer-eating-function):
12188 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12189 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12190 (feedmail-message-action-scroll-down): New functions.
12191 (feedmail-queue-directory, feedmail-queue-draft-directory):
12192 Use expand-file-name.
12193 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12194 Remove C-v help entry.
12195 (feedmail-queue-buffer-file-name): New variable.
12196 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12197 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12198 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12199 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12200 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12201 (feedmail-message-action-toggle-spray)
12202 (feedmail-run-the-queue-no-prompts)
12203 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12204 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12205 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12206 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12207 (feedmail-envelope-deducer, feedmail-fiddle-from)
12208 (feedmail-fiddle-sender, feedmail-default-date-generator)
12209 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12210 (feedmail-fiddle-spray-address)
12211 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12212 (feedmail-fiddle-list-of-fiddle-plexes)
12213 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12214 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12215 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12216 Change default. Doc fix.
12217 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12218 (feedmail-binmail-linuxish-template): New constant.
12219 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12220 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12221 (feedmail-send-it): Add debug call.
12222 Use feedmail-queue-buffer-file-name, and
12223 feedmail-send-it-immediately-wrapper.
12224 (feedmail-message-action-send): Add debug call.
12225 Use feedmail-send-it-immediately-wrapper.
12226 (feedmail-queue-express-to-queue): Add debug call.
12227 Run feedmail-queue-express-hook.
12228 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12229 (feedmail-message-action-help-blat):
12230 Rename from feedmail-queue-send-edit-prompt-help-first.
12231 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12232 Check line-endings. Handle errors better.
12233 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12234 Doc fix. Add debug call.
12235 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12236 Use feedmail-queue-send-edit-prompt-inner.
12237 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12238 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12239 from feedmail-queue-send-edit-prompt.
12240 (feedmail-queue-send-edit-prompt-help)
12241 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12242 (feedmail-tidy-up-slug): Add debug call.
12243 Respect feedmail-queue-slug-suspect-regexp.
12244 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12245 (feedmail-dump-message-to-queue): Add debug call.
12246 Expand queue-directory.
12247 (feedmail-dump-message-to-queue): Change message slightly.
12248 Use feedmail-say-chatter.
12249 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12250 (feedmail-send-it-immediately-wrapper): New function.
12251 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12252 Insert empty string rather than newline. Handle full-frame case.
12253 Use catch/throw. Use feedmail-say-chatter.
12254 (feedmail-fiddle-from): Try mail-host-address.
12255 (feedmail-default-message-id-generator): Doc fix.
12256 Bind system-time-locale. Handle missing end.
12257 (feedmail-fiddle-x-mailer): Add debug call.
12258 Handle feedmail-x-mailer-line being nil.
12259 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12260 Add debug call. Use buffer-substring-no-properties.
12261 (feedmail-say-debug, feedmail-say-chatter): New functions.
12262 (feedmail-find-eoh): Give an explicit error.
12264 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12266 * net/newst-treeview.el (newsticker-treeview-face): Change default
12267 family from helvetica to sans.
12268 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12269 etc/images/newsticker.
12271 * net/newst-reader.el (newsticker-feed-face): Change default
12272 family from helvetica to sans.
12274 * net/newst-plainview.el (newsticker-new-item-face)
12275 (newsticker-old-item-face, newsticker-immortal-item-face)
12276 (newsticker-obsolete-item-face, newsticker-date-face)
12277 (newsticker-statistics-face): Change default family from
12279 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12280 etc/images/newsticker.
12282 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12283 (newsticker--process-auto-mark-filter-match): Tell user about
12286 2011-05-13 Didier Verna <didier@xemacs.org>
12288 Common Lisp indentation improvements on defmethod and lambda-lists.
12289 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12291 (lisp-lambda-list-keyword-parameter-indentation)
12292 (lisp-lambda-list-keyword-parameter-alignment)
12293 (lisp-lambda-list-keyword-alignment): New customizable user options.
12294 (lisp-indent-defun-method): Improve docstring.
12295 (extended-loop-p): Fix comment.
12296 (lisp-indent-lambda-list-keywords-regexp): New variable.
12297 (lisp-indent-lambda-list): New function.
12298 (lisp-indent-259): Use it.
12299 (lisp-indent-defmethod): Support for more than one
12300 method qualifier and properly indent methods lambda-lists.
12301 (defgeneric): Provide a missing common-lisp-indent-function property.
12303 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12306 bounds for the empty string (bug#8667).
12308 2011-05-13 Glenn Morris <rgm@gnu.org>
12310 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12312 * mail/sendmail.el (sendmail-program): Try executable-find first.
12313 (sendmail-send-it): `sendmail-program' cannot be unbound.
12315 * calendar/appt.el (appt-make-list): Simplify.
12316 (appt-time-msg-list): Doc fix.
12317 (appt-check): Change mode-line message at the time of the appointment.
12319 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12321 * progmodes/ld-script.el (ld-script-keywords)
12322 (ld-script-builtins): Update keywords list.
12324 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12326 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12328 * shell.el (shell-completion-vars): New function.
12330 * simple.el (read-shell-command): Use it.
12331 (blink-matching-open): No need for " [...]" in minibuffer-message.
12333 2011-05-12 Glenn Morris <rgm@gnu.org>
12335 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12336 (appt-check): Simplify.
12338 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12340 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12341 literal "/dev/null".
12343 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12345 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12348 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12350 * progmodes/which-func.el (which-function):
12351 Use add-log-current-defun instead of add-log-current-defun-function,
12352 which might not be defined (Bug#8260).
12354 2011-05-12 Glenn Morris <rgm@gnu.org>
12356 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12357 Let byte-compile-initial-macro-environment always take precedence.
12359 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12361 * net/rcirc.el: Add support for SSL/TLS connections.
12362 (rcirc-server-alist): New field `encryption'.
12363 (rcirc): Check `encryption' settings.
12364 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12365 Merge make-local-variable into `set'.
12366 (rcirc--connection-open-p): New function.
12367 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12368 the process is not a network process (e.g. running gnutls-cli).
12369 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12370 Make rcirc-(en|de)code-coding-system local here.
12371 (rcirc-mode): Merge make-local-variable into `set'.
12372 (rcirc-parent-buffer): Make permanent buffer-local.
12373 (rcirc-multiline-minor-mode): Don't do it here.
12374 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12375 there's no server buffer.
12377 2011-05-11 Glenn Morris <rgm@gnu.org>
12379 * newcomment.el (comment-kill): Prefix "unused" local.
12381 * term/w32console.el (get-screen-color): Declare.
12383 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12384 Handle symbol elements of byte-compile-initial-macro-environment.
12386 2011-05-10 Leo Liu <sdl.web@gmail.com>
12388 * bookmark.el (bookmark-bmenu-mode-map):
12389 Bind bookmark-bmenu-search to `/'.
12391 * mail/footnote.el: Convert to utf-8 encoding.
12392 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12393 (Footnote-unicode): New function.
12394 (footnote-style-alist): Add unicode style to the list.
12395 (footnote-style): Doc fix.
12397 2011-05-10 Jim Meyering <meyering@redhat.com>
12399 Fix doubled-word typos.
12400 * international/quail.el (quail-insert-kbd-layout): and and -> and
12401 * kermit.el: and and -> and
12402 * net/ldap.el (ldap-search-internal): to to -> to
12403 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12404 * progmodes/js.el (js-mode): and and -> and
12405 * textmodes/artist.el (artist-move-to-xy): at at -> at
12406 (artist-draw-region-trim-line-endings): if if -> if
12407 And Safetyc -> Safety.
12408 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12410 2011-05-10 Glenn Morris <rgm@gnu.org>
12411 Stefan Monnier <monnier@iro.umontreal.ca>
12413 * files.el (hack-one-local-variable-eval-safep):
12414 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12416 2011-05-10 Glenn Morris <rgm@gnu.org>
12418 * calendar/diary-lib.el (diary-list-entries-hook)
12419 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12420 (diary-nongregorian-marking-hook, diary-list-entries)
12421 (diary-include-other-diary-files, diary-mark-entries)
12422 (diary-mark-included-diary-files): Doc fixes.
12424 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12426 * misc.el: Require tabulated-list.el during compilation.
12428 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12430 * progmodes/compile.el (compilation-start):
12431 Run compilation-filter-hook for the async case too.
12432 (compilation-filter-hook): Doc fix.
12434 2011-05-09 Deniz Dogan <deniz@dogan.se>
12436 * wdired.el: Remove outdated installation comment. Fix usage
12439 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12441 * misc.el: Implement new command `list-dynamic-libraries'.
12442 (list-dynamic-libraries--loaded-only-p): New variable.
12443 (list-dynamic-libraries--refresh): New function.
12444 (list-dynamic-libraries): New command.
12446 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12448 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12449 Fix the ant regexp to handle end-line and end-column info from jikes.
12450 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12451 higher priority to avoid clobbering by gnu.
12453 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12455 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12456 if the face has existing theme settings (Bug#8454).
12458 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12460 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12461 Only match variables declared via `my' or `our' (Bug#8261).
12463 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12464 special file names `.' and `..' (Bug#8259).
12466 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12468 * progmodes/grep.el (grep-mode-font-lock-keywords):
12469 Remove buffer-changing entries.
12470 (grep-filter): New function.
12471 (grep-mode): Add it to compilation-filter-hook.
12473 * progmodes/compile.el (compilation-filter-hook)
12474 (compilation-filter-start): New defvars.
12475 (compilation-filter): Call compilation-filter-hook prior to
12476 updating the process mark.
12478 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12480 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12482 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12484 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12485 mailclient-send-it even if window-system is nil. (Bug#8595)
12487 * term/w32console.el (terminal-init-w32console):
12488 Call get-screen-color and use its output to set the frame
12489 background-mode. (Bug#8597)
12491 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12493 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12494 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12496 (defgeneric, eieio--defmethod): Use them.
12497 (eieio-defgeneric): Remove.
12498 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12500 2011-05-07 Glenn Morris <rgm@gnu.org>
12502 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12503 Use let rather than let*.
12504 (timeclock-find-discrep): Remove unused local.
12506 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12508 * calendar/appt.el (appt-time-msg-list): Doc fix.
12510 2011-05-06 Noah Friedman <friedman@splode.com>
12512 * apropos.el (apropos-print-doc): Only use
12513 emacs-lisp-docstring-fill-column when it is bound to an integer,
12514 per that variable's documentation.
12516 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12518 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12519 and warnings are not silently discarded (e.g. use -d instead of -P).
12521 2011-05-06 Glenn Morris <rgm@gnu.org>
12523 * calendar/appt.el (appt-message-warning-time): Doc fix.
12524 (appt-warning-time-regexp): New option.
12525 (appt-make-list): Respect appt-message-warning-time.
12527 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12529 (diary-add-to-list): Strip comments from the displayed string.
12530 (diary-mode): Set comment-start and comment-end.
12532 * vc/diff-mode.el (smerge-refine-subst): Declare.
12533 (diff-refine-hunk): Don't require smerge-mode when compiling.
12535 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12537 * simple.el (list-processes): Return nil as the docstring says.
12539 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12541 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12543 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12544 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12545 determining of binary transfer. (Bug#7383)
12547 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12549 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12550 Fix port computation bug. (Bug#8618)
12552 2011-05-05 Glenn Morris <rgm@gnu.org>
12554 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12556 * simple.el (shell-dynamic-complete-functions)
12557 (comint-dynamic-complete-functions): Declare.
12559 * net/network-stream.el (gnutls-negotiate):
12560 * simple.el (tabulated-list-print): Fix declarations.
12562 * progmodes/gud.el (syntax-symbol, syntax-point):
12563 Remove unnecessary and incorrect declarations.
12565 * emacs-lisp/check-declare.el (check-declare-scan):
12566 Handle byte-compile-initial-macro-environment in bytecomp.el
12568 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12570 Fix earlier half-done eieio-defmethod change (bug#8338).
12571 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12572 Streamline and change calling convention.
12573 (defmethod): Adjust accordingly and simplify.
12574 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12575 new eieio--defmethod.
12576 (slot-boundp): Minor CSE simplification.
12578 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12580 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12581 (glasses-make-readable): Use glasses-separate-capital-groups.
12583 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12585 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12586 (warning-series): Doc fix.
12587 (display-warning): Don't try to create the buffer if we just found it.
12589 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12591 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12592 (autoload-find-generated-file): New function.
12593 (generate-file-autoloads): Bind generated-autoload-file to
12595 (update-file-autoloads, update-directory-autoloads):
12596 Use autoload-find-generated-file. If called interactively, prompt for
12597 output file (Bug#7989).
12598 (batch-update-autoloads): Doc fix.
12600 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12602 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12604 2011-05-04 Glenn Morris <rgm@gnu.org>
12606 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12607 function, so it follows changes in calendar-date-style.
12608 (diary-fancy-date-matcher): New function.
12609 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12610 (diary-fancy-font-lock-fontify-region-function):
12611 Use diary-fancy-date-pattern as a function.
12613 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12614 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12616 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12618 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12619 instead of positional arguments. Allow :keylist and :crlfiles
12621 (open-gnutls-stream): Call it.
12623 * net/network-stream.el (network-stream-open-starttls): Adjust to
12624 call `gnutls-negotiate' with :process and :hostname arguments.
12626 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12628 * minibuffer.el (completion--message): New function.
12629 (completion--do-completion, minibuffer-complete)
12630 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12631 (completion--do-completion): Don't ignore completion-auto-help when in
12634 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12635 internal encoding (e.g. tibetan zero is not whitespace).
12636 (global-whitespace-mode): Prefer save-current-buffer.
12637 (whitespace-trailing-regexp): Remove useless save-match-data.
12638 (whitespace-empty-at-bob-regexp): Minor simplification.
12640 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12642 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12644 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
12646 * textmodes/ispell.el (ispell-add-per-file-word-list):
12647 Use `concat' to create string for insertion.
12649 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12652 Avoid open-line which runs post-self-insert-hook.
12653 (bibtex-fill-entry): Remove unused `end' var.
12655 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12657 * textmodes/ispell.el (ispell-add-per-file-word-list):
12658 Protect against `nil' value of `comment-start' (Bug#8579).
12660 2011-05-03 Leo Liu <sdl.web@gmail.com>
12662 * isearch.el (isearch-yank-pop): New command.
12663 (isearch-mode-map): Bind it to `M-y'.
12664 (isearch-forward): Mention it.
12666 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12668 * simple.el (minibuffer-complete-shell-command): Remove.
12669 (minibuffer-local-shell-command-map): Use completion-at-point.
12670 (read-shell-command): Setup completion vars here instead.
12671 (read-expression-map): Bind TAB to symbol completion.
12673 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12674 error directly rather via storing it into `results'.
12676 2011-05-02 Leo Liu <sdl.web@gmail.com>
12678 * vc/diff.el: Fix description.
12680 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682 * server.el (server-eval-at): New function.
12684 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12686 * net/network-stream.el (open-network-stream): Take a :nowait
12687 parameter and pass it on to `make-network-process'.
12688 (network-stream-open-plain): Ditto.
12690 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12692 * faces.el (face-spec-set-match-display): Don't match toolkit
12693 options on terminal frames.
12695 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * progmodes/pascal.el: Use lexical binding.
12698 (pascal-mode-map): Remove author preferences.
12700 * pcomplete.el (pcomplete-std-complete): Don't abuse
12701 completion-at-point.
12703 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12705 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12706 removing code that has been dead since 1991 or so.
12708 * startup.el (command-line): When warning about "_emacs", use a
12709 delayed warning to allow the user to filter it out.
12711 2011-04-28 Deniz Dogan <deniz@dogan.se>
12713 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12714 user has not joined.
12716 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12719 aren't any completions at point.
12721 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12723 * subr.el (display-delayed-warnings): New function.
12724 (delayed-warnings-hook): New variable.
12726 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12728 * minibuffer.el (completion-at-point, completion-help-at-point):
12729 Don't presume that a given completion-at-point-function will always
12730 use the same calling convention.
12732 * pcomplete.el (pcomplete-completions-at-point):
12733 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12734 pcomplete-seen is non-nil.
12735 (pcomplete-comint-setup): Also recognize the new comint/shell
12736 completion functions.
12737 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12738 pcomplete-seen is non-nil.
12740 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12742 * calendar/icalendar.el (diary-lib): Add require statement.
12743 (icalendar--create-uid): Read out a uid from a text-property on
12744 the first character in the entry. This allows for code to add its
12745 own uid to the entry.
12746 (icalendar--convert-float-to-ical): Add export of
12747 `diary-float'-entries save for those with the optional DAY
12750 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12752 * subr.el (shell-quote-argument): Use alternate escaping strategy
12753 when we spot a variable reference in a string.
12755 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12757 * cus-start.el (all): Define customization for debug-on-event.
12759 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12761 * subr.el (shell-quote-argument): Escape correctly under Windows.
12763 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12765 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12767 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12769 * net/tramp.el (tramp-process-actions): Add POS argument.
12770 Delete region between POS and (pos).
12772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12773 Use `nil' position in `tramp-process-actions' call.
12774 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12776 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12777 position in `tramp-process-actions' call.
12779 * net/trampver.el: Update release number.
12781 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12783 * custom.el (defcustom): Obey lexical-binding.
12785 Fix octave-inf completion problems reported by Alexander Klimov.
12786 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12787 Inherit from octave-mode-syntax-table.
12788 (inferior-octave-mode): Set info-lookup-mode.
12789 (inferior-octave-completion-at-point): New function.
12790 (inferior-octave-complete): Use it and completion-in-region.
12791 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12792 comint-filename-completion.
12793 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12794 symbol elements which shouldn't be word elements.
12795 (octave-font-lock-keywords, octave-beginning-of-defun)
12796 (octave-function-header-regexp): Adjust regexps accordingly.
12797 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12799 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12801 * net/gnutls.el (gnutls-errorp): Declare before first use.
12803 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12805 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12806 verify-error, and verify-hostname-error parameters. Check whether
12807 default trustfile exists before going to use it. Add missing
12808 argument to gnutls-message-maybe call. Return value.
12809 Reported by Claudio Bley <claudio.bley@gmail.com>.
12810 (open-gnutls-stream): Add usage example.
12812 * net/network-stream.el (network-stream-open-starttls): Give host
12813 parameter to `gnutls-negotiate'.
12814 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12815 * subr.el (shell-quote-argument): Escape correctly under Windows.
12817 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12819 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12820 Use correct match group (bug#8438).
12822 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12824 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12825 (package-menu--generate): New arg specifying packages to show.
12826 (package-menu-refresh, package-menu-execute, list-packages):
12828 (package-show-package-list): New function, replacing deleted
12829 package--list-packages (renamed because it is non-internal).
12831 * finder.el (finder-list-matches): Use package-show-package-list
12832 instead of deleted package--list-packages.
12834 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12835 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12836 (vc-annotate-mode-map): Bind it to RET.
12838 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12840 * progmodes/etags.el (next-file): Don't use set-buffer to change
12841 buffers (Bug#8478).
12843 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12845 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12847 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12848 (apropos-accumulator): Doc fix.
12849 (apropos-function, apropos-macro, apropos-command)
12850 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12851 (apropos-plist): Add face property.
12852 (apropos-symbols-internal): Fix indentation.
12853 (apropos-print): Simplify help, and recognize apropos-multi-type.
12854 (apropos-print-doc): Use button-type-get to extract the button's
12855 face property. Fill docstring (Bug#8352).
12857 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12859 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12861 * play/mpuz.el (mpuz-silent): Doc fix.
12862 (mpuz-mode-map): Use mapc.
12863 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12864 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12865 Fix typos in docstrings.
12867 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12868 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12870 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12872 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12874 * minibuffer.el (completion--do-completion): Avoid the "Next char
12875 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12877 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12878 mouse-2 into unread-command-events, it is interpreted correctly.
12880 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12881 (image-toggle-display): Doc fix.
12883 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12885 * textmodes/page.el (what-page): Use line-number-at-pos to
12886 calculate line number (Bug#6825).
12888 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12890 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12891 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12892 Pass argument NO-DEFAULT to `find-tag-interactive'.
12894 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12896 Lexical-binding cleanup.
12898 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12899 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12900 * progmodes/ada-prj.el (ada-prj-initialize-values)
12901 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12902 (ada-prj-show-value):
12903 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12904 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12905 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12906 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12907 * progmodes/bug-reference.el (bug-reference-push-button):
12908 * progmodes/fortran.el (fortran-line-length):
12909 * progmodes/glasses.el (glasses-change):
12910 * progmodes/octave-mod.el (octave-fill-paragraph):
12911 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12912 (python-pdbtrack-grub-for-buffer, python-sentinel):
12913 * progmodes/sql.el (sql-save-connection):
12914 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12915 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12916 Mark unused parameters.
12918 * progmodes/compile.el (compilation--flush-directory-cache)
12919 (compilation--flush-parse, compile-internal): Mark unused parameters.
12920 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12921 (compilation-next-error-function): Remove unused variable `timestamp'.
12923 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12924 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12926 * progmodes/dcl-mode.el (dcl-end-of-command):
12927 Remove unused variable `start'.
12928 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12929 (dcl-option-value-basic, dcl-option-value-offset)
12930 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12931 Mark unused parameters.
12932 (dcl-save-local-variable): Remove unused variable `val'.
12935 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12936 Mark unused parameters.
12937 (delphi-ignore-changes): Move before first use.
12938 (delphi-charset-token-at): Remove unused variable `start'.
12939 (delphi-else-start): Remove unused variable `if-count'.
12940 (delphi-comment-block-start, delphi-comment-block-end):
12941 Remove unused variable `kind'.
12942 (delphi-indent-line): Remove unused variable `new-point'.
12944 * progmodes/ebrowse.el (ebrowse-files-list)
12945 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12946 Mark unused parameters. Don't quote `lambda'.
12947 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12948 Don't quote `lambda'.
12949 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12950 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12951 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12952 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12953 Use `ignore-errors'.
12954 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12955 (ebrowse-view/find-file-and-search-pattern)
12956 (ebrowse-view/find-member-declaration/definition):
12957 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12958 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12959 Rename parameter PREFIX-ARG to PREFIX.
12960 (ebrowse-tags-read-name): Remove unused variables `start' and
12962 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12965 * progmodes/etags.el (local-find-tag-hook): Declare.
12966 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12967 Mark unused parameters.
12969 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12970 (executable-interpret): Mark unused parameter.
12972 * progmodes/flymake.el (flymake-process-sentinel)
12973 (flymake-after-change-function)
12974 (flymake-create-temp-with-folder-structure)
12975 (flymake-get-include-dirs-dot): Mark unused parameters.
12976 (flymake-safe-delete-directory): Remove unused variable `err'.
12978 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12979 (speedbar-timer-fn, speedbar-line-text)
12980 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12981 (speedbar-center-buffer-smartly): Declare functions.
12982 (gdb-find-watch-expression): Remove unused variable `array'.
12983 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12984 (gdb-starting): Mark unused parameters.
12985 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12986 (gdb-table-string): Remove unused variable `res'.
12987 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12988 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12989 (gdb-display-buffer): Remove unused variable `cur-size'.
12991 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12992 allow lexical-binding compilation.
12993 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12994 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12995 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12996 Mark unused parameters.
12997 (gud-gdb-marker-filter): Remove unused variable `match'.
12998 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12999 lambda expressions and funcall them, instead of using `fset'.
13001 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13002 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13004 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13005 variable `header-beg'; use `let'.
13007 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13008 `restart', `last-sexp' and `at-do'.
13010 * progmodes/js.el (js--debug): Mark unused parameter.
13011 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13012 (js--splice-into-items): Remove unused variable `item'.
13013 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13015 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13016 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13017 (makefile-complete): Remove unused variable `try'.
13018 (makefile-fill-paragraph, makefile-match-function-end):
13019 Mark unused parameters.
13021 * progmodes/octave-inf.el (inferior-octave-complete):
13022 Remove unused variable `proc'.
13023 (inferior-octave-output-digest): Mark unused parameter.
13025 * progmodes/perl-mode.el (perl-calculate-indent):
13026 Remove unused variable `err'.
13028 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13029 (prolog-indent-line): Mark unused parameters.
13030 (prolog-indent-line): Remove unused variable `beg'.
13032 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13033 (reporter-dont-compact-list): Declare.
13035 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13036 Remove unused variable `char'.
13037 (sh-debug): Mark unused parameter.
13038 (sh-get-indent-info): Remove unused variable `start'.
13039 (sh-calculate-indent): Remove unused variable `var'.
13041 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13042 (simula-electric-keyword): Remove unused variable `null'.
13043 (simula-search-backward, simula-search-forward): Remove unused
13044 variables `begin' and `end'.
13046 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13047 Remove unused variable `pos'.
13048 (vera-electric-tab, vera-comment-uncomment-region):
13049 Mark unused parameters.
13050 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13052 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13054 * emacs-lisp/package.el (package--builtins, package-alist)
13055 (package-load-descriptor, package-built-in-p, package-activate)
13056 (define-package, package-installed-p)
13057 (package-compute-transaction, package-buffer-info)
13058 (package--push): Doc fix. Distinguish more clearly between
13059 version strings and version lists.
13061 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13063 Lexical-binding cleanup.
13065 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13066 (5x5-make-mutate-best):
13067 * play/fortune.el (fortune-in-buffer):
13068 * play/gomoku.el (gomoku-init-display):
13069 * play/solitaire.el (solitaire, solitaire-do-check):
13070 * play/tetris.el (tetris-default-update-speed-function):
13071 Mark unused parameters.
13073 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13074 (bubbles--shift): Remove unused variable `char-org'.
13075 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13076 (bubbles--show-images): Remove unused variable `char'.
13078 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13079 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13080 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13081 (decipher-analyze-buffer): Use ?\s.
13082 (decipher-make-checkpoint): Remove unused variable `mapping'.
13084 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13086 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13087 Remove unused variable `result'; use `let'.
13089 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13090 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13091 (gametree-children-shown-p, gametree-compute-reduced-score):
13092 Use `ignore-errors'.
13094 * play/handwrite.el (ps-lpr-switches): Declare.
13095 (handwrite): Remove unused variables `pmin' and `lastp'.
13097 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13099 * play/landmark.el (landmark-init-display)
13100 (landmark-update-naught-weights): Mark unused parameters.
13101 (landmark-y): Remove unused variable `noise'. Simplify.
13102 (landmark-human-plays): Remove unused variable `score'.
13104 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13105 (mpuz-try-proposal): Remove unused variable `game'.
13107 * play/zone.el (life-patterns): Declare.
13109 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13111 * vc/vc.el (ediff-vc-internal): Declare function.
13113 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * shell.el: Use lexical-binding and std completion UI.
13116 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13117 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13118 comint-preoutput-filter-functions rather than on
13119 comint-output-filter-functions.
13120 (shell-command-completion, shell--command-completion-data)
13121 (shell-filename-completion, shell-environment-variable-completion)
13122 (shell-c-a-p-replace-by-expanded-directory): New functions.
13123 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13124 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13125 (shell-dynamic-complete-environment-variable): Use them.
13126 (shell-dynamic-complete-as-environment-variable)
13127 (shell-dynamic-complete-as-command): Remove.
13128 (shell-match-partial-variable): Match past point.
13129 * comint.el: Clean up use of completion-at-point-functions.
13130 (comint-completion-at-point): New function.
13131 (comint-mode): Use it completion-at-point-functions.
13132 (comint-dynamic-complete): Make it obsolete.
13133 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13134 (comint-c-a-p-replace-by-expanded-history): New function.
13135 (comint-dynamic-complete-functions)
13136 (comint-replace-by-expanded-history): Use it.
13137 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13138 termination strings. Try harder to avoid second try-completion.
13139 (completion-in-region-mode-map): Disable bindings that don't work yet.
13141 * comint.el: Use lexical-binding. Require CL.
13142 (comint-dynamic-complete-functions): Use comint-filename-completion.
13143 (comint-completion-addsuffix): Tweak custom type.
13144 (comint-filename-completion, comint--common-suffix)
13145 (comint--common-quoted-suffix, comint--table-subvert)
13146 (comint--complete-file-name-data): New functions.
13147 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13148 (comint-dynamic-list-filename-completions): Use them.
13149 (comint-dynamic-simple-complete): Make obsolete.
13151 * minibuffer.el (completion-in-region-mode):
13152 Keep completion-in-region-mode--predicate global.
13153 (completion-in-region--postch):
13154 Assume completion-in-region-mode--predicate is not null.
13156 * progmodes/flymake.el (flymake-start-syntax-check-process):
13157 Obey `dir'. Simplify.
13159 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13160 we're in VC after all.
13162 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13164 * vc/vc.el (vc-diff-build-argument-list-internal)
13165 (vc-version-ediff, vc-ediff): New commands.
13166 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13168 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13173 * obsolete/erc-hecomplete.el: Make obsolete.
13174 * obsolete/: Standardize obsolescence info in the header.
13176 2011-04-20 Glenn Morris <rgm@gnu.org>
13178 * calendar/solar.el (solar-horizontal-coordinates):
13179 Use the longitude argument rather than `calendar-longitude'.
13180 (solar-date-next-longitude): Remove unused locals.
13182 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13184 * whitespace.el: New version 13.2.1.
13186 2011-04-20 felix <EmacsWiki> (tiny change)
13188 * whitespace.el (global-whitespace-mode): Keep highlight when
13189 switching between major modes on a file.
13191 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13193 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13194 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13195 multi-line comments as well.
13197 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13199 Lexical-binding cleanup.
13201 * arc-mode.el (archive-mode-revert):
13202 * cmuscheme.el (scheme-interactively-start-process):
13203 * custom.el (custom-initialize-delay):
13204 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13205 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13206 * emacs-lock.el (emacs-lock-clear-sentinel):
13207 * ezimage.el (defezimage):
13208 * follow.el (follow-avoid-tail-recenter):
13209 * fringe.el (set-fringe-mode-1):
13210 * generic-x.el (bat-generic-mode-compile):
13211 * help-mode.el (help-info-variable, help-do-xref)
13212 (help-mode-revert-buffer):
13213 * help.el (view-emacs-todo):
13214 * iswitchb.el (iswitchb-completion-help):
13215 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13216 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13217 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13218 * locate.el (locate-update):
13219 * longlines.el (longlines-encode-region)
13220 (longlines-after-change-function):
13221 * outline.el (outline-isearch-open-invisible):
13222 * ps-def.el (declare-function, charset-dimension, char-width)
13224 * ps-mule.el (ps-mule-plot-string):
13225 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13226 (recentf-edit-list-select, recentf-edit-list-validate)
13227 (recentf-open-files-action):
13228 * rect.el (delete-whitespace-rectangle-line)
13229 (rectangle-number-line-callback):
13230 * register.el (window-configuration-to-register)
13231 (frame-configuration-to-register):
13232 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13233 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13234 (xselect-convert-to-targets, xselect-convert-to-delete)
13235 (xselect-convert-to-filename, xselect-convert-to-charpos)
13236 (xselect-convert-to-lineno, xselect-convert-to-colno)
13237 (xselect-convert-to-os, xselect-convert-to-host)
13238 (xselect-convert-to-user, xselect-convert-to-class)
13239 (xselect-convert-to-name, xselect-convert-to-integer)
13240 (xselect-convert-to-atom, xselect-convert-to-identity):
13241 * subr.el (declare, ignore, process-kill-without-query)
13242 (text-clone-maintain):
13243 * terminal.el (te-get-char, te-tic-sentinel):
13244 * tool-bar.el (tool-bar-make-keymap):
13245 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13246 * type-break.el (type-break-mode, type-break-noninteractive-query):
13247 * view.el (View-back-to-mark):
13248 * wid-browse.el (widget-browse-action, widget-browse-widget)
13249 (widget-browse-widgets, widget-browse-sexp):
13250 * widget.el (define-widget-keywords):
13251 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13252 Mark unused parameters.
13254 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13255 (align-areas): Remove unused variable `look'.
13256 (align-region): Remove unused variables `real-end' and `pos-list'.
13258 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13260 * bindings.el (mode-line-modified, mode-line-remote):
13261 Mark unused parameters.
13262 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13264 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13265 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13267 * comint.el (comint-history-isearch-pop-state)
13268 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13269 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13270 (comint-substitute-in-file-name): Doc fix.
13272 * completion.el (cmpl-statistics-block): Mark unused parameter.
13273 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13274 (save-completions-to-file, load-completions-from-file):
13275 Remove unused local variable `e'.
13277 * composite.el (compose-chars): Remove unused variable `len'.
13278 (lgstring-insert-glyph): Remove unused variable `g'.
13279 (compose-glyph-string): Remove unused variables `ascent',
13280 `descent', `lbearing' and `rbearing'.
13281 (compose-glyph-string-relative): Remove unused variables
13282 `lbearing', `rbearing' and `wadjust'.
13283 (compose-gstring-for-graphic): Remove unused variables `header',
13284 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13285 (compose-gstring-for-terminal): Remove unused variables `header'
13286 and `nchars'. Use `let', not `let*'.
13288 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13289 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13290 (Custom-buffer-done, custom-buffer-create-internal)
13291 (custom-browse-visibility-action, custom-browse-group-tag-action)
13292 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13293 (widget-magic-mouse-down-action, custom-toggle-parent)
13294 (custom-add-parent-links, custom-toggle-hide-variable)
13295 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13296 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13297 (custom-face-menu-create, custom-variable-menu-create, get)
13298 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13299 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13300 (customize-apropos): Remove unused variable `tests'.
13301 (custom-group-value-create): Remove unused variable `hidden-p'.
13302 (sort-fold-case): Declare.
13304 * cus-theme.el (custom-reset-standard-faces-list)
13305 (custom-reset-standard-variables-list): Declare.
13306 (customize-create-theme, custom-theme-revert, custom-theme-write)
13307 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13308 Mark unused parameters.
13310 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13312 * delim-col.el (delimit-columns-max): Move defvar before first use.
13314 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13315 (describe-char): Don't quote `lambda'. Mark unused parameter.
13317 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13318 (auto-insert): Declare.
13319 (desktop-restore-file-buffer): Rename desktop-* parameters;
13321 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13322 (desktop-buffer): Rename desktop-* parameters.
13324 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13325 (dframe-reposition-frame-xemacs, dframe-help-echo)
13326 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13327 Mark unused parameters.
13329 * dired-aux.el (backup-extract-version-start, overwrite-query)
13330 (overwrite-backup-query, rename-regexp-query)
13331 (rename-non-directory-query): Declare.
13332 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13333 (dired-add-entry): Remove unused variable `orig-file-name'.
13334 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13335 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13336 `dired-copy-preserve-time' directly.
13337 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13338 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13340 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13341 (dired-virtual-revert, dired-make-relative-symlink):
13342 Mark unused parameters.
13343 (manual-program): Declare.
13344 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13345 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13346 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13348 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13350 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13352 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13355 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13357 * electric.el (Electric-command-loop): Rename parameter
13358 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13360 * expand.el (expand-in-literal): Remove unused variable `here'.
13362 * facemenu.el (facemenu-add-new-color):
13363 Remove unused variable `docstring'.
13365 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13366 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13367 (face-attr-construct): Mark unused parameter. Doc fix.
13368 (read-color): Remove unused variable `hex-string'.
13370 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13371 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13372 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13373 (display-buffer-other-frame): Remove unused variable `old-window'.
13374 (kill-buffer-hook): Declare.
13375 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13376 Mark unused parameters.
13377 (after-find-file): Pass 1 to `auto-save-mode', not t.
13379 * files-x.el (auto-insert): Declare.
13380 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13382 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13383 variable `buf'. Mark unused parameter.
13384 (find-lisp-insert-directory): Mark unused parameter.
13386 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13387 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13388 (format-common-tail): Remove, unused.
13389 (format-deannotate-region): Remove unused variable `loc'.
13390 (format-annotate-region): Remove unused variable `p'.
13391 (format-annotate-single-property-change): Remove unused variables
13392 `default' and `tail'.
13394 * forms.el (read-file-filter): Declare.
13395 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13397 * frame.el (frame-creation-function-alist): Mark unused parameter.
13398 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13400 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13401 Remove unused parameters.
13402 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13403 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13405 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13406 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13407 (hfy-prepare-tag-map): Mark unused parameters.
13408 (htmlfontify-buffer): Use `called-interactively-p'.
13410 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13411 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13412 (ibuffer-do-occur): Mark unused parameters.
13413 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13414 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13416 * ibuffer.el: Don't quote `lambda'.
13417 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13418 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13419 Mark unused parameters.
13421 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13422 (ido-completing-read): Mark unused parameters.
13423 (ido-copy-current-word): Mark unused parameters;
13424 remove unused variable `name'.
13425 (ido-sort-merged-list): Remove unused parameter `dirs'.
13427 * ielm.el (ielm-input-sender): Mark unused parameter.
13428 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13429 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13430 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13431 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13432 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13434 * image-dired.el (image-dired-display-thumbs): Remove unused
13435 variables `curr-file' and `count'.
13436 (image-dired-remove-tag): Remove unused variable `start'.
13437 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13438 variable `curr-file'
13439 (image-dired-rotate-original): Remove unused variable `temp-file'.
13440 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13441 Remove unused variable `file'.
13442 (image-dired-gallery-generate): Remove unused variable `curr'.
13443 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13445 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13447 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13449 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13451 * isearch.el (minibuffer-history-symbol): Declare.
13452 (isearch-edit-string): Remove unused variable `err'.
13453 (isearch-message-prefix, isearch-message-suffix):
13454 Mark unused parameters.
13456 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13458 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13460 * makesum.el (double-column): Remove unused variable `cnt'.
13462 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13463 (ido-ignore-item-temp-list): Declare.
13465 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13466 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13467 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13468 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13471 * mouse-sel.el (mouse-extend-internal):
13472 Remove unused variable `orig-window-frame'.
13474 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13475 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13476 Move declarations before first use.
13477 (pcomplete-opt): Mark unused parameters; doc fix.
13479 * proced.el (proced-revert): Mark unused parameter.
13480 (proced-send-signal): Remove unused variable `err'.
13482 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13483 Rename parameter PREFIX-ARG to ARG.
13484 (ps-basic-plot-string, ps-basic-plot-whitespace):
13485 Mark unused parameters.
13487 * replace.el (replace-count): Define.
13488 (occur-revert-function): Mark unused parameters.
13489 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13490 (isearch-case-fold-search, isearch-string): Declare.
13491 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13492 bind `case-fold-search'. Remove unused variables `beg' and `end',
13494 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13495 COUNT and bind `replace-count'.
13496 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13499 * savehist.el (print-readably, print-string-length): Declare.
13501 * shadowfile.el (shadow-expand-cluster-in-file-name):
13502 Remove unused variable `cluster'.
13503 (shadow-copy-file): Remove unused variable `i'.
13504 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13505 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13506 (shadow-define-literal-group, shadow-define-regexp-group)
13507 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13509 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13510 (shell): Use `called-interactively-p'.
13511 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13513 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13514 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13515 (delete-backward-char): Remove unused variable `ocol'.
13516 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13517 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13518 (event-apply-hyper-modifier, event-apply-shift-modifier)
13519 (event-apply-control-modifier, event-apply-meta-modifier):
13520 Mark unused parameters.
13521 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13522 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13524 * speedbar.el (speedbar-ignored-directory-expressions)
13525 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13526 (speedbar-find-file, speedbar-dir-follow)
13527 (speedbar-directory-buttons-follow, speedbar-tag-find)
13528 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13529 (speedbar-buffers-line-directory, speedbar-buffer-click):
13530 Mark unused parameters.
13531 (speedbar-tag-file): Remove unused variable `mode'.
13532 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13534 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13536 * talk.el (talk): Remove unused variable `display'.
13538 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13539 (tar-write-region-annotate): Mark unused parameter.
13541 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13542 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13543 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13544 warning by another.
13546 * time-stamp.el (time-stamp-string-preprocess):
13547 Remove unused variable `require-padding'.
13549 * tree-widget.el (widget-glyph-enable): Declare.
13550 (tree-widget-action): Mark unused parameter.
13552 * w32-fns.el (x-get-selection): Mark unused parameter.
13553 (autoload-make-program, generated-autoload-file): Declare.
13555 * wdired.el (wdired-revert): Mark unused parameters.
13556 (wdired-xcase-word): Remove unused variable `err'.
13558 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13559 (whitespace-help-scroll): Remove unused variable `data-help'.
13561 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13562 (widget-image-insert, widget-after-change, default)
13563 (widget-default-format-handler, widget-default-notify)
13564 (widget-default-prompt-value, widget-info-link-action)
13565 (widget-url-link-action, widget-function-link-action)
13566 (widget-variable-link-action, widget-file-link-action)
13567 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13568 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13569 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13570 (widget-insert-button-action, widget-delete-button-action, visibility)
13571 (widget-documentation-link-action, widget-documentation-string-action)
13572 (widget-const-prompt-value, widget-regexp-match, symbol)
13573 (widget-coding-system-prompt-value)
13574 (widget-key-sequence-value-to-external, sexp)
13575 (widget-sexp-value-to-internal, character, vector, cons)
13576 (widget-choice-prompt-value, widget-boolean-prompt-value)
13577 (widget-color--choose-action): Mark unused parameters.
13578 (widget-item-match-inline, widget-choice-match-inline)
13579 (widget-checklist-match, widget-checklist-match-inline)
13580 (widget-group-match): Rename parameter VALUES to VALS.
13581 (widget-field-value-set): Remove unused variable `size'.
13582 (widget-color-action): Remove unused variables `value' and `start'.
13584 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13585 variable `dir'. Doc fix.
13586 (windmove-find-other-window): Don't pass it.
13588 * window.el (count-windows): Mark unused parameter.
13589 (bw-adjust-window): Remove unused variable `err'.
13591 * woman.el (woman-file-name): Remove unused variable `default'.
13592 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13593 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13594 (global-font-lock-mode): Declare.
13595 (woman-decode-region): Mark unused parameter.
13596 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13598 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13599 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13600 (x-dnd-handle-moz-url): Remove unused variable `title'.
13601 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13603 * xml.el (xml-parse-tag, xml-parse-attlist):
13604 Remove unused variable `pos'.
13606 2011-04-19 Glenn Morris <rgm@gnu.org>
13608 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13609 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13610 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13611 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13612 * calendar/cal-html.el (cal-html-insert-minical):
13613 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13614 (calendar-mark-date-pattern):
13615 Prefix "unused" locals.
13617 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13618 optional argument `style'.
13620 * calendar/appt.el (appt-make-list):
13621 * calendar/cal-china.el (calendar-chinese-date-string):
13622 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13623 (diary-hebrew-yahrzeit):
13624 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13625 * calendar/calendar.el (calendar-generate-window):
13626 * calendar/time-date.el (time-to-days):
13627 Remove unused local variables.
13629 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13631 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13632 glyphless-char-display table.
13633 (tabulated-list-glyphless-char-display): New var.
13635 2011-04-18 Sam Steingold <sds@gnu.org>
13637 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13638 to acknowledgments.
13640 2011-04-17 Glenn Morris <rgm@gnu.org>
13642 * calendar/diary-lib.el (diary-sexp-entry):
13643 * calendar/holidays.el (holiday-sexp):
13644 Set debug-on-error rather than the removed stack-trace-on-error.
13646 2011-04-16 Glenn Morris <rgm@gnu.org>
13648 * progmodes/f90.el: Use lexical-binding.
13649 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13651 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13653 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13654 (mail-mode): Setup mailalias completion here instead.
13655 * mail/mailalias.el: Use lexical-binding.
13656 (pattern, mailalias-done): Declare dynamic.
13657 (mail-completion-at-point-function): New function, from mail-complete.
13658 (mail-complete): Use it.
13659 (mail-completion-expand): New function.
13660 (mail-get-names): Use it.
13661 (mail-directory, mail-directory-process, mail-directory-stream):
13662 Don't use `pattern' for lexically bound arg.
13664 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13666 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13667 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13668 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13670 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13671 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13672 (byte-interactive-p): Define them again, for use when inlining
13675 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13677 * loadup.el: Use `string-to-number', not `string-to-int'.
13679 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13681 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13682 gud-gdb-complete-command.
13683 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13684 (gud-gdb-completion-at-point): New function.
13685 (gud-gdb-completions): Remove.
13687 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13689 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13690 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13691 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13692 whether `executable-find' is bound.
13694 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13696 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * minibuffer.el (completion-in-region-mode-predicate)
13699 (completion-in-region-mode--predicate): New vars.
13700 (completion-in-region, completion-in-region--postch)
13701 (completion-in-region-mode): Use them.
13702 (completion--capf-wrapper): Also return the hook function.
13703 (completion-at-point, completion-help-at-point):
13704 Adjust and provide a predicate.
13706 Preserve arg names for advice of subr and lexical functions (bug#8457).
13707 * help-fns.el (help-function-arglist): Consolidate the subr and
13708 new-byte-code cases. Add argument `preserve-names' to extract names
13709 from the docstring when needed.
13710 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13711 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13712 (ad-arglist): Use help-function-arglist's new arg.
13713 (ad-definition-type): Use cond.
13715 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13717 * autorevert.el (auto-revert-handler):
13718 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13719 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13720 Don't quote lambda.
13722 * image-mode.el (image-transform-set-scale):
13723 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13725 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13727 * net/network-stream.el (network-stream-open-starttls): Only do
13728 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13729 Upgrades via gnutls-cli are too slow to be done opportunistically.
13731 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13733 * dframe.el (dframe-current-frame): Remove spurious quote.
13735 2011-04-12 Glenn Morris <rgm@gnu.org>
13737 * calendar/cal-tex.el (cal-tex-end-document):
13738 Try to automatically use latin1 input if needed.
13740 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13741 Don't try to cons a mark onto an empty element.
13743 2011-04-11 Leo Liu <sdl.web@gmail.com>
13745 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13747 (ido-kill-buffer-at-head): Support killing virtual buffers.
13749 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13751 * minibuffer.el (completion-show-inline-help): New var.
13752 (completion--do-completion, minibuffer-complete)
13753 (minibuffer-force-complete, minibuffer-complete-word):
13754 Inhibit minibuffer messages if completion-show-inline-help is nil.
13756 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13757 to avoid interference from inline help (Bug#5849).
13759 2011-04-10 Leo Liu <sdl.web@gmail.com>
13761 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13764 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13766 * image-mode.el (image-toggle-display-image): Signal an error if
13768 (image-transform-mode, image-transform-resize)
13769 (image-transform-set-rotation): Doc fix.
13770 (image-transform-set-resize): Delete.
13771 (image-transform-set-scale, image-transform-fit-to-height)
13772 (image-transform-fit-to-width): Handle image-toggle-display-image
13773 and image-transform-resize directly.
13775 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13777 * doc-view.el (doc-view-fit-width-to-window)
13778 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13779 New functions for fitting the shown image to the Emacs window size.
13780 (doc-view-mode-map): Add bindings for the new functions.
13782 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13784 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13785 Fix typo in docstring.
13787 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13789 * files.el (file-size-human-readable): Produce one digit after
13790 decimal, like "ls -lh" does.
13792 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13793 the file size representation.
13795 * simple.el (list-processes): If async subprocesses are not
13796 available, error out with a clear error message.
13798 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13800 * help.el (help-form-show): New function, to be called from C.
13801 Put help-form output in a buffer named differently than *Help*.
13803 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13805 * files.el (file-size-human-readable): New function.
13807 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13808 computing the representation inline. Don't require `cl'.
13810 2011-04-08 Glenn Morris <rgm@gnu.org>
13812 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13814 * net/browse-url.el (browse-url-firefox):
13815 Test system-type, not system-configuration.
13817 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13818 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13819 Use log-edit-empty-buffer-p. (Bug#7598)
13821 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13822 (rlogin-mode-map): Initialize in the defvar.
13823 (rlogin): Use ignore-errors.
13825 * replace.el (occur-mode-map): Some fixes for menu items.
13827 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13829 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13831 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13833 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13834 issuing unused warnings.
13836 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13839 * simple.el: Lisp reimplement of list-processes. Based on an
13840 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13841 (process-menu-mode): New major mode.
13842 (list-processes--refresh, list-processes):
13843 (process-menu-visit-buffer): New functions.
13845 * files.el (save-buffers-kill-emacs): Don't assume any return
13846 value of list-processes, which is undocumented anyway.
13848 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13850 * emacs-lisp/tabulated-list.el: New file.
13852 * emacs-lisp/package.el: Use Tabulated List mode.
13853 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13854 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13855 table format using Tabulated List mode variables.
13856 (package--push): New macro, replacing package-list-maybe-add.
13857 (package-menu--generate): Use package--push. Renamed from
13858 package--generate-package-list.
13859 (package-menu-refresh, list-packages): Use it.
13860 (package-menu--print-info): Rename from package-print-package.
13861 Return insertion data instead of inserting it directly.
13862 (package-menu-describe-package, package-menu-execute):
13863 Use tabulated-list-get-id.
13864 (package-menu-mark-delete, package-menu-mark-install)
13865 (package-menu-mark-unmark, package-menu-backup-unmark)
13866 (package-menu-mark-obsolete-for-deletion):
13867 Use tabulated-list-put-tag.
13868 (package--list-packages, package-menu-revert)
13869 (package-menu-get-package, package-menu-get-version)
13870 (package-menu-sort-by-column): Functions deleted.
13871 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13872 (package-menu--status-predicate, package-menu--version-predicate)
13873 (package-menu--name-predicate)
13874 (package-menu--description-predicate): Handle arguments in the
13875 Tabulated List format.
13876 (package-list-packages-no-fetch): Call list-packages.
13878 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13880 * files.el (after-find-file-from-revert-buffer): Remove variable.
13881 (after-find-file): Don't bind it.
13882 (revert-buffer-in-progress-p): New variable.
13883 (revert-buffer): Bind it.
13884 Pass nil for `after-find-file-from-revert-buffer'.
13886 * saveplace.el (save-place-find-file-hook): Use new variable
13887 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13889 2011-04-06 Glenn Morris <rgm@gnu.org>
13891 * Makefile.in (AUTOGEN_VCS): New variable.
13892 (autoloads): Use $AUTOGEN_VCS.
13894 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13895 * calendar/calendar.el (calendar-mode-map):
13896 Check for toolkit scroll bars. (Bug#8305)
13898 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13900 * minibuffer.el (completion-in-region--postch)
13901 (completion-in-region-mode): Remove unnecessary messages.
13903 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13905 * font-lock.el (font-lock-refresh-defaults):
13906 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13907 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13909 * info.el (Info-directory-list, Info-read-node-name-2)
13910 (Info-split-parameter-string): Doc fixes.
13911 (Info-virtual-nodes): Reflow docstring.
13912 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13913 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13914 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13915 Fix typos in docstrings.
13916 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13917 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13918 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13919 (Info-restore-desktop-buffer): Mark unused parameters.
13920 (Info-directory-find-file, Info-directory-find-node)
13921 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13922 (Info-virtual-index-find-node, Info-apropos-find-file)
13923 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13924 Mark unused parameters; fix typos in docstrings.
13925 (Info-virtual-index): Remove unused local variable `nodename'.
13927 2011-04-05 Deniz Dogan <deniz@dogan.se>
13929 * net/rcirc.el: Update my e-mail address.
13930 (rcirc-mode-map): Remove M-o binding.
13932 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13934 * startup.el (command-line): Save the cursor's theme-face
13935 directly, instead of using face-override-spec.
13937 * custom.el (load-theme): Minor optimization in assigning faces.
13939 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13941 * help-fns.el (describe-variable): Complete all variables having
13942 documentation, including keywords.
13943 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13945 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13947 Convert to lexical-binding.
13949 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13950 (bs--get-marked-string, bs--get-modified-string)
13951 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13952 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13953 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13955 * ehelp.el (electric-help-execute-extended)
13956 (electric-help-ctrl-x-prefix):
13957 * hexl.el (hexl-revert-buffer-function):
13958 * linum.el (linum-after-change, linum-after-scroll):
13959 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13961 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13963 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13970 * epg.el: Use lexical binding.
13972 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13974 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13976 * textmodes/flyspell.el (flyspell-word): Recognize default
13977 dictionary case for flyspell-mark-duplications-exceptions.
13978 Use regexp matching for languages.
13979 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13980 default dictionary (Bug#7926).
13982 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13984 * emacs-lisp/package.el (package--with-work-buffer):
13985 Recognize https URLs.
13987 * net/network-stream.el: Move from gnus/proto-stream.el.
13988 Change prefix to network-stream throughout.
13989 (open-protocol-stream): Merge into open-network-stream, leaving
13990 open-protocol-stream as an alias. Handle nil BUFFER args.
13992 * subr.el (open-network-stream): Move to net/network-stream.el.
13994 2011-04-02 Glenn Morris <rgm@gnu.org>
13996 * find-dired.el (find-exec-terminator): New option.
13997 (find-ls-option): Test for -ls support.
13998 (find-ls-subdir-switches): Test for -b in find-ls-option.
13999 (find-dired, find-grep-dired): Doc fixes.
14000 (find-dired): Use find-exec-terminator.
14002 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14003 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14004 (find-name-arg): Remove purecopy.
14006 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14007 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14008 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14009 accordingly. Don't add the null-device if not needed.
14011 * files.el (save-some-buffers): Doc fix.
14013 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14015 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14017 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14019 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14020 Use `dolist' rather than `mapcar'.
14022 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14024 Add lexical binding.
14026 * subr.el (apply-partially): Use new closures rather than CL.
14027 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14028 (dolist, dotimes): Use slightly different expansion for lexical code.
14029 (functionp): Move to C.
14030 (letrec): New macro.
14031 (with-wrapper-hook): Use it and apply-partially instead of CL.
14032 (eval-after-load): Preserve lexical-binding.
14033 (save-window-excursion, with-output-to-temp-buffer): Turn them
14036 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14038 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14040 (help-add-fundoc-usage): Don't add `Not documented'.
14041 (help-function-arglist): Handle closures, subroutines, and new
14042 byte-code-functions.
14043 (help-make-usage): Remove leading underscores.
14044 (describe-function-1): Handle closures.
14045 (describe-variable): Use special-variable-p for completion.
14047 * files.el (lexical-binding): Declare safe.
14049 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14050 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14051 (pcase): Add `let' pattern.
14052 Change memoization so it actually works.
14053 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14054 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14057 * emacs-lisp/macroexp.el: Use lexical binding.
14058 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14059 Don't convert ' to #' without checking that it's indeed quoting
14062 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14063 Use eval-sexp-add-defvars.
14064 (eval-sexp-add-defvars): New fun.
14066 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14068 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14070 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14071 than the internal `byte-compile-lambda'.
14072 (defmethod): Don't hide code under quotes.
14073 (eieio-defmethod): New `code' argument.
14075 * emacs-lisp/eieio-comp.el: Remove.
14077 * emacs-lisp/edebug.el (edebug-eval-defun)
14078 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14079 (edebug-toggle): Avoid `eval'.
14081 * emacs-lisp/disass.el (disassemble-internal): Handle new
14083 (disassemble-1): Handle new byte codes.
14085 * emacs-lisp/cl.el (pushnew): Silence warning.
14087 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14088 (cl-byte-compile-throw): Remove.
14089 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14091 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14094 * emacs-lisp/cconv.el: New file.
14096 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14097 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14098 (byte-compile-initial-macro-environment):
14099 Handle declare-function here.
14100 (byte-compile--lexical-environment): New var.
14101 (byte-stack-ref, byte-stack-set, byte-discardN)
14102 (byte-discardN-preserve-tos): New lap codes.
14103 (byte-interactive-p): Don't use any more.
14104 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14106 (byte-compile-lapcode): Use them and handle new lap codes.
14107 (byte-compile-obsolete): Remove.
14108 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14109 (byte-compile-arglist-warn): Check late def of inlinable funs.
14110 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14111 since they should have been expanded by now.
14112 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14113 (byte-compile-from-buffer): Remove unused second arg.
14114 (byte-compile-preprocess): New function.
14115 (byte-compile-toplevel-file-form): New function to distinguish
14116 file-form calls from outside from file-form calls from hunk-handlers.
14117 (byte-compile-file-form): Simplify.
14118 (byte-compile-file-form-defsubst): Remove.
14119 (byte-compile-file-form-defmumble): Simplify now that
14120 byte-compile-lambda always returns a byte-code-function.
14121 (byte-compile): Preprocess.
14122 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14123 Remove, not used any more.
14124 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14125 (byte-compile-make-args-desc): New funs.
14126 (byte-compile-lambda): Handle lexical functions. Always return
14127 a byte-code-function.
14128 (byte-compile-reserved-constants): New var, to make up room for
14129 closed-over variables.
14130 (byte-compile-constants-vector): Obey it.
14131 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14132 (byte-compile-macroexpand-declare-function): New function.
14133 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14134 byte-code-functions.
14135 (byte-compile-form): Check obsolescence here.
14136 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14137 (byte-compile-variable-ref): Remove.
14138 (byte-compile-dynamic-variable-op): New fun.
14139 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14140 (byte-compile-variable-set): New funs.
14141 (byte-compile-discard): Add 2 args.
14142 (byte-compile-stack-ref, byte-compile-stack-set)
14143 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14144 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14145 macroexpand-all instead.
14146 (byte-compile-quote-form): Remove.
14147 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14148 (byte-compile-bind, byte-compile-unbind): New funs.
14149 (byte-compile-let): Handle let* and lexical binding.
14150 (byte-compile-let*): Remove.
14151 (byte-compile-catch, byte-compile-unwind-protect)
14152 (byte-compile-track-mouse, byte-compile-condition-case):
14153 Handle a new :fun-body form, used for lexical scoping.
14154 (byte-compile-save-window-excursion)
14155 (byte-compile-with-output-to-temp-buffer): Remove.
14156 (byte-compile-defun): Simplify.
14157 (byte-compile-stack-adjustment): New fun.
14158 (byte-compile-out): Use it.
14159 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14161 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14164 * emacs-lisp/byte-opt.el: Use lexical binding.
14165 (byte-inline-lapcode): Remove (to bytecomp).
14166 (byte-compile-inline-expand): Pay attention to inlining to/from
14167 lexically bound code.
14168 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14170 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14171 any more and don't call compiler-macros.
14172 (byte-compile-splice-in-already-compiled-code): Remove.
14173 (byte-code): Don't inline any more.
14174 (disassemble-offset): Receive `bytes' as argument rather than via
14176 (byte-compile-tag-number): Declare before first use.
14177 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14178 `return' even if make-spliceable.
14179 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14180 obsolete interactive-p.
14181 (byte-optimize-lapcode): Optimize new lap-codes.
14182 Don't trip up on new form of `byte-constant' lap code.
14184 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14186 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14188 * custom.el (custom-initialize-default, custom-declare-variable):
14191 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14193 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14194 (COMPILE_FIRST): Add macroexp and cconv.
14195 * makefile.w32-in: Mirror changes in Makefile.in.
14197 * vc/cvs-status.el:
14201 * vc/smerge-mode.el:
14202 * textmodes/bibtex-style.el:
14203 * textmodes/css.el:
14211 * emacs-lisp/smie.el:
14214 * abbrev.el: Use lexical binding.
14216 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14218 * info.el (info-display-manual): New function.
14220 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14222 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14224 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14226 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14227 an entry for that server in rcirc-authinfo. (Bug#8385)
14229 2011-03-31 Glenn Morris <rgm@gnu.org>
14231 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14233 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14235 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14237 * progmodes/python.el (python-default-interpreter)
14238 (python-python-command-args, python-jython-command-args)
14239 (python-which-shell, python-which-args, python-which-bufname)
14240 (python-file-queue, python-comint-output-filter-function)
14241 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14242 variables and functions.
14244 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14246 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14247 (completion-in-region-mode): New minor mode.
14248 (completion-in-region): Use it.
14249 (completion-in-region--data, completion-in-region-mode-map): New vars.
14250 (completion-in-region--postch): New function.
14251 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14253 (completion--capf-wrapper): New function.
14254 (completion-at-point): Use it to track well-behavedness of
14256 (completion-help-at-point): New command.
14258 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14260 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14261 syntax class to search for whitespace on a single line
14262 (Message-ID: <4D938140.4030905@redhat.com>).
14264 2011-03-30 Leo Liu <sdl.web@gmail.com>
14266 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14268 (edit-abbrevs-map): Bind them here.
14269 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14271 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14273 * allout.el (allout-hide-by-annotation, allout-flag-region):
14274 Reduce possibility of overlay leakage by making them volatile.
14276 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14277 hash is not shared between buffers. Mode initialization is
14278 responsible for giving it a useful starting value.
14279 (allout-item-span): Reduce possibility of overlay leakage by
14280 making them volatile.
14281 (allout-widgets-count-buttons-in-region): Add diagnostic function
14282 for tracking down button overlay leaks.
14284 2011-03-29 Leo Liu <sdl.web@gmail.com>
14286 * ido.el (ido-read-internal): Use the default history var
14287 minibuffer-history if no HISTORY is specified.
14289 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14291 * net/imap.el (imap-shell-open, imap-process-connection-type):
14292 Use imap-process-connection-type for 'shell' streams as well as
14293 Kerberos, SSL, other subprocesses.
14295 2011-03-28 Leo Liu <sdl.web@gmail.com>
14297 * abbrev.el (abbrev-table-empty-p): New function.
14298 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14299 nonempty ones. (Bug#5937)
14301 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14303 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14305 2011-03-27 Leo Liu <sdl.web@gmail.com>
14307 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14308 for foreground and background colors.
14309 (ansi-color-make-color-map): Adapt.
14311 2011-03-25 Leo Liu <sdl.web@gmail.com>
14313 * midnight.el (midnight-time-float): Remove. Note it calculates
14314 the microsecond component incorrectly and seconds-to-time does the
14316 Remove redundant (require 'timer).
14318 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14319 (ido-completions): Remove unused arguments. (Bug#8329)
14321 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * minibuffer.el (completion--flush-all-sorted-completions):
14324 Remove itself from hook.
14325 (completion-at-point): Let the functions perform the completion
14326 immediately and return nil or t.
14327 * comint.el (comint-dynamic-complete-functions): Now identical to
14328 completion-at-point-functions.
14329 (comint-dynamic-list-input-ring): Remove unused var `index'.
14330 (comint--match-partial-filename, comint--unquote&expand-filename):
14331 New funs, split from comint-match-partial-filename.
14332 (comint-dynamic-complete): Use completion-at-point.
14333 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14335 2011-03-24 Drew Adams <drew.adams@oracle.com>
14337 * thingatpt.el: Support `defun'.
14339 2011-03-23 Leo Liu <sdl.web@gmail.com>
14341 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14343 * help-mode.el (help-mode-finish): Tweak regexp.
14345 2011-03-23 Glenn Morris <rgm@gnu.org>
14347 * eshell/esh-opt.el (eshell-eval-using-options):
14348 Do not bind unused local variable `eshell-option-stub'.
14350 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14352 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14354 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14355 keymap variable in `with-no-warnings' to avoid a warning when the
14356 keymap has been already `defconst'ed.
14358 2011-03-22 Leo Liu <sdl.web@gmail.com>
14360 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14361 encode all chars in abbrevs; otherwise use emacs-mule or
14362 utf-8-emacs. (Bug#8308)
14364 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14366 * simple.el (backward-delete-char-untabify):
14367 Avoid warning about using `delete-backward-char'.
14369 * image.el (image-type-file-name-regexps): Make it variable.
14370 `imagemagick-register-types' modifies it, and the user may want
14371 to add new extensions for known image types.
14372 (imagemagick-register-types): Throw error if not using ImageMagick.
14374 2011-03-22 Leo Liu <sdl.web@gmail.com>
14376 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14377 located before rcirc-prompt-end-marker.
14378 (rcirc-complete): Error if point is not after rcirc prompt.
14379 Handle the case when table is nil.
14380 (rcirc-user-authenticated): Define to fix compiler warning.
14382 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14384 * custom.el (custom--inhibit-theme-enable): Make it affect only
14385 custom-theme-set-variables and custom-theme-set-faces.
14386 (provide-theme): Ignore custom--inhibit-theme-enable.
14387 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14388 (custom-enabling-themes): Delete variable.
14389 (enable-theme): Accept only loaded themes as arguments.
14390 Ignore the special custom-enabled-themes variable.
14391 (custom-enabled-themes): Forbid themes from setting this.
14392 Eliminate use of custom-enabling-themes.
14393 (custom-push-theme): Quote "changed" custom var entry.
14395 2011-03-21 Leo Liu <sdl.web@gmail.com>
14397 * ido.el (ido-read-internal): Add ido-selected to history instead
14400 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14402 * subr.el (deferred-action-list, deferred-action-function):
14405 2011-03-21 Leo Liu <sdl.web@gmail.com>
14407 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14408 change on 2011-02-13 (bug#8309).
14410 * minibuffer.el (read-file-name-function): Change default value.
14411 (read-file-name--defaults): Rename from read-file-name-defaults.
14412 (read-file-name-default): Rename from read-file-name.
14413 (read-file-name): Call read-file-name-function.
14415 2011-03-21 Glenn Morris <rgm@gnu.org>
14417 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14420 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14422 * cus-theme.el: Add missing provide statement.
14423 (customize-create-theme): Extract theme value correctly.
14424 (custom-theme-visit-theme): Autoload.
14425 (customize-create-theme): Prompt before inserting default faces.
14427 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14429 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14430 units and musical notes.
14432 2011-03-20 Leo Liu <sdl.web@gmail.com>
14434 * ido.el (ido-read-internal): Use completing-read-default.
14435 (ido-completing-read): Fix compatibility with completing-read.
14437 2011-03-20 Christian Ohler <ohler@gnu.org>
14439 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14440 (ert-delete-all-tests): Use `called-interactively-p' rather than
14442 (ert--make-xrefs-region): Respect END.
14444 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14446 * dired-aux.el (dired-create-directory): Signal an error if the
14447 directory already exists (Bug#8246).
14449 * facemenu.el (list-colors-display): Call list-faces-display
14450 inside with-help-window.
14451 (list-colors-print): Use display property to align the final
14452 column, instead of checking window-width.
14454 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14456 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14457 windows-nt systems.
14458 (emerge-protect-metachars): Quote correctly for ms-dos and
14459 windows-nt systems.
14461 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14463 * info.el (info-initialize): Replace all uses of `:' with
14464 path-separator for compatibility with non-Unix systems.
14465 Cache quoting of path-separator. (Bug#8258)
14467 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14469 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14470 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14471 (mouse-avoidance-mode): Fix typos in docstrings.
14473 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14475 * startup.el (package-subdirectory-regexp): Move from package.el.
14476 Omit \\` and \\', and let callers add them.
14478 * emacs-lisp/package.el (package-strip-version)
14479 (package-load-all-descriptors): Add \\` and \\' to
14480 package-subdirectory-regexp before using it.
14481 (package-untar-buffer): New arg DIR; ensure that file untars only
14482 into this expected directory. Remove superfluous delete-region.
14483 (package-unpack): Caller changed.
14484 (package-tar-file-info): Use package-subdirectory-regexp.
14486 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14488 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14489 diff-mode-shared-map (bug#8284).
14490 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14492 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14494 * calendar/time-date.el (format-seconds): Use assoc instead of
14495 assoc-string, since assoc-string doesn't exist in XEmacs.
14497 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14499 * custom.el (custom-known-themes): Reflow docstring.
14500 (custom-theme-load-path): Fix typo in docstring.
14501 (load-theme): Fix typo in error message.
14502 (custom-available-themes, custom-variable-theme-value):
14503 Use `let', not `let*'.
14505 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14507 * calc/README: Mention inclusion of musical notes.
14509 * calc/calc-units.el (calc-lu-quant): Rename from
14510 `calc-logunits-quantity'.
14511 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14512 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14513 (calc-db): Rename from `calc-dblevel'.
14514 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14515 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14516 (calc-np): Rename from `calc-nplevel'.
14517 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14518 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14519 (calc-lu-plus): Rename from `calc-logunits-add'.
14520 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14521 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14522 (calc-lu-minus): Rename from `calc-logunits-sub'.
14523 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14524 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14525 (calc-lu-times): Rename from `calc-logunits-mul'.
14526 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14527 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14528 (calc-lu-divide): Rename from `calc-logunits-div'.
14529 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14530 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14532 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14533 functions being autoloaded.
14535 * calc/calc.el (calc-lu-power-reference): Rename from
14536 `calc-logunits-power-reference'.
14537 (calc-lu-field-reference): Rename from
14538 `calc-logunits-field-reference'.
14540 * calc/calc-help.el (calc-l-prefix-help):
14541 Mention musical note functions.
14543 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14545 * minibuffer.el (completion-all-sorted-completions):
14546 Use :completion-cycle-penalty text property if present.
14548 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14550 * allout.el (allout-yank-processing): Adjust for new rebulleting
14551 regime so bullet being yanked is used without prompting the user
14554 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14556 * startup.el (command-line): Warn the user that _emacs is deprecated.
14558 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14560 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14561 (delphi-verbose, delphi-comment-face, delphi-string-face)
14562 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14563 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14564 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14565 (delphi-new-comment-line, delphi-font-lock-defaults)
14566 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14567 Fix typos in docstrings.
14569 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14571 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14572 Invert the roles of character and string values for INSTEAD, so a
14573 string is used for the more common case of a defaulting prompt.
14575 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14577 * progmodes/ruby-mode.el (ruby-backward-sexp):
14578 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14579 * play/gamegrid.el (gamegrid-make-face):
14580 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14581 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14582 * notifications.el (notifications-notify):
14583 * net/xesam.el (xesam-search-engines):
14584 * net/quickurl.el (quickurl-list-insert):
14585 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14587 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14589 * startup.el (command-line): Update package subdirectory regexp.
14591 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14593 * allout.el (allout-abbreviate-flattened-numbering)
14594 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14596 * subr.el (read-char-choice): Only show the cursor after the prompt,
14597 not after the answer.
14599 2011-03-15 Kevin Ryde <user42@zip.com.au>
14601 * help-fns.el (variable-at-point): Skip leading quotes, if any
14604 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14606 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14609 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14611 * shell.el (shell): When called interactively, offer to change the
14612 shell file name on remote hosts.
14614 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14616 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14617 integration for LDAP parameters. The host, base, user or binddn,
14618 and secret tokens can be specified in a netrc file, for instance.
14619 This is optional because an `auth-source' parameter must be
14620 specified in the search attributes.
14622 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14624 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14626 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14628 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14629 into declaration. Remove redundant and harmful binding.
14631 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14633 * files.el (file-ownership-preserved-p): Pass `integer' as an
14634 explicit 2nd argument to `file-attributes'. If the file's owner
14635 is the Administrators group on Windows, and the current user is
14636 Administrator, consider that a match.
14638 * server.el (server-ensure-safe-dir): Consider server directory
14639 safe on MS-Windows if its owner is the Administrators group while
14640 the current Emacs user is Administrator. Use `=' to compare
14641 numerical UIDs, since they could be integers or floats.
14643 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14645 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14647 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14649 Sync with Tramp 2.2.1.
14651 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14653 * net/trampver.el: Update release number.
14655 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14657 * progmodes/compile.el (compilation--previous-directory): Fix up
14658 various nil/dead-marker mismatches (bug#8014).
14659 (compilation-directory-properties, compilation-error-properties):
14660 Don't call it at a position past the one we're about to change.
14662 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14663 Disable obsolescence warnings in the file that declares it.
14665 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14667 * allout-widgets.el (allout-widgets-tally):
14668 Initialize allout-widgets-tally as a hash table rather than nil to
14669 prevent mode-line redisplay warnings. Also, clarify the module
14670 description and fix a comment typo.
14672 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14674 * help-fns.el (describe-variable): Don't complete keywords.
14675 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14677 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14679 * emacs-lisp/package.el (package-version-join): Impose a standard
14680 string representation for pre/alpha/beta version lists.
14681 (package-unpack-single): Standardize the directory name by passing
14682 it through package-version-join.
14683 (package-strip-rcs-id): Accept any version string that does not
14684 signal an error in version-to-list.
14686 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14688 * simple.el (delete-trailing-whitespace): Return nil for the
14689 benefit of `write-file-functions'.
14691 2011-03-10 Glenn Morris <rgm@gnu.org>
14693 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14695 * vc/vc-git.el (vc-git-program): New option.
14696 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14697 (vc-git--call): Use it.
14699 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14701 * cus-edit.el (Custom-newline): If no button at point, look
14702 for a subgroup button at start-of-line. (Bug#2298)
14704 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14706 2011-03-10 Julien Danjou <julien@danjou.info>
14708 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14709 `cursor-type' is nil.
14711 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14713 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14715 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14717 * allout.el: Change so yank of distinctive-bullet items
14718 preserves the existing header prefix, rebulleting it if necessary,
14719 rather than replacing it. This is necessary for proper operation
14720 of cooperative addons like allout-widgets.
14721 (allout-make-topic-prefix, allout-rebullet-heading):
14722 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14723 value as alternate bullet to be used, instead of prompting the user
14724 for a bullet character.
14726 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14728 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14729 Do not use `tramp-file-name-port', because this returns also
14730 `tramp-default-port'.
14732 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14734 * net/rcirc.el (rcirc-handler-001): Remove useless
14735 with-rcirc-process-buffer.
14736 (rcirc-check-auth-status): Swap arguments to string-match.
14738 2011-03-09 Glenn Morris <rgm@gnu.org>
14740 * shell.el (shell-mode):
14741 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14743 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14744 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14746 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14748 * emacs-lisp/package.el (package-refresh-contents)
14749 (package-menu-execute): Use condition-case-no-debug.
14751 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14753 * simple.el (shell-command-to-string): Use `process-file'.
14755 * emacs-lisp/package.el (package-tar-file-info): Handle also
14758 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14759 Use `equal' for upload base check.
14761 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14763 * textmodes/texinfo.el (texinfo-environments):
14764 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14766 2011-03-08 Glenn Morris <rgm@gnu.org>
14768 * cus-start.el (cursor-in-non-selected-windows):
14769 Fix :set quoting oddness. (Bug#8192)
14771 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14772 in some setf expressions. (Bug#2159)
14774 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14776 * custom.el (custom-available-themes): Return themes in
14777 alphabetical order.
14779 See ChangeLog.15 for earlier changes.
14781 ;; Local Variables:
14785 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14787 This file is part of GNU Emacs.
14789 GNU Emacs is free software: you can redistribute it and/or modify
14790 it under the terms of the GNU General Public License as published by
14791 the Free Software Foundation, either version 3 of the License, or
14792 (at your option) any later version.
14794 GNU Emacs is distributed in the hope that it will be useful,
14795 but WITHOUT ANY WARRANTY; without even the implied warranty of
14796 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14797 GNU General Public License for more details.
14799 You should have received a copy of the GNU General Public License
14800 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.