1 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8 (cl-hash-table-count): Add old compatibility aliases.
10 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11 Use macroexpand-all-environment instead.
12 (cl--old-macroexpand): New var.
13 (cl--sm-macroexpand): New function.
14 (cl-symbol-macrolet): Use it during macro expansion.
15 (cl--function-convert-cache): New var.
16 (cl--function-convert): New function, extracted from
18 (cl-lexical-let): Use it.
20 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
21 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
22 (cl-member): Remove old alias.
24 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
25 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
26 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
27 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
28 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
29 (cl-macroexpand-cmacs): Remove var.
30 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
31 Use macroexpand-all instead.
33 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
35 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
36 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
37 (macroexp-copyable-p): New functions and macros.
38 * emacs-lisp/edebug.el (edebug-unwrap):
39 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
40 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
41 (pcase--let*): Remove.
42 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
43 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
44 macroexp-const-p instead.
45 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
47 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
48 instead of "cl-" for internal definitions. Use macroexp-const-p.
49 (cl-old-bc-file-form): Remove var.
50 (cl-const-exprs-p): Remove fun.
51 (cl-labels, cl-macrolet): Use backquote.
52 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
53 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
54 (cl-define-setf-expander): Rename from cl-define-setf-method.
55 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
57 * international/mule-cmds.el: Don't require CL.
58 (view-hello-file): Don't use `letf'.
60 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
62 * tmm.el (tmm-prompt): Use string-prefix-p.
63 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
64 (tmm-add-prompt): Use minibuffer-completion-help.
65 (tmm-delete-map): Remove.
67 * subr.el (kbd): Make it its own function.
69 2012-06-07 Stefan Merten <smerten@oekonux.de>
71 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
72 Silence compiler warnings. Fix versions.
73 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
74 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
75 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
76 (rst-package-emacs-version-alist): Correct Emacs version to
77 represent major merge with upstream.
78 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
80 2012-06-06 Glenn Morris <rgm@gnu.org>
82 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
83 Only print environment variables if set.
85 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
87 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
88 (macroexp--cons): Rename from maybe-cons.
89 (macroexp--accumulate): Rename from macroexp-accumulate.
90 (macroexp--all-forms): Rename from macroexpand-all-forms.
91 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
92 (macroexp--expand-all): Rename from macroexpand-all-1.
94 2012-06-06 Sam Steingold <sds@gnu.org>
96 * calendar/calendar.el (calendar-in-read-only-buffer):
97 Call `special-mode' to enable the standard read-only keybindings.
99 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
101 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
102 with "loading" messages (bug#11635).
104 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
106 * files.el (enable-remote-dir-locals): New option.
107 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
109 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
110 Ensure, that the temp directory is local.
112 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
113 `temporary-file-directory'.
115 * progmodes/python.el (python-send-region): Ensure, that the
116 temporary file is created also in the remote case.
118 2012-06-06 Glenn Morris <rgm@gnu.org>
120 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
121 (vc-rcs-update-changelog): Use it.
123 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
125 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
126 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
127 (vc-sccs-diff): Replace use of the external vcdiff script.
129 2012-06-05 Glenn Morris <rgm@gnu.org>
131 * ledit.el: Move to obsolete/.
133 2012-06-05 Sam Steingold <sds@gnu.org>
135 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
138 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
140 * emacs-list/cust-print.el: Move to obsolete.
142 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
143 compiler-macro expansion.
145 Add native compiler-macro support.
146 * emacs-lisp/macroexp.el (macroexpand-all-1):
147 Support compiler-macros directly. Properly follow aliases and apply
148 the compiler macros more thoroughly.
149 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
150 macroexpand now properly follows aliases.
151 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
152 (cl-compiler-macroexpand): Use new prop.
153 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
155 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
157 2012-06-05 Martin Rudalics <rudalics@gmx.at>
159 * window.el (get-lru-window, get-mru-window, get-largest-window):
160 New argument NOT-SELECTED to avoid picking the selected window.
161 (window--display-buffer-1, window--display-buffer-2): Replace by
162 new function window--display-buffer
163 (display-buffer-same-window, display-buffer-reuse-window)
164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
165 Use window--display-buffer.
166 (display-buffer-use-some-window): Remove temporary dedication
167 hack by calling get-lru-window and get-largest-window with
168 NOT-SELECTED argument non-nil. Call window--display-buffer.
170 2012-06-05 Glenn Morris <rgm@gnu.org>
172 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
173 Replace external vcdiff script.
175 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
177 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
179 2012-06-04 Chong Yidong <cyd@gnu.org>
181 * image.el (imagemagick-types-inhibit): Revert last change.
183 (imagemagick-enabled-types): Remove CIN and EPS*.
185 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
187 * emacs-lisp/cl-lib.el: Rename from cl.el.
188 * emacs-lisp/cl.el: New compatibility file.
189 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
190 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
191 to obey the "cl-" prefix.
192 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
194 2012-06-03 Glenn Morris <rgm@gnu.org>
196 * emacs-lisp/authors.el (authors-aliases): Addition.
198 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
201 2012-06-03 Stefan Merten <smerten@oekonux.de>
203 * textmodes/rst.el: Add comments.
204 (rst-transition, rst-adornment): New faces.
205 (rst-adornment-faces-alist): Make default safe to reevaluate.
207 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
208 Improve customization tags.
209 (rst-define-level-faces): Clarify meaning.
211 2012-06-03 Chong Yidong <cyd@gnu.org>
213 * progmodes/compile.el (compilation-mode-line-fail)
214 (compilation-mode-line-run, compilation-mode-line-exit):
216 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
218 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
220 * progmodes/which-func.el (which-func-update-ediff-windows):
221 New function. Use it in ediff-select-hook (Bug#11478).
223 2012-06-03 Chong Yidong <cyd@gnu.org>
225 * bindings.el: Remove explicit help text from format-mode-line.
226 It is now supplied by mode-line-default-help-echo.
227 (mode-line-front-space, mode-line-end-spaces)
228 (mode-line-misc-info): New variables.
229 (mode-line-modes, mode-line-position): Move the default value to
230 the variable definition.
231 (mode-line-default-help-echo): New defcustom.
232 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
233 (mode-line-modified-help-echo): New functions.
234 (mode-line-mule-info, mode-line-modified): Use them.
235 (mode-line-eol-desc, propertized-buffer-identification):
236 Consistency fixes for help text.
237 (mode-line-coding-system-map): Allow using mouse-3 to invoke
238 set-buffer-file-coding-system (Bug#289).
239 (mode-line-mule-info-help-echo): Update help text.
241 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
243 * simple.el (execute-extended-command): Set real-this-command
246 2012-06-02 Chong Yidong <cyd@gnu.org>
248 Remove incorrect uses of "modeline" in comments, docstrings, and
249 function/variable names (Bug#10329).
251 * cus-edit.el (mode-line):
252 * dframe.el (dframe-mouse-hscroll):
253 * emacs-lisp/re-builder.el:
254 * emacs-lisp/easy-mmode.el (define-minor-mode):
255 * frame.el (set-frame-name):
256 * help.el (lookup-minor-mode-from-indicator):
257 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
258 * progmodes/cc-cmds.el (c-toggle-auto-newline)
259 (c-toggle-hungry-state):
260 * progmodes/antlr-mode.el (antlr-language-alist):
261 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
262 * progmodes/vhdl-mode.el (vhdl-mode):
263 * progmodes/which-func.el (which-func, which-func-cleanup-function):
264 * term/ns-win.el (ns-face-at-pos):
265 * term/sup-mouse.el (sup-mouse-report):
266 * textmodes/flyspell.el (flyspell-mode-line-string):
267 * textmodes/ispell.el (ispell-highlight-face):
268 * textmodes/reftex-global.el:
269 * vc/vc-arch.el (vc-arch-mode-line-string):
270 * vc/vc-cvs.el (vc-cvs-mode-line-string):
271 * vc/vc-git.el (vc-git-mode-line-string):
272 * vc/vc-hooks.el (vc-display-status)
273 (vc-default-mode-line-string):
274 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
276 * ansi-color.el (ansi-color-faces-vector): Change default faces.
278 * dired.el (dired-sort-set-mode-line): Rename from
279 dired-sort-set-modeline. All callers changed.
281 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
282 eshell-status-in-modeline.
284 * foldout.el (foldout-mode-line-string): Rename from
285 foldout-modeline-string. All callers changed.
286 (foldout-update-mode-line): Rename from foldout-update-modeline.
288 * subr.el (redraw-modeline): Make into obsolete alias.
290 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
291 timeclock-modeline-display. Make old name an alias.
292 (timeclock-update-mode-line): Likewise. All callers changed.
293 (timeclock-mode-line-display): No need to check before using
295 (timeclock-relative, timeclock-day-over-hook)
296 (timeclock-use-elapsed, timeclock-mode-string)
297 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
299 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
300 crisp-mode-modeline-string.
302 * play/solitaire.el (solitaire-build-mode-line): Rename from
303 solitaire-build-modeline. All callers changed.
305 * play/zone.el (zone-hiding-mode-line): Rename from
306 zone-hiding-modeline. All callers changed.
307 (zone): Remove unusued `modeline-hidden-level' property.
309 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
310 xscheme-modeline-initialize. All callers changed.
312 * strokes.el (strokes-lighter): Rename from
313 strokes-modeline-string.
315 * textmodes/sgml-mode.el (html-face-tag-alist)
316 (html-tag-face-alist): Use mode-line face instead of obsolete
319 2012-06-02 Stefan Merten <smerten@oekonux.de>
321 * textmodes/rst.el: Always require `cl'.
322 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
324 2012-06-02 Chong Yidong <cyd@gnu.org>
326 * image.el (imagemagick-enabled-types): Rename from
327 imagemagick-types-enable. Add many more types.
328 (imagemagick-types-inhibit): Change default to nil.
329 (imagemagick-filter-types): Caller changed.
331 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
333 * emacs-lisp/cl-macs.el: Use backquotes.
334 (cl-transform-function-property): Use eval-and-compile rather than
336 (defstruct): Use declare-function instead of with-no-warnings.
338 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
339 (byte-compile-output-docform): Re-add the print-circle bindings.
340 (byte-compile-fix-header): Use #$ just because it's shorter.
341 (byte-compile-output-file-form): Remove defun/defmacro.
343 2012-06-01 Martin Rudalics <rudalics@gmx.at>
345 * simple.el (choose-completion): Remove now obsolete binding for
348 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
350 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
351 in order to avoid "Stack overflow in regexp matcher".
353 2012-05-31 Glenn Morris <rgm@gnu.org>
355 * image.el: For clarity, call imagemagick-register-types at
356 top-level, rather than relying on a custom :initialize.
357 (imagemagick-types-enable): New option. (Bug#11557)
358 (imagemagick-filter-types): New function. (Bug#7406)
359 (imagemagick-register-types): Use imagemagick-filter-types.
360 If disabling support, remove elements altogether rather
361 than using an impossible regexp.
362 (imagemagick-types-inhibit): Give it the default init function.
364 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
366 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
367 Handle arbitrary file name lengths (Bug#11585).
369 2012-05-31 Martin Rudalics <rudalics@gmx.at>
371 * desktop.el (desktop-read): Clear previous and next buffers for
372 all windows and bury *Messages* buffer (bug#11556).
374 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
376 Add `declare' for `defun'. Align `defmacro's with it.
377 * emacs-lisp/easy-mmode.el (define-minor-mode)
378 (define-globalized-minor-mode): Don't autoload the var definitions.
379 * emacs-lisp/byte-run.el: Use lexical-binding.
380 (defun-declarations-alist, macro-declarations-alist): New vars.
381 (defmacro, defun): Use them.
382 (make-obsolete, define-obsolete-function-alias)
383 (make-obsolete-variable, define-obsolete-variable-alias):
385 (macro-declaration-function): Mark obsolete.
386 * emacs-lisp/autoload.el: Use lexical-binding.
387 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
389 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
391 * textmodes/ispell.el (ispell-with-no-warnings):
393 (ispell-kill-ispell, ispell-change-dictionary):
394 Use `called-interactively-p' for Emacs instead of obsolete
397 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
399 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
400 (macro-declaration-function): Move var from C code.
401 (macro-declaration-function): Define function with defalias.
402 * emacs-lisp/macroexp.el (macroexpand-all-1):
403 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
404 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
405 defun/defmacro any more.
406 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
407 Provide fallback for unknown arglist.
408 (byte-compile-arglist-warn): Change calling convention.
409 (byte-compile-output-file-form): Move print-vars binding.
410 (byte-compile-output-docform): Simplify accordingly.
411 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
412 (byte-compile-defmacro-declaration): Remove.
413 (byte-compile-file-form-defmumble): Generalize to defalias.
414 (byte-compile-output-as-comment): Return byte-positions.
415 Simplify callers accordingly.
416 (byte-compile-lambda): Use `assert'.
417 (byte-compile-defun, byte-compile-defmacro): Remove.
418 (byte-compile-file-form-defalias):
419 Use byte-compile-file-form-defmumble.
420 (byte-compile-defalias-warn): Remove.
422 2012-05-29 Stefan Merten <smerten@oekonux.de>
424 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
425 possible. Fix authors. Improve comments. Improve loading of `cl'.
427 (rst-mode-abbrev-table): Merge definition.
428 (rst-mode): Make sure `font-lock-defaults' is buffer local.
429 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
431 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
433 * calendar/icalendar.el
434 (icalendar-export-region): Export UID properly.
436 2012-05-29 Leo <sdl.web@gmail.com>
437 * calendar/icalendar.el (icalendar-import-format):
438 Add `icalendar-import-format-uid' (Bug#11525).
439 (icalendar-import-format-uid): New.
440 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
443 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
445 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
446 different alternative patterns.
447 (pcase-codegen): Be more careful to preserve identity.
448 (pcase--u1): Don't forget to mark vars as used.
450 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
451 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
452 (byte-compile-from-buffer): ...rather than here.
454 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
455 functions from byte-compile-function-environment.
457 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
459 * window.el (window-deletable-p): Avoid deleting the root window
460 of a frame with an active minibuffer.
462 2012-05-29 Martin Rudalics <rudalics@gmx.at>
464 * simple.el (choose-completion): Use quit-window (Bug#11567).
466 2012-05-29 Chong Yidong <cyd@gnu.org>
468 * whitespace.el (whitespace-cleanup): Fix usage of
469 whitespace-empty-at-bob-regexp (Bug#11492).
471 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
473 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
476 2012-05-29 Juri Linkov <juri@jurta.org>
478 * isearch.el (isearch-mode-map): Bind `M-s _' to
479 `isearch-toggle-symbol'. Bind `M-s c' to
480 `isearch-toggle-case-fold'.
481 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
482 (isearch-forward): Add `M-s _' to the docstring.
483 (isearch-forward-symbol, isearch-toggle-case-fold)
484 (isearch-symbol-regexp): New functions. (Bug#11381)
486 2012-05-29 Juri Linkov <juri@jurta.org>
488 * isearch.el (isearch-word): Add docstring. (Bug#11381)
489 (isearch-occur, isearch-search-and-update): If `isearch-word' is
490 a function, call it to get the regexp.
491 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
492 property `isearch-message-prefix' instead of the string "word ".
493 (isearch-search-fun-default): For the case of `isearch-word',
494 return a lambda that calls re-search-forward/re-search-backward
495 with a regexp returned by `word-search-regexp' or by the function
498 2012-05-29 Juri Linkov <juri@jurta.org>
500 * isearch.el (isearch-search-fun-default): New function.
501 (isearch-search-fun): Move default part to the new function
502 `isearch-search-fun-default'.
503 (isearch-search-fun-function): Set the default value to
504 `isearch-search-fun-default'. (Bug#11381)
506 * comint.el (comint-history-isearch-end):
507 Use `isearch-search-fun-default'.
508 (comint-history-isearch-search): Use `isearch-search-fun-default'
509 and remove spacial case for `isearch-word'.
510 (comint-history-isearch-wrap): Remove spacial case for
513 * hexl.el (hexl-isearch-search-function):
514 Use `isearch-search-fun-default'.
516 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
517 Use `word-search-regexp' for `isearch-word'.
519 * misearch.el (multi-isearch-search-fun):
520 Use `isearch-search-fun-default'.
522 * simple.el (minibuffer-history-isearch-search):
523 Use `isearch-search-fun-default' and remove spacial case for
525 (minibuffer-history-isearch-wrap): Remove spacial case for
528 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
529 Remove spacial case for `isearch-word'.
530 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
532 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
534 Decrease XEmacs incompatibilities.
535 * textmodes/flyspell.el (flyspell-check-pre-word-p):
537 (flyspell-delete-region-overlays): Use alternative definition for
539 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
540 (flyspell-word): Use `process-kill-without-query' if XEmacs.
541 (flyspell-mode-on): Use `interactive-p' if XEmacs.
542 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
543 `define-obsolete-face-alias' under XEmacs, but old method.
545 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
546 `with-no-warnings' definition or Emacs alias.
547 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
548 (ispell-word): Do not use `region-p' if XEmacs.
550 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
552 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
553 Check for `ispell-dictionary-base-alist' instead of full
554 `ispell-dictionary-alist'.
555 (ispell-init-process): Show spellchecker when starting new Ispell
558 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
560 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
561 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
563 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
565 * version.el (motif-version-string, gtk-version-string)
566 (ns-version-string): Declare.
568 2012-05-27 Juri Linkov <juri@jurta.org>
570 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
571 after the `eval-defun-1' specialcaseing
572 like in `edebug-eval-defun' (bug#10181).
574 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
575 like in `eval-defun-1'.
577 2012-05-27 Eli Zaretskii <eliz@gnu.org>
579 * mail/sendmail.el (mail-yank-region):
580 Recognize rmail-yank-current-message in addition to insert-buffer.
581 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
582 a *mail* buffer created through rmail-start-mail with sendmail as
585 2012-05-27 Chong Yidong <cyd@gnu.org>
587 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
588 Default to 256 (Bug#11267).
590 * help.el (describe-mode): Doc fix.
592 2012-05-26 Glenn Morris <rgm@gnu.org>
594 * w32-fns.el (w32-init-info): Remove.
595 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
597 * info.el (info-initialize): For self-contained NS builds, put the
598 included info/ directory at the front. (Bug#2791)
600 * paths.el (Info-default-directory-list): Make it a defcustom,
601 mainly so that we can use custom-initialize-delay.
603 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
605 * subr.el (buffer-has-markers-at): Mark obsolete.
607 * subr.el (lambda): Use declare.
609 * emacs-lisp/lisp-mode.el (lambda):
610 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
612 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
614 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
616 2012-05-26 Glenn Morris <rgm@gnu.org>
618 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
620 2012-05-25 Glenn Morris <rgm@gnu.org>
622 * paths.el: Remove no-byte-compile.
623 * loadup.el: No need to load paths.el uncompiled.
625 * image.el (imagemagick-types-inhibit): Doc fix.
627 * version.el: Remove no-byte-compile and associated formatting.
628 * loadup.el: No need to load version.el uncompiled. AFAICS, this
629 is ancient code from when there was an "inc-vers.el".
631 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
633 * progmodes/gdb-mi.el: Minor style changes.
634 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
635 Turn into minor modes.
636 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
637 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
638 (gdb-shell): Remove unneeded let-binding.
639 (gdb-get-many-fields): Eliminate O(n²) behavior.
641 2012-05-25 Eli Zaretskii <eliz@gnu.org>
643 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
644 platforms that don't link in fontset.c.
646 2012-05-25 Juri Linkov <juri@jurta.org>
648 Use the same diff color scheme as in modern VCSes (bug#10181).
650 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
651 to avoid confusion with `diff-added' that now uses green colors.
652 (diff-removed): Use shades of red.
653 (diff-added): Use shades of green.
654 (diff-changed): Leave just the yellow color.
655 (diff-use-changed-face): New variable.
656 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
657 how to highlight context diff changes.
658 (diff-refine-change): Use shades of yellow.
659 (diff-refine-removed): New face that uses shades of red.
660 (diff-refine-added): New face that uses shades of green.
661 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
662 `diff-refine-removed' in the call to `smerge-refine-subst'
663 depending on the value of `diff-use-changed-face'.
665 * vc/smerge-mode.el (smerge-mine): Use shades of red.
666 (smerge-other): Use shades of green.
667 (smerge-base): Use shades of yellow.
668 (smerge-refined-change): Empty face.
669 (smerge-refined-removed): New face that uses shades of red.
670 (smerge-refined-added): New face that uses shades of green.
671 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
672 args `props-r' and `props-a', and use them. Doc fix.
673 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
674 on its value use different faces `smerge-refined-change',
675 `smerge-refined-removed', `smerge-refined-added' in the call to
676 `smerge-refine-subst'.
678 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
679 Add face condition `min-colors 88' with shades of red.
680 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
681 `min-colors 88' with shades of green.
682 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
683 `min-colors 88' with shades of yellow.
685 2012-05-24 Glenn Morris <rgm@gnu.org>
687 * paths.el (prune-directory-list, remote-shell-program): Move to...
688 * files.el (prune-directory-list, remote-shell-program): ...here.
689 For the latter, delay initialization, prefer ssh, just search PATH.
691 * paths.el (term-file-prefix): Move to faces.el (the only user).
692 * faces.el (term-file-prefix): Move here, make it a defcustom.
694 * paths.el (news-directory, news-path, news-inews-program):
695 Move to gnus/nnspool.el.
697 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
699 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
700 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
701 Make the latter a defcustom, with a delayed initialization.
703 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
704 These were deleted from Gnus itself late 2010.
706 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
708 * progmodes/which-func.el (which-func-ff-hook):
709 Check against user-error, not error.
711 * emacs-lisp/edebug.el (top): Do not load or set up loading of
712 cl-specs.el, which no longer exists.
714 2012-05-22 Glenn Morris <rgm@gnu.org>
716 * info.el (info-emacs-bug): New command.
717 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
718 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
720 2012-05-21 Glenn Morris <rgm@gnu.org>
722 * makefile.w32-in (update-subdirs-SH):
723 * Makefile.in (update-subdirs): Update for moved update-subdirs.
725 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
727 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
729 * progmodes/compile.el (compilation-error-regexp-alist-alist):
730 Simplify Maven regexp, and make sure the file can't start with a space
733 2012-05-21 Glenn Morris <rgm@gnu.org>
735 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
736 Scrap superfluous subshells.
738 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
740 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
741 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
743 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
745 * calc/calc.el (calc-ensure-consistent-units): New variable.
747 * calc/calc-units.el (math-consistent-units-p)
748 (math-check-unit-consistency): New functions.
749 (calc-quick-units, calc-convert-units):
750 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
752 (calc-extract-units): Fix typo.
754 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
756 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
758 * textmodes/flyspell.el: Commenting style, plus code simplifications.
759 (flyspell-default-deplacement-commands): Don't spell check after
760 repeated window/frame switches (e.g. triggered by mouse-movement).
761 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
762 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
763 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
764 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
766 (flyspell-get-casechars, flyspell-get-not-casechars):
767 Simplify; Don't bother removing a ] just to add it back.
768 * textmodes/ispell.el (ispell-program-name): Use executable-find.
770 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
772 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
774 (math-function-table): Add support for more C functions.
776 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
778 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
779 (flyspell-debug-signal-word-checked): Protect delay handling for
780 otherchars against empty otherchars.
782 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
784 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
785 their respective macro declarations.
786 * skeleton.el (define-skeleton):
787 * progmodes/compile.el (define-compilation-mode):
788 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
789 (define-ibuffer-filter):
790 * emacs-lisp/generic.el (define-generic-mode):
791 * emacs-lisp/easy-mmode.el (define-minor-mode)
792 (define-globalized-minor-mode):
793 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
794 * emacs-lisp/byte-run.el (defsubst):
795 * custom.el (deftheme): Add doc-string metadata.
797 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
799 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
801 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
803 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
805 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
806 * emacs-lisp/cl-macs.el: Idem.
807 * emacs-lisp/cl-specs.el: Remove.
809 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
811 Minor renaming of internal CL functions and variables.
812 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
813 (cl--position): Rename from cl-position.
814 (cl--delete-duplicates): Rename from cl-delete-duplicates.
815 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
816 (cl--random-state): Rename from *random-state*.
818 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
820 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
821 parens around the arg list (bug#11499).
823 2012-05-17 Juri Linkov <juri@jurta.org>
825 * isearch.el (word-search-regexp, word-search-backward)
826 (word-search-forward, word-search-backward-lax)
827 (word-search-forward-lax): Move functions from search.c
828 (bug#10145, bug#11381).
830 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
832 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
833 (flyspell-debug-signal-word-checked): Delay for otherchars as for
834 normal word components.
836 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
838 * minibuffer.el (completion--sifn-requote): Fix last change.
839 (minibuffer-local-must-match-filename-map):
840 Move define-obsolete-variable-alias before its var.
842 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
844 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
846 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
848 (completion--string-equal-p): New function.
849 (completion--twq-all): Use it to get better assertion failure data.
851 Only handle ".." and '..' quoting in shell-mode (bug#11466).
852 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
853 (shell--requote-argument): New functions.
854 (shell-completion-vars): Use them.
855 (shell--parse-pcomplete-arguments): Rename from
856 shell-parse-pcomplete-arguments.
857 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
858 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
859 Obey comint-file-name-quote-list.
861 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
862 (smie-indent-keyword): Use it.
864 2012-05-14 Stefan Merten <smerten@oekonux.de>
866 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
868 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
870 * net/rlogin.el (rlogin-mode-map): Fix last change.
872 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
874 * mail/smtpmail.el (smtpmail-send-command): Send the command and
875 the following \r\n using a single `process-send-string', since the
876 Lotus SMTP server refuses to accept any commands if they are sent
877 with two `process-send-string's (Bug#11444).
879 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
881 * shell.el (shell-parse-pcomplete-arguments):
882 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
884 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
886 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
887 (image-transform-scale, image-transform-right-angle-fudge): New vars.
888 (image-transform-width, image-transform-fit-width): New functions.
889 (image-transform-properties): Use them.
890 (image-transform-check-size): New function.
891 (image-toggle-display-image): Use it (for testing).
892 (image-transform-set-rotation): Reduce angle mod 360.
893 Delete obsolete comment.
895 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
897 * image-mode.el: Fix scaling (bug#11399).
898 (image-transform-resize): Doc fix.
899 (image-transform-properties): Default scale is 1 and height should
902 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
904 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
905 than hard-coding `car', to fix misbehavior when moving forward.
907 2012-05-13 Chong Yidong <cyd@gnu.org>
909 * emacs-lisp/tabulated-list.el (tabulated-list-format)
910 (tabulated-list-entries, tabulated-list-padding)
911 (tabulated-list-sort-key): Make permanent-local.
913 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
914 (electric-buffer-list): Put electric buffer menu
915 command descriptions in this docstring, instead of the docstring
916 of electric-buffer-menu-mode. Code cleanups.
917 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
918 Electric-buffer-menu-mode.
919 (electric-buffer-update-highlight): Minor code cleanup.
921 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
923 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
926 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
928 Move define-obsolete-variable-alias before the var's definition.
929 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
930 * tooltip.el (tooltip-hook):
931 * textmodes/reftex-toc.el (reftex-toc-map):
932 * textmodes/reftex-sel.el (reftex-select-label-map)
933 (reftex-select-bib-map):
934 * textmodes/reftex-index.el (reftex-index-map)
935 (reftex-index-phrases-map):
936 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
937 * progmodes/meta-mode.el (meta-mode-map):
938 * novice.el (disabled-command-hook):
939 * loadhist.el (unload-hook-features-list):
940 * frame.el (blink-cursor):
941 * files.el (find-file-not-found-hooks, write-file-hooks)
942 (write-contents-hooks):
943 * emulation/tpu-edt.el (GOLD-map):
944 * emacs-lock.el (emacs-lock-from-exiting):
945 * emacs-lisp/generic.el (generic-font-lock-defaults):
946 * emacs-lisp/chart.el (chart-map):
947 * dos-fns.el (register-name-alist):
948 * dired-x.el (dired-omit-files-p):
949 * desktop.el (desktop-enable):
950 * cus-edit.el (custom-mode-hook):
951 * buff-menu.el (buffer-menu-mode-hook):
952 * bookmark.el (bookmark-read-annotation-text-func)
953 (bookmark-exit-hooks):
954 * allout.el (allout-mode-deactivate-hook)
955 (allout-exposure-change-hook, allout-structure-added-hook)
956 (allout-structure-deleted-hook, allout-structure-shifted-hook):
957 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
958 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
959 comes before the corresponding variable's definition.
961 2012-05-12 Chong Yidong <cyd@gnu.org>
963 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
964 (Buffer-menu-mouse-select): Restore function (Bug#11459).
965 (Buffer-menu-mode-map): Bind it.
966 (Buffer-menu--pretty-name): Add a mouse-face property.
968 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
970 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
971 (prolog-upper-case-string, prolog-lower-case-string)
972 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
973 (prolog-use-smie, prolog-smie-grammar): New vars.
974 (prolog-smie-forward-token, prolog-smie-backward-token)
975 (prolog-smie-rules): New funs.
976 (prolog-comment-indent): Remove.
977 (prolog-mode-variables): Use default comment indentation instead.
979 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
980 (prolog-mode): Don't call them any more.
981 (prolog-electric-colon, prolog-electric-dash)
982 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
984 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
986 * minibuffer.el (completion--twq-all): Again, allow case differences.
988 * term.el: Move keymap initialization code to be more idiomatic.
989 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
990 (term-terminal-menu): Move initialization into declaration.
991 (term-escape-char): Let the user set it in her .emacs.
993 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
994 Provide SMIE-based indentation (not enabled by default yet).
995 (sh-mode-map): Don't bind electric keys.
996 Use electric-pair-mode instead of skeleton-pair.
997 (sh-assignment-regexp): Fit within 80 columns.
998 (sh-indent-supported): Specify actual shell name instead of boolean.
999 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1000 (sh-maybe-here-document): Use it. Make obsolete.
1001 (sh-electric-here-document-mode) New minor mode.
1002 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1003 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1004 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1005 (sh-smie-rc-grammar, sh-use-smie): New vars.
1006 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1007 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1008 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1009 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1010 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1011 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1012 (sh-set-shell): Use smie-setup if requested.
1014 * term.el (term-set-escape-char): Properly set term-escape-char.
1015 See http://stackoverflow.com/questions/10524656.
1017 2012-05-10 Chong Yidong <cyd@gnu.org>
1019 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1020 Use url-generic-parse-url, and handle host names and Windows
1022 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1023 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1024 URL schemes to work on.
1025 (ffap--toggle-read-only): New function.
1026 (ffap-read-only, ffap-read-only-other-window)
1027 (ffap-read-only-other-frame): Use it.
1028 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1029 necessary for ffap-url-unwrap-remote.
1031 2012-05-10 Dave Abrahams <dave@boostpro.com>
1033 * cus-start.el (create-lockfiles): Add it.
1035 2012-05-09 Chong Yidong <cyd@gnu.org>
1037 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1038 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1040 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1044 2012-05-09 Chong Yidong <cyd@gnu.org>
1046 * ansi-color.el (ansi-color-process-output): Check for validity of
1047 comint-last-output-start before using it. This avoids a bad
1048 interaction with gdb-mi's input/output buffer.
1050 2012-05-09 Glenn Morris <rgm@gnu.org>
1052 * files.el (dir-locals-read-from-file):
1053 Mention dir-locals in any error message.
1055 2012-05-09 Chong Yidong <cyd@gnu.org>
1057 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1058 package (Bug#11410).
1060 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1061 variables into description.
1063 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1065 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1066 shell-delimiter-argument-list (bug#11348).
1067 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1069 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1071 * textmodes/rst.el: Silence byte-compiler warnings.
1072 (rst-re-alist, rst-reset-section-caches): Move around.
1073 (rst-re): Use `characterp', not `char-valid-p'.
1074 (font-lock-beg, font-lock-end): Declare.
1076 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1077 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1079 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1081 2012-05-08 Glenn Morris <rgm@gnu.org>
1083 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1085 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * vc/log-edit.el: Add GNU coding standards highlighting.
1088 (log-edit-font-lock-gnu-style)
1089 (log-edit-font-lock-gnu-keywords): New vars.
1090 (log-edit-font-lock-keywords): New fun.
1091 (log-edit-mode): Don't fold case in font-lock.
1092 (log-edit-font-lock-keywords): Do not assume case-folding.
1094 * imenu.el: Misc cleanup. Make docstrings out of comments.
1095 Use lexical-binding.
1096 (imenu--index-alist, imenu--last-menubar-index-alist)
1097 (imenu-menubar-modified-tick): Use defvar-local.
1098 (imenu--split-menu): Remove unused var.
1099 (imenu--cleanup-seen): Declare as global.
1100 (imenu--cleanup): Use dolist.
1102 * subr.el (defvar-local): Add debug spec and doc-string position.
1104 2012-05-08 Glenn Morris <rgm@gnu.org>
1106 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1107 * language/english.el, language/georgian.el, language/greek.el:
1108 * language/japanese.el, language/khmer.el, language/korean.el:
1109 * language/lao.el, language/misc-lang.el, language/romanian.el:
1110 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1111 * language/thai.el, language/utf-8-lang.el:
1112 Remove no-byte-compile setting.
1114 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1116 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1118 * progmodes/make-mode.el (makefile-browse):
1119 Remove unnecessary interactive. (Bug#11324)
1121 2012-05-07 Glenn Morris <rgm@gnu.org>
1123 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1125 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1127 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * loadup.el: Preload newcomment.el.
1130 * newcomment.el: Move autoload-only code to toplevel.
1132 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1133 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1134 Handle new :right-align column property.
1135 (tabulated-list-print-col): Idem, plus use `display' text-property to
1136 try and preserve alignment for variable pitch fonts.
1138 2012-05-07 Chong Yidong <cyd@gnu.org>
1140 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1141 (tabulated-list-use-header-line): New var.
1142 (tabulated-list-init-header): Use it.
1143 (tabulated-list-print-fake-header): New function.
1144 (tabulated-list-print): Use it.
1145 (tabulated-list-sort-button-map): Add non-header-line commands.
1146 (tabulated-list-init-header): Add column name property to basic
1148 (tabulated-list-col-sort): Handle non-header-line button case.
1149 (tabulated-list--sort-by-column-name): Fix a corner case.
1151 * buff-menu.el (list-buffers--refresh):
1152 Handle Buffer-menu-use-header-line.
1154 2012-05-06 Chong Yidong <cyd@gnu.org>
1156 * buff-menu.el: Convert to Tabulated List mode.
1157 (Buffer-menu-buffer+size-width): Make obsolete.
1158 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1159 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1160 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1161 documentation into docstring of buffer-menu.
1162 (Buffer-menu-toggle-files-only): Add an informative message.
1163 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1164 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1165 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1166 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1167 (Buffer-menu-execute, Buffer-menu-select)
1168 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1169 (Buffer-menu-bury): Use Tabulated List machinery.
1170 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1171 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1173 (list-buffers--refresh): New function.
1174 (list-buffers-noselect): Use it.
1175 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1176 (Buffer-menu--pretty-file-name): New helper functions.
1178 * loadup.el: Preload tabulated-list.
1180 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1181 tabulated-list-sort-column.
1182 (tabulated-list-init-header): Add the initial aligning space even
1183 if tabulated-list-padding is zero.
1185 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1187 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1188 whose cdr is not a cons cell correctly (bug#11038).
1190 2012-05-06 Chong Yidong <cyd@gnu.org>
1192 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1193 Accept additional plist in column descriptors.
1194 (tabulated-list-init-header): Obey it.
1195 (tabulated-list-get-entry): New function.
1196 (tabulated-list-put-tag): Use it. Use string-width instead of
1198 (tabulated-list--column-number): New function.
1199 (tabulated-list-print): Use it.
1200 (tabulated-list-print-col): New function.
1201 Set `tabulated-list-column-name' property on each column's text.
1202 (tabulated-list-print-entry): Use it.
1203 (tabulated-list-delete-entry, tabulated-list-set-col):
1205 (tabulated-list-sort-column): New command (Bug#11337).
1207 * buff-menu.el (list-buffers): Move C-x C-b binding from
1208 buff-menu.el to bindings.el.
1210 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1211 :advertised-binding feature.
1213 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1215 * progmodes/compile.el (compilation-internal-error-properties):
1216 Calculate start position correctly when end-col is set but
1217 end-line is not (Bug#11382).
1219 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1221 * man.el (Man-unindent): Use text-property-default-nonsticky to
1222 prevent untabify from inheriting face properties (Bug#11408).
1224 2012-05-05 Stefan Merten <smerten@oekonux.de>
1226 * textmodes/rst.el: Major merge with upstream development up to
1227 Docutils SVN r7399 / rst.el V1.2.1.
1229 Clarify maintainership and authors.
1231 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1232 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1233 (rst-official-version, rst-official-cvs-rev, rst-version)
1234 (rst-package-emacs-version-alist): New functions and variables
1235 for version information.
1237 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1238 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1239 (rst-mode-syntax-table, rst-mode): New and corrected functions
1240 and variables representing reStructuredText features.
1242 (rst-re): New function for reStructuredText regexes. Use in
1245 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1246 (rst-mode-map): Rebind keys.
1248 (rst-mode-lazy, rst-font-lock-keywords)
1249 (rst-font-lock-extend-region)
1250 (rst-font-lock-extend-region-internal)
1251 (rst-font-lock-extend-region-extend)
1252 (rst-font-lock-find-unindented-line-limit)
1253 (rst-font-lock-find-unindented-line-match)
1254 (rst-adornment-level, rst-font-lock-adornment-level)
1255 (rst-font-lock-adornment-match)
1256 (rst-font-lock-handle-adornment-pre-match-form)
1257 (rst-font-lock-handle-adornment-matcher): Major revision of
1258 font-locking. Integrate with other code. Use `jit-lock-mode'.
1260 (rst-preferred-adornments, rst-adjust-hook)
1261 (rst-new-adornment-down, rst-preferred-bullets)
1262 (rst-preferred-bullets, rst-indent, rst-indent-width)
1263 (rst-indent-field, rst-indent-literal-normal)
1264 (rst-indent-literal-minimized, rst-indent-comment): Change,
1265 extend and improve customization.
1267 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1268 (rst-normalize-cursor-position, rst-get-decoration)
1269 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1270 (rst-rstrip, rst-toc-insert-find-delete-contents)
1271 (rst-shift-fill-region, rst-compute-bullet-tabs)
1272 (rst-debug-print-tabs, rst-debug-mark-found)
1273 (rst-shift-region-guts, rst-shift-region-right)
1274 (rst-shift-region-left, rst-use-char-classes)
1275 (rst-font-lock-keywords-function)
1276 (rst-font-lock-indentation-point)
1277 (rst-font-lock-find-unindented-line-begin)
1278 (rst-font-lock-find-unindented-line-end)
1279 (rst-font-lock-find-unindented-line)
1280 (rst-font-lock-adornment-point, rst-font-lock-level)
1281 (rst-adornment-level-alist): Remove functions and variables.
1283 (rst-compare-adornments, rst-get-adornment-match)
1284 (rst-suggest-new-adornment, rst-get-adornments-around)
1285 (rst-adornment-complete-p, rst-get-next-adornment)
1286 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1287 (rst-straighten-adornments): Standardize function names to
1288 use "adornment" instead of "decoration". Correct callers.
1289 Similar standardizing in many places.
1291 (rst-update-section, rst-adjust, rst-promote-region)
1292 (rst-enumerate-region, rst-bullet-list-region)
1293 (rst-repeat-last-character): Correct use of `interactive'.
1295 (rst-classify-adornment, rst-find-all-adornments)
1296 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1297 (rst-find-leftmost-column, rst-repeat-last-character):
1300 (rst-find-title-line, rst-reset-section-caches)
1301 (rst-get-adornments-around, rst-adjust-adornment-work)
1302 (rst-arabic-to-roman, rst-roman-to-arabic)
1303 (rst-insert-list-pos, rst-insert-list-new-item)
1304 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1307 (rst-all-sections, rst-section-hierarchy)
1308 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1311 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1312 configuration instead of only buffer. Change where necessary.
1314 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1315 (rst-shift-region, rst-adaptive-fill): New functions for
1316 indentation and filling.
1318 (rst-comment-line-break, rst-comment-indent)
1319 (rst-comment-insert-comment, rst-comment-region)
1320 (rst-uncomment-region): New functions for handling comments.
1322 (rst-compile): Quote shell arguments.
1324 (rst-compile-pdf-preview, rst-compile-slides-preview):
1325 Delete temporary files after use.
1327 2012-05-05 Glenn Morris <rgm@gnu.org>
1329 * calendar/cal-html.el: Optionally include holidays in the output.
1330 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1331 (cal-html-holidays): New option.
1332 (cal-html-css-default): Add holiday entry.
1333 (holiday-in-range): Autoload it.
1334 (cal-html-htmlify-entry): Add optional class argument.
1335 (cal-html-htmlify-list): Add optional holidays argument.
1336 (cal-html-insert-agenda-days): Include holidays in the output.
1337 (cal-html-one-month): Maybe include holidays.
1339 * calendar/holidays.el (holiday-in-range):
1340 Move here from cal-tex-list-holidays.
1341 * calendar/cal-tex.el (cal-tex-list-holidays):
1342 Make it an obsolete alias for holiday-in-range. Update all callers.
1344 2012-05-05 Chong Yidong <cyd@gnu.org>
1346 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1349 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1351 * files.el (file-auto-mode-skip): New var.
1352 (set-auto-mode-1): Use it.
1354 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1356 * repeat.el: Use lexical-binding.
1357 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1358 (repeat-undo-count): Remove.
1360 * progmodes/octave-mod.el (octave-abbrev-start):
1361 * progmodes/f90.el (f90-abbrev-start):
1362 * face-remap.el (text-scale-adjust):
1363 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1365 * emacs-lisp/pcase.el (pcase--let*): New function.
1366 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1368 (pcase--split-pred): Be more clever about ruling out overlap between
1369 a predicate and some constant pattern.
1370 (pcase--q1): Use `null' instead of (eq foo nil).
1372 * subr.el (setq-local, defvar-local): New macros.
1373 (kbd): Redefine as an alias.
1374 (with-selected-window): Leave unrelated frames alone.
1375 (set-temporary-overlay-map): New function.
1377 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * subr.el (user-error): New function.
1380 * window.el (switch-to-buffer):
1381 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1382 (smerge-match-conflict):
1383 * simple.el (previous-matching-history-element)
1384 (next-matching-history-element, goto-history-element, undo-more)
1386 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1387 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1388 (next-file, tags-loop-scan, list-tags, complete-tag):
1389 * progmodes/compile.el (compilation-loop):
1390 * mouse.el (mouse-minibuffer-check):
1391 * man.el (Man-bgproc-sentinel, Man-goto-page):
1392 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1393 (Info-history-forward, Info-follow-reference, Info-menu)
1394 (Info-extract-menu-item, Info-extract-menu-counting)
1395 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1396 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1397 (Info-next-reference, Info-prev-reference, Info-index)
1398 (Info-index-next, Info-follow-nearest-node)
1399 (Info-copy-current-node-name):
1400 * imenu.el (imenu--make-index-alist)
1401 (imenu-default-create-index-function, imenu-add-to-menubar):
1402 * files.el (basic-save-buffer, recover-file):
1403 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1404 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1405 (checkdoc-message-text, checkdoc-defun):
1406 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1407 * cus-edit.el (customize-changed-options, customize-rogue)
1408 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1409 (custom-variable-mark-to-reset-standard)
1410 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1412 * completion.el (check-completion-length):
1413 * comint.el (comint-search-arg)
1414 (comint-previous-matching-input-string-position)
1415 (comint-previous-matching-input)
1416 (comint-replace-by-expanded-history-before-point, comint-send-input)
1417 (comint-copy-old-input, comint-backward-matching-input)
1418 (comint-goto-process-mark, comint-set-process-mark):
1419 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1420 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1422 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * dabbrev.el (dabbrev--ignore-case-p): New function.
1425 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1428 * files.el (automount-dir-prefix): Mark as obsolete.
1430 2012-05-04 Glenn Morris <rgm@gnu.org>
1432 * patcomp.el, play/bruce.el: Move to obsolete/.
1434 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1436 Fix minor Y10k bugs.
1437 * arc-mode.el (archive-unixdate):
1438 * autoinsert.el (auto-insert-alist):
1439 * calc/calc-forms.el (math-this-year):
1440 * emacs-lisp/copyright.el (copyright-current-year)
1441 (copyright-update-year, copyright):
1442 * tar-mode.el (tar-clip-time-string):
1443 * time.el (display-time-update):
1444 Don't assume years have 4 digits.
1446 2012-05-04 Chong Yidong <cyd@gnu.org>
1448 * dos-w32.el (file-name-buffer-file-type-alist)
1449 (direct-print-region-use-command-dot-com):
1450 * ffap.el (ffap-menu-regexp):
1451 * find-file.el (ff-special-constructs):
1452 * follow.el (follow-debug):
1453 * forms.el (forms--debug):
1454 * iswitchb.el (iswitchb-all-frames):
1455 * ido.el (ido-all-frames):
1456 * emacs-lisp/timer.el (timer-max-repeats):
1457 * mail/feedmail.el (feedmail-mail-send-hook)
1458 (feedmail-mail-send-hook-queued):
1459 * mail/footnote.el (footnote-signature-separator):
1460 * mail/mailabbrev.el (mail-alias-separator-string)
1461 (mail-abbrev-mode-regexp):
1462 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1463 * progmodes/idlwave.el (idlwave-libinfo-file)
1464 (idlwave-default-completion-case-is-down)
1465 (idlwave-library-routines): Convert defvars to defcustoms.
1467 * mail/rmail.el (rmail-decode-mime-charset):
1468 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1469 (idlwave-shell-fix-inserted-breaks)
1470 (idlwave-shell-activate-alt-keybindings)
1471 (idlwave-shell-use-breakpoint-glyph):
1472 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1474 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1478 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1480 * progmodes/verilog-mode.el (font-lock-keywords):
1481 Fix mis-highligting auto. Reported by Craig Barner.
1482 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1483 defines from global name space. Reported by Dan Dever.
1484 (verilog-auto-reset, verilog-auto-reset-widths)
1485 (verilog-auto-tieoff): Support using unbased numbers for
1486 AUTORESET and AUTOTIEOFF.
1487 (verilog-submit-bug-report): Update variable list.
1488 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1489 parenthesis from not matching. Reported by Michael Rytting.
1490 (verilog-auto-template-lint): Fix hash error when linting modules
1491 with no used templates.
1492 (verilog-warn, verilog-warn-error)
1493 (verilog-warn-fatal): When non-interactive report multiple
1494 warnings before exiting. Suggested by Brad Dobbie.
1495 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1496 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1497 to report unused template errors. Reported by Brad Dobbie.
1498 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1499 nets, bug438. Reported by Vns Blore.
1500 (verilog-auto-inout-module, verilog-auto-reg)
1501 (verilog-read-decls, verilog-read-sub-decls-sig)
1502 (verilog-signals-edit-wire-reg, verilog-signals-with):
1503 Fix passing of Verilog data types in ANSI input/output ports
1504 such as "output logic" into the AUTOs. Special case "wire" and
1505 "reg" for backwards compatibility presuming Verilog 2001.
1506 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1507 (verilog-preprocess): Fix replication of preprocess output.
1508 Reported by Brad Dobbie.
1509 (verilog-auto-inst-interfaced-ports):
1510 Create verilog-auto-inst-interfaced-ports, bug429.
1511 Reported by Julian Gorfajn.
1512 (verilog-after-save-font-hook)
1513 (verilog-before-save-font-hook): New variable.
1514 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1515 (verilog-save-font-mods): Wrap disabling fontification, reported
1517 (verilog-do-indent, verilog-pretty-declarations-auto)
1518 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1519 Reported by Pierre-David Pfister.
1520 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1521 of class declarations, bug292. Reported by Kevin Heilman.
1522 (verilog-read-decls): Fix 'parameter type' not appearing in
1523 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1524 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1525 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1526 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1527 Reported by David Kravitz.
1529 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1531 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1532 assignment with tests in ifs and for loops.
1533 (verilog-extended-complete-re, verilog-complete-reg): Change so
1534 that DPI inport functions don't look like fuction declarations.
1535 (verilog-pretty-expr): Don't line up assignment
1536 operations to the test and increment in if and for loops
1537 (verilog-extended-complete-re, verilog-complete-reg): Change so
1538 that DPI inport functions don't look like fuction declarations
1540 2012-05-03 Kenichi Handa <handa@m17n.org>
1542 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1543 decoding, and show a warning message without signaling an error
1546 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/bytecomp.el
1549 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1550 since cconv.el might have introduced :fun-body, internal-make-closure,
1551 and friends for bytecomp to handle (bug#11391).
1552 * custom.el (defcustom): Avoid ((λ ..) ..).
1554 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1558 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1560 * notifications.el (dbus-debug):
1561 * term/linux.el (gpm-mouse-enable):
1562 * term/screen.el (xterm-register-default-colors): Declare.
1564 2012-05-02 Chong Yidong <cyd@gnu.org>
1566 * cus-start.el (gc-cons-percentage, exec-suffixes)
1567 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1568 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1569 (make-cursor-line-fully-visible, void-text-area-pointer)
1570 (font-list-limit): Add customization data.
1572 * allout.el (allout-exposure-change-functions)
1573 (allout-structure-added-functions)
1574 (allout-structure-deleted-functions)
1575 (allout-structure-shifted-functions): Rename abnormal hooks from
1576 *-hook, and convert to defcustoms.
1577 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1578 Convert to defcustoms.
1579 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1581 * allout-widgets.el: Hook callers changed.
1583 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1585 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1586 the yanked message in preference to the default value of
1587 buffer-file-coding-system.
1589 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1591 * window.el (display-buffer--action-function-custom-type):
1594 2012-05-02 Alan Mackenzie <acm@muc.de>
1596 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1598 2012-05-01 Glenn Morris <rgm@gnu.org>
1600 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1602 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1604 * cus-edit.el (custom-variable-documentation): Simplify with format.
1606 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1607 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * simple.el (suggest-key-bindings, execute-extended-command):
1610 Move from keyboard.c.
1612 2012-05-01 Chong Yidong <cyd@gnu.org>
1614 * follow.el: Eliminate advice.
1615 (set-process-filter, process-filter, sit-for): Advice deleted.
1616 (follow-mode-off-hook): Obsolete hook removed.
1617 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1619 (follow-auto): Use a :set function.
1620 (follow-mode): Rewritten. Don't advise process filters.
1621 (follow-switch-to-current-buffer-all, follow-scroll-up)
1622 (follow-scroll-down): Assume follow-mode is bound.
1623 (follow-comint-scroll-to-bottom)
1624 (follow-align-compilation-windows): New functions.
1625 (follow--window-sorter): New function.
1626 (follow-all-followers): Use it to explicitly sort windows by their
1627 positions; don't make assumptions about next-window order.
1628 (follow-windows-start-end, follow-delete-other-windows-and-split)
1629 (follow-calc-win-start): Doc fix.
1630 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1631 vertical-motion unnecessarily.
1632 (follow-adjust-window): New function.
1633 (follow-post-command-hook): Use it.
1634 (follow-call-set-process-filter, follow-call-process-filter)
1635 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1636 (follow-stop-intercept-process-output, follow-generic-filter):
1638 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1639 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1640 New functions, replacing advice on scroll-bar-* commands.
1641 (follow-mwheel-scroll): New function (Bug#4112).
1643 * comint.el (comint-adjust-point): New function.
1644 (comint-postoutput-scroll-to-bottom): Use it.
1645 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1647 2012-05-01 Glenn Morris <rgm@gnu.org>
1649 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1650 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1651 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1652 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1653 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1654 Remove no-byte-compile setting.
1656 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1659 all-completions code to not return a number in the last cdr.
1661 2012-04-30 Leo Liu <sdl.web@gmail.com>
1663 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1666 2012-04-29 Chong Yidong <cyd@gnu.org>
1668 * follow.el (follow-calc-win-end): Rewrite to handle partial
1669 screen lines correctly (Bug#8390).
1670 (follow-avoid-tail-recenter): Minor cleanup.
1672 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1674 Avoid the obsolete `assoc' package.
1675 * speedbar.el (speedbar-refresh): Avoid adelete.
1676 (speedbar-file-lists): Simplify and avoid aput.
1677 * man.el (Man--sections, Man--refpages): New vars, replacing
1678 Man-sections-alist and Man-refpages-alist.
1679 (Man-build-section-alist, Man-build-references-alist):
1680 Use them; avoid aput.
1681 (Man--last-section, Man--last-refpage): New vars.
1682 (Man-follow-manual-reference): Use them.
1683 Use the `default' arg of completing-read.
1684 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1686 2012-04-27 Chong Yidong <cyd@gnu.org>
1688 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1690 * startup.el (x-apply-session-resources): New function.
1692 * term/ns-win.el (ns-initialize-window-system):
1693 * term/w32-win.el (w32-initialize-window-system):
1694 * term/x-win.el (x-initialize-window-system): Use it to properly
1695 set menu-bar-mode and other vars from X resources, even if the
1696 initial frame is not a window-system frame (Bug#2299).
1698 * subr.el (read-key): Avoid running filter function when setting
1699 up temporary tool bar entries (Bug#9922).
1701 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1703 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1706 2012-04-27 Chong Yidong <cyd@gnu.org>
1708 * select.el (xselect--encode-string): New function, split from
1709 xselect-convert-to-string.
1710 (xselect-convert-to-string): Use it.
1711 (xselect-convert-to-filename, xselect-convert-to-os)
1712 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1713 returned strings are properly encoded (Bug#11315).
1715 2012-04-27 Chong Yidong <cyd@gnu.org>
1717 * simple.el (delete-active-region): Move to killing custom group.
1719 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1721 * progmodes/which-func.el (which-func-current): Quote %
1722 characters for mode-line processing.
1724 2012-04-27 Chong Yidong <cyd@gnu.org>
1726 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1727 reaching eob (Bug#11286).
1729 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1731 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1732 (gdb): Make it buffer-local and init to zero.
1733 (gdb-control-commands-regexp): New variable.
1734 (gdb-send): Don't wrap in "-interpreter-exec console" if
1735 gdb-control-level is positive. Increment gdb-control-level
1736 whenever the command matches gdb-control-commands-regexp, and
1737 decrement it each time the command is "end". (Bug#11279)
1739 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1741 * window.el (adjust-window-trailing-edge, enlarge-window)
1742 (shrink-window, window-resize):
1743 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1744 windows (Bug#11276).
1746 2012-04-27 Chong Yidong <cyd@gnu.org>
1748 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1749 fix "missing prefix" warning. All callers changed.
1751 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * emacs-lisp/assoc.el: Move to obsolete/.
1755 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1759 * term/ns-win.el (ns-define-service):
1760 * progmodes/pascal.el (pascal-goto-defun):
1761 * progmodes/js.el (js--read-tab):
1762 * progmodes/etags.el (tags-lazy-completion-table):
1763 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1764 * emacs-lisp/ewoc.el (ewoc--wrap):
1765 * emacs-lisp/assoc.el (aput, adelete, amake):
1766 * doc-view.el (doc-view-convert-current-doc):
1767 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1769 2012-04-26 Chong Yidong <cyd@gnu.org>
1771 * image.el (image-type-from-buffer): Only return supported image
1774 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1775 value, for symmetry with diff-end-of-hunk.
1776 (diff-split-hunk, diff-find-source-location)
1777 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1778 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1779 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1780 compute the relevant hunk or file properly (Bug#6005).
1781 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1783 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * vc/vc.el: Replace lexical-let by lexical-binding.
1793 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1794 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1795 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1797 2012-04-26 Chong Yidong <cyd@gnu.org>
1799 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1800 (diff-mode-shared-map): Bind it to / and [remap undo].
1802 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1803 (ediff-window-setup-function): Use it as the default, to set up
1804 windows based on whether the current frame is graphical (Bug#2138).
1805 (ediff-choose-window-setup-function-automatically): Make obsolete.
1807 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1809 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * ffap.el: Remove old code for obsolete package.
1812 (ffap-complete-as-file-p): Remove.
1814 Use completion-table-with-quoting for comint and pcomplete.
1815 * comint.el (comint--unquote&requote-argument)
1816 (comint--unquote-argument, comint--requote-argument): New functions.
1817 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1818 (comint-quote-filename): Use regexp-opt-charset.
1819 (comint--common-suffix, comint--common-quoted-suffix)
1820 (comint--table-subvert): Remove.
1821 (comint-unquote-function, comint-requote-function): New vars.
1822 (comint--complete-file-name-data): Use them with
1823 completion-table-with-quoting.
1824 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1825 * pcomplete.el (pcomplete-arg-quote-list)
1826 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1827 (pcomplete-unquote-argument-function): Default to non-nil.
1828 (pcomplete-unquote-argument): Simplify.
1829 (pcomplete--common-quoted-suffix): Remove.
1830 (pcomplete-requote-argument-function): New var.
1831 (pcomplete--common-suffix): New function.
1832 (pcomplete-completions-at-point): Use completion-table-with-quoting
1833 and completion-table-subvert.
1835 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1836 (minibuffer--double-dollars): Preserve properties.
1837 (completion--sifn-requote): New function.
1838 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1840 * minibuffer.el: Add support for completion of quoted/escaped data.
1841 (completion-table-with-quoting, completion-table-subvert): New funs.
1842 (completion--twq-try, completion--twq-all): New functions.
1843 (completion--nth-completion): New function.
1844 (completion-try-completion, completion-all-completions): Use it.
1846 2012-04-25 Leo Liu <sdl.web@gmail.com>
1848 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1849 Use compilation-message if available to find real filename.
1851 2012-04-25 Chong Yidong <cyd@gnu.org>
1853 * vc/diff-mode.el (diff-setup-whitespace): New function.
1854 (diff-mode): Use it.
1856 * vc/diff.el (diff-sentinel):
1857 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1858 Whitespace mode variables based on diff style (Bug#8612).
1860 2012-04-25 Leo Liu <sdl.web@gmail.com>
1862 * progmodes/python.el (python-send-region): Add suffix .py to the
1865 * files.el (auto-mode-alist): Use javascript-mode instead.
1867 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1869 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1871 * soap-client.el (soap-resolve-references-for-sequence-type)
1872 (soap-resolve-references-for-array-type): Hack to prevent self
1873 references, see Bug#9.
1874 (soap-parse-envelope): Report the contents of the 'detail' node
1875 when receiving a fault reply.
1876 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1878 * soap-inspect.el (soap-sample-value-for-simple-type)
1879 (soap-inspect-simple-type): New function.
1881 * soap-client.el (soap-simple-type): New struct.
1882 (soap-default-xsd-types, soap-default-soapenc-types)
1883 (soap-decode-basic-type, soap-encode-basic-type):
1884 support unsignedInt and double basic types.
1885 (soap-resolve-references-for-simple-type)
1886 (soap-parse-simple-type, soap-encode-simple-type): New function.
1887 (soap-parse-schema): Parse xsd:simpleType declarations.
1889 * soap-client.el (soap-default-xsd-types)
1890 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1891 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1892 the local name of "soapenc:Array".
1893 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1894 decoding integer, byte and anyURI xsd types.
1896 2012-04-25 Chong Yidong <cyd@gnu.org>
1898 * cus-edit.el (custom-buffer-create-internal): Update header text.
1900 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1902 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1903 settings on 'system-type', not on 'window-system'. On MS-Windows,
1904 set interactive-mode on in GDB.
1906 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1909 (ruby-syntax-propertize-regexp): Remove.
1910 (ruby-syntax-propertize-function): Split regexp into chunks.
1911 Match following code directly.
1913 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1915 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1916 (ruby-syntax-propertize-regexp): New function.
1917 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1918 by a special keyword.
1920 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1921 (ruby-syntax-general-delimiters-goto-beg)
1922 (ruby-syntax-propertize-general-delimiters): New functions.
1923 (ruby-syntax-propertize-function): Use them to handle GDL.
1924 (ruby-font-lock-keywords): Move old handling of GDL...
1925 (ruby-font-lock-syntactic-keywords): .. to here.
1926 (ruby-calculate-indent): Adjust indentation for GDL.
1928 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1930 * notifications.el (top): Remove unneeded declarations.
1931 (notifications-specification-version): Change to "1.2".
1932 (notifications-interface, notifications-notify-method)
1933 (notifications-close-notification-method): Fix docstring.
1934 (notifications-get-capabilities-method): New defconst.
1935 (notifications-notify): Add :action-items, :resident and
1936 :transient hints. Change "image_data" to "image-data" and
1937 "image_path" to "image-path".
1938 (notifications-get-capabilities): New defun.
1940 2012-04-24 Leo Liu <sdl.web@gmail.com>
1942 * progmodes/python.el: Move hideshow setup to the end.
1944 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1946 * window.el (handle-select-window): Clear echo area since this is
1947 no more done by read_char (Bug#11304).
1949 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1952 and `/ M' to filter-derived-mode.
1953 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1954 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1955 (ibuffer-mark-by-mode): Use default rather than initial-input.
1956 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1958 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1960 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1961 (ibuffer-filter-by-derived-mode): New filter.
1962 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1964 2012-04-23 Andreas Politz <politza@fh-trier.de>
1966 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1968 2012-04-23 Chong Yidong <cyd@gnu.org>
1970 * cus-edit.el (customize-apropos, customize-apropos-options):
1971 Disable matching of non-option variables (Bug#11176).
1972 (customize-option, customize-option-other-window)
1973 (customize-changed-options): Doc fix.
1974 (customize-apropos-options, customize-apropos-faces)
1975 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1977 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1978 Fix word list splitting (Bug#11132).
1979 (apropos-symbol, apropos-keybinding, apropos-label)
1980 (apropos-property, apropos-function-button)
1981 (apropos-variable-button, apropos-misc-button): New faces.
1982 (apropos-symbol-face, apropos-keybinding-face)
1983 (apropos-label-face, apropos-property-face, apropos-match-face):
1984 Variables removed (Bug#8396).
1985 (apropos-library-button, apropos-format-plist, apropos-print)
1986 (apropos-print-doc, apropos-describe-plist): Callers changed.
1988 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1990 * net/xesam.el (xesam-mode-map): Use let-bound map in
1991 initialization. (Bug#11292)
1993 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1995 Preserve ispell session localwords when switching back to
1998 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1999 variable to hold buffer session localwords.
2000 (ispell-kill-ispell): add option 'clear to delete session
2002 (ispell-command-loop, ispell-change-dictionary)
2003 (ispell-buffer-local-words): Preserve session localwords when
2006 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2007 Preserve session localwords when needed.
2009 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2011 * ispell.el (ispell-insert-word) Remove unneeded function using
2012 obsolete `translation-table-for-input'.
2013 (ispell-word, ispell-process-line, ispell-complete-word):
2014 Use plain `insert' instead of removed `ispell-insert-word'.
2016 2012-04-22 Chong Yidong <cyd@gnu.org>
2018 * cus-edit.el (custom-variable-menu)
2019 (custom-variable-reset-saved, custom-face-menu)
2020 (custom-face-reset-saved): If there is no saved value, make the
2021 "reset-saved" operation bring back the default (Bug#9509).
2022 (custom-face-state): Properly detect themed faces.
2024 * faces.el (face-spec-set): Stop supporting deprecated form of
2027 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2029 Move functions from C to Lisp. Make non-blocking method calls
2030 the default. Implement further D-Bus standard interfaces.
2032 * net/dbus.el (dbus-message-internal): Declare function.
2033 Remove unneeded function declarations.
2034 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2035 (dbus-message-type-method-return, dbus-message-type-error)
2036 (dbus-message-type-signal): Declare variables. Remove local
2038 (dbus-interface-dbus, dbus-interface-peer)
2039 (dbus-interface-introspectable, dbus-interface-properties)
2040 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2042 (dbus-interface-objectmanager): New defconst.
2043 (dbus-call-method, dbus-call-method-asynchronously)
2044 (dbus-send-signal, dbus-method-return-internal)
2045 (dbus-method-error-internal, dbus-register-service)
2046 (dbus-register-signal, dbus-register-method): New defuns, moved
2048 (dbus-call-method-handler, dbus-setenv)
2049 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2051 (dbus-call-method-non-blocking): Make it an obsolete function.
2052 (dbus-unregister-object, dbus-unregister-service)
2053 (dbus-handle-event, dbus-register-property)
2054 (dbus-property-handler): Obey the new structure of
2055 `bus-registered-objects'.
2056 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2057 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2058 Use `dbus-call-method'.
2060 2012-04-22 Chong Yidong <cyd@gnu.org>
2062 * cus-edit.el (custom-commands, custom-reset-menu)
2063 (Custom-reset-standard): Tweak labels.
2064 (custom-reset-button-menu): Change default to t.
2065 (custom-buffer-create-internal): For the custom-reset-button-menu
2066 case, put the revert button first.
2067 (custom-group-subtitle): New face.
2068 (custom-group-value-create): Align docstring to a specific column.
2070 * wid-edit.el (widget-documentation-link-add): Don't handle
2071 indentation in this function.
2072 (widget-documentation-string-indent-to): New function.
2073 (widget-documentation-string-value-create): Use it.
2075 * autorevert.el (auto-revert):
2076 * epg-config.el (epg):
2077 * ibuffer.el (ibuffer):
2080 * eshell/eshell.el (eshell):
2081 * net/ange-ftp.el (ange-ftp):
2082 * progmodes/ebnf2ps.el (postscript):
2083 * progmodes/flymake.el (flymake):
2084 * progmodes/prolog.el (prolog):
2085 * progmodes/verilog-mode.el (verilog-mode):
2086 * progmodes/which-func.el (which-func):
2087 * term/xterm.el (xterm):
2088 * textmodes/picture.el (picture):
2089 * textmodes/tildify.el (tildify):
2090 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2091 customization buffers.
2093 2012-04-22 Alan Mackenzie <acm@muc.de>
2095 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2096 Adding a ) can hide the resulting (..) from searches. Fix it.
2097 Bound the backward search to the position of the existing (.
2099 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2101 * progmodes/verilog-mode.el (verilog-mode): Check whether
2102 which-func-modes is t before adding verilog-mode.
2103 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2105 2012-04-21 Leo Liu <sdl.web@gmail.com>
2107 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2109 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2111 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2112 filling of the last column of a table (Bug#5635).
2113 (woman-find-next-control-line): New arg, specifying an additional
2114 regexp component for the control line.
2115 (woman2-roff-buffer): Use it.
2116 (woman-break-table): New function.
2117 (woman2-TS): Use it.
2119 2012-04-21 Chong Yidong <cyd@gnu.org>
2121 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2122 (woman-horizontal-escapes, woman-negative-vertical-space)
2123 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2124 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2126 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * minibuffer.el (completion-file-name-table): Complete user names.
2130 2012-04-20 Leo Liu <sdl.web@gmail.com>
2132 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2135 2012-04-20 Chong Yidong <cyd@gnu.org>
2137 * server.el (server-execute): Respect initial-buffer-choice if it
2138 is a string and there are no files to open (Bug#2825).
2139 (server-create-window-system-frame, server-create-tty-frame):
2140 Don't switch buffers here.
2141 (server-process-filter): Only try to open a window system frame if
2142 compiled with graphical support (Bug#8314).
2144 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2146 * battery.el (battery-echo-area-format): Display remaining time
2147 for sysfs backend too (Bug#11269).
2148 (battery-linux-sysfs): Fix conditional for the charge.
2150 2012-04-20 Chong Yidong <cyd@gnu.org>
2152 * progmodes/gdb-mi.el (gdb): Revert previous change.
2153 (gdb-inferior-io--init-proc): New function.
2154 (gdb-init-1): Use it.
2155 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2156 responsible for allocating a new pty and hooking it to gdb when
2157 the old pty gets an EIO due to process exit.
2158 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2159 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2160 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2162 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2164 * window.el (window-min-size, window-sizable, window-min-delta)
2165 (window-max-delta, window--resizable, window-resizable)
2166 (window-total-size, window-full-height-p, window-full-width-p)
2167 (window-in-direction, window--resize-mini-window, window-resize)
2168 (window--resize-child-windows-normal)
2169 (window--resize-child-windows, window--resize-siblings)
2170 (window--resize-this-window, adjust-window-trailing-edge)
2171 (enlarge-window, shrink-window): Doc fixes.
2173 2012-04-20 Chong Yidong <cyd@gnu.org>
2175 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2176 New function to call delete-process on the gdb-inferior buffer's pty.
2177 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2178 pty process (Bug#11273).
2179 (gdb-update): New arg to suppress talking to the gdb process.
2180 (gdb-done-or-error): Use it.
2181 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2182 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2183 sentinel not being called.
2185 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2187 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2189 2012-04-20 Glenn Morris <rgm@gnu.org>
2191 * net/network-stream.el (open-network-stream): Doc fix.
2193 2012-04-20 Chong Yidong <cyd@gnu.org>
2195 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2197 2012-04-20 Alan Mackenzie <acm@muc.de>
2199 Ensure searching for keywords is case sensitive.
2201 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2202 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2203 (c-defun-name, c-mark-function, c-cpp-define-name)
2204 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2205 (c-context-line-break): Bind case-fold-search to nil.
2207 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2208 Bind case-fold-search to nil.
2210 2012-04-20 Chong Yidong <cyd@gnu.org>
2212 * mail/sendmail.el (mail-bury): Call return action with the right
2213 Rmail buffer (Bug#11242).
2215 * server.el (server-process-filter): Handle corner case where both
2216 tty and nowait options are present (Bug#11102).
2218 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2220 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2221 (top level): Put into the executable the ident-style '$Id:' tag on
2224 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * electric.el (electric-indent-post-self-insert-function): Check that
2227 electric-indent-mode is enabled in current buffer.
2229 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2231 * imenu.el (imenu-progress-message): Restore; it is "used" in
2232 erc/erc-imenu.el and net/snmp-mode.el.
2234 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2236 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2237 (mouse-avoidance-nudge-mouse): Remove unused binding.
2239 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2241 * descr-text.el (describe-char):
2242 * progmodes/python.el (python-describe-symbol):
2243 Don't call `toggle-read-only', set `buffer-read-only'.
2245 * imenu.el (imenu-default-goto-function): Mark unused args.
2246 (imenu-progress-message): Remove obsolete macro; all callers changed.
2248 * subr.el (keymap-canonicalize): Remove unused binding.
2249 (read-passwd): Mark unused arg.
2251 * tutorial.el (tutorial--display-changes): Remove unused binding.
2252 (tutorial--save-tutorial-to): Remove unused variable.
2254 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2255 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2256 (package-generate-autoloads, package-menu--generate)
2257 (package-menu--find-upgrades): Remove unused bindings.
2259 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2260 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2261 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2262 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2263 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2264 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2265 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2266 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2267 (cua-delete-char-rectangle): Mark unused args.
2268 (cua-align-rectangle): Remove unused binding.
2270 * mail/rmail.el (compilation--message->loc)
2271 (epa--find-coding-system-for-mime-charset): Declare.
2273 * net/dbus.el (dbus-register-service): Declare.
2274 (dbus-name-owner-changed-handler): Remove unused binding.
2276 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2277 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2278 (nxml-scan-backward-within): Mark unused arg.
2279 (nxml-dynamic-markup-word): Remove unused binding.
2281 * mouse.el (mouse-menu-major-mode-map):
2282 * emacs-lisp/authors.el (authors-scan-change-log)
2283 (authors-add-to-author-list):
2284 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2285 * emacs-lisp/smie.el (smie-auto-fill):
2286 * mail/sendmail.el (mail-bury):
2287 * mail/unrmail.el (unrmail):
2288 * net/tls.el (open-tls-stream):
2289 * textmodes/picture.el (picture-mouse-set-point):
2290 Remove unused bindings.
2292 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2294 * net/tramp.el (tramp-action-password): Let-bind
2295 `enable-recursive-minibuffers' to t.
2297 2012-04-18 Sam Steingold <sds@gnu.org>
2299 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2300 instead of 'string to accommodate values like [f11].
2301 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2302 * progmodes/gdb-mi.el: Likewise.
2304 2012-04-18 Leo Liu <sdl.web@gmail.com>
2306 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2308 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2311 2012-04-18 Chong Yidong <cyd@gnu.org>
2313 * simple.el (line-move): Use forward-line if in batch mode
2316 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2318 * files.el (after-find-file): Do not try to add a final newline if
2319 the buffer is read-only (Bug#11156).
2321 2012-04-17 Richard Stallman <rms@gnu.org>
2323 * mail/rmail.el (rmail-start-mail):
2324 Pass (rmail-mail-return...) for the return-action.
2325 Pass (rmail-yank-current-message...) for the yank-action.
2326 (rmail-yank-current-message): New function.
2327 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2328 (rmail-reply): Likewise.
2329 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2331 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2332 buffer, not the last. Reject temp buffers. Use the rmail-mode
2335 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2337 * server.el (server-ensure-safe-dir): Simplify.
2339 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * emacs-lisp/smie.el: Provide smarter auto-filling.
2342 (smie-auto-fill): New function.
2343 (smie-setup): Use it.
2345 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2347 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2349 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2350 (comment-indent): Use it.
2352 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2354 * ses.el: The overall change is to add cell renaming, that is
2355 setting fancy names for cell symbols other than name matching
2356 "\\`[A-Z]+[0-9]+\\'" regexp .
2357 (ses-localvars): Add ses--renamed-cell-symb-list.
2358 (ses-create-cell-variable): New defun.
2359 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2360 (ses-relocate-formula): Relocate formulas only for cells the
2361 symbols of which are not renamed, i.e. symbols whose names do not
2362 match regexp "\\`[A-Z]+[0-9]+\\'".
2363 (ses-relocate-all): Relocate values only for cells the symbols of
2364 which are not renamed.
2365 (ses-load): Create cells variables as the (ses-cell ...) are read,
2366 in order to check row col consistency with cell symbol name only
2367 for cells that are not renamed.
2368 (ses-replace-name-in-formula): New defun.
2369 (ses-rename-cell): New defun.
2371 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2373 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2374 New option (bug#11118).
2375 (perl-calculate-indent): Respect it.
2377 2012-04-17 Glenn Morris <rgm@gnu.org>
2379 * dired-aux.el (dired-mark-read-string): Doc fix.
2381 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2383 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2384 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2386 2012-04-17 Glenn Morris <rgm@gnu.org>
2388 * mouse.el (mouse-drag-track):
2389 * speedbar.el (speedbar-frame-mode):
2390 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2392 2012-04-16 Leo Liu <sdl.web@gmail.com>
2394 * progmodes/python.el: Trivial cleanup.
2396 2012-04-16 Glenn Morris <rgm@gnu.org>
2398 * vc/vc.el (vc-string-prefix-p):
2399 * vc/pcvs-util.el (cvs-string-prefix-p):
2400 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2401 * mpc.el (mpc-string-prefix-p):
2402 Make all of these into obsolete aliases for string-prefix-p.
2404 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2406 * textmodes/two-column.el: Move custom options to the start.
2407 (frame-width): Remove compat definition.
2408 (2C-associate-buffer, 2C-dissociate):
2409 Use with-current-buffer rather than save-excursion.
2410 (2C-dissociate): Force a mode-line update.
2411 (2C-autoscroll): Use ignore-errors.
2413 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2416 * emacs-lisp/cl-extra.el (*random-state*):
2417 Remove unnecessary declaration.
2419 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2421 * play/cookie1.el (cookie-snarf):
2422 Give an explicit error if input file cannot be read.
2424 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2426 * progmodes/perl-mode.el (c-macro-expand):
2427 Remove unnecessary autoload (it is in loaddefs.el).
2429 * textmodes/picture.el (picture-desired-column)
2430 (picture-update-desired-column): Convert comments to doc-strings.
2431 (picture-substitute): Remove function.
2432 (picture-mode-map): Initialize in the defvar.
2434 * woman.el: Remove eval-after-load for tar-mode.
2435 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2436 (woman-tar-extract-file): Autoload it.
2438 * frame.el (automatic-hscrolling): Make this alias obsolete.
2440 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2442 * ispell.el (ispell-set-spellchecker-params): Post-process
2443 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2444 (ispell-dictionary-base-alist): Revert to original XEmacs
2445 friendly version for default. [:alpha:] will be added in
2446 `ispell-set-spellchecker-params' if needed
2448 2012-04-16 Chong Yidong <cyd@gnu.org>
2450 * image.el (imagemagick--extension-regexp): New variable.
2451 (imagemagick-register-types): Use it.
2452 (imagemagick-types-inhibit): Add :set function. Allow new value
2453 of t to inhibit all types.
2455 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2456 so we can preload it.
2458 * loadup.el (fboundp): Preload regexp-opt, needed by
2459 imagemagick-register-types.
2461 2012-04-15 Chong Yidong <cyd@gnu.org>
2463 * frame.el (scrolling): Remove nearly unused customization group.
2465 * scroll-all.el (scroll-all-mode): Move to windows group.
2467 2012-04-15 Chong Yidong <cyd@gnu.org>
2469 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2471 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2473 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2474 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2476 2012-04-15 Glenn Morris <rgm@gnu.org>
2478 * simple.el (process-file-side-effects): Doc fix.
2480 2012-04-15 Glenn Morris <rgm@gnu.org>
2482 * international/mule-cmds.el (set-language-environment): Doc fix.
2484 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2486 * server.el (server-auth-key, server-generate-key): Doc fixes.
2487 (server-get-auth-key): Doc fix. Use `string-match-p'.
2488 (server-start): Reflow docstring.
2490 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2492 * server.el (server-generate-key): `called-interactively-p'
2493 requires a parameter.
2495 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2497 * server.el (server-auth-key): New variable.
2498 (server-generate-key, server-get-auth-key): New function.
2499 (server-start): Use the new variable and functions to allow
2500 setting a permanent server key (bug#9423).
2502 2012-04-14 Leo Liu <sdl.web@gmail.com>
2504 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2506 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2509 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2510 Emacs uses American spelling.
2512 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2514 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2515 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2516 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2517 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2519 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * progmodes/which-func.el (which-func-modes): Change default.
2523 2012-04-14 Kim F. Storm <storm@cua.dk>
2525 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2526 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2528 2012-04-14 Chong Yidong <cyd@gnu.org>
2530 * custom.el (custom-theme-set-variables): Doc fix.
2532 2012-04-14 Glenn Morris <rgm@gnu.org>
2534 * international/mule.el (set-auto-coding-for-load): Doc fix.
2536 2012-04-14 Alan Mackenzie <acm@muc.de>
2538 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2539 imenu work again for Objective C Mode. Correct the *-index values,
2540 these having been disturbed by a previous change in 2011-08.
2542 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2543 Correct two search limits.
2545 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2549 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2551 * international/characters.el: Fix sorting.
2553 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2555 * international/characters.el: Add more missing Latin case pairs.
2557 2012-04-14 Glenn Morris <rgm@gnu.org>
2559 * files.el (dir-locals-set-class-variables): Doc fix.
2561 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2563 * international/characters.el: Add set-case-syntax-pair call for
2564 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2565 counterpart. (Bug#11209)
2567 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2569 2012-04-14 Glenn Morris <rgm@gnu.org>
2571 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2573 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2575 * textmodes/ispell.el (ispell-dictionary-base-alist):
2576 Add data for Hebrew.
2578 2012-04-14 Chong Yidong <cyd@gnu.org>
2580 * net/rcirc.el (rcirc-cmd-quit):
2581 Revert 2012-03-18 change (Bug#11192).
2583 2012-04-14 Glenn Morris <rgm@gnu.org>
2585 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2587 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2589 * minibuffer.el (completion-in-region-mode-map):
2590 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2592 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2594 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2596 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2598 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2599 to allow `C-M-f' and `C-M-b' to move to the nearest path
2600 separator (bug#9511).
2602 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2604 * avoid.el: Require cl when compiling. And also move the
2605 `provide' to the end.
2607 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2609 * avoid.el (mouse-avoidance-banish-position): New variable.
2610 (mouse-avoidance-banish-destination): Use it (bug#10165).
2612 2012-04-13 Leo Liu <sdl.web@gmail.com>
2614 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2616 2012-04-13 Ken Brown <kbrown@cornell.edu>
2618 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2619 this is no longer needed now that cygstart understands file:// URLs.
2620 (browse-url-filename-alist): For the same reason, don't modify
2621 file:// URLs on Cygwin.
2623 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2625 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2626 the region on shift if the binding is already shifted (bug#11221).
2628 2012-04-12 Glenn Morris <rgm@gnu.org>
2630 * mail/mailpost.el: Move to obsolete/.
2632 2012-04-12 Drew Adams <drew.adams@oracle.com>
2634 * imenu.el (imenu--generic-function): Ignore invisible definitions
2637 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2639 * hexl.el (hexl-bits): New variable.
2640 (hexl-options): Mention the variable in the doc string.
2641 (hexl-rulerise, hexl-line-displen): New functions.
2642 (hexl-mode): Mention the new variable.
2643 (hexl-mode, hexl-current-address, hexl-current-address):
2645 (hexl-ascii-start-column): New function.
2646 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2647 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2649 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2651 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2652 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2653 the encoding, as expected by hunspell.
2655 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * battery.el (battery--linux-sysfs-regexp): New const.
2658 (battery-status-function): Use it. Remove yeeloong special case.
2659 (battery-yeeloong-sysfs): Remove.
2660 (battery-echo-area-format): Remove yeeloong special case.
2662 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2665 Reported by Noah Friedman.
2667 * subr.el (read-passwd): Use read-string.
2669 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2671 * vcursor.el (vcursor-move): Increase the priority of the overlay
2674 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2676 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2677 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2679 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2681 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2682 define-minor-mode (bug#10760).
2684 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2686 * progmodes/grep.el (rgrep): Tweak the find command line so
2687 that directories matching `grep-find-ignored-files' won't be
2690 2012-04-11 Chong Yidong <cyd@gnu.org>
2692 * startup.el (command-line): Remove support for long-obsolete
2693 variable font-lock-face-attributes.
2695 2012-04-11 Glenn Morris <rgm@gnu.org>
2697 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2699 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2701 * window.el (window--state-get-1): Obey window-point-insertion-type.
2703 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2705 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2706 to previous function when point is on the first character of a
2707 function. Take care of that in `narrow-to-defun' (bug#6157).
2709 2012-04-11 Glenn Morris <rgm@gnu.org>
2711 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2712 not just file-errors.
2714 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2715 (vc-bzr-sha1): Use internal sha1.
2717 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2721 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2723 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2724 that start in the middle of the line (bug#10496).
2726 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2728 * battery.el (battery-linux-proc-acpi): Only one battery is
2729 discharged at a time, but that seems to confuse battery.el when
2730 computing `rate-type' for the battery not being discharged
2733 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2737 * international/quail.el: Use dolist and simplify.
2738 (quail-define-package, quail-update-keyboard-layout)
2739 (quail-define-rules): Use dolist.
2740 (quail-insert-kbd-layout, quail-get-translation): CSE.
2742 * tmm.el: Use dolist, remove left over hook.
2743 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2745 (calendar-load-hook): Don't mess with it.
2747 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2748 Use derived-mode-p. Run the diff asynchronously.
2750 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2752 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2754 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2756 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2757 (list-dynamic-libraries--loaded): New function.
2758 (list-dynamic-libraries--refresh): Use it.
2760 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2762 * progmodes/python.el (python-fill-paragraph):
2763 Make python-fill-region in a multiline string work when font-lock is
2764 disabled (bug#7018).
2766 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2768 * language/european.el (cp775): Add oem/legacy (en)coding on
2769 DOS/MS Windows for the Baltic languages. There are still plenty
2770 of texts written in this encoding/codepage (bug#6519).
2772 2012-04-10 Glenn Morris <rgm@gnu.org>
2774 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2775 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2777 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2779 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2780 next-line "n" and previous-line "p" in order to make recentf more
2781 consistent with ibuffer, dired or org-mode (bug#9387).
2783 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2785 * image.el (put-image): Return the overlay created instead of the
2786 optional input string (bug#7834). Note that this may break code
2787 that is (for some reason or other) depending on `put-image'
2788 returning the string.
2790 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2792 * simple.el (zap-to-char): Allow zapping using input methods
2795 * textmodes/fill.el (fill-region): Leave point and mark where they
2796 were before filling (bug#5399).
2798 2012-04-09 Glenn Morris <rgm@gnu.org>
2800 * version.el (emacs-bzr-get-version):
2801 Handle lightweight checkouts of local branches.
2803 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2805 * international/characters.el: Recover lost case pairs. (Bug#11209)
2807 2012-04-09 Chong Yidong <cyd@gnu.org>
2809 * custom.el (custom-variable-p): Return nil for non-symbol
2810 arguments instead of signaling an error.
2811 (user-variable-p): Obsolete alias for custom-variable-p.
2813 * apropos.el (apropos-variable):
2814 * files-x.el (read-file-local-variable):
2815 * simple.el (set-variable):
2816 * woman.el (woman-mini-help):
2817 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2819 2012-04-09 Glenn Morris <rgm@gnu.org>
2821 * startup.el (normal-top-level): Don't look for leim-list.el
2822 in places where it will not be found. (Bug#910)
2824 * international/mule-cmds.el (set-default-coding-systems):
2825 * files.el (normal-mode):
2826 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2827 This function was removed with ucs-tables.el in 2008.
2829 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2831 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2832 ispell-encoding8-command to "-i", without a trailing space.
2833 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2834 separate command-line arguments, to specify the encoding, since
2835 that's how hunspell expects it.
2837 2012-04-08 Glenn Morris <rgm@gnu.org>
2839 * loadup.el: Load bindings before cus-start.
2840 This reduces somewhat the number of "rogue" settings in emacs -Q.
2842 2012-04-07 Glenn Morris <rgm@gnu.org>
2844 * version.el (emacs-bzr-get-version): New function.
2845 (emacs-bzr-version): New variable.
2846 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2847 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2849 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2851 * international/uni-bidi.el, international/uni-category.el:
2852 * international/uni-combining.el, international/uni-decimal.el:
2853 * international/uni-decomposition.el, international/uni-digit.el:
2854 * international/uni-lowercase.el, international/uni-mirrored.el:
2855 * international/uni-name.el, international/uni-numeric.el:
2856 * international/uni-titlecase.el, international/uni-uppercase.el:
2857 Update for Unicode 6.1.
2859 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2861 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2863 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2865 * window.el (shrink-window): Mention the `window-min-height'
2866 variable in the doc string.
2868 2012-04-05 Bastien Guerry <bzg@altern.org>
2870 * color.el (color-lighten-name): Fix typo.
2872 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * server.el (server--on-display-p): New function.
2875 (server--on-display-p): Use it.
2877 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2879 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2882 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2884 * comint.el (comint--common-quoted-suffix): Check string boundary
2885 before comparing (bug#11158).
2886 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2888 2012-04-04 Chong Yidong <cyd@gnu.org>
2890 * minibuffer.el (completion-extra-properties): Doc fix.
2892 * subr.el (delayed-warnings-hook): Doc fix.
2894 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2896 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2897 selection (Bug#11159).
2898 (epa-insert-keys): Inform that the default public key will be
2899 exported if no key is selected.
2901 2012-04-04 Richard Stallman <rms@gnu.org>
2903 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2905 2012-04-03 Chong Yidong <cyd@gnu.org>
2907 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2908 mail-insert-file, not its obsolete alias mail-attach-file.
2910 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2912 * notifications.el (notifications-notify): Fix docstring.
2914 2012-04-02 Glenn Morris <rgm@gnu.org>
2916 * emacs-lisp/authors.el (authors-aliases): Another addition.
2918 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2920 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2921 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2922 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2924 2012-04-01 Chong Yidong <cyd@gnu.org>
2926 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2927 Handle root directory properly.
2928 (copy-directory): Caller changed.
2930 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2931 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2933 2012-03-31 Glenn Morris <rgm@gnu.org>
2935 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2937 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2939 * calendar/calendar.el (calendar-window-list)
2940 (calendar-hide-window): Restore. (Bug#11140)
2941 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2943 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2945 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2947 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2948 Check if file is a symlink (Bug#10489).
2950 * files.el (copy-directory): Likewise.
2952 2012-03-30 Chong Yidong <cyd@gnu.org>
2954 * image.el (imagemagick-types-inhibit)
2955 (imagemagick-register-types): Doc fix.
2957 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2959 * ispell.el (ispell-get-extended-character-mode):
2960 Disable extended-char-mode for hunspell. hunspell does not support it
2961 and treats ~word as ordinary words in pipe mode.
2963 2012-03-30 Glenn Morris <rgm@gnu.org>
2965 * tutorial.el (help-with-tutorial): Ensure local variables don't
2966 happen to make the buffer read-only. (Bug#11127)
2968 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2971 (perl-calculate-indent): Return `noindent' in strings.
2973 2012-03-28 Sam Steingold <sds@gnu.org>
2975 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2976 instead of the broken adhockery which does not prevent calendar
2977 buffers from being displayed at random after exit.
2978 (calendar-window-list, calendar-hide-window): Remove the broken
2981 2012-03-28 Glenn Morris <rgm@gnu.org>
2983 * replace.el (query-replace-map): Doc fix.
2985 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2987 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2988 contents. (Bug#11109)
2990 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2994 (avl-tree--check, avl-tree--check-node): New funs.
2996 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2998 * window.el (switch-to-visible-buffer): New option.
2999 (switch-to-prev-buffer, switch-to-next-buffer):
3000 Observe switch-to-visible-buffer. Make sure that checking for a window
3001 showing a buffer already is done on the same frame.
3003 2012-03-27 Glenn Morris <rgm@gnu.org>
3005 * startup.el (mail-host-address): Doc fix.
3007 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3009 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3012 2012-03-26 Ami Fischman <ami@fischman.org>
3014 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3016 2012-03-26 Glenn Morris <rgm@gnu.org>
3018 * files.el (save-buffers-kill-emacs): Doc fix.
3020 * startup.el (normal-top-level, command-line, command-line-1):
3021 Give them doc strings.
3023 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3025 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3026 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3028 2012-03-25 Chong Yidong <cyd@gnu.org>
3030 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3031 theme if it was previously enabled before (Bug#11031).
3033 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3034 spec with custom-face-get-current-spec if its :shown-value is not
3035 determined yet (Bug#9337).
3036 (customize-create-theme, custom-theme-revert): Doc fixes.
3038 * button.el (button-at): Minor addition to docstring.
3040 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3042 * vc/vc.el (vc-merge): Fix a prompt.
3044 2012-03-24 Chong Yidong <cyd@gnu.org>
3046 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3049 * button.el (button-at): Minor addition to docstring.
3051 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3053 * newcomment.el (comment-choose-indent): No space after BOL.
3055 2012-03-22 Sam Steingold <sds@gnu.org>
3057 * window.el (switch-to-prev-buffer): Revert last patch because the
3058 bug turned out to be an advertised feature (Elisp manual 28.14).
3060 2012-03-22 Glenn Morris <rgm@gnu.org>
3062 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3063 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3065 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3067 * net/network-stream.el (network-stream-open-starttls): Make error
3068 message under Windows be less misleading.
3070 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3072 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3073 understands (bug#9942).
3075 2012-03-22 Chong Yidong <cyd@gnu.org>
3077 * simple.el (end-of-visible-line): Handle return value of
3078 next-single-property-change properly (Bug#9371).
3080 2012-03-22 Kenichi Handa <handa@m17n.org>
3082 * international/quail.el (quail-insert-kbd-layout): Fix previous
3083 change. To avoid unwanted bidi reordering, use
3084 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3086 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3088 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3089 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3090 (ruby-beginning-of-indent): Be more careful with the difference
3091 between word-boundary and symbol boundary.
3092 (ruby-mode-syntax-table): Make : a symbol constituent.
3094 2012-03-21 Andreas Politz <politza@fh-trier.de>
3096 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3098 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * progmodes/etags.el (tags-completion-at-point-function):
3103 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3105 2012-03-21 Sam Steingold <sds@gnu.org>
3107 * progmodes/etags.el (tags-completion-at-point-function):
3108 Avoid the error when point is inside the pattern.
3110 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3112 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3115 2012-03-21 Drew Adams <drew.adams@oracle.com>
3117 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3119 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3121 * ido.el (ido-set-current-directory, ido-read-internal)
3122 (ido-choose-completion-string, ido-completion-help): Handle nil
3123 value of ido-completion-buffer (Bug#11008).
3125 2012-03-21 Sam Steingold <sds@gnu.org>
3127 * window.el (switch-to-prev-buffer): Do not switch to a visible
3128 window previous buffer, just like with the frame previous buffers.
3130 2012-03-21 Chong Yidong <cyd@gnu.org>
3132 * faces.el (make-face, make-empty-face, copy-face):
3133 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3136 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3139 (widget-complete): Remove broken use of it.
3141 2012-03-20 Chong Yidong <cyd@gnu.org>
3143 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3144 Use string-width and truncate-string-width to handle arbitrary
3147 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3149 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3150 to draw rectangles, not squares. (Regression introduced by revno
3151 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3153 2012-03-18 Chong Yidong <cyd@gnu.org>
3155 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3156 it is not yet defined (for temacs).
3158 2012-03-18 Leo Liu <sdl.web@gmail.com>
3160 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3162 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3164 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3165 (ispell-choices-win-default-height, ispell-silently-savep)
3166 (ispell-dictionary-alist, ispell-encoding8-command)
3167 (ispell-check-version, ispell-aspell-find-dictionary)
3168 (ispell-valid-dictionary-list, ispell-words-keyword)
3169 (ispell-get-word, ispell-internal-change-dictionary)
3170 (ispell-region, ispell-skip-region-list)
3171 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3172 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3173 (ispell-message-text-end, ispell-message)
3174 (ispell-buffer-local-parsing): Doc fix.
3176 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3178 * htmlfontify.el: Add support for code block fontification for ODT
3180 (hfy-optimisations): Define new option
3182 (hfy-fontify-buffer): Honor above setting.
3183 (hfy-begin-span, hfy-end-span): New routines factored out form
3184 `hfy-fontify-buffer'.
3185 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3186 that permit insertion of custom tags.
3187 (hfy-fontify-buffer): Use above handlers.
3188 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3189 (hfy-face-to-css): Re-defined to be a variable.
3190 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3191 over multiple runs. This is made possible by having the caller let
3192 bind a special variable `hfy-user-sheet-assoc'.
3193 (htmlfontify-string): New defun.
3194 (hfy-compile-face-map): Make sure that the last char in the
3195 buffer is correctly fontified.
3196 (hfy-face-resolve-face): Whitespace only change.
3198 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3200 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3203 2012-03-16 Leo Liu <sdl.web@gmail.com>
3205 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3207 2012-03-16 Alan Mackenzie <acm@muc.de>
3209 Further optimise the handling of large macros.
3211 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3212 limit to a call of `c-literal-limits'.
3213 (c-determine-+ve-limit): New function.
3214 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3215 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3216 In CASE 5B, restrict a search limit to 500.
3217 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3219 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3220 Restrict macro bounds to +-500 from after-change's BEG END.
3222 2012-03-16 Leo Liu <sdl.web@gmail.com>
3224 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3226 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3228 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3229 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3231 2012-03-16 Glenn Morris <rgm@gnu.org>
3233 * view.el (view-buffer, view-buffer-other-window)
3234 (view-buffer-other-frame): Doc fixes re special mode-class.
3236 * subr.el (eval-after-load): If named feature is provided not from
3237 a file, run after-load forms. (Bug#10946)
3239 * calendar/calendar.el (calendar-insert-at-column):
3240 Handle non-unit-width characters a bit better. (Bug#10978)
3242 2012-03-15 Chong Yidong <cyd@gnu.org>
3244 * emacs-lisp/ring.el (ring-extend): New function.
3245 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3247 * comint.el (comint-read-input-ring)
3248 (comint-add-to-input-history): Grow comint-input-ring lazily.
3250 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3253 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3255 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3256 (imenu-add-to-menubar): Don't add a redundant index.
3257 (imenu-update-menubar): Handle a dynamically composed keymap.
3259 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3261 * mail/sendmail.el (mail-encode-header):
3262 Bind rfc2047-encode-encoded-words to nil.
3264 2012-03-13 Glenn Morris <rgm@gnu.org>
3266 * calendar/calendar.el (calendar-string-spread):
3267 Handle non-unit-width characters a bit better. (Bug#10978)
3269 2012-03-13 Leo Liu <sdl.web@gmail.com>
3271 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3272 directory and file as argument (Bug#10822).
3274 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3276 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3277 For dynamically generated code, follow $PC.
3278 (gdb-disassembly-handler-custom): Handle no function name case.
3280 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3282 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3283 * emulation/ws-mode.el (ws-query-replace):
3284 * sort.el (sort-regexp-fields):
3285 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3287 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3289 * dabbrev.el: Fix cycle completion order (bug#10963).
3290 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3291 (dabbrev-completion): Don't use an obarray; provide
3292 a cycle-sort-function.
3294 2012-03-12 Leo Liu <sdl.web@gmail.com>
3296 * simple.el (kill-new): Use equal-including-properties for comparison.
3297 (kill-do-not-save-duplicates): Doc fix.
3299 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3301 * dabbrev.el: Fix cycle completion (bug#10963).
3302 Use lexical binding and wrap to 80 columns.
3303 (dabbrev-completion): Delay computing the list of completions.
3305 2012-03-12 Kenichi Handa <handa@m17n.org>
3307 * international/quail.el (quail-insert-kbd-layout): Surround each
3308 row by LRO and PDF instead of inserting many LRMs. Pad the left
3309 and right of each non-spacing marks. Insert invisible space
3310 between lower and upper characters to prevent composition.
3312 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3314 * minibuffer.el (minibuffer-complete): Don't get confused when the
3315 function is run twice via different commands (bug#10958).
3316 (complete-with-action): Fix docstring.
3318 2012-03-12 Chong Yidong <cyd@gnu.org>
3320 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3321 (nxml-completion-at-point-function): New function.
3322 (nxml-mode): Use it.
3323 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3325 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3326 Load generated autoloads file before byte compiling (Bug#10970).
3327 (package--make-autoloads-and-compile): New helper fun.
3329 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3331 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3333 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3335 * autorevert.el (auto-revert-handler): Ensure, that
3336 file-readable-p is applied only for local files or in
3337 auto-revert-tail-mode.
3339 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3341 * server.el (server-eval-at): Handle non-tcp connections.
3342 Decode result string.
3344 * server.el (server-msg-size): New constant.
3345 (server-reply-print): New function.
3346 (server-eval-and-print): Use it.
3347 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3350 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3352 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3355 2012-03-11 Chong Yidong <cyd@gnu.org>
3357 * simple.el (goto-line): Doc fix (Bug#9938).
3359 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3361 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3362 when finished (Bug#10963).
3364 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3366 * window.el (split-window-below): Fix bug in case where
3367 split-window-keep-point is nil (Bug#10971).
3369 2012-03-11 Juri Linkov <juri@jurta.org>
3371 * replace.el (replace-highlight): Set isearch-word to nil
3372 unconditionally. (Bug#10887)
3374 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3376 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3377 mairix-replace-illegal-chars; all callers changed. Don't remove
3378 ^, ~, and = characters: they are meaningful in mairix search specs.
3379 (mairix-widget-create-query): Add usage information about mairix
3380 search forms: negating words, searching for substrings, etc.
3382 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3384 * international/fontset.el (font-encoding-alist): Add an entry for
3387 2012-03-10 Richard Stallman <rms@gnu.org>
3389 * mail/sendmail.el (mail-encode-header):
3390 Set rfc2047-encode-encoded-words.
3392 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3394 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3395 view buffer means not swapped.
3396 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3397 (rmail-write-region-annotate): Error if real text has disappeared.
3399 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3401 2012-03-10 Chong Yidong <cyd@gnu.org>
3403 * emulation/cua-rect.el (cua--init-rectangles):
3404 * emulation/cua-base.el (cua--init-keymaps):
3405 Add delete-forward-char to remappings (Bug#9666).
3407 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3409 * speedbar.el (speedbar-unhighlight-one-tag-line):
3410 Avoid unhighlighting due to frame switching (Bug#10275).
3412 2012-03-10 Chong Yidong <cyd@gnu.org>
3414 * minibuffer.el (completion-in-region, completion-help-at-point):
3415 Give the completion field overlay a high priority (Bug#6830).
3417 * dired.el (dired-goto-file): Recognize absolute file name
3418 listings (Bug#7126).
3419 (dired-goto-file-1): New helper function.
3420 (dired-toggle-read-only): Inhibit warnings.
3422 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3424 * net/dbus.el (dbus-property-handler): Return empty array if
3425 there are no properties.
3427 2012-03-09 Leo Liu <sdl.web@gmail.com>
3429 * savehist.el (savehist-printable): Stricter check for string
3432 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3434 * mail/smtpmail.el (smtpmail-send-it):
3435 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3438 2012-03-09 Glenn Morris <rgm@gnu.org>
3440 * files.el (dir-locals-find-file):
3441 Don't check result is regular, readable.
3442 (dir-locals-read-from-file): Demote errors.
3444 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3446 * international/quail.el (quail-insert-kbd-layout):
3447 Insert invisible LRM characters before each character in a keyboard
3448 layout cell, to prevent their reordering by bidi display engine.
3449 For details, see the discussion in
3450 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3452 2012-03-08 Alan Mackenzie <acm@muc.de>
3454 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3455 the starting position; make it extend the marked region when
3456 invoked repeatedly - all under appropriate circumstances.
3457 Fixes bugs #5525, #10906.
3459 2012-03-08 Glenn Morris <rgm@gnu.org>
3461 * files.el (locate-dominating-file, dir-locals-find-file):
3462 Undo 2012-03-06 change.
3464 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3466 * international/quail.el (quail-help):
3467 Force bidi-paragraph-direction be left-to-right. See discussion in
3468 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3471 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3473 Avoid superfluous registering of signals. (Bug#10807)
3475 * notifications.el (notifications-on-action-object)
3476 (notifications-on-close-object): New defvars.
3477 (notifications-on-action-signal, notifications-on-closed-signal):
3478 Unregister the signal if not needed any longer.
3479 (notifications-notify): Register `notifications-action-signal' or
3480 `notifications-closed-signal', if :on-action or :on-close has been
3483 2012-03-07 Chong Yidong <cyd@gnu.org>
3485 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3488 2012-03-06 Glenn Morris <rgm@gnu.org>
3490 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3491 (x-disown-selection-internal, x-get-selection-internal):
3492 Doc fix (add arglist signatures). (Bug#10783)
3494 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3496 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3497 Handle breakpoints with no "type".
3499 2012-03-06 Glenn Morris <rgm@gnu.org>
3501 * files.el (locate-dominating-file): Add optional predicate argument.
3502 (dir-locals-find-file): Make use of above change.
3504 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3506 * info.el (Info-insert-dir): Also try "dir.gz".
3508 2012-03-06 Glenn Morris <rgm@gnu.org>
3510 * files.el (dir-locals-find-file):
3511 Ignore non-readable or non-regular files. (Bug#10928)
3513 * files.el (locate-dominating-file): Doc fix.
3515 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3517 * calendar/calendar.el (calendar-set-mode-line):
3518 `getenv' returns a string. (Bug#10951)
3520 2012-03-05 Leo Liu <sdl.web@gmail.com>
3522 * simple.el (backward-delete-char-untabify): Constrain point to
3525 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3527 2012-03-05 Chong Yidong <cyd@gnu.org>
3529 * simple.el (count-words): If called from Lisp, return the word
3530 count, for symmetry with `count-lines'. Arglist changed.
3531 (count-words--message): Args changed. Consolidate counting code
3532 from count-words and count-words-region.
3533 (count-words-region): Caller changed.
3534 (count-lines-region): Make it an obsolete alias.
3536 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3538 * saveplace.el (save-place-to-alist)
3539 (save-place-ignore-files-regexp): Allow value nil to disable this
3542 2012-03-04 Chong Yidong <cyd@gnu.org>
3544 * faces.el (face-spec-reset-face): For the default face, reset the
3545 attributes to default values (Bug#10748).
3547 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3549 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3550 previous patch: Check `message-send-mail-function', and not the
3551 default function (bug#10897).
3553 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3555 * notifications.el (notifications-on-action-signal)
3556 (notifications-on-closed-signal): Check for unique service name of
3557 incoming event. Fix error in removing entry.
3558 (top): Register for signals with wildcard service name.
3559 (notifications-notify): Use daemon unique service name for map entries.
3561 2012-03-04 Chong Yidong <cyd@gnu.org>
3563 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3565 2012-03-04 Glenn Morris <rgm@gnu.org>
3567 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3568 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3569 (expand-abbrev, define-abbrev-table): Doc fixes.
3571 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3573 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3574 `message-default-send-mail-function' and not `send-mail-function'
3575 when doing the prompting for `sendmail-query-once' before sending
3576 in Message buffers (bug#10897).
3578 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3579 This is inconsistent with all the other stream functions, which leave
3580 the setting up to the higher levels (if so wanted) (bug#10931).
3582 2012-03-02 Alan Mackenzie <acm@muc.de>
3584 Depessimize the handling of very large macros.
3586 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3587 (c-macro-cache-syntactic): New variables to implement a one
3588 element macro cache.
3589 (c-invalidate-macro-cache): New function.
3590 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3591 Adapt to use the new cache.
3592 (c-state-safe-place): Use better the cache of safe positions.
3593 (c-state-semi-nonlit-pos-cache)
3594 (c-state-semi-nonlit-pos-cache-limit):
3595 New variables for...
3596 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3597 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3598 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3599 Use c-state-semi-safe-place.
3601 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3602 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3604 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3606 * jka-compr.el (jka-compr-call-process):
3607 Apply `file-accessible-directory-p' only when the default directory is
3610 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3612 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3613 access of FILE2, if FILE1 does not exist.
3615 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3616 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3618 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3619 Add "PAGER=" to `process-environment'.
3621 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3623 * progmodes/sql.el: Bug fix
3624 (sql-get-login-ext): Save login values in globals.
3625 (sql-get-login): Use new version of `sql-get-login-ext'.
3626 (sql-interactive-mode): Set global `sql-connection' to nil.
3627 (sql-connect): Set global values for connection.
3628 (sql-product-interactive): Save global values as buffer local.
3630 2012-02-29 Leo Liu <sdl.web@gmail.com>
3632 * abbrev.el (define-abbrevs): Reset sys to nil.
3634 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3636 * files.el (file-equal-p): Rename from `files-equal-p'.
3637 Return nil when one or both files don't exist.
3638 (file-subdir-of-p): Now only top directory must exists,
3639 return nil if it doesn't.
3640 (copy-directory): No need to test with `file-subdir-of-p' after
3642 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3645 2012-02-28 Glenn Morris <rgm@gnu.org>
3647 * shell.el (shell-mode):
3648 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3649 * play/landmark.el (landmark-font-lock-face-O):
3650 * play/handwrite.el (handwrite):
3651 * play/gomoku.el (gomoku-O):
3652 * net/browse-url.el (browse-url-browser-display):
3653 * international/mule.el (define-charset):
3654 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3655 * filesets.el (filesets-find-file-delay):
3656 * eshell/em-xtra.el (eshell-xtra):
3657 * eshell/em-unix.el (eshell-grep):
3658 * emulation/viper.el (viper-mode):
3659 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3660 * emacs-lisp/easymenu.el (easy-menu-define):
3661 * calendar/timeclock.el (timeclock-use-display-time):
3663 * bookmark.el (bookmark-save-flag):
3664 Doc fix (standardize possessive apostrophe usage).
3666 2012-02-27 Chong Yidong <cyd@gnu.org>
3668 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3669 Fix key-binding lookup for ESC key (Bug#9146).
3671 * font-lock.el (font-lock-specified-p): Rename from
3672 font-lock-spec-present. Callers changed.
3674 2012-02-27 Daniel Hackney <dan@haxney.org>
3676 * emacs-lisp/package.el (package-compute-transaction):
3677 Handle holding a package version to t in package-load-list.
3679 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3681 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3682 (tramp-get-inode, tramp-get-device): Use cached values.
3684 2012-02-26 Alan Mackenzie <acm@muc.de>
3686 Check there is a font-lock specification before doing initial
3689 * font-core.el (font-lock-mode): Move the conditional from
3690 :after-hook to font-lock-initial-fontify.
3691 (font-lock-default-function): Move the check for a specification
3692 to font-lock-spec-present.
3694 * font-lock.el (font-lock-initial-fontify): Call ...
3695 (font-lock-spec-present): New function.
3697 2012-02-26 Jim Blandy <jimb@red-bean.com>
3699 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3700 (gdb-send): Apply it to the operand of the '-interpreter-exec
3701 console' command, so that we can pass arguments with (say) quotes
3702 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3704 2012-02-26 Chong Yidong <cyd@gnu.org>
3706 * help-fns.el (describe-function-1): Clarify description of
3707 remapping (Bug#10844).
3709 * files.el (files-equal-p): Doc fix.
3710 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3711 and quit the loop once a mismatch is found.
3713 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3715 * bs.el (bs--show-with-configuration): Don't throw an error
3716 if the window cannot be split; otherwise, subsequent calls to
3717 bs-show fail, restoring a stale window config. (Bug#10882)
3719 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3721 * term/ns-win.el (global-map): Bind ns-drag-file to
3722 ns-find-file (Bug#5855, Bug#10050).
3724 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3726 * calendar/parse-time.el (parse-time-string): Allow extractor to
3729 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3731 * net/tramp.el (tramp-file-name-for-operation):
3732 Add `files-equal-p' and `file-subdir-of-p'.
3734 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3735 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3736 Add COPY-CONTENTS argument.
3738 2012-02-25 Chong Yidong <cyd@gnu.org>
3740 Add custom groups for VC backends, for consistency with vc-bzr.
3742 * vc/vc-arch.el (vc-arch):
3743 * vc/vc-cvs.el (vc-cvs):
3744 * vc/vc-git.el (vc-git):
3745 * vc/vc-hg.el (vc-hg):
3746 * vc/vc-mtn.el (vc-mtn):
3747 * vc/vc-rcs.el (vc-rcs):
3748 * vc/vc-sccs.el (vc-sccs):
3749 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3750 All relevant defcustoms reassigned.
3752 2012-02-25 Chong Yidong <cyd@gnu.org>
3754 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3756 * term/x-win.el (x-initialize-window-system): Reduce default for
3757 x-selection-timeout to 5 seconds (Bug#8869).
3759 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3761 * files.el (files-equal-p, file-subdir-of-p): New functions.
3762 (copy-directory): Error when trying to copy a directory on itself.
3763 Add missing copy-contents arg to tramp handler.
3764 * dired-aux.el (dired-copy-file-recursive): Same.
3765 (dired-create-files): Modify destination when source is equal to
3766 dest when copying files.
3767 Return also when dest is a subdir of source. (Bug#10489)
3769 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3771 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3774 2012-02-23 Alan Mackenzie <acm@muc.de>
3776 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3777 parameter "after-hook:" to allow the expansion to run code after
3778 the execution of the mode hooks.
3780 * font-lock.el (font-lock-initial-fontify): New function extracted
3781 from font-lock-mode-internal.
3783 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3786 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3789 (completion--cache-all-sorted-completions): New function.
3790 (completion-all-sorted-completions): Use it.
3791 (completion--do-completion, minibuffer-force-complete):
3792 Use it to re-instate the flush hook.
3794 * icomplete.el (icomplete-completions): Replace last fix with a better
3797 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3799 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3800 when it might call us back infinitely (bug#10797).
3802 2012-02-23 Glenn Morris <rgm@gnu.org>
3804 * minibuffer.el (completion-category-overrides): Doc fix.
3806 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3809 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3811 2012-02-23 Glenn Morris <rgm@gnu.org>
3813 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3814 (authors-obsolete-files-regexps, authors-ignored-files)
3815 (authors-ambiguous-files, authors-renamed-files-alist):
3818 2012-02-23 Juri Linkov <juri@jurta.org>
3820 * isearch.el (isearch-occur): Sync interactive spec with occur's
3821 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3823 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3825 2012-02-22 Juri Linkov <juri@jurta.org>
3827 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3828 (ucs-insert): Doc fix. Check for hex digits in the string.
3829 Don't display `nil' in the error message. (Bug#10857)
3831 2012-02-22 Alan Mackenzie <acm@muc.de>
3833 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3835 2012-02-22 Glenn Morris <rgm@gnu.org>
3837 * ffap.el (ffap-c-path):
3838 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3840 2012-02-22 Chong Yidong <cyd@gnu.org>
3842 * custom.el (load-theme): Doc fix.
3844 2012-02-22 Glenn Morris <rgm@gnu.org>
3846 * dired-x.el (dired-guess-shell-alist-default):
3847 Remove escape sequences from nroff output. (Bug#172)
3849 2012-02-21 Glenn Morris <rgm@gnu.org>
3851 * vc/emerge.el (emerge-defvar-local):
3852 Set `permanent-local' property rather than unused `preserved'.
3854 * textmodes/picture.el (picture-delete-char): New alias.
3855 (picture-mode-map): Use it. (Bug#10860)
3856 (picture-mode): Doc fix.
3858 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3860 * newcomment.el (uncomment-region-default): Remove unused binding.
3862 2012-02-21 Glenn Morris <rgm@gnu.org>
3864 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3865 (picture-self-insert, picture-tab-chars): Doc fix.
3866 (picture-mode-map): Fix C-a, C-e.
3868 2012-02-20 Glenn Morris <rgm@gnu.org>
3870 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3872 2012-02-20 Leo Liu <sdl.web@gmail.com>
3874 * icomplete.el (icomplete-completions): Check FROM arg before
3875 passing to substring (Bug#10850).
3877 2012-02-19 Chong Yidong <cyd@gnu.org>
3879 * comint.el: Require ansi-color.
3880 (comint-output-filter-functions): Add ansi-color-process-output.
3882 * ansi-color.el: Don't set comint-output-filter-functions; it is
3883 now in the initial value defined in comint.el.
3884 (ansi-color-apply-face-function): New variable.
3885 (ansi-color-apply-on-region): Use it.
3886 (ansi-color-apply-overlay-face): New function.
3888 * shell.el (shell): No need to require ansi-color.
3889 (shell-mode): Use ansi-color-apply-face-function to highlight
3890 color escapes using font-lock-face property (Bug#10835).
3892 2012-02-19 Chong Yidong <cyd@gnu.org>
3894 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3895 mode-line formats (Bug#10839).
3897 2012-02-18 Glenn Morris <rgm@gnu.org>
3899 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3901 * mail/undigest.el (unforward-rmail-message): Doc fix.
3903 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3905 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3907 * international/characters.el (script-list): Sync with the latest
3908 Unicode Character Database.
3910 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3912 * international/titdic-cnv.el: Remove duplicate coding tag.
3913 * language/cham.el: Likewise.
3914 * language/tai-viet.el: Likewise.
3916 2012-02-18 Glenn Morris <rgm@gnu.org>
3918 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3919 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3920 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3921 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3922 * calendar/holidays.el (holiday-bahai-holidays)
3923 (calendar-holidays, list-holidays):
3924 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
3926 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3928 * saveplace.el (save-place-ignore-files-regexp): New variable
3929 allowing for excluding files from saving their location of point.
3930 The default value matches the temporary commit message editing
3931 files from Git, SVN, Bazaar, and Mercurial.
3932 (save-place-to-alist): Use it.
3934 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3935 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * newcomment.el (uncomment-region-default): Don't leave extra space
3938 when an arg is provided (bug#8150).
3940 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3942 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3944 2012-02-17 Glenn Morris <rgm@gnu.org>
3946 * net/socks.el: Require network-stream. (Bug#10599)
3948 2012-02-17 Kenichi Handa <handa@m17n.org>
3950 * international/charprop.el:
3951 * international/uni-name.el:
3952 * international/uni-old-name.el:
3953 * international/uni-comment.el: Regenerate.
3955 2012-02-16 Glenn Morris <rgm@gnu.org>
3957 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3958 Interactively in calendar buffer, give an error if not on a date.
3960 2012-02-15 Glenn Morris <rgm@gnu.org>
3962 * shell.el (shell-delimiter-argument-list):
3963 Revert 2011-02-17 change. (Bug#8027)
3965 2012-02-15 Chong Yidong <cyd@gnu.org>
3967 * minibuffer.el (completion-at-point-functions): Doc fix.
3969 * custom.el (defcustom): Doc fix; note use of defvar.
3971 2012-02-15 Glenn Morris <rgm@gnu.org>
3973 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3976 2012-02-14 Glenn Morris <rgm@gnu.org>
3978 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3980 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3982 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3983 way the ports list is computed.
3984 (smtpmail-query-smtp-server): Prompt the user for a port number if
3985 we can't connect to any of the standard ports (bug#10810).
3987 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3989 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3991 2012-02-13 Glenn Morris <rgm@gnu.org>
3993 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3995 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3997 * net/gnutls.el (gnutls-trustfiles): New variable.
3998 (gnutls-negotiate): Use it.
4000 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4002 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4003 does its stuff if Gnus is running.
4005 2012-02-13 Alan Mackenzie <acm@muc.de>
4007 Fix a loop in c-set-fl-decl-start.
4009 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4010 c-backward-syntactic-ws actually moves backwards.
4012 2012-02-13 Leo Liu <sdl.web@gmail.com>
4014 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4015 beginning so that all \C-o chars are removed.
4017 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4019 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4021 2012-02-12 Alan Mackenzie <acm@muc.de>
4023 Fix infinite loop with long macros.
4024 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4026 2012-02-12 Chong Yidong <cyd@gnu.org>
4028 * window.el (display-buffer): Doc fix (Bug#10785).
4030 2012-02-12 Glenn Morris <rgm@gnu.org>
4032 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4033 (x-disown-selection-internal, x-get-selection-internal):
4034 Sync docs with the xselect.c versions.
4036 * allout-widgets.el: Add missing license notice.
4038 2012-02-11 Glenn Morris <rgm@gnu.org>
4040 * select.el (x-get-selection-internal, x-own-selection-internal)
4041 (x-disown-selection-internal):
4042 * x-dnd.el (x-get-selection-internal): Update declarations.
4044 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4046 * window.el (window-sides-slots):
4047 * tool-bar.el (tool-bar-position):
4048 * term/xterm.el (xterm-extra-capabilities):
4049 * ses.el (ses-self-reference-early-detection):
4050 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4051 (verilog-auto-wire-type)
4052 (verilog-auto-delete-trailing-whitespace)
4053 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4054 (verilog-auto-tieoff-declaration):
4055 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4056 (sql-oracle-statement-starters, sql-oracle-scan-on):
4057 * progmodes/prolog.el (prolog-align-comments-flag)
4058 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4059 (prolog-left-indent-regexp, prolog-paren-indent-p)
4060 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4061 (prolog-types, prolog-mode-specificators)
4062 (prolog-determinism-specificators, prolog-directives)
4063 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4064 (prolog-electric-dot-flag)
4065 (prolog-electric-dot-full-predicate-template)
4066 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4067 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4068 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4069 (prolog-program-switches, prolog-prompt-regexp)
4070 (prolog-debug-on-string, prolog-debug-off-string)
4071 (prolog-trace-on-string, prolog-trace-off-string)
4072 (prolog-zip-on-string, prolog-zip-off-string)
4073 (prolog-use-standard-consult-compile-method-flag)
4074 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4075 (prolog-imenu-max-lines, prolog-info-predicate-index)
4076 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4077 (prolog-char-quote-workaround):
4078 * progmodes/cc-vars.el (c-defun-tactic):
4079 * net/tramp.el (tramp-encoding-command-interactive)
4080 (tramp-local-end-of-line):
4081 * net/soap-client.el (soap-client):
4082 * net/netrc.el (netrc-file):
4083 * net/gnutls.el (gnutls):
4084 * minibuffer.el (completion-category-overrides)
4085 (completion-cycle-threshold)
4086 (completion-pcm-complete-word-inserts-delimiters):
4087 * man.el (Man-name-local-regexp):
4088 * mail/feedmail.el (feedmail-display-full-frame):
4089 * international/characters.el (glyphless-char-display-control):
4090 * eshell/em-ls.el (eshell-ls-date-format):
4091 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4092 (lisp-lambda-list-keyword-parameter-indentation)
4093 (lisp-lambda-list-keyword-parameter-alignment):
4094 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4095 * dired-x.el (dired-omit-verbose):
4096 * cus-theme.el (custom-theme-allow-multiple-selections):
4097 * calc/calc.el (calc-highlight-selections-with-faces)
4098 (calc-lu-field-reference, calc-lu-power-reference)
4099 (calc-note-threshold):
4100 * battery.el (battery-mode-line-limit):
4101 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4102 (archive-7z-update):
4103 * allout.el (allout-prefixed-keybindings)
4104 (allout-unprefixed-keybindings)
4105 (allout-inhibit-auto-fill-on-headline)
4106 (allout-flattened-numbering-abbreviation):
4107 * allout-widgets.el (allout-widgets-auto-activation)
4108 (allout-widgets-icons-dark-subdir)
4109 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4110 (allout-widgets-theme-dark-background)
4111 (allout-widgets-theme-light-background)
4112 (allout-widgets-item-image-properties-emacs)
4113 (allout-widgets-item-image-properties-xemacs)
4114 (allout-widgets-run-unit-tests-on-load)
4115 (allout-widgets-time-decoration-activity)
4116 (allout-widgets-hook-error-post-time)
4117 (allout-widgets-track-decoration):
4118 Add missing :version tags to new defcustoms and defgroups.
4120 * progmodes/sql.el (sql-ansi-statement-starters)
4121 (sql-oracle-statement-starters): Add custom type.
4123 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4124 (prolog-system-version): Give it a type.
4126 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4128 * term/pc-win.el (x-select-text, x-selection-owner-p)
4129 (x-own-selection-internal, x-disown-selection-internal)
4130 (x-get-selection-internal): Sync doc strings and argument lists
4131 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4133 2012-02-11 Leo Liu <sdl.web@gmail.com>
4135 * progmodes/python.el (python-end-of-statement): Fix infinite
4138 2012-02-10 Glenn Morris <rgm@gnu.org>
4140 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4141 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4143 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4145 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4146 about SMTP before checking the From header.
4148 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4149 into own function for reuse by emacsbug.el.
4151 2012-02-10 Leo Liu <sdl.web@gmail.com>
4153 * subr.el (condition-case-unless-debug): Rename from
4154 condition-case-no-debug. All callers changed.
4155 (with-demoted-errors): Fix caller.
4157 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4158 * nxml/rng-valid.el (rng-do-some-validation):
4159 * emacs-lisp/package.el (package-refresh-contents)
4160 (package-menu-execute):
4161 * desktop.el (desktop-create-buffer):
4162 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4164 2012-02-10 Glenn Morris <rgm@gnu.org>
4166 * textmodes/bibtex.el:
4167 Add missing :version tags for new/changed defcustoms.
4169 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4171 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4173 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4174 (smtpmail-via-smtp): Use it, or fall back on the From address.
4175 (smtpmail-send-it): Ditto.
4177 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4180 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4181 (byte-compile-tmp-var): New const.
4182 (byte-compile-defvar): Use it to minimize .elc size.
4183 Just use `defvar' rather than simulate it (bug#10761).
4185 2012-02-09 Glenn Morris <rgm@gnu.org>
4187 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4189 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4192 * progmodes/compile.el (compilation-error-screen-columns)
4193 (compilation-first-column, compilation-filter-start): Doc fixes.
4195 * vc/log-view.el (log-view-toggle-entry-display):
4196 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4198 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4199 (report-emacs-bug-can-use-xdg-email):
4200 (report-emacs-bug-insert-to-mailer): Doc fixes.
4201 (report-emacs-bug): Message fix.
4203 * net/browse-url.el (browse-url-can-use-xdg-open)
4204 (browse-url-xdg-open): Doc fixes.
4206 * electric.el (electric-indent-mode, electric-pair-mode)
4207 (electric-layout-rules, electric-layout-mode): Doc fixes.
4208 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4210 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4212 * server.el (server-unselect-display): Don't inadvertently kill
4213 the current buffer. (Bug#10729)
4215 2012-02-08 Glenn Morris <rgm@gnu.org>
4217 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4218 (sql-list-table): Doc fixes.
4220 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4221 Comment out (does nothing).
4223 * completion.el (dynamic-completion-mode):
4224 * dirtrack.el (dirtrack-debug-mode):
4225 * electric.el (electric-layout-mode):
4226 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4227 * face-remap.el (text-scale-mode, buffer-face-mode):
4228 * iimage.el (iimage-mode):
4229 * image-mode.el (image-transform-mode):
4230 * minibuffer.el (completion-in-region-mode):
4231 * scroll-lock.el (scroll-lock-mode):
4232 * simple.el (next-error-follow-minor-mode):
4233 * tar-mode.el (tar-subfile-mode):
4234 * tooltip.el (tooltip-mode):
4235 * vcursor.el (vcursor-use-vcursor-map):
4236 * wid-browse.el (widget-minor-mode):
4237 * emulation/tpu-edt.el (tpu-edt-mode):
4238 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4239 * international/iso-ascii.el (iso-ascii-mode):
4240 * language/thai-util.el (thai-word-mode):
4241 * mail/supercite.el (sc-minor-mode):
4242 * net/goto-addr.el (goto-address-mode):
4243 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4244 * progmodes/cwarn.el (cwarn-mode):
4245 * progmodes/flymake.el (flymake-mode):
4246 * progmodes/glasses.el (glasses-mode):
4247 * progmodes/hideshow.el (hs-minor-mode):
4248 * progmodes/pascal.el (pascal-outline-mode):
4249 * textmodes/enriched.el (enriched-mode):
4250 * vc/smerge-mode.el (smerge-mode):
4251 Doc fixes (minor mode argument).
4253 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4255 * ls-lisp.el (ls-lisp-sanitize): New function.
4256 (ls-lisp-insert-directory): Use it to fix or remove any elements
4257 in file-alist with missing attributes. (Bug#4673)
4259 2012-02-07 Alan Mackenzie <acm@muc.de>
4261 Fix spurious recognition of c-in-knr-argdecl.
4263 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4264 putative K&R region.
4266 2012-02-07 Alan Mackenzie <acm@muc.de>
4268 * progmodes/cc-engine.el (c-forward-objc-directive):
4269 Prevent looping in "#pragma mark @implementation".
4271 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4273 * notifications.el (notifications-on-closed-signal): Make `reason'
4274 optional. (Bug#10744)
4276 2012-02-07 Glenn Morris <rgm@gnu.org>
4278 * emacs-lisp/easy-mmode.el (define-minor-mode):
4279 Doc fixes for the macro and the mode it defines.
4281 * image.el (imagemagick-types-inhibit): Doc fix.
4283 * cus-start.el (imagemagick-render-type): Add it.
4285 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4287 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4288 Set the default at load time, too, so that `font-lock-fontify-buffer'
4289 can be called without setting up the entire mode first. This fixes
4290 a bug in `mm-inline-text' with C MIME parts.
4292 2012-02-06 Chong Yidong <cyd@gnu.org>
4294 * simple.el (list-processes--refresh): Delete exited processes
4297 * comint.el (comint-next-prompt): next-single-char-property-change
4298 and prev-single-char-property-change never return nil (Bug#8657).
4300 * custom.el (defcustom): Doc fix (Bug#9711).
4302 2012-02-05 Chong Yidong <cyd@gnu.org>
4304 * cus-edit.el (custom-variable-reset-backup): Quote the value
4305 before storing it in the customized-value property (Bug#6712).
4306 (custom-display): Add a customization type tag.
4307 (custom-buffer-create-internal): Improve tooltip message.
4309 * wid-edit.el (widget-field-value-get): New optional arg to
4310 suppress trailing whitespace truncation.
4311 (character): Use it (Bug#2689).
4313 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4315 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4316 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4318 2012-02-05 Chong Yidong <cyd@gnu.org>
4320 * cus-edit.el (custom-variable-value-create): For mismatched
4321 types, show the current value (Bug#7600).
4323 * custom.el (defcustom): Doc fix.
4325 2012-02-05 Glenn Morris <rgm@gnu.org>
4327 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4329 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4331 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4332 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4333 (pp-last-sexp): Use `looking-at-p'.
4335 2012-02-04 Glenn Morris <rgm@gnu.org>
4337 * files.el (revert-buffer):
4338 Doc fix (mention revert-buffer-in-progress-p).
4340 * emacs-lisp/ert-x.el (ert-simulate-command):
4341 Check deferred-action-list (which is obsolete) is bound.
4343 * subr.el (with-wrapper-hook): Doc fixes.
4345 * simple.el (filter-buffer-substring-functions)
4346 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4348 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4350 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4351 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4353 2012-02-04 Leo Liu <sdl.web@gmail.com>
4355 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4357 2012-02-04 Glenn Morris <rgm@gnu.org>
4359 * image.el (image-extension-data): Add obsolete alias.
4361 * isearch.el (isearch-update): Doc fix.
4363 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4365 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4367 2012-02-03 Glenn Morris <rgm@gnu.org>
4369 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4370 (image-animate-timeout): Doc fix.
4372 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4374 2012-02-02 Glenn Morris <rgm@gnu.org>
4376 * server.el (server-auth-dir): Doc fix.
4377 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4379 * subr.el (run-mode-hooks): Doc fix.
4381 2012-02-02 Juri Linkov <juri@jurta.org>
4383 * image-mode.el (image-toggle-display-image): Remove tautological
4384 `major-mode' from the `derived-mode-p' test.
4386 2012-02-02 Kenichi Handa <handa@m17n.org>
4388 * composite.el (compose-region): Cancel previous change.
4390 2012-02-02 Kenichi Handa <handa@m17n.org>
4392 * composite.el (compose-region, compose-string): Signal error for
4393 a null string component (Bug#6988).
4395 2012-02-01 Chong Yidong <cyd@gnu.org>
4397 * view.el (view-buffer-other-window, view-buffer-other-frame):
4398 Handle special modes like view-buffer (Bug#10650).
4399 (view-buffer): Simplify.
4401 * frame.el (set-frame-font): Tweak meaning of third argument.
4403 * dynamic-setting.el (font-setting-change-default-font):
4404 Use set-frame-font (Bug#9982).
4406 2012-02-01 Glenn Morris <rgm@gnu.org>
4408 * progmodes/compile.el (compilation-internal-error-properties):
4409 Respect compilation-first-column in the "*compilation*" buffer.
4411 * emacs-lisp/easy-mmode.el (define-minor-mode):
4412 Relax :variable's test for a named function.
4414 2012-01-31 Alan Mackenzie <acm@muc.de>
4416 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4419 2012-01-31 Chong Yidong <cyd@gnu.org>
4421 * frame.el (set-frame-font): New arg ALL-FRAMES.
4423 * menu-bar.el (menu-set-font): Use set-frame-font.
4425 * faces.el (face-spec-reset-face): Don't apply unspecified
4426 attribute values to the default face.
4428 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4430 * progmodes/cwarn.el (cwarn): Remove dead link.
4431 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4432 Remove * from defcustom docstrings.
4433 (turn-on-cwarn-mode): Make obsolete.
4434 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4435 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4437 2012-01-31 Glenn Morris <rgm@gnu.org>
4439 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4440 Fix :variable handling of mode a symbol not equal to modefun.
4441 Allow named functions to be used as the cdr of :variable.
4443 2012-01-30 Glenn Morris <rgm@gnu.org>
4445 * emacs-lisp/authors.el (authors-fixed-entries):
4446 Remove reference to deleted file rnewspost.el.
4448 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4450 * window.el (window-with-parameter): Remove unused variable `windows'.
4451 (window--side-check): Remove unused variable `code'.
4452 (window--resize-siblings): Remove unused variable `first'.
4453 (adjust-window-trailing-edge): Remove unused variable `failed'.
4454 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4455 Use `let', not `let*'.
4456 (balance-windows-2): Remove unused variable `found'.
4457 (window--state-put-2): Remove unused variable `splits'.
4458 (window-state-put): Remove unused variable `selected'.
4459 (same-window-p): Use `string-match-p'.
4460 (display-buffer-assq-regexp): Remove unused variable `value'.
4461 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4462 Mark argument ALIST as ignored.
4463 (pop-to-buffer): Remove unused variable `old-window'.
4465 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4467 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4468 and .lzma compressed files.
4470 2012-01-29 Chong Yidong <cyd@gnu.org>
4472 * frame.el (window-system-default-frame-alist): Doc fix.
4474 * dynamic-setting.el (font-setting-change-default-font): Don't
4475 change the default face if SET-FONT argument is non-nil (Bug#9982).
4477 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4479 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4481 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4483 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4484 breakpoints in files outside current directory (Bug#6098).
4486 2012-01-29 Chong Yidong <cyd@gnu.org>
4488 * progmodes/python.el: Require ansi-color at top-level.
4490 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4491 Define and use in Emacs Lisp mode (Bug#9360).
4492 (lisp-mode-abbrev-table): Add doc.
4493 (lisp-mode-variables): Don't set local-abbrev-table.
4494 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4496 2012-01-28 Roland Winkler <winkler@gnu.org>
4498 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4500 2012-01-28 Roland Winkler <winkler@gnu.org>
4502 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4503 (bibtex-set-dialect): Use it. Either set global values of
4504 dialect-dependent variables or bind these variables buffer-locally
4506 (bibtex-mode): Call bibtex-set-dialect via
4507 hack-local-variables-hook.
4508 (bibtex-dialect): Update docstring.
4509 Add safe-local-variable predicate.
4510 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4512 (bibtex-mode-map): Define menu for each dialect.
4513 (bibtex-entry): Fix docstring.
4515 2012-01-28 Chong Yidong <cyd@gnu.org>
4517 * eshell/esh-arg.el (eshell-quote-argument): New function.
4519 * eshell/esh-ext.el (eshell-invoke-batch-file):
4520 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4521 first arg to eshell-parse-command (Bug#10523).
4523 2012-01-28 Drew Adams <drew.adams@oracle.com>
4525 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4526 `default-directory' is non-nil.
4528 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4530 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4531 line that displays system-configuration-options. (Bug#9924)
4533 2012-01-28 Drew Adams <drew.adams@oracle.com>
4535 * descr-text.el (describe-char): Show information about POS, in
4536 addition to information about the character at POS. Improve and
4537 update the doc string. Change "code point" to "code point in
4538 charset", to avoid confusion with the character's Unicode code
4539 point shown above that. (Bug#10129)
4541 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4543 * descr-text.el (describe-char): Show the raw character, not only
4544 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4545 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4548 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4550 * emacs-lisp/package.el (package-install):
4551 Run package-refresh-contents if there is no archive yet (Bug#9798).
4553 2012-01-28 Chong Yidong <cyd@gnu.org>
4555 * emacs-lisp/package.el (package-maybe-load-descriptor):
4556 New function, split from package-maybe-load-descriptor.
4557 (package-maybe-load-descriptor): Use it.
4558 (package-download-transaction): Fully load required packages
4559 inside the loop, so that `require' calls work (Bug#10593).
4560 (package-install): No need to call package-initialize now.
4562 2012-01-28 Chong Yidong <cyd@gnu.org>
4564 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4566 * tooltip.el (tooltip-mode): Doc fix.
4567 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4569 * frame.el (set-cursor-color): Doc fix (Bug#352).
4571 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4572 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4574 * cus-edit.el (custom-buffer-create-internal): Fix search button
4576 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4578 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4580 * dired.el (dired-mark-files-regexp):
4581 Include any subdirectory components. (Bug#10445)
4583 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4585 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4586 Handle [host]:port syntax. (Bug#10533)
4588 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4590 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4592 2012-01-26 Glenn Morris <rgm@gnu.org>
4594 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4595 * term.el (term-raw-escape-map): Use Control-X-prefix.
4596 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4598 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4600 * window.el (window-state-get, window--state-get-1): Don't deal
4601 with fixed-sizeness of windows. Simplify code.
4603 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4605 * window.el (window--state-get-1, window--state-put-2):
4606 Don't save and restore the mark.
4608 2012-01-25 Chong Yidong <cyd@gnu.org>
4610 * custom.el (custom-variable-p): Doc fix.
4612 2012-01-25 Glenn Morris <rgm@gnu.org>
4614 * dired.el (dired-goto-file): Handle some of the more common
4615 characters that `ls -b' escapes. (Bug#10596)
4617 * progmodes/compile.el (compilation-next-error-function):
4618 Respect compilation-first-column in the "*compilation*" buffer.
4619 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4621 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4623 2012-01-24 Glenn Morris <rgm@gnu.org>
4625 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4627 2012-01-24 Julien Danjou <julien@danjou.info>
4629 * color.el (color-rgb-to-hsl): Fix value computing.
4630 (color-hue-to-rgb): New function.
4631 (color-hsl-to-rgb): New function.
4632 (color-clamp, color-saturate-hsl, color-saturate-name)
4633 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4634 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4636 2012-01-24 Glenn Morris <rgm@gnu.org>
4638 * vc/vc-rcs.el (vc-rcs-create-tag):
4639 * vc/vc-sccs.el (vc-sccs-create-tag):
4640 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4642 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4644 * eshell/esh-util.el (eshell-read-hosts-file):
4645 Skip comment lines. (Bug#10549)
4647 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4649 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4651 * subr.el (display-delayed-warnings): Doc fix.
4652 (collapse-delayed-warnings): New function to collapse identical
4654 (delayed-warnings-hook): Add it.
4656 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4658 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4660 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4661 properties, when "login-as" is set.
4663 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4664 (tramp-default-user-alist): Don't add "pscp".
4665 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4666 property "login-as", if set. (Bug#10530)
4668 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4670 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4671 "plink1" and "psftp". (Bug#10530)
4673 2012-01-21 Kenichi Handa <handa@m17n.org>
4675 * international/mule-cmds.el (prefer-coding-system): Show a
4676 warning message if the default value of file-name-coding-system
4679 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4681 * windmove.el (windmove-reference-loc):
4682 Fix windmove-reference-loc miscalculation.
4684 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4686 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4689 2012-01-21 Glenn Morris <rgm@gnu.org>
4691 * international/mule.el (auto-coding-alist): Add .tbz.
4693 * files.el (local-enable-local-variables): Doc fix.
4694 (inhibit-local-variables-regexps): Rename from
4695 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4696 Doc fix. Add some extensions from auto-coding-alist.
4697 (inhibit-local-variables-suffixes):
4698 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4699 (inhibit-local-variables-p):
4700 New function, extracted from set-auto-mode-1.
4701 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4702 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4703 (hack-local-variables): Doc fix. Make the mode-only case
4704 respect enable-local-variables and friends.
4705 Respect inhibit-local-variables-regexps for file-locals, but
4706 not for directory-locals.
4707 (set-visited-file-name):
4708 Take account of inhibit-local-variables-regexps.
4709 Whether it applies may change as the file name is changed.
4710 * jka-cmpr-hook.el (jka-compr-install):
4711 * jka-compr.el (jka-compr-uninstall):
4712 Update for inhibit-first-line-modes-suffixes name change.
4714 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4716 * help-macro.el (make-help-screen): Temporarily restore original
4717 binding for minor-mode-map-alist (Bug#10454).
4719 2012-01-19 Julien Danjou <julien@danjou.info>
4721 * color.el (color-name-to-rgb): Use the white color to find the max
4722 color component value and return correctly computed values.
4723 (color-name-to-rgb): Add missing float conversion for max value.
4725 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4727 * window.el (window--state-get-1, window-state-get): Do not use
4728 special state value for window-persistent-parameters.
4729 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4730 (window--state-put-2): Reset all window parameters to nil before
4731 assigning values of persistent parameters.
4733 2012-01-18 Alan Mackenzie <acm@muc.de>
4735 Eliminate sluggishness and hangs in fontification of "semicolon
4738 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4739 Change value 10000 -> 3000.
4740 (c-state-safe-place): Reformulate so it doesn't stack up an
4741 infinite number of wrong entries in c-state-nonlit-pos-cache.
4742 (c-determine-limit-get-base, c-determine-limit): New functions to
4743 determine backward search limits disregarding literals.
4744 (c-find-decl-spots): Amend commenting.
4745 (c-cheap-inside-bracelist-p): New function which detects "={".
4747 * progmodes/cc-fonts.el
4748 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4750 (c-font-lock-declarations): Fix an occurrence of point being
4751 undefined. Check additionally for point being in a bracelist or
4752 near a macro invocation without a semicolon so as to avoid a
4753 fruitless time consuming search for a declarator. Give a more
4754 precise search limit for declarators using the new
4757 2012-01-18 Glenn Morris <rgm@gnu.org>
4759 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4760 (set-auto-mode): Doc fixes.
4762 2012-01-17 Glenn Morris <rgm@gnu.org>
4764 * isearch.el (search-nonincremental-instead): Fix doc typo.
4766 * dired.el (dired-insert-directory): Handle newlines in directory name.
4767 (dired-build-subdir-alist): Unescape newlines in directory name.
4769 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4771 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4772 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4773 (tramp-action-terminal): Use it. (Bug#10530)
4775 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4779 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4781 * window.el (window-state-ignored-parameters): Remove variable.
4782 (window--state-get-1): Rename argument MARKERS to IGNORE.
4783 Handle persistent window parameters. Make copy of clone-of
4784 parameter only if requested. (Bug#10348)
4785 (window--state-put-2): Install a window parameter only if it has
4786 a non-nil value or an existing parameter shall be overwritten.
4788 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4790 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4792 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4794 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4795 don't pass the (nil) value of `upnode' to string-match.
4797 2012-01-14 Chong Yidong <cyd@gnu.org>
4799 * startup.el (command-line): Fix X resource class for cursorColor.
4800 Fix values recognized by the cursorBlink resource.
4802 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4804 * epg.el (epg--make-temp-file): Avoid permission race condition
4805 when running on old Emacs versions (bug#10403).
4807 2012-01-14 Glenn Morris <rgm@gnu.org>
4809 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4811 2012-01-13 Alan Mackenzie <acm@muc.de>
4813 Fix filling for when filladapt mode is enabled.
4815 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4816 c-mask-paragraph, pass in `fill-paragraph' rather than
4817 `fill-region-as-paragraph'. (This is a reversion of a previous
4819 * progmodes/cc-mode.el (c-basic-common-init):
4820 Make fill-paragraph-handle-comment buffer local and set it to nil.
4822 2012-01-13 Glenn Morris <rgm@gnu.org>
4824 * dired.el (dired-switches-escape-p): New function.
4825 (dired-insert-directory): Use dired-switches-escape-p.
4826 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4828 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4830 2012-01-12 Glenn Morris <rgm@gnu.org>
4832 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4833 changes in adaptive-fill-regexp. (Bug#10276)
4835 2012-01-11 Alan Mackenzie <acm@muc.de>
4837 Fix Emacs bug #10463 - put `widen's around the critical spots.
4839 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4840 widen around each invocation of c-state-pp-to-literal. Remove an
4841 unused let variable.
4843 2012-01-11 Glenn Morris <rgm@gnu.org>
4845 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4848 2012-01-10 Chong Yidong <cyd@gnu.org>
4850 * net/network-stream.el (network-stream-open-starttls):
4851 Avoid emitting a confusing error message when the server gives a bad
4852 response to the capability command.
4854 2012-01-10 Glenn Morris <rgm@gnu.org>
4856 * mail/unrmail.el (unrmail): Tweak previous change.
4858 2012-01-09 Chong Yidong <cyd@gnu.org>
4860 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4862 2012-01-08 Alan Mackenzie <acm@muc.de>
4864 Optimise font locking in long enum definitions.
4866 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4867 arm to a cond form to handle enums.
4868 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4869 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4871 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4873 * files.el (move-file-to-trash): Preserve default file modes on error.
4876 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4878 * faces.el (set-face-attribute): Clarify the meaning of the nil
4881 * subr.el (with-selected-frame): Mention that the selected frame
4882 is restored (bug#9980).
4884 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4887 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4888 (password-read): Don't autoload unused function.
4890 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4892 * progmodes/which-func.el (which-func-mode): Turn into a
4893 non-interactive function and mark as obsolete (bug#10428).
4895 2012-01-06 Chong Yidong <cyd@gnu.org>
4897 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4898 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4899 functions, along with 1 and -1.
4901 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4903 * time.el (display-time-load-average)
4904 (display-time-default-load-average): Doc fixes. See the thread
4906 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4909 2012-01-06 Glenn Morris <rgm@gnu.org>
4911 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4912 has no messages. (Bug#10377)
4914 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4915 than Info-edit. (Bug#10385)
4917 * time.el (display-time-load-average, display-time-next-load-average):
4920 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4921 local setting of buffer-read-only to the input buffer. (Bug#10419)
4923 * calendar/calendar.el (calendar-mode):
4924 Locally set scroll-margin to 0. (Bug#10379)
4926 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4928 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4930 2012-01-05 Glenn Morris <rgm@gnu.org>
4932 * eshell/em-unix.el (diff-no-select): Autoload it.
4933 (eshell/diff): Use diff-no-select. (Bug#10420)
4935 2012-01-05 Chong Yidong <cyd@gnu.org>
4937 * shell.el (shell-dynamic-complete-functions): Revert last change.
4938 (shell-command-completion-function): New function.
4939 (shell-completion-vars): Use it to implement
4940 shell-completion-execonly (Bug#10417).
4942 * custom.el (enable-theme): Don't set custom-safe-themes.
4944 * cus-theme.el (custom-theme-merge-theme):
4945 Ignore custom-enabled-themes and custom-safe-themes.
4947 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4949 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4950 first prompt in `sql-interacive-mode'.
4951 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4953 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4954 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4955 context of original buffer. Invoke `sql-login-hook'.
4957 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4959 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4960 letters in cite-prefix.
4962 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4964 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4966 2012-01-03 Chong Yidong <cyd@gnu.org>
4968 * shell.el (shell-dynamic-complete-functions):
4969 Put pcomplete-completions-at-point, so as to try
4970 comint-filename-completion first (Bug#10417).
4972 2012-01-02 Richard Stallman <rms@gnu.org>
4974 * battery.el (battery-status-function):
4975 Detect when to use battery-yeeloong-sysfs.
4976 (battery-echo-area-format): Add string for Yeeloong.
4977 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4978 (battery-yeeloong-sysfs): New function.
4980 2012-01-02 Chong Yidong <cyd@gnu.org>
4982 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4983 (dirtrack): Merge code for handling relative filenames in prompt
4984 from shell-dir-cookie-watcher.
4985 (dirtrack-debug-message): New arg to avoid excess format calls.
4987 * shell.el (shell-dir-cookie-re): Variable deleted.
4988 (shell-dir-cookie-watcher): Function deleted.
4989 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4992 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4994 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4995 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4998 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5000 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5002 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5004 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5005 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5007 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5009 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5010 also for alternative shells.
5011 (tramp-open-connection-setup-interactive-shell): Check, whether
5012 the shell is a busybox.
5013 (tramp-send-command): Don't suppress multiple prompts for
5014 busyboxes, it hurts.
5016 2011-12-28 Chong Yidong <cyd@gnu.org>
5018 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5019 (gdb-get-source-file): Move mode line update to
5020 gdb-get-source-file (Bug#10087).
5022 2011-12-25 Chong Yidong <cyd@gnu.org>
5024 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5025 gud-gdb-marker-filter without taking it as an argument.
5026 (gud-gdb-run-command-fetch-lines): Caller changed.
5027 (gud-gdb-completion-function): New variable.
5028 (gud-gdb-completion-at-point): Use it.
5029 (gud-gdb-completions-1): Split from gud-gdb-completions.
5031 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5032 function as separate arguments.
5033 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5034 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5035 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5036 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5037 (gdb-stopped, def-gdb-auto-update-trigger)
5038 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5039 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5041 (gud-gdbmi-completions): New function.
5042 (gdb): Use it for generating the completion table.
5044 2011-12-24 Alan Mackenzie <acm@muc.de>
5046 Introduce a mechanism to widen the region used in context font
5047 locking. Use this to protect declarations from losing their contexts.
5049 * progmodes/cc-langs.el (c-before-font-lock-functions):
5050 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5051 (c-before-context-fontification-functions): New defvar, a list of
5052 functions to be run just before context (etc.) font locking.
5054 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5055 New, functionality extracted from
5056 c-neutralize-syntax-in-and-mark-CPP.
5057 (c-in-after-change-fontification): New variable.
5058 (c-after-change): Set c-in-after-change-fontification.
5059 (c-set-fl-decl-start): Rejig its interface, so it can be called
5060 from both after-change and context fontifying.
5061 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5063 (c-standard-font-lock-fontify-region-function): New variable.
5064 (c-font-lock-fontify-region): New function.
5066 2011-12-24 Juri Linkov <juri@jurta.org>
5068 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5071 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5073 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5074 existence of source file. (Bug#10325)
5076 2011-12-23 Alan Mackenzie <acm@muc.de>
5078 Fix unstable fontification inside templates.
5080 * progmodes/cc-langs.el (c-before-font-lock-functions):
5081 Newly created from the singular version. The (c c++ objc) entry now
5082 additionally has c-set-fl-decl-start. The other languages (apart
5083 from AWK) have that as a single entry.
5085 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5086 The functionality for "local" declarations has been extracted to
5087 c-set-fl-decl-start.
5089 * progmodes/cc-mode.el (c-common-init, c-after-change):
5090 Changes due to pluralisation of c-before-font-lock-functions.
5091 (c-set-fl-decl-start): New function, extracted from
5092 c-font-lock-enclosing-decls and enhanced.
5094 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5096 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5098 2011-12-22 Juri Linkov <juri@jurta.org>
5100 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5102 2011-12-22 Chong Yidong <cyd@gnu.org>
5104 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5106 2011-12-21 Drew Adams <drew.adams@oracle.com>
5108 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5110 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5112 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5114 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5116 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5117 highlighting and support. Fix up comments for capitalization.
5118 (cfengine-mode-debug): New var.
5119 (cfengine3-mode): Change the modeline indicator to "CFE3".
5120 (cfengine3-font-lock-keywords): Improve defun highlighting.
5121 (cfengine2-actions): Rename from `cfengine-actions'.
5122 (cfengine2-font-lock-keywords): Rename from
5123 `cfengine-font-lock-keywords'.
5124 (cfengine2-imenu-expression): Rename from
5125 `cfengine-imenu-expression'.
5126 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5127 (cfengine2-beginning-of-defun): Rename from
5128 `cfengine-beginning-of-defun'.
5129 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5130 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5131 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5132 modeline indicator to "CFE2".
5133 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5134 (cfengine-mode-abbrevs): Mark obsolete.
5136 2011-12-21 Chong Yidong <cyd@gnu.org>
5138 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5141 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5143 * window.el (window-normalize-buffer-to-display): Remove.
5144 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5146 2011-12-19 Chong Yidong <cyd@gnu.org>
5148 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5149 Don't signal an error in a predicate function; return non-nil.
5150 (vc-dir-mark-file): Move the error here.
5151 (vc-dir-mark-unmark): If acting on the region, keep going if one
5152 of the entries cannot be marked/unmarked.
5153 (vc-dir-mark-all-files): If current entry is a directory, mark
5154 only child files, as documented.
5156 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5158 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5159 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5162 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5164 * term/ns-win.el (ns-get-selection-internal)
5165 (ns-store-selection-internal): Declare.
5166 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5167 Declare as obsolete.
5168 (ns-get-pasteboard, ns-paste-secondary):
5169 Use ns-get-selection-internal.
5170 (ns-set-pasteboard, ns-copy-including-secondary):
5171 Use ns-store-selection-internal.
5173 2011-12-17 Chong Yidong <cyd@gnu.org>
5175 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5176 (vc-deduce-fileset): Doc fix.
5178 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5180 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5182 2011-12-13 Sam Steingold <sds@gnu.org>
5184 * man.el (Man-getpage-in-background): When running under a
5185 window-system, ignore $MANWIDTH and $COLUMNS.
5187 2011-12-15 Kenichi Handa <handa@m17n.org>
5189 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5190 (setup-ethiopic-environment-internal): Comment out key-binding for
5191 ethio-toggle-punctuation.
5193 2011-12-13 Alan Mackenzie <acm@muc.de>
5195 Add the switch statement to AWK Mode.
5197 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5198 "default" to the keywords regexp.
5200 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5201 expression as the rest.
5202 (c-nonlabel-token-key): Allow string literals for AWK.
5203 Refactor for the other modes.
5205 Large brace-block initialisation makes CC Mode slow: Fix.
5206 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5207 routines. Limit backward searching in c-font-lock-enclosing.decl.
5209 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5210 pp-state and literal type in addition to the limits.
5211 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5212 (c-state-literal-at): Use the above new defun.
5213 (c-slow-in-literal, c-fast-in-literal): Remove.
5214 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5216 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5217 being in a literal. Add a limit for backward searching.
5219 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5222 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5226 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5228 * window.el (delete-other-windows): Use correct frame in call to
5229 window-with-parameter.
5231 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5233 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5234 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5235 (makefile-gmake-statements, makefile-makepp-statements):
5236 Use it and add new makepp keywords.
5237 (makefile-makepp-font-lock-keywords): Add new patterns.
5238 (makefile-match-function-end): Match new [...] and [[...]].
5240 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5242 * ses.el (ses-call-printer-return, ses-cell-property-get)
5243 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5244 (ses-create-cell-variable, ses-reset-header-string)
5245 (ses-cell-set-formula, ses-repair-cell-reference-all)
5246 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5247 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5248 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5249 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5250 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5251 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5252 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5253 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5254 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5255 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5256 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5257 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5259 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5261 * ses.el: The overall change is to add cell renaming, that is
5262 setting fancy names for cell symbols other than name matching
5263 "\\`[A-Z]+[0-9]+\\'" regexp .
5264 (ses-create-cell-variable): New defun.
5265 (ses-relocate-formula): Relocate formulas only for cells the
5266 symbols of which are not renamed, i.e. symbols whose names do not
5267 match regexp "\\`[A-Z]+[0-9]+\\'".
5268 (ses-relocate-all): Relocate values only for cells the symbols of
5269 which are not renamed.
5270 (ses-load): Create cells variables as the (ses-cell ...) are read,
5271 in order to check row col consistency with cell symbol name only
5272 for cells that are not renamed.
5273 (ses-replace-name-in-formula): New defun.
5274 (ses-rename-cell): New defun.
5276 2011-12-11 Chong Yidong <cyd@gnu.org>
5278 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5279 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5281 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5283 * window.el (other-window): Fix docstring.
5285 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5287 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5288 `from' or `to' address before taking its substring.
5289 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5290 encoded name is chopped in the middle of the encoded string, and
5291 thus displayed encoded.
5293 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5295 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5297 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5299 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5300 to use texinfo-update-node and commands that call it if the
5301 Texinfo file uses @node lines without next/prev/up pointers.
5302 Correct outdated description about texinfo-master-menu.
5303 (texinfo-all-menus-update, texinfo-master-menu)
5304 (texinfo-update-node, texinfo-every-node-update)
5305 (texinfo-multiple-files-update): Doc fix. Warn against updating
5306 all the @node lines.
5307 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5308 argument is numeric. Explain better in the doc string what the
5309 function really does.
5310 (texinfo-insert-master-menu-list): Improve the error message
5311 displayed if there's no menu in the Top node.
5312 (Bug#2975) See also this thread:
5313 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5315 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5317 * speedbar.el (speedbar-supported-extension-expressions):
5318 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5320 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5322 * printing.el (pr-mode-alist):
5323 * simple.el (filter-buffer-substring-functions)
5324 (completion-list-insert-choice-function):
5325 * window.el (window-with-parameter, window-atom-root)
5326 (window-sides-slots, window-size-fixed, window-min-delta)
5327 (window-max-delta, window--resize-mini-window)
5328 (window--resize-child-windows-normal, window-tree)
5329 (delete-other-windows, quit-window, split-window)
5330 (display-buffer-record-window, special-display-buffer-names)
5331 (special-display-regexps, special-display-popup-frame)
5332 (same-window-p, split-window-sensibly)
5333 (display-buffer-overriding-action, display-buffer-alist)
5334 (display-buffer-base-action, display-buffer, switch-to-buffer)
5335 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5336 (fit-window-to-buffer, recenter-positions)
5337 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5338 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5339 and remove unneeded backslashes in docstrings.
5341 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5345 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5346 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5348 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5349 when reading the makefile (bug#10116).
5351 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5356 2011-12-06 Glenn Morris <rgm@gnu.org>
5358 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5360 2011-12-06 Chong Yidong <cyd@gnu.org>
5362 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5364 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5366 * textmodes/table.el (table-shorten-cell): Fix typo.
5368 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5370 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5372 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5374 * descr-text.el (describe-char): Fix display of strong
5375 right-to-left characters and directional embeddings and overrides.
5377 * simple.el (what-cursor-position): Fix display of codepoints of
5378 strong right-to-left characters.
5380 2011-12-05 Chong Yidong <cyd@gnu.org>
5382 * faces.el (read-color): Doc fix.
5384 2011-12-05 Glenn Morris <rgm@gnu.org>
5386 * align.el (align--set-marker): Add doc-string.
5387 Don't try to move something that is not a marker. (Bug#10216)
5389 2011-12-04 Glenn Morris <rgm@gnu.org>
5391 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5392 overly zealous deletion of trailing whitespace.
5394 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5396 * server.el (server-delete-client): On Windows, do not try to delete
5398 (server-process-filter): On Windows, treat requests for a tty frame as
5399 if they were for a GUI frame if the running server is in GUI mode.
5401 2011-12-03 Glenn Morris <rgm@gnu.org>
5403 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5405 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * electric.el: Streamline electric-indent's hook.
5408 (electric-indent-chars): Revert to simple list.
5409 (electric-indent-functions): New var.
5410 (electric-indent-post-self-insert-function): Use it.
5412 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5413 there's no inferior buffer (bug#10196).
5414 (prolog-consult-compile): Don't use toggle-read-only.
5416 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5418 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5419 interrupt. (Bug#10187)
5421 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5423 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5426 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5429 2011-12-02 Juri Linkov <juri@jurta.org>
5431 * info.el (Info-search): Display "end of manual" when Isearch
5432 reaches the end of single-file Info manual. (Bug#9918)
5434 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5436 * isearch.el (isearch-message-prefix): Run the input method part
5437 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5439 2011-12-02 Juri Linkov <juri@jurta.org>
5441 * isearch.el (isearch-occur): Use `word-search-regexp' for
5443 (isearch-search-and-update): Add condition for `isearch-word' and
5444 call `word-search-regexp'. (Bug#10145)
5446 2011-12-01 Glenn Morris <rgm@gnu.org>
5448 * eshell/em-hist.el (eshell-hist-initialize):
5449 Handle eshell-history-size nil and HISTSIZE set or unset.
5450 (eshell-history-file-name, eshell-history-size): Fix custom type.
5452 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5456 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5458 * progmodes/verilog-mode.el (verilog-pretty-expr):
5459 Rework verilog-pretty-expr to handle new assignment operators in system
5460 verilog, such as += *= and the like.
5461 (verilog-assignment-operator-re): Regular expression to find the
5462 assigment operator in a verilog assignment.
5463 (verilog-assignment-operation-re): Regular expression to find an
5464 assignment statement for pretty-expr.
5465 (verilog-in-attribute-p): Query returns true if point is in an
5466 attribute context; used to skip these for expression line up from
5468 (verilog-in-parameter-p): Query returns true if point is in an
5469 parameter definition context; used to skip these for expression
5470 line up from pretty-expr.
5471 (verilog-in-parenthesis-p): Query returns true if point is in a
5472 parenthetical expression, specifically ( ) but not [ ] or { };
5473 used by pretty-expr.
5474 (verilog-just-one-space): If there is no space, don't add one.
5475 (verilog-get-lineup-indent-2): Specifically skip just attribute
5476 contexts for expression lineup, rather than skipping all
5477 parenthetical expressions.
5478 (verilog-calculate-indent): Fix comment, and fix indent.
5479 (verilog-do-indent): Indent declarations in lists (suggested by
5481 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5483 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5486 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5488 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5489 parameters with embedded comments. Reported by Ray Stevens.
5490 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5491 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5492 Reported by Tim Holt.
5493 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5494 instantiated by upper module causing wrong expansion until AUTOed a
5495 second time. Reported by K C Buckenmaier.
5496 (verilog-diff-auto): Fix showing .* as a difference when
5497 `verilog-auto-star-save' off. Reported by Dan Dever.
5498 (verilog-auto-reset, verilog-read-always-signals)
5499 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5500 temporary signals in reset list if
5501 verilog-auto-reset-blocking-in-non is nil, and match assignment
5502 style to each signal's assignment type, bug381.
5503 Reported by Thomas Esposito.
5504 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5505 (verilog-uvm-statement-re): Support UVM indentation and
5506 highlighting, with old OVM keywords only.
5507 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5508 Support AUTOTIEOFF creating non-wire data types.
5509 Suggested by Jonathan Greenlaw.
5510 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5511 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5512 (verilog-inject-sense, verilog-read-inst-pins)
5513 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5514 Fix mismatching parenthesis inside commented out code when deleting
5515 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5516 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5517 non-numeric vector width. Reported by Alex Reed.
5518 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5519 detecting signals with parameter widths. Reported by Alex Reed.
5520 (verilog-auto-delete-trailing-whitespace):
5521 With `verilog-auto-delete-trailing-whitespace' remove trailing
5522 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5523 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5524 Fix verilog-scan-cache corruption when running user AUTO expansion
5525 hooks that call indentation routines.
5526 (verilog-simplify-range-expression): Fix typo ignoring lower case
5528 (verilog-delete-auto): Fix delete-autos to also remove user created
5529 automatics, as long as they start with AUTO.
5530 (verilog-batch-diff-auto, verilog-diff-auto)
5531 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5532 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5533 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5534 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5535 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5536 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5537 is disabled and its cache will get corrupt, causing AUTOS not to
5538 expand. Instead use only -quick functions.
5539 (verilog-scan-region): Fix scanning over escaped quotes.
5540 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5541 (verilog-re-search-backward-quick)
5542 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5543 related functions now ignore strings, to fix misparsing of strings
5544 with magic comments embedded in them.
5545 (verilog-read-auto-template):
5546 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5547 Reported by Brad Dobbie.
5548 (verilog-read-auto-template):
5549 Fix 'verilog-auto-inst-template-numbers' with comments.
5550 Reported by Brad Dobbie.
5551 (verilog-auto-inst, verilog-auto-inst-param)
5552 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5553 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5554 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5555 debugging templates without merge conflicts, bug357.
5556 Reported by Brad Dobbie.
5557 (verilog-read-auto-template):
5558 Fix verilog-auto-inst-template-numbers with multiple templates.
5559 Reported by Brad Dobbie.
5560 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5561 abbrevs so user won't be asked to save.
5562 (verilog-read-auto-lisp-present): Fix to start at beginning of
5563 buffer in case called outside of verilog-auto.
5564 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5565 to "X-2". Reported by Matthew Myers.
5566 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5567 all inputs from module templates. Reported by Leith Johnson.
5568 (verilog-module-inside-filename-p): Fix locating programs as with
5570 (verilog-auto-inst-port): Fix vl-width expressions when using
5571 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5572 (verilog-decls-get-regs, verilog-decls-get-signals,
5573 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5574 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5575 verilog-read-decls): Combine reg and wire structures into one var
5576 structure to represent SystemVerilog concepts.
5577 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5578 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5579 (verilog-auto-wire-type, verilog-insert-definition):
5580 Add verilog-auto-wire-type and AUTOLOGIC to support using
5581 SystemVerilog "logic" keyword instead of "wire"/"reg".
5582 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5583 to declares outputs that also have assignments (presumably in an
5584 ifdef or generate if so there's not a driver conflict).
5585 Reported by Matthew Myers.
5586 (verilog-auto-declare-nettype, verilog-insert-definition):
5587 Add verilog-auto-declare-nettype to fix declarations using
5588 `default_nettype none. Reported by Julian Gorfajn.
5589 (verilog-read-always-signals-recurse, verilog-read-decls)
5590 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5591 malformed end statement, bug325. Reported by Joshua Wise and
5593 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5594 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5595 when expanding .* in interfaces, bug320.
5596 Reported by Pierre-David Pfister.
5597 (verilog-read-module-name): Fix import statements between module
5598 name and open parenthesis, bug317.
5599 Reported by Pierre-David Pfister.
5600 (verilog-simplify-range-expression): Fix simplification of
5601 multiplications inside AUTOWIRE connections, bug303.
5602 (verilog-auto-inst-port): Support parameter expansion in
5603 multidimensional arrays.
5604 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5605 after "assert property". Reported by Julian Gorfajn.
5606 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5607 with multiplication, bug303.
5608 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5609 Reported by Jan Frode Lonnum.
5611 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5613 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5614 (hfy-shell-file-name, hfy-shell):
5615 * international/fontset.el (x-decompose-font-name): Fix typos.
5617 2011-11-29 Ken Brown <kbrown@cornell.edu>
5619 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5620 (gdb-version): Remove defvar.
5621 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5622 (gdb-gud-context-command, gdb-non-stop-handler)
5623 (gdb-current-context-command, gdb-stopped): Use it.
5624 (gdb-init-1): Enable pretty printing here.
5625 (gdb-non-stop-handler): Don't enable pretty-printing here.
5626 Check to see if the target supports non-stop mode; if not, turn off
5627 non-stop mode. Use the following.
5628 (gdb-check-target-async): New defun.
5629 (gud-watch, gdb-stopped): Fix whitespace.
5630 (gdb-get-source-file): Don't try to display the source file if
5631 `gdb-main-file' is nil.
5633 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5635 * align.el: Try to generate fewer markers (bug#10047).
5636 (align--set-marker): New macro.
5637 (align-region): Use it.
5639 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5643 2011-11-29 Chong Yidong <cyd@gnu.org>
5645 * indent.el (indent-for-tab-command, indent-according-to-mode):
5647 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5649 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5651 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5652 aware of remote file names. (Bug#10124)
5654 2011-11-29 Chong Yidong <cyd@gnu.org>
5656 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5658 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * files.el (find-file): Don't use force-same-window (bug#10144).
5661 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5662 use pop-to-buffer if the selected window can't be used.
5663 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5665 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5667 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5670 2011-11-28 Chong Yidong <cyd@gnu.org>
5672 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5674 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5676 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5677 gdb-get-source-file-list on gdb-create-source-file-list.
5679 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5681 * whitespace.el (whitespace-newline): Use a different foreground
5682 color for 16-color light-background displays.
5684 2011-11-24 Chong Yidong <cyd@gnu.org>
5686 * window.el (display-buffer--special-action): Doc fix.
5688 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5690 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5691 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5692 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5693 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5694 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5695 (avl-tree-stack-first):
5696 * emacs-lisp/cconv.el (cconv--analyse-use):
5697 * net/gnutls.el (gnutls-negotiate): Fix typos.
5699 2011-11-24 Glenn Morris <rgm@gnu.org>
5701 * lpr.el (lpr-windows-system, lpr-lp-system):
5702 * mail/binhex.el (binhex-begin-line):
5703 * progmodes/grep.el (grep-history, grep-find-history):
5704 * textmodes/flyspell.el:
5705 * vc/pcvs-defs.el (cvs-global-menu):
5706 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5707 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5708 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5710 * net/tls.el: Fix case of "GnuTLS".
5712 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5714 * version.el (emacs-build-system): Give it a doc-string.
5716 2011-11-24 Juri Linkov <juri@jurta.org>
5718 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5720 2011-11-24 Glenn Morris <rgm@gnu.org>
5722 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5723 if called on a non-mime message just toggle the headers. (Bug#8006)
5725 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5727 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5728 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5729 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5730 (allout-rebullet-heading, allout-open-sibtopic)
5731 (allout-toggle-current-subtree-encryption)
5732 (allout-toggle-subtree-encryption, allout-encrypt-string)
5733 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5734 (allout-distinctive-bullets-string, allout-auto-activation):
5735 * window.el (window-normalize-buffer-to-display):
5736 * progmodes/verilog-mode.el (verilog-batch-indent):
5737 * textmodes/bibtex.el (bibtex-field-braces-opt)
5738 (bibtex-field-strings-opt):
5739 * vc/cvs-status.el (cvs-tree-merge):
5742 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5744 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5745 `non-essential' to t, in order to avoid remote connections.
5747 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5749 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5750 On MS-DOS and MS-Windows, compare with loaddefs.el
5753 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5755 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5757 2011-11-23 Glenn Morris <rgm@gnu.org>
5759 * paths.el (rmail-file-name): Reformat the doc-string so that it
5762 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5763 (rmail-auto-file): Ignore case in the "special" field names,
5764 as mail-fetch-field does for all others.
5766 * mail/rmail.el (rmail-forward):
5767 * mail/rmailkwd.el (rmail-set-label):
5768 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5769 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5771 * mail/rmail.el (rmail-current-message): Doc fix.
5773 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5775 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5779 2011-11-22 Glenn Morris <rgm@gnu.org>
5781 * mail/rmailmm.el (test-rmail-mime-handler)
5782 (test-rmail-mime-bulk-handler)
5783 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5785 2011-11-21 Juri Linkov <juri@jurta.org>
5787 * calc/calc.el (calc-read-key-sequence):
5788 Let-bind `input-method-function' to nil. (Bug#10018)
5790 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5792 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5793 Tell the caller that the next line needs recomputation, even
5794 though it doesn't start a sexp (bug#10094).
5796 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5800 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5803 Use force-same-window.
5805 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5807 * descr-text.el (describe-char-unicode-data):
5808 * json.el (json-string-escape):
5809 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5810 (Footnote-unicode, Footnote-style-p):
5811 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5813 2011-11-20 Chong Yidong <cyd@gnu.org>
5815 * window.el (replace-buffer-in-windows): Restore interactive spec.
5817 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5819 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5821 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5822 (byte-compile-global-not-obsolete-vars): New var.
5823 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5825 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5827 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5829 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5830 * progmodes/pascal.el (electric-pascal-equal):
5831 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5832 * xml.el (xml-substitute-special): Fix typos.
5834 2011-11-20 Glenn Morris <rgm@gnu.org>
5836 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5837 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5839 (rmail-decode-mime-charset): Mark as obsolete.
5841 * mail/rmailsum.el (rmail-message-regexp-p-1):
5842 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5843 Before using mime functions, check they are set. (Bug#10077)
5845 2011-11-19 Juri Linkov <juri@jurta.org>
5847 * info.el (Info-finder-find-node): Use `package--builtins' instead
5848 of `package-alist'. Use node names formed by the pattern "Keyword "
5849 and the keyword name.
5851 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5853 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5855 2011-11-19 Juri Linkov <juri@jurta.org>
5857 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5858 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5859 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5860 `old-history', `old-history-forward'. Add let-binding
5861 `window-selected'. Remove calls to `kill-buffer',
5862 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5863 before calling `Info-find-node', so `Info-find-node-2' will reread
5864 the Info file. Restore window positions only when `window-selected'
5867 2011-11-19 Juri Linkov <juri@jurta.org>
5869 * isearch.el (isearch-lazy-highlight-new-loop):
5870 Remove condition `(not isearch-error)'. (Bug#9918)
5872 * misearch.el (multi-isearch-search-fun): Add condition
5873 `(not bound)' to ignore lazy-highlighting search.
5874 Add the search-failed message "end of multi" when the end of
5875 multi-sequence is reached. Uncapitalize the search-failed
5876 message "Repeat for next buffer".
5878 * info.el (Info-search): Add the search-failed message
5879 "end of the manual" when the end of the manual is reached
5882 2011-11-19 Juri Linkov <juri@jurta.org>
5884 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5885 Use non-destructive `remove' instead of `delete' because
5886 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5887 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5889 2011-11-19 Juri Linkov <juri@jurta.org>
5891 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5892 to nil instead of binding `search-ring' and `regexp-search-ring'.
5895 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5897 * simple.el (line-move): Force movement by logical lines for any
5898 hscrolled window, not only when auto-hscroll-mode is on.
5899 (line-move-visual): Update doc string to that effect. (Bug#10076)
5901 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5903 * language/european.el (macintosh): Define as alias for mac-roman.
5905 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5907 * mail/rmailmm.el (rmail-mime-display-header)
5908 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5909 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5910 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5911 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5912 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5914 (rmail-mime-entity-segment): To get past the tagline, move forward
5915 2 more lines, to account for the 2 empty lines that precede and
5916 follow the line with the buttons.
5917 (rmail-mime-update-tagline): Move one more line, to get past the
5918 empty line that follows the buttons in the tagline. (Bug#9520)
5920 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5922 * window.el (window-max-delta-1, window-min-delta-1)
5923 (window-min-size-1, window-state-get-1, window-state-put-1)
5924 (window-state-put-2): Use "window--" prefix.
5926 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5929 (smie-warning-count): New var.
5930 (smie-set-prec2tab): Use it.
5931 (smie-bnf->prec2): Improve warnings. Add docstring.
5932 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5933 (smie-bnf--set-class): New function.
5934 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5937 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5938 (compilation-error-properties, compilation-move-to-column):
5939 Handle compilation-first-column while in the target buffer.
5941 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5942 Don't hardcode point-min==1.
5944 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5945 (eshell-rewrite-for-command): Remove workaround.
5946 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5947 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5948 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5950 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5952 2011-11-17 Glenn Morris <rgm@gnu.org>
5954 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5955 Ignore buffer-local generated-autoload-file if it is the same
5956 as the global value. (Bug#10049)
5958 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5960 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5961 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5962 (reftex-toc-previous-heading, reftex-toc-max-level)
5963 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5964 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5965 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5966 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5967 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5968 (reftex-toc-rename-label, reftex-toc-visit-location)
5969 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5970 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5971 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5972 leaving "*toc*" only for references to the buffer.
5974 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5976 * window.el (window-resize, delete-window, split-window):
5977 Replace window-splits by window-combination-resize.
5978 * cus-start.el (window-splits): Replace by window-combination-resize.
5980 2011-11-17 Glenn Morris <rgm@gnu.org>
5982 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5983 Make bash entry derive from sh entry, not shell entry.
5985 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5987 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5988 properties of linked files. (Bug#9879)
5990 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5993 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5995 * menu-bar.el (menu-bar-file-menu):
5996 * printing.el (pr-ps-utility):
5997 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5998 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5999 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6000 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6001 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6002 (icalendar--convert-cyclic-to-ical)
6003 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6004 (icalendar--convert-ical-to-diary)
6005 (icalendar--convert-recurring-to-diary)
6006 (icalendar--convert-non-recurring-all-day-to-diary)
6007 (icalendar-import-format-sample):
6008 * progmodes/idlw-shell.el (idlwave-shell-mode):
6009 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6010 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6011 (vhdl-ps-print-init): Fix typos.
6013 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6015 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6016 FSF and collapse date sequence, obscure author/maintainer email address
6017 better, remove extra version line, track relocation of author's webpage.
6019 * progmodes/python.el (python-pdbtrack-input-prompt)
6020 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6021 regular python pdb prompts. Adjustments shamelessly taken exactly as
6022 suggested in EmacsWiki page (tiny change):
6023 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6025 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6027 * expand.el (expand-pos, expand-index, expand-point):
6028 Remove redundant info from docstring.
6029 (expand-add-abbrevs): Doc fix.
6030 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6031 (expand-sample-perl-mode-expand-list): Fix typos.
6033 * net/dbus.el (dbus-event-member-name):
6034 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6035 * term/pc-win.el (msdos-create-frame-with-faces):
6036 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6038 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6040 * window.el (split-window, window-state-get-1)
6041 (window-state-put-1, window-state-put-2): Rename occurrences of
6042 window-nest to window-combination-limit.
6043 * cus-start.el (window-nest): Rename to window-combination-limit.
6045 2011-11-16 Chong Yidong <cyd@gnu.org>
6047 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6050 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6053 `completing-read' will remove *Completions* and will preserve
6054 current-buffer for us.
6055 (tmm-add-prompt): Users of *Completions* will always (re)set its
6057 (tmm-old-comp-map): Remove.
6059 2011-11-16 Glenn Morris <rgm@gnu.org>
6061 * mail/rmailedit.el: Require rmailmm when compiling.
6062 (rmail-old-mime-state): New declaration.
6063 (rmail-edit-current-message): If editing a mime message,
6064 edit the "raw" message from the mbox buffer.
6065 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6067 2011-11-15 Glenn Morris <rgm@gnu.org>
6069 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6070 which wasn't being used. Add optional arg to force given state.
6071 (rmail-mime): Add optional arg to force given state.
6073 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6075 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6076 * frame.el (display-mm-dimensions-alist):
6077 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6078 (outline-move-subtree-down):
6079 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6080 (newsticker--treeview-do-get-node):
6081 * net/quickurl.el (quickurl-list-buffer-name):
6082 * progmodes/dcl-mode.el (dcl-mode):
6083 * progmodes/gdb-mi.el (gdb-mapcar*):
6084 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6086 2011-11-15 Glenn Morris <rgm@gnu.org>
6088 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6089 in a boolean sense, so just make it a boolean, and fix the doc.
6090 (rmail-show-mime-function, rmail-mime-feature)
6091 (rmail-require-mime-maybe): Doc fixes.
6092 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6094 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6096 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6098 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6099 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6100 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6101 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6103 2011-11-15 Glenn Morris <rgm@gnu.org>
6105 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6106 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6107 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6108 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6109 (rmail-mime, rmail-show-mime): Doc fixes.
6111 * term/ns-win.el (mode-line-frame-identification):
6112 Leave it alone. (Bug#10051)
6114 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6116 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6117 Handle empty buffers. (Bug#9978)
6119 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6121 * international/mule.el (define-charset):
6122 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6123 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6124 * progmodes/verilog-mode.el (verilog-backward-token):
6125 * textmodes/ispell.el (lookup-words):
6126 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6128 2011-11-14 Glenn Morris <rgm@gnu.org>
6130 * progmodes/executable.el
6131 (executable-make-buffer-file-executable-if-script-p):
6132 Handle file-modes returning nil.
6134 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6135 message - not necessary, and causes problems. (Bug#9831)
6137 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6139 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6141 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6142 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6143 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6145 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6147 * window.el (window-resize, delete-window): Use window-splits
6148 variable instead of function.
6149 (window-state-get-1, window-state-put-2, window-state-put):
6150 Don't deal with windows' splits status.
6152 2011-11-12 Glenn Morris <rgm@gnu.org>
6154 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6155 (apropos-documentation): Doc fixes.
6157 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6159 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6160 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6162 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * electric.el (electric-indent-post-self-insert-function): Make it
6165 possible for a char to only indent in some circumstances.
6166 (electric-indent-mode): Simplify.
6168 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6170 * window.el (windows-with-parameter): Remove unused function.
6171 (windows-at-side): Rename to window-at-side-list.
6172 (window-check, window-atom-check, window-atom-check-1)
6173 (window-side-check, window-size-ignore, window-size-fixed-1)
6174 (window-in-direction-2): Prefix with "window--".
6175 (window-tree-1): Rename to window--subtree, fix doc-string.
6177 2011-11-11 Glenn Morris <rgm@gnu.org>
6179 * subr.el (eval-after-load): If FILE is already loaded,
6180 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6182 2011-11-10 Glenn Morris <rgm@gnu.org>
6184 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6185 Call svn via vc-svn-command rather than vc-do-command.
6186 (vc-svn-command): Add --non-interactive. (Bug#9993)
6187 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6190 Add toggle-read-only. (Bug#7292)
6191 * files.el (toggle-read-only): Mention that it should only
6192 be used interactively. (Bug#10006)
6194 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6197 Adjust regexp for OCaml warnings.
6199 * electric.el (electric-pair-post-self-insert-function): Let user
6200 turn it off buffer-locally (bug#9932).
6202 * progmodes/python.el (python-beginning-of-statement):
6205 * progmodes/compile.el: Better handle TABs (bug#9749).
6206 (compilation-internal-error-properties)
6207 (compilation-next-error-function): Obey the target buffer's
6208 compilation-error-screen-columns.
6210 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6212 * progmodes/meta-mode.el: Remove obsolete comments.
6213 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6214 Fix typos in docstrings.
6216 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6218 * window.el (window-size-fixed-p): Rewrite doc-string.
6219 (window-resizable-p): Rename to window--resizable-p. Update callers.
6220 (window--resizable): New function. Make all callers of
6221 window-resizable call window--resizable instead.
6222 (window-resizable): Rewrite in terms of window--resizable.
6224 2011-11-08 Glenn Morris <rgm@gnu.org>
6226 * progmodes/delphi.el (delphi-mode-syntax-table):
6227 Let define-derived-mode define a proper syntax table. (Bug#9994)
6229 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6231 * window.el: Stay away from defsubst.
6232 (window-list-no-nils): Remove.
6233 (window-state-get-1, window-state-get): Use backquote instead.
6235 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6237 * emacs-lisp/find-func.el (find-function-read):
6238 Fix incorrect use of default argument in `completing-read'.
6240 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6242 * window.el (display-buffer-function, special-display-function):
6243 Mention display-buffer-record-window but do not mention
6244 help-setup parameter in doc-strings.
6245 (window-min-delta): Fix doc-string typo.
6247 2011-11-08 Chong Yidong <cyd@gnu.org>
6249 * window.el (window-total-height, window-total-width): Doc fix.
6250 (window-body-size): Move from C.
6251 (window-body-height, window-body-width): Move to C.
6253 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * window.el: Make special-display like display-buffer-alist (bug#9532).
6256 (display-buffer--special-action): New function, morphed
6257 from display-buffer--special.
6258 (display-buffer): Use it to handle special-display-buffers at higher
6259 priority (just after display-buffer-alist).
6260 (display-buffer-fallback-action, display-buffer--other-frame-action)
6261 (pop-to-buffer-same-window): Remove display-buffer--special.
6263 2011-11-07 Glenn Morris <rgm@gnu.org>
6265 * calendar/cal-menu.el (cal-menu-set-date-title):
6266 Do nothing if not in a calendar. (Bug#9976)
6268 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6270 * files.el (find-file): Always use selected-window.
6272 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6274 * window.el (window-combinations): Make WINDOW argument
6275 mandatory. Rewrite doc-string.
6276 (walk-window-subtree, window-atom-check, window-min-delta)
6277 (window-max-delta, window--resize-this-window)
6278 (window--resize-root-window-vertically, window-tree)
6279 (balance-windows, window-state-put): Rewrite doc-strings as to
6280 not mention the term "subwindow".
6281 (window--resize-subwindows-skip-p): Rename to
6282 window--resize-child-windows-skip-p.
6283 (window--resize-subwindows-normal): Rename to
6284 window--resize-child-windows-normal.
6285 (window--resize-subwindows): Rename to
6286 window--resize-child-windows.
6287 (window-or-subwindow-p): Rename to window--in-subtree-p.
6289 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6291 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6292 Ensure that mbox format messages end in two newlines (Bug#9974).
6294 2011-11-06 Chong Yidong <cyd@gnu.org>
6296 * window.el (window-combination-p): Function deleted; its
6297 side-effect is not used in any existing code.
6298 (window-combinations, window-combined-p): Call window-*-child
6301 2011-11-05 Chong Yidong <cyd@gnu.org>
6303 * window.el (window-valid-p): Rename from window-any-p.
6304 (window-size-ignore, window-state-get): Callers changed.
6305 (window-normalize-window): Rename from window-normalize-any-window.
6306 New arg LIVE-ONLY, replacing window-normalize-live-window.
6307 (window-normalize-live-window): Delete.
6308 (window-combination-p, window-combined-p, window-combinations)
6309 (walk-window-subtree, window-atom-root, window-min-size)
6310 (window-sizable, window-sizable-p, window-size-fixed-p)
6311 (window-min-delta, window-max-delta, window-resizable)
6312 (window-resizable-p, window-full-height-p, window-full-width-p)
6313 (window-current-scroll-bars, window-point-1, set-window-point-1)
6314 (window-at-side-p, window-in-direction, window-resize)
6315 (adjust-window-trailing-edge, maximize-window, minimize-window)
6316 (window-deletable-p, delete-window, delete-other-windows)
6317 (record-window-buffer, unrecord-window-buffer)
6318 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6319 (quit-window, split-window, window-state-put)
6320 (set-window-text-height, fit-window-to-buffer)
6321 (shrink-window-if-larger-than-buffer): Callers changed.
6323 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6325 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6326 rfc2047-decode-string.
6327 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6330 * window.el (window-body-height, window-body-width): Mention in
6331 the doc string that the return values are in frame's canonical
6334 2011-11-03 Alan Mackenzie <acm@muc.de>
6336 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6337 change in cc-engine.el.
6339 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6343 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6345 * window.el (quit-window): Call unrecord-window-buffer after
6346 showing another buffer in the window. (Bug#9937)
6347 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6349 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6351 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6352 Accept status with more than 9 shelves. (Bug#9935)
6353 Reported by Colin D Bennett <colin@gibibit.com>.
6355 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6357 * help.el (with-help-window): Don't reference
6358 temp-buffer-show-specifiers in doc-string.
6360 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6362 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6365 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6367 * whitespace.el: New version 13.2.2.
6368 (whitespace-newline-mode): Disable properly. Reported by Sarah
6371 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6373 * net/newst-treeview.el: Remove "Time-stamp".
6374 (newsticker--group-manage-orphan-feeds): Do not call
6375 newsticker--treeview-tree-update.
6376 (newsticker-treeview-update, newsticker-treeview):
6377 Call newsticker--treeview-tree-update if necessary.
6379 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6381 * window.el (window-iso-combination-p, window-iso-combined-p)
6382 (window-iso-combinations): Remove "iso-" infix.
6383 Suggested by Chong Yidong.
6384 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6385 (window-max-delta-1, window-resize, window--resize-siblings)
6386 (window--resize-this-window, adjust-window-trailing-edge)
6387 (split-window, balance-windows-1)
6388 (shrink-window-if-larger-than-buffer):
6389 * calendar/calendar.el (calendar-generate-window):
6390 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6392 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6395 in place (bug#9907).
6396 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6397 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6398 (eshell-structure-basic-command, eshell-rewrite-while-command)
6399 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6400 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6401 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6402 (eshell-do-pipelines-synchronously, eshell-eval-command):
6403 Use backquotes and prefer setq to set.
6404 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6405 (eshell-macrop): Use functionp.
6406 (eshell-do-eval): Handle multiple expressions in `while' body.
6408 2011-10-30 Chong Yidong <cyd@gnu.org>
6410 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6411 instead of set-mark (Bug#9810).
6413 2011-10-30 Chong Yidong <cyd@gnu.org>
6415 * window.el (split-window-below, split-window-right): Rename from
6416 split-window-above-each-other and split-window-side-by-side
6417 respectively. All callers changed.
6418 (split-window-sensibly, split-window-sensibly): Use them.
6419 (split-window-keep-point): Doc fix.
6421 * isearch.el: Add isearch-scroll property to split-window-below
6422 and split-window-right.
6424 * follow.el (follow-mode):
6425 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6426 * progmodes/ada-xref.el (ada-gdb-application):
6427 * emulation/vip.el (vip-buffer-in-two-windows):
6428 * image-dired.el (image-dired-dired-with-window-configuration):
6429 * dired-x.el (dired-do-find-marked-files):
6430 * dired.el (dired-pop-to-buffer):
6431 * bs.el (bs--show-with-configuration):
6432 * vc/emerge.el (emerge-setup-windows):
6433 * textmodes/two-column.el (2C-two-columns):
6434 * textmodes/reftex-toc.el (reftex-toc):
6435 * progmodes/gdb-mi.el (gdb-setup-windows):
6436 * progmodes/fortran.el (fortran-window-create):
6437 * net/newst-treeview.el (newsticker--treeview-window-init):
6438 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6439 * emulation/tpu-edt.el (tpu-gold-map):
6440 * emulation/crisp.el (crisp-mode-map):
6441 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6443 2011-10-29 Chong Yidong <cyd@gnu.org>
6445 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6447 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6449 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6450 forged Ispell output (Bug#7904).
6452 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6454 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * doc-view.el: Avoid ugly errors about not finding nil.
6457 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6458 (doc-view-dvipdf-program, doc-view-unoconv-program)
6459 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6460 Avoid nil or absolute file name as default value.
6461 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6463 2011-10-28 Alan Mackenzie <acm@muc.de>
6465 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6467 2011-10-28 Alan Mackenzie <acm@muc.de>
6469 Amend the handling of c-beginning/end-of-defun in nested declaration
6472 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6473 cc-langs.el. Change it to a defcustom.
6475 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6478 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6479 Prevent "class foo : bar" being spuriously recognized as a label.
6481 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6482 Add parameter `inclusive' (to include enclosing braces in the region).
6483 (c-widen-to-enclosing-decl-scope): New function.
6484 (c-while-widening-to-decl-block): New macro.
6485 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6486 outward for defun boundaries, and correspondingly change symbol
6487 `respect-enclosure' to `go-outward'.
6488 (c-declaration-limits): Change algorithm to report only the "innermost"
6491 2011-10-28 Deniz Dogan <deniz@dogan.se>
6493 * net/rcirc.el (rcirc-mode): Use hard newlines.
6495 2011-10-28 Alan Mackenzie <acm@muc.de>
6497 Amend to indent and fontify macros "which include their own semicolon"
6498 correctly, using the "virtual semicolon" mechanism.
6500 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6503 Recode to scan one line at a time rather than having \n and \r
6504 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6505 (c-forward-label): Amend for virtual semicolons.
6506 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6508 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6509 of the new C macros.
6511 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6512 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6513 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6514 (c-opt-cpp-macro-define): Make into a full language variable.
6515 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6516 AWK Mode (including \n, \r) removed, no longer needed.
6518 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6519 Invoke c-make-macro-with-semi-re.
6521 * progmodes/cc-vars.el (c-macro-with-semi-re):
6522 (c-macro-names-with-semicolon): New variables.
6523 (c-make-macro-with-semi-re): New function.
6525 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * vc/log-edit.el: Fill empty field rather than adding new one.
6528 (log-edit-add-field): New function.
6529 (log-edit-insert-changelog): Use it.
6531 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6533 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6535 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6538 (gdb--check-interpreter): New function.
6541 2011-10-27 Glenn Morris <rgm@gnu.org>
6543 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6544 (least-positive-float, least-negative-float)
6545 (least-positive-normalized-float, least-negative-normalized-float)
6546 (float-epsilon, float-negative-epsilon):
6547 Remove unnecessary declarations.
6549 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6550 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6551 (least-positive-float, least-negative-float)
6552 (least-positive-normalized-float, least-negative-normalized-float)
6553 (float-epsilon, float-negative-epsilon): Add doc-strings,
6554 based on those in cl.texi.
6556 * files.el (set-visited-file-name): If the major-mode changed,
6557 reload the local variables. (Bug#9796)
6559 2011-10-27 Chong Yidong <cyd@gnu.org>
6561 * subr.el (change-major-mode-after-body-hook): New hook.
6562 (run-mode-hooks): Run it.
6564 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6565 Use change-major-mode-before-body-hook.
6567 * simple.el (fundamental-mode):
6568 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6569 change introducing fundamental-mode-hook.
6571 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6573 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6575 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6577 * ido.el (ido-file-name-all-completions-1): Do not require
6578 tramp.el explicitly. (Bug#7583)
6580 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6582 * progmodes/octave-mod.el:
6583 * progmodes/octave-inf.el: Update maintainer.
6585 2011-10-26 Chong Yidong <cyd@gnu.org>
6587 * subr.el (with-wrapper-hook): Rewrite doc.
6589 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6591 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6592 filenames "/method:foo:". (Bug#9793)
6594 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6599 2011-10-24 Glenn Morris <rgm@gnu.org>
6601 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6603 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6605 * notifications.el: Add the requirement of a running D-Bus session
6606 bus to the Commentary.
6608 2011-10-24 Juri Linkov <juri@jurta.org>
6610 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6611 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6614 2011-10-24 Juri Linkov <juri@jurta.org>
6616 * info.el (Info-following-node-name-re): Add newline to the list
6617 of allowed characters for leading space. (Bug#9824)
6619 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * progmodes/octave-inf.el (inferior-octave-mode-map):
6622 Fix C-c C-h binding.
6623 * progmodes/octave-mod.el (octave-help): Remove.
6625 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6627 Sync with Tramp 2.2.3.
6629 * net/tramp-cache.el (top): Pacify byte-compiler using
6630 `init-file-user' and `site-run-file'.
6632 * net/trampver.el: Update release number.
6634 2011-10-23 Chong Yidong <cyd@gnu.org>
6636 * files.el (toggle-read-only): Remove obsolete comment about
6639 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6640 for toggle-read-only. Note that this hasn't called vc-next-action
6641 since 2008-05-02, though it wasn't documented at the time.
6643 * vc/ediff-init.el (ediff-toggle-read-only-function):
6644 Use toggle-read-only.
6646 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6648 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6651 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6652 correct faulty logical expression.
6653 (c-parse-state-state, c-record-parse-state-state):
6654 (c-replay-parse-state-state): New defvar/defuns.
6655 (c-debug-parse-state): Use new functions.
6657 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6659 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6660 last fix. Use window-in-direction correctly.
6662 2011-10-21 Chong Yidong <cyd@gnu.org>
6664 * progmodes/idlwave.el (idlwave-mode):
6665 * progmodes/vera-mode.el (vera-mode): No need to set
6666 require-final-newline; that's done in prog-mode.
6667 Suggested by Stefan Monnier.
6669 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6671 * mouse.el (mouse-drag-window-above)
6672 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6673 (mouse-drag-mode-line-1, mouse-drag-header-line)
6674 (mouse-drag-vertical-line-rightward-window): Remove.
6675 (mouse-drag-line): New function.
6676 (mouse-drag-mode-line, mouse-drag-header-line)
6677 (mouse-drag-vertical-line): Call mouse-drag-line.
6678 * window.el (window-at-side-p, windows-at-side): New functions.
6680 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6682 * tar-mode.el (tar-grind-file-mode):
6683 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6685 2011-10-21 Chong Yidong <cyd@gnu.org>
6687 * progmodes/idlwave.el (idlwave-mode):
6688 * progmodes/vera-mode.el (vera-mode):
6689 Use mode-require-final-newline.
6691 2011-10-20 Glenn Morris <rgm@gnu.org>
6693 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6695 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6697 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6699 2011-10-20 Chong Yidong <cyd@gnu.org>
6701 * emulation/cua-base.el (cua-mode):
6702 * mail/footnote.el (footnote-mode):
6703 * mail/mailabbrev.el (mail-abbrevs-mode):
6704 * net/xesam.el (xesam-minor-mode):
6705 * progmodes/bug-reference.el (bug-reference-mode):
6706 * progmodes/cap-words.el (capitalized-words-mode):
6707 * progmodes/compile.el (compilation-minor-mode)
6708 (compilation-shell-minor-mode):
6709 * progmodes/gud.el (gud-tooltip-mode):
6710 * progmodes/hideif.el (hide-ifdef-mode):
6711 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6712 * progmodes/subword.el (subword-mode):
6713 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6714 * progmodes/which-func.el (which-function-mode):
6715 * term/tvi970.el (tvi970-set-keypad-mode):
6716 * term/vt100.el (vt100-wide-mode):
6717 * textmodes/flyspell.el (flyspell-mode):
6718 * textmodes/ispell.el (ispell-minor-mode):
6719 * textmodes/nroff-mode.el (nroff-electric-mode):
6720 * textmodes/paragraphs.el (use-hard-newlines):
6721 * textmodes/refill.el (refill-mode):
6722 * textmodes/reftex.el (reftex-mode):
6723 * textmodes/rst.el (rst-minor-mode):
6724 * textmodes/sgml-mode.el (html-autoview-mode)
6725 (sgml-electric-tag-pair-mode):
6726 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6727 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6728 * emulation/crisp.el (crisp-mode):
6729 * emacs-lisp/eldoc.el (eldoc-mode):
6730 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6731 minor mode behavior.
6733 2011-10-19 Juri Linkov <juri@jurta.org>
6735 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6736 the list of hard-coded chars with escape-glyph face.
6738 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6742 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6747 2011-10-19 Glenn Morris <rgm@gnu.org>
6749 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6750 Ignore ignored files. (Bug#9726)
6752 2011-10-19 Chong Yidong <cyd@gnu.org>
6754 Doc fix for minor modes, stating that an omitted argument enables
6755 the mode unconditionally when called from Lisp.
6757 * abbrev.el (abbrev-mode):
6758 * allout.el (allout-mode):
6759 * autoinsert.el (auto-insert-mode):
6760 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6761 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6762 (global-auto-revert-mode):
6763 * battery.el (display-battery-mode):
6764 * composite.el (global-auto-composition-mode)
6765 (auto-composition-mode):
6766 * delsel.el (delete-selection-mode):
6767 * desktop.el (desktop-save-mode):
6768 * dired-x.el (dired-omit-mode):
6769 * dirtrack.el (dirtrack-mode):
6770 * doc-view.el (doc-view-minor-mode):
6771 * double.el (double-mode):
6772 * electric.el (electric-indent-mode, electric-pair-mode):
6773 * emacs-lock.el (emacs-lock-mode):
6774 * epa-hook.el (auto-encryption-mode):
6775 * follow.el (follow-mode):
6776 * font-core.el (font-lock-mode):
6777 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6778 * help.el (temp-buffer-resize-mode):
6779 * hilit-chg.el (highlight-changes-mode)
6780 (highlight-changes-visible-mode):
6781 * hi-lock.el (hi-lock-mode):
6782 * hl-line.el (hl-line-mode, global-hl-line-mode):
6783 * icomplete.el (icomplete-mode):
6784 * ido.el (ido-everywhere):
6785 * image-file.el (auto-image-file-mode):
6786 * image-mode.el (image-minor-mode):
6787 * iswitchb.el (iswitchb-mode):
6788 * jka-cmpr-hook.el (auto-compression-mode):
6789 * linum.el (linum-mode):
6790 * longlines.el (longlines-mode):
6791 * master.el (master-mode):
6792 * mb-depth.el (minibuffer-depth-indicate-mode):
6793 * menu-bar.el (menu-bar-mode):
6794 * minibuf-eldef.el (minibuffer-electric-default-mode):
6795 * mouse-sel.el (mouse-sel-mode):
6796 * msb.el (msb-mode):
6797 * mwheel.el (mouse-wheel-mode):
6798 * outline.el (outline-minor-mode):
6799 * paren.el (show-paren-mode):
6800 * recentf.el (recentf-mode):
6801 * reveal.el (reveal-mode, global-reveal-mode):
6802 * rfn-eshadow.el (file-name-shadow-mode):
6803 * ruler-mode.el (ruler-mode):
6804 * savehist.el (savehist-mode):
6805 * scroll-all.el (scroll-all-mode):
6806 * scroll-bar.el (scroll-bar-mode):
6807 * server.el (server-mode):
6808 * shell.el (shell-dirtrack-mode):
6809 * simple.el (auto-fill-mode, transient-mark-mode)
6810 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6811 (line-number-mode, column-number-mode, size-indication-mode)
6812 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6813 * strokes.el (strokes-mode):
6814 * time.el (display-time-mode):
6815 * t-mouse.el (gpm-mouse-mode):
6816 * tool-bar.el (tool-bar-mode):
6817 * tooltip.el (tooltip-mode):
6818 * type-break.el (type-break-mode-line-message-mode)
6819 (type-break-query-mode):
6820 * view.el (view-mode):
6821 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6822 (global-whitespace-mode, global-whitespace-newline-mode):
6823 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6825 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6826 Fix autogenerated docstring.
6828 2011-10-19 Juri Linkov <juri@jurta.org>
6830 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6831 by checking environment variables "DESKTOP_SESSION" and
6832 "XDG_CURRENT_DESKTOP". (Bug#9779)
6834 2011-10-19 Juri Linkov <juri@jurta.org>
6836 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6837 (browse-url-chromium-program, browse-url-chromium-arguments):
6839 (browse-url-default-browser): Check for `browse-url-chromium' and
6840 call `browse-url-chromium-program'.
6841 (browse-url-chromium): New command. (Bug#9779)
6843 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6845 * facemenu.el (list-colors-duplicates): On Windows, detect more
6846 duplicates by assuming that only colors matching "^System" are
6847 special "system colors". (Bug#9722)
6849 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6852 to distinguish the author from the committer.
6854 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6856 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6858 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6860 * international/mule.el (sgml-html-meta-auto-coding-function):
6861 Add support for detecting encoding in HTML5 specified only as
6862 <meta charset="UTF-8">. Implementation just makes http-equiv and
6863 content-type parts from HTML4 encoding string optional. (Bug#9716)
6865 2011-10-18 Glenn Morris <rgm@gnu.org>
6867 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6869 2011-10-18 Chong Yidong <cyd@gnu.org>
6871 * faces.el (cursor): Doc fix.
6873 2011-10-17 Chong Yidong <cyd@gnu.org>
6875 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6877 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6879 * dirtrack.el (dirtrack): Support shell buffers with path
6880 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6882 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6884 * json.el: Bump version to 1.3 and note change in History.
6885 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6887 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * comint.el (comint-insert-input, comint-send-input)
6890 (comint-get-old-input-default, comint-backward-matching-input)
6891 (comint-next-prompt): Use nil instead of `input' for field property of
6892 past user input (bug#114).
6894 * minibuffer.el (completion--replace): Inherit surrounding properties
6896 (minibuffer-complete-and-exit): Use it.
6898 * comint.el (comint--table-subvert): Quote the all-completions output
6901 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6903 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6905 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6906 window on right of selected. (Bug#9350) Reword other window
6907 entries and separate them from frame entries.
6909 2011-10-15 Glenn Morris <rgm@gnu.org>
6911 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6914 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6916 * net/network-stream.el (network-stream-open-starttls):
6917 Improve detection of failure due to lack of TLS support.
6919 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6920 putting the input text in front and in bold.
6922 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6926 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6929 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6930 unread-command-events rather than pushing yet-another event.
6932 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6934 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6935 the explanation of the possible choices. Make the options passed
6936 to completing-read shorter.
6938 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6940 * textmodes/flyspell.el (flyspell-large-region): Make sure
6941 extended character mode is used if defined (Bug#1339).
6943 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6945 * simple.el (what-cursor-position): Fix the display of the
6946 character info for LRE, LRO, RLE, and RLO characters by appending
6949 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6952 even in case of error; add debug spec; simplify data flow.
6953 (with-timeout-handler): Remove.
6955 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6957 Fix Bug#6019, Bug#9315.
6959 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6960 complete `buffer-file-name', the local file name part could look
6961 remotely (for example on VMS).
6963 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6964 `tramp-run-real-handler'.
6965 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6966 already quoted by '"'.
6968 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6969 Let `file-name-handler-alist' be nil, the local file name part
6970 could look remotely (for example on VMS).
6972 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6974 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6976 (flyspell-post-command-hook): ...to here.
6978 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6982 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6983 using completion. Protect against "slow" callers.
6984 Remove the "message hack".
6986 2011-10-11 Juri Linkov <juri@jurta.org>
6988 * isearch.el (isearch-lazy-highlight-word): New variable.
6989 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6992 2011-10-11 Glenn Morris <rgm@gnu.org>
6994 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6995 like f90-previous-statement does.
6997 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6999 * eshell/eshell.el (eshell-command): History should be saved
7000 only in interactive use, to avoid error.
7002 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * minibuffer.el (completion-file-name-table): Fix last change,
7005 i.e. ignore normal errors but not the other ones.
7007 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7009 * window.el (special-display-buffer-names)
7010 (special-display-regexps): Remove some remnants of earlier
7011 changes from doc-strings.
7012 (quit-windows-on): New function.
7014 * vc/vc.el (vc-revert, vc-rollback):
7015 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7016 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7017 (Bug#6183) (Bug#7074) (Bug#7447)
7019 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7021 * window.el (frame-auto-hide-function): Add version tag.
7024 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7026 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7029 2011-10-09 Leo Liu <sdl.web@gmail.com>
7031 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7034 2011-10-08 Glenn Morris <rgm@gnu.org>
7036 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7037 before the first code statement zero indent. (Bug#9690)
7039 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7041 * simple.el (count-words-region): Always count in the region.
7042 Report the number of lines and characters too.
7043 (count-words): New command, which counts in the buffer if the
7044 region is inactive, as count-words-region used to.
7045 (count-words--message): New function. Handle plurals.
7046 (count-lines-region): Make it an alias for count-words-region.
7048 * bindings.el (esc-map): Replace count-lines-region with
7051 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7053 * window.el (window--delete): Delete dedicated frame
7054 unconditionally when argument KILL is non-nil. (Bug#9699)
7055 (switch-to-buffer): Fix doc-string typo.
7057 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7059 * eshell/eshell.el (eshell-command): Avoid using hooks.
7061 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7063 * bindings.el ([M-left],[M-right]): Bind to left-word and
7064 right-word respectively.
7066 2011-10-07 Glenn Morris <rgm@gnu.org>
7068 * cus-start.el (debug-on-quit): Fix custom type.
7070 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7072 * subr.el (define-key-after): Clarify that the function is not
7073 useful for non-menu keymaps.
7075 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7077 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7079 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7080 in current minibuffer (Fix bug with recursive minibuffers).
7082 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7084 * progmodes/gdb-mi.el (gdb): Doc fix.
7086 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7088 * window.el (frame-auto-hide-function): New option replacing
7089 frame-auto-delete. Suggested by Stefan Monnier.
7090 (window--delete): Call frame-auto-hide-function instead of
7091 investigating frame-auto-delete.
7092 (window-point-1, set-window-point-1): New functions.
7093 (window-in-direction, record-window-buffer, window-state-get-1)
7094 (display-buffer-record-window): Use window-point-1 instead of
7096 (set-window-buffer-start-and-point): Use set-window-point-1.
7098 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7102 2011-10-05 Glenn Morris <rgm@gnu.org>
7104 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7105 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7107 2011-10-05 Leo Liu <sdl.web@gmail.com>
7109 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7110 works with buffer object.
7112 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * mpc.el (mpc-tool-bar-map): Add labels.
7116 2011-10-04 Glenn Morris <rgm@gnu.org>
7118 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7120 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7122 * window.el (window--delete): New function.
7123 (frame-auto-delete): Resuscitate option.
7124 (bury-buffer, replace-buffer-in-windows)
7125 (quit-window): Rewrite using window--delete.
7126 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7127 Pass display-buffer-mark-dedicated to window--display-buffer-2
7130 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7132 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7133 returns a list (bug#9554). Add remote file name completion.
7134 * comint.el (comint--table-subvert): Curry and get quote&unquote
7135 functions as arguments.
7136 (comint--complete-file-name-data): Adjust call accordingly.
7137 * pcomplete.el (pcomplete--table-subvert): Remove.
7138 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7140 * minibuffer.el (completion-table-case-fold): Use currying.
7141 (completion--styles-type, completion--cycling-threshold-type):
7143 (completion-styles, completion-category-overrides)
7144 (completion-cycle-threshold): Use them.
7145 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7146 completion-table-case-fold.
7148 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7150 * minibuffer.el (completion-category-overrides): Fix type of styles
7151 and add more user friendly tags (bug#9660).
7153 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7156 (mule-input-method-string): New widget.
7157 (default-input-method, language-info-custom-alist): Use it.
7159 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * pcomplete.el: Require comint.
7162 (pcomplete--common-suffix): Remove.
7163 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7164 (pcomplete--table-subvert): Sync with comint--table-subvert.
7165 (pcomplete--entries): Use comint-completion-file-name-table.
7166 * comint.el (comint-unquote-filename): Simplify.
7167 (comint-completion-file-name-table): New function (bug#9616).
7168 (comint--complete-file-name-data): Use it.
7170 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7171 (pcmpl-gnu-tar-buffer): Remove.
7172 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7173 around. Make sure pcomplete-suffix-list is only changed temporarily.
7174 Don't look inside the tar's file if it's too large.
7176 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7178 * cus-edit.el (custom-mode-map):
7179 * epa.el (epa-key-list-mode-map):
7180 * man.el (Man-mode-map):
7181 * startup.el (splash-screen-keymap):
7182 * simple.el (special-mode-map): Use scroll-up-command and
7183 scroll-down-command.
7185 * progmodes/idlw-help.el (idlwave-help-mode-map):
7186 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7187 * net/newst-plainview.el (newsticker-mode-map):
7188 * emulation/ws-mode.el (wordstar-mode-map):
7189 * emulation/vi.el (vi-com-map):
7190 * calc/calc-graph.el (calc-graph-show-dumb):
7191 * term/sun.el (terminal-init-sun):
7192 * term/ns-win.el (global-map):
7193 * progmodes/grep.el (grep-mode-map):
7194 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7195 * mail/rmail.el (rmail-mode-map):
7196 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7198 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7199 custom-safe-themes as special.
7201 2011-10-01 Julien Danjou <julien@danjou.info>
7203 * notifications.el (notifications-notify): Fix docstring.
7205 2011-10-01 Per Starbäck <per@starback.se>
7207 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7209 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7211 * startup.el (command-line-1): Fix last fix by inserting
7212 initial-scratch-message into *scratch* before displaying it.
7213 (Bug#9605) and (Bug#9636)
7215 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7217 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7218 window is hscrolled, move by logical lines. (Bug#9607)
7219 (line-move-visual): Update the doc string to the above effect.
7221 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7223 * window.el (display-buffer-record-window): When WINDOW is the
7224 selected window use `point' instead of `window-point'. (Bug#9626)
7226 * startup.el (command-line-1): Use insert-before-markers when
7227 inserting initial-scratch-message. (Bug#9605)
7229 * help.el (help-window): Remove variable.
7231 2011-09-29 Glenn Morris <rgm@gnu.org>
7233 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7235 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7237 * descr-text.el (describe-char-categories): Accept category
7238 descriptions more than one line long.
7240 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * simple.el (delete-trailing-whitespace): Fix last change.
7244 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7245 Don't confuse "y => 3" as the beginning of a `y' operation.
7247 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7248 object has more than 4 slots (bug#9613).
7250 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7252 * subr.el (with-output-to-temp-buffer):
7253 * net/quickurl.el (quickurl, quickurl-browse-url):
7254 Fix typos in docstrings.
7256 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7258 * minibuffer.el (completion-styles)
7259 (completion-category-overrides): Cross reference each other in doc
7262 2011-09-27 Glenn Morris <rgm@gnu.org>
7264 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7265 to split-string. (Bug#9606)
7267 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7272 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7274 * emacs-lisp/package.el (list-packages): Fix echo area message.
7276 2011-09-27 Leo Liu <sdl.web@gmail.com>
7278 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7280 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7282 * net/dbus.el (dbus-unregister-object): Don't release services for
7283 registered signals. (Bug#9581)
7285 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7287 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7288 function that picks between cfengine 2 and 3 support
7289 automatically. Update docs accordingly.
7291 2011-09-22 Kenichi Handa <handa@m17n.org>
7293 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7295 (indian-itrans-v5-table-for-tamil): New variable.
7296 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7298 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7300 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7301 that's true if the current command involved collapsing of text.
7302 It's reset to false at the beginning of the next command.
7303 (allout-post-command-business): Move the cursor to the beginning
7304 of entry if the cursor is hidden and collapsing activity just
7307 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7309 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7310 tracking (Bug#9541).
7312 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7314 * net/newst-reader.el (newsticker-html-renderer)
7315 (newsticker-show-news): Automatically load html rendering package
7316 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7317 because w3m-fill-column is let-bound" and the error "Symbol's value
7318 as variable is void: w3m-fill-column".
7320 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7322 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7323 Release services only if they are defined. (Bug#9581)
7325 2011-09-23 Richard Stallman <rms@gnu.org>
7327 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7328 distinguish start of paragraph from start of its text.
7330 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7332 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7333 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7334 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7336 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7338 * international/mule-diag.el (mule-diag): Insert a newline after
7339 each fontset description.
7341 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * simple.el (delete-trailing-whitespace):
7344 Document last change; simplify.
7346 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7348 * simple.el (delete-trailing-whitespace): Also delete
7349 extra newlines at the end of the buffer.
7351 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7352 (picture-newline): Use forward-line so as to ignore fields.
7354 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7356 * subr.el (with-wrapper-hook): Fix edebug spec.
7358 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7360 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7363 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7365 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7366 Fix nasty bug using wrong cached values.
7368 2011-09-23 Alan Mackenzie <acm@muc.de>
7370 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7372 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7374 * window.el (pop-to-buffer): Ensure right window is selected if we
7375 chose another frame.
7377 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7379 * simple.el (what-cursor-position): Use get-char-property-change
7380 and next-single-char-property-change, to be able to show display
7381 properties that come from overlays as well as text properties.
7383 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7385 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7387 * cmuscheme.el (run-scheme, switch-to-scheme):
7388 * cus-edit.el (customize-group, custom-buffer-create)
7392 * mail/sendmail.el (mail):
7393 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7395 2011-09-22 Richard Stallman <rms@gnu.org>
7397 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7398 move back only to line beg, don't move back over blank lines.
7400 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7402 * files.el (copy-directory): Set directory attributes only in case
7403 they could be retrieved from the source directory. (Bug#9565)
7405 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7407 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7408 (hs-find-block-beginning, hs-hide-level-recursive):
7409 Ignore strings as well as comments. (Bug#9502)
7411 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7413 * progmodes/sql.el (sql-comint-postgres):
7414 Convert port number to a string. (Bug#9566)
7416 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7418 * window.el (quit-window): Undedicate window when switching to
7419 previous buffer. Reported by Thierry Volpiatto
7420 <thierry.volpiatto@gmail.com>.
7421 (special-display-popup-frame): When popping up a new frame reset
7422 its previous buffers to nil. Simplify code.
7424 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7426 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7427 and process filter, as done also in `shell-command'.
7429 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7431 * window.el (set-window-buffer-start-and-point):
7432 Call set-window-start with NOFORCE argument t.
7433 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7434 (quit-window): Reword doc-string. Handle new format of
7435 quit-restore parameter. Don't delete window if it has a
7436 previous buffer we can show instead of the present one.
7437 (display-buffer-record-window): Rewrite using a new format for
7438 the quit-restore window parameter
7439 (special-display-popup-frame, display-buffer-same-window)
7440 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7441 (display-buffer-pop-up-window, display-buffer-use-some-window):
7442 Adapt symbol passed to display-buffer-record-window.
7443 * help.el (help-window-setup): Handle new format of quit-restore
7446 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7448 * faces.el (face-list): Fix docstring (bug#9564).
7450 * window.el (display-buffer--action-function-custom-type):
7451 Don't include internal functions in the Custom interface.
7453 2011-09-20 Juri Linkov <juri@jurta.org>
7455 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7456 (Info-forward-node, Info-backward-node, Info-next-preorder)
7457 (Info-last-preorder): Use it. (Bug#9528)
7459 2011-09-20 Juri Linkov <juri@jurta.org>
7461 * info.el (Info-last-preorder): Visit last menu item only when
7462 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7464 2011-09-20 Julien Danjou <julien@danjou.info>
7466 * password-cache.el (password-cache-remove): Remove entries even if the
7467 value is nil, so that password with a nil value (negative caching) is
7468 possible to invalidate.
7470 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7472 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7473 all whitespace around breakpoint. (Bug#9553)
7474 (f90-find-breakpoint): Only break at whitespace inside a comment.
7476 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * minibuffer.el (completion-file-name-table): Keep track of errors.
7479 (completion-table-with-predicate): Handle the case where pred1 is nil.
7480 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7482 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7484 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7485 (debugger-return-value): Signal an error if the debugging context does
7486 not await any return value.
7488 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7489 * image-mode.el (image-toggle-display-text)
7490 (image-toggle-display-image): Stay away from evil `intangible'.
7492 2011-09-19 Leo Liu <sdl.web@gmail.com>
7494 * replace.el (occur-revert-arguments): Make it permanent-local.
7495 (occur-mode): Don't call font-lock-defontify.
7497 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7499 * net/ldap.el (ldap-search-internal): Don't push empty search
7502 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7506 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7508 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7509 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7511 2011-09-18 Juri Linkov <juri@jurta.org>
7513 * buff-menu.el (Buffer-menu-mode-map):
7514 * dired.el (dired-mode-map):
7515 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7516 (lisp-interaction-mode-map):
7517 * emacs-lisp/package.el (package-menu-mode-map):
7518 * epa.el (epa-key-list-mode-map):
7519 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7520 (menu-bar-options-menu):
7521 * outline.el (outline-mode-menu-bar-map):
7522 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7523 * vc/vc-dir.el (vc-dir-menu-map):
7524 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7525 Capitalize non-function content words in menu item strings.
7527 * dired.el (dired-mode-map): Add menu item for
7528 `image-dired-dired-toggle-marked-thumbs'.
7530 2011-09-18 Juri Linkov <juri@jurta.org>
7532 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7533 to `isearch-case-fold-search' and restore its original value
7534 after the `isearch-mode' call.
7536 2011-09-18 Juri Linkov <juri@jurta.org>
7538 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7539 because `zgrep' returns 1 for successful matches (bug#9226).
7541 2011-09-18 Juri Linkov <juri@jurta.org>
7543 * info.el (Info-extract-menu-node-name): Check the second match
7544 for empty string (second test-case of bug#9528).
7545 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7546 intermediate nodes to the history (first test-case of bug#9528).
7548 2011-09-18 Juri Linkov <juri@jurta.org>
7550 * info.el (Info-mode-syntax-table): New variable.
7551 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7553 2011-09-18 Juri Linkov <juri@jurta.org>
7555 * info.el (Info-file-supports-index-cookies):
7556 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7557 outputs one more line for long file names (bug#4142).
7559 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7561 * newcomment.el (comment-normalize-vars): If prompting for
7562 comment-start, set comment-start-skip too (Bug#8424).
7564 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7566 * icomplete.el: Fix previous fix of Bug#5849.
7567 (icomplete-mode): Don't set completion-show-inline-help.
7568 (icomplete-minibuffer-setup): Set completion-show-inline-help
7569 locally during icompletion.
7571 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7573 * woman.el (woman2-process-escapes): Don't delete unrecognized
7576 * files.el (inhibit-first-line-modes-regexps): Add image files.
7577 (hack-local-variables-prop-line): Return nil for malformed
7578 prop-lines (Bug#9044).
7580 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7582 * net/tramp.el (top): Don't require 'shell.
7583 (tramp-methods): Fix docstring.
7584 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7585 Return complete remote file name. Handle "smb" case.
7586 Use `tramp-tmpdir', if defined for the respective method.
7587 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7589 * net/tramp-compat.el (top): Require 'shell.
7591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7592 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7593 `tramp-current-host'.
7594 (tramp-get-remote-tmpdir): Remove.
7596 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7597 `tramp-tmpdir' entries.
7598 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7599 (tramp-smb-handle-file-attributes): Ignore errors.
7600 (tramp-smb-wait-for-output): Check also for process end.
7602 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7605 when sending QUIT (bug#9312).
7607 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7609 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7610 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7611 occur-mode-display-occurrence.
7612 (occur-edit-mode): Add usage message.
7613 (occur-cease-edit): New command.
7614 (occur-after-change-function): Use text properties to find the
7615 position of the prefix text.
7616 (occur-engine): Set stickiness of prefix text properties.
7618 2011-09-17 Glenn Morris <rgm@gnu.org>
7620 * progmodes/etags.el (complete-tag):
7621 Fix call to completion-in-region. (Bug#9526)
7623 2011-09-17 Juri Linkov <juri@jurta.org>
7625 * textmodes/ispell.el (ispell-word): Add to the error message
7626 the word, ispell program name and current dictionary (bug#9121).
7627 (ispell-tex-arg-end): Capitalize "error" in the error message.
7629 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7631 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7634 2011-09-17 Juri Linkov <juri@jurta.org>
7636 * window.el (window-safe-min-height, window-safe-min-width):
7637 Fix typos (followup to bug#9522).
7639 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7641 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7643 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7645 * simple.el (line-move): If goal-column is set, move by logical
7646 lines, not by display lines. (Bug#971)
7647 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7648 to reflect the above change.
7650 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7652 * image.el (imagemagick-register-types): Use regexp-opt.
7654 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7656 * window.el (display-buffer-base-action): Rename from
7657 display-buffer-default-action. Make default value empty.
7658 (display-buffer-overriding-action): Convert to defvar.
7659 (display-buffer-fallback-action): New var.
7661 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7663 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7665 (package--add-to-archive-contents): If there is a duplicate entry
7666 with an older version, remove it.
7667 (package-menu-mark-delete, package-menu-mark-install)
7668 (package-menu-mark-unmark): Make unused args optional.
7669 (package-menu-mark-obsolete-for-deletion):
7670 Use package-menu-get-status instead of a regexp search.
7671 (package-menu-get-status): Use tabulated-list-entry.
7672 (package-menu-mark-upgrades): New command.
7673 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7674 (package-menu-execute): Do installation before deletion.
7675 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7676 instead of checking major-mode.
7677 (package-menu--find-upgrades): New function.
7679 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7682 passwords in the log buffer.
7683 (smtpmail-process-filter): Update the process marker so that the
7684 "broken by peer" status message is inserted in the right place.
7686 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7689 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7690 bibtex-completion-at-point-function.
7691 (bibtex-completion-at-point-function): Use them.
7693 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7695 * mpc.el (mpc-constraints-tag-lookup): New function.
7696 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7697 also to browser "album|playlist".
7699 2011-09-14 Juri Linkov <juri@jurta.org>
7701 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7702 (isearch-edit-string): Use length of `isearch-string' when
7703 `isearch-fail-pos' returns nil.
7704 (isearch-message): Remove duplicate code and call
7705 `isearch-fail-pos' with arg `t'.
7707 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7709 * replace.el (occur-mode-goto-occurrence): Don't force using other
7712 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7714 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7716 * window.el (display-buffer-window): Remove.
7717 (display-buffer-record-window): Use help-setup window parameter
7718 instead of variable display-buffer-window.
7719 (display-buffer-function, special-display-buffer-names)
7720 (special-display-function): Mention help-setup parameter instead
7721 of display-buffer-window in doc-string.
7722 * help.el (help-window-setup): New argument help-window.
7723 Use help-window-setup parameter instead of display-buffer-window.
7724 Reword some messages.
7725 (with-help-window): Pass window used for displaying the buffer
7726 to help-window-setup. Don't set display-buffer-window.
7728 2011-09-13 Glenn Morris <rgm@gnu.org>
7730 * emacs-lisp/debug.el (debugger-make-xrefs):
7731 Preserve point. (Bug#9462)
7733 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7735 * window.el (window-deletable-p): Use next-frame.
7737 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7739 * window.el (window-auto-delete): Remove.
7740 (window-deletable-p): Remove argument FORCE. Don't deal with
7741 dedication and previous buffers.
7742 (switch-to-prev-buffer): Don't delete window.
7743 (delete-windows-on): Delete a window's frame if and only if the
7744 window is dedicated.
7745 (replace-buffer-in-windows): Delete buffer's window or frame if
7746 and only if window is dedicated.
7747 (quit-window): Handle quit-restore as before last change.
7748 (bury-buffer): Delete window only if window-deletable-p returns t.
7750 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7752 * window.el (window-deletable-p): Never delete the last frame on a
7755 2011-09-13 Glenn Morris <rgm@gnu.org>
7757 * help.el (describe-key-briefly): Copy previous standard-output change.
7759 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7761 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7763 2011-09-13 Glenn Morris <rgm@gnu.org>
7765 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7766 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7768 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7770 * dired-aux.el (dired-mark-read-string): Don't return default
7771 value on empty input (Bug#9361).
7772 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7773 Omit initial minibuffer contents.
7774 (dired-do-chmod): Signal an error on empty input.
7775 (dired-mark-read-string): Don't return default on empty input.
7777 * files.el (file-modes-symbolic-to-number): Doc fix.
7779 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7781 * international/mule-cmds.el (ucs-completions): Remove.
7782 (read-char-by-name): Use complete-with-action instead; add metadata.
7784 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7786 * window.el (display-buffer--action-function-custom-type)
7787 (display-buffer--action-custom-type): New vars.
7788 (display-buffer-alist, display-buffer-default-action)
7789 (display-buffer-overriding-action): Add defcustom types.
7791 * frame.el (delete-other-frames): Doc fix (Bug#276).
7793 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7795 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7797 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7799 Change modes that used same-window-* vars to use switch-to-buffer.
7801 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7802 Use switch-to-buffer.
7804 * cus-edit.el (customize-group, custom-buffer-create)
7805 (customize-browse, custom-buffer-create-other-window):
7806 Use switch-to-buffer or switch-to-buffer-other-window.
7808 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7809 (Info-prev, Info-up, Info-speedbar-goto-node)
7810 (info-display-manual): Use switch-to-buffer.
7811 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7813 * mail/sendmail.el (mail): Use switch-to-buffer.
7814 (mail-recover): Use switch-to-buffer-other-window.
7816 * cmuscheme.el (run-scheme, switch-to-scheme):
7819 * net/rlogin.el (rlogin):
7820 * net/telnet.el (telnet, rsh):
7821 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7823 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7825 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7827 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7829 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7830 so don't mention it (bug#9301).
7831 (dired-sort-toggle-or-edit): Clarify string further.
7833 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7834 match `x', `w32' and `ns', like the manual says (bug#9029).
7836 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7837 (process-kill-buffer-query-function): Mention the buffer name in
7840 * image-mode.el (image-next-line): The line parameter is mandatory
7843 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7844 which can be useful (bug#9301).
7846 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7848 * subr.el (match-string): Mention that the current buffer should
7849 be the same as the search was done in (bug#9282).
7851 * facemenu.el: Disable the remove-* commands if the mark isn't
7854 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7856 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7858 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7860 * replace.el (occur-mode-goto-occurrence)
7861 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7864 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7867 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7868 special-display and same-window variables.
7869 (mail-other-window): Use switch-to-buffer-other-window.
7870 (mail-other-frame): USe switch-to-buffer-other-frame.
7872 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7873 Use display-buffer-other-frame.
7874 (gdb-display-gdb-buffer): Use pop-to-buffer.
7876 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7878 * progmodes/python.el: Don't set same-window-buffer-names.
7880 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7882 * window.el (display-buffer-alist): Add *Python*.
7884 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7886 * window.el (display-buffer-alist): Add entry for buffers
7887 previously handled same-window-*.
7888 (display-buffer-alist, display-buffer-default-action)
7889 (display-buffer-overriding-action): Mark as risky.
7890 (display-buffer-alist): Document action function changes.
7891 (display-buffer--same-window-action)
7892 (display-buffer--other-frame-action): New variables.
7893 (switch-to-buffer, display-buffer-other-frame): Use them.
7894 (display-buffer): Rename reuse-frame entry to reusable-frames.
7895 (display-buffer-reuse-selected-window): Function deleted.
7896 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7897 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7898 (display-buffer-special): New function.
7899 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7900 display-buffer-reuse-or-pop-window. Split off special-display
7901 part into display-buffer-special.
7902 (display-buffer-use-some-window): Don't perform any special
7903 pop-up-frames handling.
7904 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7905 (display-buffer--maybe-same-window): Rename from
7906 display-buffer-maybe-same-window.
7908 * info.el: Don't set same-window-regexps.
7909 (info-setup): New function.
7910 (info-other-window, info): Call it.
7912 * cus-edit.el: Don't set same-window-regexps.
7913 (customize-group): New argument.
7914 (customize-group-other-window): Use it.
7915 (customize-face, customize-face-other-window): Likewise.
7916 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7920 * progmodes/gud.el: Don't set same-window-regexps.
7926 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7928 2011-09-10 Juri Linkov <juri@jurta.org>
7930 * isearch.el (isearch-edit-string): Remove obsolete mention of
7931 `C-w' (`isearch-yank-word-or-char') from docstring.
7932 (isearch-query-replace): Fix typo in docstring (bug#9466).
7934 2011-09-10 Juri Linkov <juri@jurta.org>
7936 * paren.el (show-paren-function): Don't show escaped parens.
7937 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7939 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7941 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7942 (mm-default-file-encoding): Remove autoload forms, they are
7943 replaced with autoload cookies in mml.el and mm-encode.el.
7944 (mail-add-attachment): New command.
7945 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7946 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7948 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7950 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7952 * simple.el (count-words-region): Use buffer if there's no region
7955 2011-09-09 Juri Linkov <juri@jurta.org>
7957 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7958 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7959 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7961 2011-09-09 Alan Mackenzie <acm@muc.de>
7963 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7964 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7966 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7968 Fix for Savannah bug#9392.
7969 * simple.el (mail-encode-mml): New defvar.
7971 * mail/rmail.el (mail-encode-mml): Add a defvar.
7972 (rmail-enable-mime-composing): Default to t.
7973 (rmail-forward): Use MIME method of forwarding only if both
7974 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7975 Set mail-encode-mml non-nil if the MIME method was used.
7977 * mail/sendmail.el (mml-to-mime): Add autoload form.
7978 (mail-encode-mml): Add a defvar.
7979 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7981 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7982 message through mml-to-mime, and reset mail-encode-mml to nil.
7984 2011-09-09 Glenn Morris <rgm@gnu.org>
7986 * woman.el (woman-if-body): When processing an .el block,
7987 do not delete the next .el block as well. (Bug#9447)
7988 (woman-special-characters): Add oq, cq, and hy characters.
7990 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7992 * window.el (window-deletable-p): Make sure window is live before
7993 invoking window-prev-buffers.
7995 2011-09-08 Leo Liu <sdl.web@gmail.com>
7997 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7999 2011-09-08 Juri Linkov <juri@jurta.org>
8001 * progmodes/compile.el (compilation-environment): Make it
8002 a defcustom (bug#8340).
8004 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8006 * window.el (frame-auto-delete): Rename to window-auto-delete.
8007 Make it control auto-deletion of windows and/or frames.
8008 (window-deletable-p): New argument FORCE. Rewrite conditions
8009 for deleting window/frame. (Bug#9419)
8010 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8011 Rewrite handling of case when window/frame can be deleted.
8012 (delete-windows-on): Call window-deletable-p with new FORCE
8013 argument t. (Bug#9456)
8015 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8017 * help-mode.el (help-mode): Restore autoload.
8019 2011-09-07 Juri Linkov <juri@jurta.org>
8021 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8022 `compilation-environment'. Set buffer-local
8023 `compilation-environment' to `thisenv' later after (funcall mode).
8026 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8027 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8028 instead of replacing its value. (Bug#8340)
8030 2011-09-07 Juri Linkov <juri@jurta.org>
8032 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8033 based on text properties put by `grep-filter' instead of matching
8035 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8036 to the value of `grep-error-screen-columns' (bug#9438).
8038 2011-09-07 Juri Linkov <juri@jurta.org>
8040 * simple.el (next-error-highlight, next-error-highlight-no-select):
8043 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8046 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8048 2011-09-07 Leo Liu <sdl.web@gmail.com>
8050 * net/rcirc.el (rcirc-mode): Conditionally initialize
8053 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * emacs-lisp/find-func.el (find-function-C-source): Only set
8056 find-function-C-source-directory after checking that we found a source
8057 file there (bug#9440).
8059 2011-09-06 Alan Mackenzie <acm@muc.de>
8061 * isearch.el (isearch-other-meta-char): Wherever a key list is
8062 unread, "unread" the prefix arg, too. This fixes bug #8901.
8064 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8066 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8068 2011-09-05 Juri Linkov <juri@jurta.org>
8070 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8072 2011-09-05 Juri Linkov <juri@jurta.org>
8074 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8075 keeping point where processing of grep matches begins, and
8076 continue to delete remaining escape sequences from the same point.
8077 (grep-filter): Make leading zero optional in "0?1;31m" because
8078 git-grep emits "\033[1;31m" escape sequences unlike expected
8079 "\033[01;31m" as GNU Grep does (bug#9408).
8080 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8082 2011-09-05 Juri Linkov <juri@jurta.org>
8084 * subr.el (y-or-n-p): Capitalize "yes".
8086 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8088 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8089 `tramp-cache-unload-hook' where appropriate.
8090 (tramp-methods): Rename `tramp-remote-sh' to
8091 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8092 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8094 * net/tramp-sh.el (top): Don't require 'shell.
8095 (tramp-methods): Add `tramp-remote-shell' and
8096 `tramp-remote-shell-args' entries.
8097 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8098 (tramp-sh-handle-shell-command): Remove.
8099 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8100 Use `tramp-remote-shell'.
8102 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8104 * mail/sendmail.el (sendmail-query-once-function): Delete.
8105 (sendmail-query-once): Save directly to send-mail-function.
8106 Update message-send-mail-function too.
8108 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8110 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8112 * progmodes/python.el (python-mode-map): Use correct function to
8113 start python interpreter from menu-bar (as reported by Geert
8115 (inferior-python-mode-map): Fix typo.
8116 (python-shell-map): Remove.
8118 2011-09-03 Deniz Dogan <deniz@dogan.se>
8120 * net/rcirc.el (rcirc-print): Simplify code for
8121 rcirc-scroll-show-maximum-output. There is no need to walk
8122 through all windows to find the right one.
8124 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8126 * help.el (help-return-method): Doc fix.
8128 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8130 * window.el (window-deletable-p): Don't return a non-nil value
8131 when there's a buffer that was shown in the window before.
8133 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8134 Set window's previous buffers to nil.
8136 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8138 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8139 newline before and after the tag line, so it doesn't interfere
8140 with determining the paragraph direction of bidirectional text.
8142 2011-09-03 Leo Liu <sdl.web@gmail.com>
8144 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8146 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8148 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8149 (pop-to-buffer): Change interactive spec. Pass second argument
8150 directly to display-buffer.
8151 (display-buffer): Fix interactive spec. Use functionp to
8152 distinguish between a function and a list of functions.
8154 * abbrev.el (edit-abbrevs):
8155 * arc-mode.el (archive-extract):
8156 * autoinsert.el (auto-insert):
8157 * bookmark.el (bookmark-bmenu-list):
8158 * files.el (find-file):
8159 * view.el (view-buffer):
8160 * progmodes/compile.el (compilation-goto-locus):
8161 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8163 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8165 * window.el (display-buffer-alist): Doc fix.
8166 (display-buffer): Add docstring. Don't treat
8167 display-buffer-default specially.
8168 (display-buffer-reuse-selected-window)
8169 (display-buffer-same-window, display-buffer-maybe-same-window)
8170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8171 (display-buffer-pop-up-window)
8172 (display-buffer-reuse-or-pop-window)
8173 (display-buffer-use-some-window): New functions.
8174 (display-buffer-default-action): Use them.
8175 (display-buffer-default): Delete.
8176 (pop-to-buffer-1): Fix choice of actions.
8178 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * minibuffer.el (completion--insert-strings): Don't get confused by
8181 completion entries that end with an LF char.
8183 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8185 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8187 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8189 * window.el (display-buffer): Restore interactive spec.
8190 (display-buffer-same-window, display-buffer-other-window):
8192 (pop-to-buffer-1): New function. Use the above.
8193 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8194 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8196 * view.el (view-buffer-other-window, view-buffer-other-frame):
8197 Just use pop-to-buffer.
8199 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8201 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8203 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8205 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8207 2011-08-31 Richard Stallman <rms@gnu.org>
8209 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8210 of the separation of rmail-view-buffer from rmail-buffer.
8211 If you say no to "replace original", the decrypt is in the
8212 view buffer. If you say yes, the decrypt goes into the
8215 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8217 * window.el (display-buffer-window): Rewrite doc-string.
8218 (display-buffer-record-window): New function.
8219 (display-buffer-macro-specifiers)
8220 (display-buffer-even-window-sizes, display-buffer-set-height)
8221 (display-buffer-set-width, display-buffer-in-window)
8222 (display-buffer-reuse-window, display-buffer-split-specifiers)
8223 (display-buffer-side-specifiers, display-buffer-split-window-1)
8224 (display-buffer-split-window, display-buffer-split-atom-window)
8225 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8226 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8227 (display-buffer-other-window-means-other-frame)
8228 (display-buffer-normalize-special)
8229 (display-buffer-normalize-default)
8230 (display-buffer-normalize-argument)
8231 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8232 (display-buffer-normalize-specifiers, display-buffer-frame)
8233 (display-buffer-same-window, display-buffer-same-frame)
8234 (display-buffer-other-window)
8235 (display-buffer-same-frame-other-window)
8236 (display-buffer-other-frame, pop-to-buffer-same-window)
8237 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8238 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8239 (switch-to-buffer-same-frame)
8240 (switch-to-buffer-other-window-same-frame)
8241 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8242 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8243 (display-buffer-alist-set): Remove.
8244 (display-buffer-function, special-display-buffer-names)
8245 (special-display-regexps, special-display-function):
8246 In doc-string refer to display-buffer-window and quit-restore
8248 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8249 (special-display-frame-alist, special-display-popup-frame)
8250 (same-window-buffer-names, same-window-regexps, same-window-p)
8251 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8252 (split-window-preferred-function, split-height-threshold)
8253 (split-width-threshold, window-splittable-p)
8254 (split-window-sensibly, window--try-to-split-window)
8255 (window--frame-usable-p, even-window-heights)
8256 (window--even-window-heights, window--display-buffer-1)
8257 (window--display-buffer-2, display-buffer-other-frame):
8258 Restore old Emacs 23 code, order and doc-strings where applicable.
8259 (display-buffer-default, display-buffer-assq-regexp): New functions.
8260 (display-buffer-alist): Rewrite doc-string.
8261 (display-buffer-default-action)
8262 (display-buffer-overriding-action): New variables.
8263 (display-buffer, switch-to-buffer): Rewrite.
8264 (pop-to-buffer): Restore Emacs 23 behavior but use
8265 window-normalize-buffer-to-display.
8266 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8267 Restore Emacs 23 behavior but use
8268 window-normalize-buffer-to-switch-to.
8269 (pop-to-buffer-same-window): Rewrite.
8270 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8271 Rewrite using Emacs 23 options.
8273 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8275 * net/tramp.el (tramp-root-regexp): Remove.
8276 (tramp-completion-file-name-regexp-unified)
8277 (tramp-completion-file-name-regexp-separate)
8278 (tramp-completion-file-name-regexp-url): Don't use leading volume
8279 letter on win32 systems. (Bug#5303, Bug#9311)
8280 (tramp-drop-volume-letter): Simplify definition.
8281 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8283 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8285 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8288 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8290 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8292 2011-08-29 Juri Linkov <juri@jurta.org>
8294 * isearch.el (isearch-done): Don't display message "Mark saved"
8295 when arg `edit' is non-nil to prevent its flicker in the echo area.
8297 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8299 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8300 obsolete packages for deletion.
8302 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8304 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8305 (help-mode): Derive help-mode from special-mode. Don't invoke
8306 view-mode from help-mode.
8307 (help-xref-override-view-map): Remove.
8308 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8309 view-mode is not used anymore.
8311 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8313 * server.el (server-port): Doc fix.
8315 * cus-theme.el (custom-theme-choose-mode): Inherit from
8316 special-mode (Bug#9124).
8317 (custom-theme-choose-mode-map): Add special-mode to parent.
8319 2011-08-28 Alan Mackenzie <acm@muc.de>
8321 * progmodes/cc-fonts.el
8322 (c-make-font-lock-BO-decl-search-function): New function.
8323 (c-basic-matchers-after - "Fontify the clauses after various
8324 keywords"): Extract the three keyword lists for the 3 erroneous
8325 constructs from the list of four, and use the new function above
8326 in place of an old one.
8328 2011-08-28 Deniz Dogan <deniz@dogan.se>
8330 * net/rcirc.el (rcirc-insert-prev-input)
8331 (rcirc-insert-next-input): Remove unused argument.
8333 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8335 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8337 2011-08-27 Alan Mackenzie <acm@muc.de>
8339 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8340 handle function pointer parameters properly.
8342 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8344 * window.el (display-buffer-reuse-window): Fix case where
8345 selected window was reused with non-nil OTHER-WINDOW argument.
8348 2011-08-27 Deniz Dogan <deniz@dogan.se>
8350 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8351 oftc's NickServ messages.
8353 2011-08-27 Glenn Morris <rgm@gnu.org>
8355 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8357 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8359 * emacs-lisp/package.el (package-install): Call package-initialize
8360 if called interactively.
8362 2011-08-26 Leo Liu <sdl.web@gmail.com>
8364 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8366 2011-08-25 Juri Linkov <juri@jurta.org>
8368 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8369 `search-whitespace-regexp' (bug#9364).
8371 2011-08-25 Juri Linkov <juri@jurta.org>
8373 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8374 `regexp-search-ring' to their global values to protect from
8375 updating by `read-from-minibuffer' (bug#9185).
8377 2011-08-25 Juri Linkov <juri@jurta.org>
8379 * textmodes/ispell.el (ispell-command-loop): Add newline
8380 at the end of the "Use option `i'..." line.
8382 2011-08-25 Juri Linkov <juri@jurta.org>
8384 * battery.el (display-battery-mode): If `battery-status-function'
8385 or `battery-mode-line-format' is nil, display the message and set
8386 `display-battery-mode' to nil (bug#9363).
8388 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8390 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8391 bidi-string-mark-left-to-right; they are unnecessary now.
8393 2011-08-25 Deniz Dogan <deniz@dogan.se>
8395 * net/quickurl.el: Documentation typo fixes.
8397 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8399 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8401 2011-08-25 Glenn Morris <rgm@gnu.org>
8403 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8405 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8406 (smtpmail-via-smtp): Handle nil response from smtp.
8408 2011-08-24 Juri Linkov <juri@jurta.org>
8410 * proced.el (proced-marked): Inherit from `error' instead of
8411 `font-lock-warning-face'.
8413 * ibuffer.el (ibuffer-marked-face): Change default face from
8414 `font-lock-warning-face' to `warning'.
8415 (ibuffer-deletion-face): Change default face from
8416 `font-lock-type-face' to `error'.
8418 * battery.el (battery-update): Use the face `error' instead of
8419 `font-lock-warning-face' (bug#6117).
8421 2011-08-24 Juri Linkov <juri@jurta.org>
8423 * faces.el (success): Change face color from "Green3" to
8424 "ForestGreen" on light background (bug#9353).
8426 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8428 * window.el (quit-window): Rename from quit-restore-window.
8429 Use same arglist as old quit-window.
8430 (frame-auto-delete): Doc fix.
8432 * view.el (view-mode-exit): Use quit-window.
8434 2011-08-24 Juri Linkov <juri@jurta.org>
8436 * isearch.el (isearch-ring-adjust1): Start visiting previous
8437 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8438 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8439 for empty search string (when the last search string is reused
8440 automatically) to adjust the isearch ring to the last element and
8441 prepare the correct index for further M-p commands (bug#9185).
8443 2011-08-24 Kenichi Handa <handa@m17n.org>
8445 * international/ucs-normalize.el: If decomposition property of
8446 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8448 (nfd, nfkd): Likewise.
8450 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8452 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8453 from process filters aren't reliably transmitted to the surrounding
8454 accept-process-output.
8455 (mpc-proc-check): New function.
8456 (mpc-proc-sync): Use it (bug#8293)
8458 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8460 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8461 Add compatibility functions (bug#9313).
8463 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8465 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8467 * international/uni-bidi.el: Regenerate.
8469 2011-08-23 Kenichi Handa <handa@m17n.org>
8471 * international/charprop.el:
8472 * international/uni-bidi.el:
8473 * international/uni-category.el:
8474 * international/uni-combining.el:
8475 * international/uni-comment.el:
8476 * international/uni-decimal.el:
8477 * international/uni-decomposition.el:
8478 * international/uni-digit.el:
8479 * international/uni-lowercase.el:
8480 * international/uni-mirrored.el:
8481 * international/uni-name.el:
8482 * international/uni-numeric.el:
8483 * international/uni-old-name.el:
8484 * international/uni-titlecase.el:
8485 * international/uni-uppercase.el: Regenerate.
8487 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8489 * help.el (help-window-setup): Fix message displayed when other
8490 window is reused. (Bug#9341)
8492 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8495 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8497 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8499 * shell.el (shell-parse-pcomplete-arguments): New function.
8500 (shell-completion-vars): Use it instead (bug#9160).
8502 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8505 strings and comments (bug#9333).
8507 * emacs-lisp/debug.el (debug-arglist): New function.
8508 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8509 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8511 2011-08-22 Juri Linkov <juri@jurta.org>
8513 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8514 Revert regexp that highlights output switches to its old
8515 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8517 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8518 to check for empty output (bug#9226).
8520 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8522 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8523 symbol-constituent as the default, as that stops font-lock from
8524 working properly (Bug#8843).
8526 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8529 `coding-system-for-*' around the process open call to avoid
8530 auth-source side effects.
8531 (smtpmail-try-auth-methods): Expand the secret password.
8532 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8535 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8537 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8539 * emacs-lisp/find-func.el (find-function-noselect): New arg
8542 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8543 signal an error for built-in functions (Bug#6664).
8545 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8548 (smtpmail-try-auth-methods): Use it.
8550 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8552 * font-lock.el (font-lock-fontify-region)
8553 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8554 (font-lock-default-unfontify-buffer)
8555 (font-lock-default-fontify-region)
8556 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8558 * progmodes/compile.el (compilation-error-properties):
8559 Fix confusion between file struct and message struct (Bug#9319).
8560 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8563 * net/browse-url.el (browse-url-firefox): Don't call
8564 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8566 2011-08-20 Glenn Morris <rgm@gnu.org>
8568 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8570 * tutorial.el (tutorial--default-keys): Update some default bindings.
8572 * files.el (hack-local-variables): Fully ignore case for "mode:".
8574 2011-08-20 Alan Mackenzie <acm@muc.de>
8576 Resolve invalid use of a regexp in regexp-opt.
8578 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8579 detection for a java annotation.
8581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8582 detection for a java annotation.
8584 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8586 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8588 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8590 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8593 2011-08-20 Alan Mackenzie <acm@muc.de>
8595 Fontify CPP expressions correctly when starting in the middle of
8596 such a construct. Mainly for when jit-lock etc. starts a chunk
8599 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8601 (c-make-font-lock-search-form): New function, extracted from
8602 c-make-font-lock-search-function.
8603 (c-make-font-lock-search-function): Use the above function.
8604 (c-make-font-lock-context-search-function): New function.
8605 (c-cpp-matchers): Enhance the preprocessor expression case with
8607 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8608 which takes an expression.
8610 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8612 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8614 * window.el (display-buffer-reuse-window)
8615 (display-buffer-pop-up-window): Don't reuse or split a side
8618 2011-08-19 Glenn Morris <rgm@gnu.org>
8620 * files.el (hack-local-variables-prop-line, hack-local-variables):
8621 Downcase "Mode:". (Bug#9331)
8623 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8625 * international/characters.el: Add L and R categories.
8627 * subr.el (bidi-string-mark-left-to-right): Rename from
8628 string-mark-left-to-right. Use category search.
8630 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8632 2011-08-18 Juri Linkov <juri@jurta.org>
8634 * faces.el (error, warning, success): New faces with definitions
8635 copied from old default values of `font-lock-warning-face',
8636 `compilation-warning', `compilation-info' (bug#6117).
8638 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8640 * progmodes/compile.el (compilation-error): Inherit from `error'.
8641 (compilation-warning): Inherit from `warning'.
8642 (compilation-info): Inherit from `success'.
8644 * dired.el (dired-marked): Inherit from `warning'.
8645 (dired-flagged): Inherit from `error'.
8647 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649 * mail/smtpmail.el (auth-source): Require to avoid problems with
8650 binding variables (bug#9298). Also clean up some unused
8653 * net/network-stream.el (network-stream-open-starttls):
8654 Support using starttls.el without using gnutls-cli.
8656 2011-08-17 Juri Linkov <juri@jurta.org>
8658 * progmodes/grep.el (rgrep): Handle the case when
8659 `grep-find-command' is a cons cell (bug#9278).
8661 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8663 * window.el (display-buffer-pop-up-frame): Run frame creation
8664 function with BUFFER current (as special-display-popup-frame
8665 does). Reported by Drew Adams.
8667 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8669 * epa-mail.el: Simplify GnuPG group expansion using
8671 (epa-mail-group-alist, epa-mail-group-modtime)
8672 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8673 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8674 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8677 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8679 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8681 2011-08-16 Alan Mackenzie <acm@muc.de>
8683 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8684 Correct, to avoid the inside of macros.
8686 2011-08-16 Richard Stallman <rms@gnu.org>
8688 * epa-mail.el: Handle GnuPG group definitions.
8689 (epa-mail-group-alist, epa-mail-group-modtime)
8690 (epa-mail-gnupg-conf-file): New variables.
8691 (epa-mail-parse-groups, epa-mail-sync-groups)
8692 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8693 (epa-mail-expand-recipients): New functions.
8694 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8696 * mail/rmail.el (rmail-epa-decrypt): New command.
8698 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8699 Don't bind buffer-read-only, just inhibit-read-only.
8700 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8701 (epa-decrypt-armor-in-region): Make error message clearer.
8703 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8706 and "a2b" to "ab" for `prefix'.
8708 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8710 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8712 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8713 Fourquet (Bug#8804).
8715 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8717 * startup.el (argi): Declare as global variable (bug#9275).
8719 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8721 * subr.el (string-mark-left-to-right): Search the entire string
8722 for RTL script, not just the terminating character. Doc fix.
8724 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8726 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8728 (js--regexp-literal, js-syntax-propertize-function): Remove.
8729 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8730 (js-mode-map): Don't rebind electric keys.
8731 (js-insert-and-indent): Remove.
8732 (js-mode): Setup electric-layout and electric-indent instead.
8734 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8736 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8738 * epa.el (epa-progress-callback-function): Fix the logic of
8739 displaying progress.
8740 * epa-file.el (epa-file-insert-file-contents): Make progress
8741 display more user-friendly.
8742 (epa-file-write-region): Ditto.
8744 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8746 * subr.el (string-mark-left-to-right): New function.
8748 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8749 Use string-mark-left-to-right.
8750 (list-buffers-noselect): Caller changed.
8752 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8753 Use string-mark-left-to-right.
8754 (tabulated-list-print): Recenter after moving point.
8756 2011-08-10 Juri Linkov <juri@jurta.org>
8758 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8759 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8760 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8762 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8764 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8767 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8769 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8770 character. (Bug#6594)
8772 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8774 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8775 (image-dired--with-db-file): New macro.
8776 (image-dired-write-tags, image-dired-remove-tag)
8777 (image-dired-create-gallery-lists, image-dired-write-comments)
8778 (image-dired-get-comment, image-dired-mark-tagged-files)
8779 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8780 (image-dired-gallery-generate): Use insert-file-contents.
8782 * time.el (display-time-world-list, display-time-world-display):
8783 * time-stamp.el (time-stamp-string):
8784 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8785 set-time-zone-rule (Bug#7337).
8787 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8789 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8790 (epg-error-to-string, epg-errors-to-string): New function.
8791 (epg-wait-for-completion): Reverse errors list.
8792 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8793 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8794 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8795 (epg-sign-keys, epg-generate-key-from-file)
8796 (epg-generate-key-from-string): Format errors by using
8797 epg-errors-to-string (bug#9255).
8798 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8800 2011-08-07 Juri Linkov <juri@jurta.org>
8802 * faces.el (list-faces-display): Remove extra angle bracket
8803 from `help-mode-map'.
8805 * info.el (Info-history-toc-nodes): Doc fix.
8807 * longlines.el (longlines-mode): Doc fix.
8809 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8811 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8812 of statements and in a few more cases (bug#9183).
8814 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8816 (cl-transform-lambda): Use them (bug#9239).
8818 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8820 * window.el (display-buffer-same-window)
8821 (display-buffer-same-frame, display-buffer-other-window)
8822 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8823 (pop-to-buffer-other-window)
8824 (pop-to-buffer-same-frame-other-window)
8825 (pop-to-buffer-other-frame): Make them defuns.
8826 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8828 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8830 * subr.el (make-composed-keymap): Move from C. Change calling
8831 convention, and improve docstring to bring attention to a subtle point.
8832 * minibuffer.el (completing-read-default): Adjust accordingly.
8834 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8836 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8837 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8839 * net/trampver.el: Update release number.
8841 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8843 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8846 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8848 * mail/sendmail.el (sendmail-query-once): Restore the current
8849 buffer after querying (bug#9074).
8851 * dired.el (dired-flagged): Use different faces for marked and
8852 flagged files (bug#6117).
8854 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8857 * ido.el (ido-mode): Switch off the message if called
8860 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8861 before 587, since it appears that that's more likely to work for
8864 * cus-edit.el (custom-file): When running under emacs -q, always
8865 refuse to save the customizations, even if the .emacs file doesn't
8868 * info.el: Remove the `Info-beginning-of-buffer' function
8871 * net/network-stream.el (network-stream-open-starttls):
8872 Use `starttls-available-p' to see whether starttls.el can be used.
8874 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8876 * window.el (display-buffer-in-window): Don't set dedicated status
8877 of window here (Bug#9215).
8878 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8879 (display-buffer-pop-up-side-window)
8880 (display-buffer-in-side-window): Set dedicated status of window here.
8882 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8885 before binding generated-autoload-file.
8887 2011-08-01 Deniz Dogan <deniz@dogan.se>
8889 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8891 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8893 Sync with Tramp 2.2.2.
8895 * net/trampver.el: Update release number.
8897 2011-07-30 Juri Linkov <juri@jurta.org>
8899 * dired-aux.el (dired-touch-initial): Remove function.
8900 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8901 current time, and `default' to the last modification time of the
8902 current marked file (bug#6887).
8904 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8906 * simple.el (goto-line): Use string-to-number to provide a
8907 numeric argument to read-number (bug#9163).
8909 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8911 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8912 connection process, it could be nil.
8914 2011-07-27 Leo Liu <sdl.web@gmail.com>
8916 Simplify url handling in rcirc-mode.
8918 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8919 (rcirc-browse-url-at-mouse): Remove.
8920 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8922 2011-07-26 Alan Mackenzie <acm@muc.de>
8924 Fontify bitfield declarations properly.
8926 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8927 (c-symbol-chars): Now exported as a lang variable.
8928 (c-not-primitive-type-keywords): New lang variable.
8930 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8931 QT keyword "more" to prevent "more slots: ...." being spuriously
8932 parsed as a bitfield declaration.
8934 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8935 Refactor and enhance to handle bitfield declarations.
8936 (c-punctuation-in): New function.
8937 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8938 declarations properly.
8940 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8942 * calendar/icalendar.el (icalendar--all-events): Take care of
8943 multiple vcalendars in a single file.
8944 (icalendar--convert-float-to-ical): Checkdoc fixes.
8946 2011-07-25 Deniz Dogan <deniz@dogan.se>
8948 * image.el (insert-image): Clarifying docstring.
8950 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8952 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8953 `tramp-send-command-and-check' if there is no error.
8954 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8956 2011-07-22 Alan Mackenzie <acm@muc.de>
8958 Prevent cc-langs.elc being loaded at run time.
8960 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8963 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8964 "(require 'cc-langs)". Quote a form so it will evaluate at
8965 (cc-mode's) compilation time.
8967 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8969 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8972 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8974 * window.el (display-buffer-pop-up-window)
8975 (display-buffer-pop-up-side-window)
8976 (display-buffer-in-side-window): Call display-buffer-set-height
8977 and display-buffer-set-width after setting the new window's
8978 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8980 2011-07-20 Sam Steingold <sds@gnu.org>
8982 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8983 (etags-tags-included-tables): Call `convert-standard-filename' on
8984 the file names contained in TAGS so that windows Emacs can handle
8985 TAGS files created by cygwin ctags.
8987 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8990 which apparently didn't work.
8992 2011-07-19 Roland Winkler <winkler@gnu.org>
8994 * proced.el (proced-send-signal): For *Marked Processes* buffer
8995 put point at beginning of buffer.
8997 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8999 * proced.el (proced-format): Make header lines align with the text
9002 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004 * view.el (view-buffer): Allow running in `special' modes if we're
9005 visiting a file (bug#8615).
9007 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9009 * window.el (display-buffer-alist-of-strings-p)
9010 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9012 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9015 2011-07-18 Alan Mackenzie <acm@muc.de>
9017 Fontify declarators properly when, e.g., a jit-lock chunk begins
9018 inside a declaration.
9020 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9024 (c-complex-decl-matchers): Insert reference to
9025 c-font-lock-enclosing-decls.
9027 * progmodes/cc-engine.el (c-backward-single-comment):
9028 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9029 to nil around calls to (forward-comment -1).
9031 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9033 * image.el (put-image): Doc typo fix.
9035 * progmodes/etags.el (tags-search): Doc typo fix.
9037 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9038 password if we get errors 550 to 554.
9040 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9042 * net/gnutls.el (gnutls-log-level): Remove.
9044 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9045 indentation character (bug#6380).
9047 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9049 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9050 to clarify what the problem is (bug#4291).
9052 * simple.el (current-kill): Clarify what
9053 `interprogram-paste-function' does (bug#7500).
9054 (auto-fill-mode): Document `auto-fill-function' in relation to
9055 `auto-fill-mode' (bug#2470).
9057 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9059 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9060 method if slot is read-only (bug#9035).
9062 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9064 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9065 * window.el (pop-to-buffer): Select window used even if it was
9066 selected before, see discussion of (Bug#8615), (Bug#6954).
9067 Pass argument NORECORD on to select-frame-set-input-focus.
9069 2011-07-15 Glenn Morris <rgm@gnu.org>
9071 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9074 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9076 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9077 (gnutls-negotiate): Use it.
9079 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9081 * net/gnutls.el (gnutls-negotiate):
9082 Upcase `gnutls-algorithm-priority'.
9084 2011-07-15 Glenn Morris <rgm@gnu.org>
9086 * jka-compr.el (jka-compr-verbose): Move from here...
9087 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9088 Add missing :version tag.
9089 * info.el: No need to require jka-compr when compiling.
9091 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9093 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9094 (gnutls-negotiate): Use it.
9096 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9098 * info.el (Info-beginning-of-buffer): New command.
9099 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9100 announcing `b' as the key (bug#8325).
9101 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9103 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9105 * international/mule-cmds.el
9106 (describe-specified-language-support): Make the error message
9109 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9111 * isearch.el (isearch-barrier): Add a doc string, since it's
9112 mentioned in a function doc string (bug#8678).
9114 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9116 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9117 buffer argument (Bug#9083) and self-identifying label argument.
9119 2011-07-15 Glenn Morris <rgm@gnu.org>
9121 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9123 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125 * man.el (Man-fontify-manpage): Fix message when formatting the
9126 man page (bug#7929).
9128 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9130 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9131 argument LRM; if non-nil, append an invisible LRM character to the
9133 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9134 last argument non-nil, when formatting buffer names.
9135 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9136 paragraph direction.
9138 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9140 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9141 the man page name (bug#7929).
9143 * image.el (put-image): Mention the `put-image' overlay property
9146 * scroll-bar.el (set-scroll-bar-mode): Mention that
9147 `scroll-bar-mode' lists the values (bug#7772).
9149 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9152 * rect.el (apply-on-rectangle): Return the point after the last
9154 (string-rectangle): Go to the point after the last operation
9157 * printing.el (pr-toggle-region): Clarify the documentation
9158 slightly (bug#7493).
9160 * time.el (display-time-update):
9161 Allow `display-time-mail-function' to return nil (bug#7158).
9162 Fix suggested by Detlev Zundel.
9164 * vc/diff.el (diff): Clarify the order the file names are read
9167 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9168 the doc string (bug#7015).
9170 * font-lock.el (font-lock-maximum-decoration): Mention what
9171 numeric levels mean (bug#6935).
9173 * startup.el (initial-buffer-choice): Don't mention the `none'
9174 selection, which is against policy.
9176 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9178 * window.el (display-buffer-normalize-special):
9179 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9181 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9183 * subr.el (version<, version<=, version=): Mention "-CVS" and
9184 "-12345" alpha version numbers.
9186 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9188 * bindings.el: Add advertised binding for set-mark-command
9191 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9193 * bindings.el (mode-line-other-buffer):
9194 * bookmark.el (bookmark-bmenu-2-window):
9195 * bs.el (bs-cycle-next, bs-cycle-previous):
9196 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9199 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9202 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9204 * follow.el (follow-debug-message, follow-redisplay):
9205 * jka-cmpr-hook.el (with-auto-compression-mode):
9206 Fix typos in docstrings.
9208 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210 * subr.el (with-silent-modifications): Clarify somewhat what the
9211 macro inhibits (bug#6525).
9213 * simple.el (eval-expression): Note what it does if called
9214 interactively (bug#6495).
9216 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9218 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9219 Use pop-to-buffer buffer-or-name if it is nil.
9221 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9222 Remove switch-to-buffer.
9224 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9226 * files.el (make-directory): Clarify that an error will be raised
9227 if there's an error (bug#6397).
9229 * startup.el (initial-buffer-choice): Add `none' as a choice
9232 * subr.el (add-hook): Clarify section about buffer-local hooks
9235 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9237 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9239 * tabify.el (untabify): Preserve the current column so that point
9240 doesn't move (bug#6032).
9242 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9244 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9245 Rewrite to avoid awkward possessive "s" (bug#5986).
9247 2011-07-13 Glenn Morris <rgm@gnu.org>
9249 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9250 (dired-insert-directory): Give a message the first time
9251 if ls is found not to support --dired.
9253 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9255 * simple.el (toggle-truncate-lines): Clarify what is toggled
9256 (bug#5580). Text by Drew Adams.
9258 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9260 * simple.el (blink-matching-open): Make the error message from the
9261 last change less verbose.
9263 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9265 * font-lock.el (font-lock-comment-face): Use the high contrast
9266 "yellow" color for font-lock-comment-face on low color terminals
9267 using a dark background color (bug#4221).
9269 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9271 * dired.el (dired-insert-set-properties): Make the doc string
9272 reflect what it does now (bug#5325).
9274 * simple.el (blink-matching-open): Say that we were unable to find
9275 the match within the limit, if we're limited (bug#5122).
9277 * international/mule-cmds.el (prefer-coding-system): Add an
9280 * progmodes/etags.el (tags-search): Document `file-list-form'
9283 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9285 * net/browse-url.el (browse-url-default-browser)
9286 (browse-url-browser-function): Make the default browser choice a
9287 bit more logical (bug#4300). Also clean up the doc string.
9289 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9291 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9292 binary endings (bug#4440).
9294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9296 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9297 which can be pretty annoying (bug#8971).
9299 * jka-compr.el (jka-compr-verbose): New variable, and use
9300 throughout (bug#8971).
9302 * info.el (Info-find-file): Fall back on the installation
9303 directory if we can't find the info node anywhere else.
9305 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9307 * vc/vc.el (vc-revert-file):
9308 Don't set file time-stamp in the past. (Bug#5181)
9310 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312 * files.el (after-find-file): Give a better error message when
9313 trying to find a symlink that points to a file that doesn't exist
9316 * progmodes/cc-vars.el: Remove (probably) misleading comment
9319 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9321 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9323 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9325 * mouse-sel.el: Hack restoring functionality, while keeping
9326 compatibility with 2010-07-03 changes to mouse selection.
9327 (mouse-sel-primary-overlay): New var.
9328 (mouse-sel-selection-alist): Use it.
9329 (mouse-sel-mode): Doc fix; remove points that are default features
9332 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9335 Fix previous fix (bug#2490).
9337 2011-07-12 Roland Winkler <winkler@gnu.org>
9339 * textmodes/bibtex.el (bibtex-initialize):
9340 Use pop-to-buffer-same-window.
9341 (bibtex-search-entries): Fix interactive call.
9343 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9346 Fontise bytecomp Error lines more correctly (bug#2490).
9347 Fix suggested by Johan BockgĂ¥rd.
9349 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9351 * dired-x.el (dired-guess-default): Use `delete-dups'.
9353 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9355 * dired.el (dired-mark-prompt):
9356 * dired-aux.el (dired-read-shell-command): Doc fix.
9358 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9360 * mail/sendmail.el (sendmail-query-once):
9361 Use `customize-save-variable' unconditionally, now that it works under
9364 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9366 * cus-edit.el (custom-file): Take an optional no-error variable.
9367 (customize-save-variable): Set the variable, and give a warning if
9368 running under "emacs -q".
9370 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9372 * loadhist.el (unload-feature-special-hooks):
9373 Add `auto-coding-functions', `fill-nobreak-predicate' and
9374 `find-directory-functions' (bug#5327).
9376 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9380 * cus-edit.el (custom-guess-name-alist): -alist variables should
9381 use the `alist' type (bug#3120). Suggested by Drew Adams.
9383 * printing.el: Add documentation to all the `pr-toggle-' commands.
9385 2011-07-11 Leo Liu <sdl.web@gmail.com>
9387 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9388 backends where it makes sense (bug#2623).
9390 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9392 * dired-x.el (dired-guess-default): Remove duplicate shell command
9394 (dired-guess-default): Fix grammar in doc string (bug#2028).
9395 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9397 * subr.el (remove-duplicates): New conveniency function.
9399 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9401 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9404 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9406 * window.el (display-buffer-normalize-default): Don't invert
9407 meaning of even-window-heights. Reported by Eli Zaretskii
9410 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9412 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9414 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9416 * window.el (display-buffer): Fix arguments to
9417 display-buffer-reuse-window in last change.
9419 * faces.el (link): Use a less saturated blue on light backgrounds.
9421 * startup.el (fancy-startup-text, fancy-about-text)
9422 (fancy-startup-tail): Use font-lock faces, for background safety.
9424 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9426 * emulation/viper-cmd.el (viper-change-state-to-vi):
9427 Limit triggering of abbrev expansion (Bug#9038).
9429 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9431 * window.el (display-buffer-default-specifiers): Remove.
9432 (display-buffer-macro-specifiers): Remove default specifiers.
9433 (display-buffer-alist): Default to nil.
9434 (display-buffer-reuse-window): New optional argument other-window.
9435 (display-buffer-pop-up-window): Allow splitting internal
9436 windows. Check whether a live window was created.
9437 (display-buffer-other-window-means-other-frame)
9438 (display-buffer-normalize-arguments): Rename to
9439 display-buffer-normalize-argument and rewrite. Set the
9440 other-window specifier.
9441 (display-buffer-normalize-special): New function.
9442 (display-buffer-normalize-options): Rename to
9443 display-buffer-normalize-default and rewrite.
9444 (display-buffer-normalize-options-inhibit): Remove.
9445 (display-buffer-normalize-specifiers): Rewrite.
9446 (display-buffer): Process other-window specifier and call
9447 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9449 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9450 (display-buffer-alist-set): Don't handle 'unset default values.
9451 (display-buffer-in-window, display-buffer-alist-set):
9452 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9453 <tassilo@member.fsf.org>.
9455 2011-07-09 Leo Liu <sdl.web@gmail.com>
9457 * register.el (insert-register): Restore accidental change on
9458 2011-06-26. (Bug#9028)
9460 2011-07-09 Glenn Morris <rgm@gnu.org>
9462 * subr.el (remq): Handle the empty list. (Bug#9024)
9464 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9466 * mail/sendmail.el (send-mail-function): No longer delay custom
9468 * custom.el (custom-initialize-delay): Doc fix.
9470 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9474 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9476 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9477 human-friendly prompt.
9479 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9482 provided by a particular plugin.
9484 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9486 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9487 save customizations (with "emacs -Q"), just set the variable
9488 instead of erroring out.
9490 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9492 2011-07-08 Juri Linkov <juri@jurta.org>
9494 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9495 (archive-zip-update-case): Use 7z if found by `executable-find'.
9496 The order of searching the available programs is the same as in
9497 `archive-zip-extract' (bug#8968).
9499 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9501 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9502 (menu-bar-options-menu): Tweak descriptions.
9504 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9507 menu items into verb phrases (bug#1421). Also refill to fit under
9510 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9512 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9513 (Info-read-node-name): Doc fix (Bug#1084).
9515 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9516 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9517 (end-of-sexp, beginning-of-sexp)
9518 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9519 (forward-symbol, forward-same-syntax, word-at-point)
9520 (sentence-at-point): Doc fix (Bug#1144).
9522 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9524 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9525 should cover it (bug#1281).
9527 * cus-edit.el (custom-show): Mark as obsolete.
9529 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9530 negotiation fails, then possibly try again with a non-encrypted
9531 connection (bug#9017).
9533 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9536 2011-07-07 Richard Stallman <rms@gnu.org>
9538 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9539 property, and handle its changed format.
9540 Look for the correct line number.
9541 Use file's line contents (but not past first =) to find
9542 correct line in message.
9544 2011-07-07 Kenichi Handa <handa@m17n.org>
9546 * international/characters.el (build-unicode-category-table):
9548 (unicode-category-table): Set it by unicode-property-table-internal.
9550 * international/mule-cmds.el (char-code-property-alist): Move to
9552 (get-char-code-property): Call unicode-property-table-internal to
9553 load a file. Call get-unicode-property-internal where necessary.
9554 (put-char-code-property): Call unicode-property-table-internal to
9555 load a file. Call put-unicode-property-internal where necessary.
9556 put-unicode-property-internal where necessary.
9557 (char-code-property-description):
9558 Call unicode-property-table-internal to load a file.
9560 * international/charprop.el:
9561 * international/uni-bidi.el:
9562 * international/uni-category.el:
9563 * international/uni-combining.el:
9564 * international/uni-comment.el:
9565 * international/uni-decimal.el:
9566 * international/uni-decomposition.el:
9567 * international/uni-digit.el:
9568 * international/uni-lowercase.el:
9569 * international/uni-mirrored.el:
9570 * international/uni-name.el:
9571 * international/uni-numeric.el:
9572 * international/uni-old-name.el:
9573 * international/uni-titlecase.el:
9574 * international/uni-uppercase.el: Regenerate.
9576 * loadup.el: Load international/charprop.el before
9577 international/characters.
9579 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9581 * window.el (next-buffer, previous-buffer): Signal an error if
9582 called from a minibuffer window.
9584 * bindings.el: Revert 2011-07-04 change.
9586 2011-07-06 Richard Stallman <rms@gnu.org>
9588 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9589 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9590 Treat markers like ints.
9591 (rmail-mime-entity): Doc fix.
9593 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9595 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9596 defcustom again for backwards compatibility.
9598 * simple.el (shell-command-on-region): Fill.
9600 * dired-aux.el (dired-kill-line): Add a doc string.
9602 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9603 to "\\sw\\|\\s_" (bug#358).
9605 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9606 (dired-unmark-backward): Ditto.
9607 (dired-flag-backup-files): Ditto.
9609 * dired-x.el (dired-mark-sexp): Ditto.
9611 2011-07-06 Richard Stallman <rms@gnu.org>
9613 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9614 (rmail-mime-entity): New arg TRUNCATED.
9615 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9617 (rmail-mime-save): Warn if entity is truncated.
9618 (rmail-mime-toggle-hidden): Likewise, for showing.
9619 (rmail-mime-process-multipart): Record when an entity is truncated.
9621 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9622 if ENTITY is a string.
9624 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9626 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9627 of faces when `M-C-x'-ing their definitions (bug#8378).
9628 Also clean up the code slightly.
9630 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9631 because that makes the colors go away.
9633 * mail/sendmail.el (send-mail-function): Change the default to
9634 `sendmail-query-once'.
9635 (sendmail-query-once): Add an autoload cookie.
9637 * net/network-stream.el (network-stream-open-starttls): Try using
9638 a plain connection even if the server offered STARTTLS, and we
9639 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9640 capability. This should make smtpmail.el work in slightly more
9643 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9645 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9647 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9649 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9651 * progmodes/sql.el: Version 3.0
9652 (sql-product-alist): Add product :completion-object,
9653 :completion-column, and :statement attributes.
9654 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9655 (sql-mode-syntax-table): Mark all punctuation.
9656 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9658 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9659 (sql-mode-oracle-font-lock-keywords): Improve.
9660 (sql-oracle-show-reserved-words): New function for development.
9661 (sql-product-font-lock): Simplify for source code buffers.
9662 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9664 (sql-highlight-product): Set product specific syntax table.
9665 (sql-mode-map): Add statement movement functions.
9666 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9668 (sql-statement-regexp, sql-beginning-of-statement)
9669 (sql-end-of-statement, sql-signum): New functions.
9670 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9671 (sql-show-sqli-buffer): Bug fix.
9672 (sql-interactive-mode): Store connection data as buffer local.
9673 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9674 with sql-interactive-mode.
9675 (sql-save-connection): Save buffer local settings.
9676 (sql-connection-menu-filter): Change menu entry name.
9677 (sql-product-interactive): Bug fix.
9678 (sql-preoutput-hold): New variable.
9679 (sql-interactive-remove-continuation-prompt): Bug fixes.
9680 (sql-debug-redirect): New variable.
9681 (sql-str-literal): New function.
9682 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9684 (sql-oracle-save-settings, sql-oracle-restore-settings)
9685 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9686 (sql-completion-object, sql-completion-column)
9687 (sql-completion-sqlbuf): New variables.
9688 (sql-build-completions-1, sql-build-completions)
9689 (sql-try-completion): New functions.
9690 (sql-read-table-name): Use them.
9691 (sql-contains-names): New buffer local variable.
9692 (sql-list-all, sql-list-table): Use it.
9693 (sql-oracle-completion-types): New variable.
9694 (sql-oracle-completion-object, sql-sqlite-completion-object)
9695 (sql-postgres-completion-object): New functions.
9697 2011-07-06 Glenn Morris <rgm@gnu.org>
9699 * window.el (pop-to-buffer): Doc fix.
9701 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9703 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9705 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9707 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9709 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9711 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9713 * button.el (button): Inherit from link face. Suggested by Dan
9716 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9718 * progmodes/gdb-mi.el: Fit in 80 columns.
9719 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9722 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9723 if imenu is simply not configured (bug#8941).
9725 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9727 * allout.el (allout-post-undo-hook): New allout outline-change
9728 event hook to signal undo activity.
9729 (allout-post-command-business): Run allout-post-undo-hook if an
9731 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9732 * allout-widgets.el (allout-widgets-after-undo-function):
9733 Ensure the integrity of the current item's decoration after it has been
9734 in the vicinity of an undo.
9735 (allout-widgets-mode): Include allout-widgets-after-undo-function
9736 on the new allout-post-undo-hook.
9738 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9740 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9741 Let define-derived-mode define it.
9742 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9743 cycles of abbrev-table inheritance (bug#8998).
9745 2011-07-05 Roland Winkler <winkler@gnu.org>
9747 * textmodes/bibtex.el: Add support for biblatex.
9748 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9749 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9750 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9751 (bibtex-entry-alist, bibtex-field-alist): New variables.
9752 (bibtex-entry-field-alist): Obsolete alias for
9753 bibtex-BibTeX-entry-alist.
9754 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9755 (bibtex-set-dialect): New command.
9756 (bibtex-entry-type, bibtex-entry-head)
9757 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9758 Bind via bibtex-set-dialect.
9759 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9760 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9761 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9762 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9763 Define via bibtex-set-dialect.
9764 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9765 Obey bibtex-no-opt-remove-re.
9766 (bibtex-vec-push, bibtex-vec-incr): New functions.
9767 (bibtex-format-entry, bibtex-field-list)
9768 (bibtex-print-help-message, bibtex-validate)
9769 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9771 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * progmodes/compile.el (compilation-goto-locus):
9774 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9775 * bs.el (bs-cycle-next, bs-cycle-previous):
9776 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9777 * bindings.el (mode-line-other-buffer):
9778 * autoinsert.el (auto-insert):
9779 * arc-mode.el (archive-extract):
9780 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9782 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9784 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9785 Fix check of `emacs-lock-unlockable-modes'.
9786 Coerce true values of `emacs-lock--try-unlocking' to t.
9788 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9790 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9791 * emacs-lock.el: New file.
9793 2011-07-05 Julien Danjou <julien@danjou.info>
9795 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9796 than `boundp' to check if face is set.
9798 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9800 * register.el (registerv-make):
9801 * window.el (window-min-height): Fix typos in docstrings.
9803 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9805 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9808 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9810 * server.el (server-execute): Catch quit and call
9811 `server-return-error' to pass the error back to emacsclient and
9812 close the connection (bug#8942).
9814 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9816 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9817 insecure exception for current topic. Also note that auto-saves
9818 are handled differently.
9820 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9821 State variables for tracking auto-save inhibition situation.
9823 (allout-write-contents-hook-handler): Rename from
9824 'allout-write-file-hook-handler', and describe how it depends on
9825 write-contents-functions sensitivity to non-nil value to prevent
9828 (allout-auto-save-hook-handler): Remove. auto-save does not check
9829 this in individual buffers, only in the starting buffer, so this
9830 is not the right way for us to inhibit auto-save in a buffer
9831 according to its condition.
9833 (allout-mode): Use new allout-write-contents-hook-handler, and
9834 only with write-contents-functions. Remove auto-save provisions -
9835 they're implemented elsewhere.
9837 (allout-before-change-handler): If undo is in progress, note that
9838 for attention of allout-post-command-business.
9840 (allout-post-command-business): If the command we're following was
9841 an undo, check for change in the status of encrypted items and
9842 adjust auto-save inhibitions accordingly.
9844 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9845 according to whether there are or aren't any plain-text topics
9848 (allout-inhibit-auto-save-info-for-decryption):
9849 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9850 if there are plain-text topics pending encryption.
9852 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9853 buffer-saved-size and some allout state to not inhibit auto-saves
9854 if there are no longer any plain-text topics pending encryption.
9856 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9857 No longer provide for exemption of the current topic.
9859 2011-07-04 Juri Linkov <juri@jurta.org>
9861 Add 7z operations to delete and save changed members (bug#8968).
9862 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9864 (archive-7z-write-file-member): New function.
9865 (archive-7z-summarize): Fix the number of dashes in the
9868 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9873 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9875 * bindings.el: Ignore next-buffer and previous-buffer in
9876 minibuffer-local-map.
9878 * font-lock.el (font-lock-builtin-face): Change light background
9879 color to dark slate blue (Bug#6693).
9881 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9883 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9885 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9887 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9888 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9889 Add switch-to-buffer.
9891 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893 * isearch.el (isearch-search-fun-function): Clarify further the
9894 meaning of the function returned.
9896 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9898 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9900 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9901 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9903 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9904 `tramp-default-remote-path' does not exist.
9905 (tramp-send-command-and-read): New optional argument NOERROR.
9906 (tramp-open-connection-setup-interactive-shell)
9907 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9908 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9909 (tramp-process-sentinel): Flush also process' connection property.
9910 (tramp-sh-handle-start-file-process): Do not set process
9911 sentinel. It is done now ...
9912 (tramp-maybe-open-connection): ... here. (Bug#8929)
9914 2011-07-04 MON KEY <monkey@sandpframing.com>
9916 * play/animate.el (animate-string): Doc fixes and allow changing
9917 the buffer name (bug#5417).
9919 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9921 * play/animate.el (animation-buffer-name): Rename from *animate*.
9923 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9925 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9926 This is simpler and helps future-proof the code.
9927 (timer-until): Use time-subtract and float-time.
9928 (timer--time-less-p): Use time-less-p.
9930 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9932 * type-break.el (timep): Use the value of `float-time' to avoid a
9933 byte-compiler warning.
9935 * server.el (server-eval-and-print): Return any result, even nil.
9937 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9939 * type-break.el: Accept time formats that the builtins accept.
9940 (timep, type-break-time-difference): Accept any format that
9941 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9942 This is simpler and helps future-proof the code.
9943 (type-break-time-difference): Round rather than ignoring
9944 subseconds components.
9946 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9948 * info.el (Info-apropos-matches): Make non-interactive, since it
9949 doesn't seem to do anything useful as a command (bug#8829).
9951 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9953 * frame.el (frame-background-mode, frame-set-background-mode):
9955 (frame-default-terminal-background): New function.
9957 * custom.el (custom-push-theme): Don't record faces in `changed'
9958 theme; this doesn't work correctly for per-frame face settings.
9959 (disable-theme): Use face-set-after-frame-default to reset faces.
9960 (custom--frame-color-default): New function.
9962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964 * dired.el (dired-flagging-regexp): Remove unused variable
9967 2011-03-29 Kevin Ryde <user42@zip.com.au>
9969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9970 `perl-Test2' extend to match possible "fail #N" rep count
9973 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9975 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9976 `smtpmail-via-smtp' now returns the error instead of nil.
9978 * isearch.el (isearch-search-fun-function): Clarify the doc string
9981 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9983 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9984 unnecessary spaces (bug#8987).
9986 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988 * net/network-stream.el (open-network-stream): Use the
9989 :end-of-capability command thoughout.
9991 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9993 * net/network-stream.el (open-network-stream): Add the
9994 :end-of-capability command parameter, used by pop3.el.
9996 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10000 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10001 for list)" (bug#6475).
10003 * files.el (file-expand-wildcards): Ignore non-readable
10004 sub-directories while trying to find matches instead of signaling
10005 an error (bug#6297).
10007 * man.el (Man-reference-regexp): Allow matching possible
10008 word-wrapped references (bug#6289).
10010 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10011 for consistency with the other vc buffers (bug#6197).
10012 (vc-checkin): Ditto.
10014 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10016 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10018 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020 * custom.el (defcustom): Clarify that :set is only used in the
10021 Customize user interface (bug#6089).
10023 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10024 associated with a file, refuse to run instead of erroring out
10027 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10028 the doc string, since it appears that using `fill-column' always
10029 controls the width (bug#7845).
10031 * simple.el (shell-command-on-region): Say where the error output
10032 went if `shell-command-default-error-buffer' is set (bug#6857).
10034 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10036 * allout.el (allout-yank-processing): Adjust cursor position for
10037 backwards-deleted space.
10039 (allout-rebullet-heading): Register changes with
10040 allout-exposure-changed-hook, so the modified topic is properly
10043 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045 * minibuffer.el (completion-in-region): Document PREDICATE
10048 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10049 of keyword/argument pairs (bug#6904).
10051 * replace.el (multi-occur):
10052 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10054 2011-07-02 Drew Adams <drew.adams@oracle.com>
10056 * dired.el (dired-mark-if): Make the message about whether it's
10057 marking or unmarking clearer (bug#8523).
10059 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061 * disp-table.el (display-table-print-array): New function.
10062 (describe-display-table): Use it to print the vectors more pretty
10065 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10067 * window.el (window-state-get-1): Don't assign clone numbers.
10068 Add clone-of item to list of window parameters.
10069 (window-state-put-2): Don't process clone numbers.
10070 (display-buffer-alist): Fix doc-string.
10072 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10074 * subr.el (remq): Don't allocate if it's not needed.
10075 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10076 (keymap--merge-bindings): New functions.
10077 (keymap-canonicalize): Use them to refine the canonicalization.
10078 * minibuffer.el (minibuffer-local-completion-map)
10079 (minibuffer-local-must-match-map): Move initialization from C.
10080 (minibuffer-local-filename-completion-map): Move initialization from C;
10081 don't inherit from anything here.
10082 (minibuffer-local-filename-must-match-map): Make obsolete.
10083 (completing-read-default): Use make-composed-keymap to combine
10084 minibuffer-local-filename-completion-map with either
10085 minibuffer-local-must-match-map or
10086 minibuffer-local-filename-completion-map.
10088 2011-07-01 Glenn Morris <rgm@gnu.org>
10090 * type-break.el (type-break-time-sum): Use dolist.
10092 * textmodes/flyspell.el (flyspell-word-search-backward):
10093 Replace CL function.
10095 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * mouse.el (mouse--strip-first-event): New function.
10098 (function-key-map): Use it to map fringe clicks to normal clicks
10101 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10102 (vc-bzr-revision-completion-table): Add support for annotate and date.
10104 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10105 inherit from parent.
10107 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10109 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10110 (dired-show-file-type): Doc fixup (bug#8818).
10112 * dired.el (dired-mode): Fix up the doc string as suggested by
10113 Drew Adams (bug#8817).
10115 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10116 cookie, since the manual says that it should be possible to add
10117 this function to `find-file-hook' (bug#8709).
10119 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10121 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10122 here. Noted Ted Zlatanov as the maintainer.
10123 (cfengine-common-settings, cfengine-common-syntax): New functions
10124 to set up common things between `cfengine-mode' and
10126 (cfengine3-mode): New mode.
10127 (cfengine3-defuns cfengine3-defuns-regex
10128 (cfengine3-class-selector-regex cfengine3-category-regex)
10129 (cfengine3-vartypes cfengine3-font-lock-keywords)
10130 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10131 (cfengine3-indent-line): Add from cfengine3.el.
10133 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10135 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10137 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10139 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10141 * window.el (same-window-buffer-names, same-window-regexps)
10142 (same-window-p, special-display-frame-alist)
10143 (special-display-popup-frame, special-display-function)
10144 (special-display-buffer-names, special-display-regexps)
10145 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10146 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10147 (split-window-preferred-function, split-height-threshold)
10148 (split-width-threshold, even-window-heights)
10149 (display-buffer-mark-dedicated, window-splittable-p)
10150 (split-window-sensibly, window-safely-shrinkable-p):
10152 (display-buffer): Don't spread args with function specifier
10153 because special-display-popup-frame won't like it.
10155 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10157 Time-stamp simplifications and fixes.
10158 These improve accuracy slightly, and future-proof the code
10159 against some potential changes to current-time format.
10161 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10162 by using time-since and float-time.
10164 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10165 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10166 + NNN microseconds".
10168 * type-break.el (type-break-time-sum): Rewrite using time-add.
10170 * play/hanoi.el (hanoi-current-time-float): Remove.
10171 All uses replaced by float-time.
10173 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10174 This yields a more-accurate answer.
10175 (rng-time-to-float): Remove; no longer needed.
10177 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10179 * calendar/timeclock.el (timeclock-seconds-to-time):
10180 Defalias to seconds-to-time, since they're the same thing.
10182 * emacs-lisp/elp.el (elp-elapsed-time):
10183 * emacs-lisp/benchmark.el (benchmark-elapse):
10184 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10186 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * window.el (bury-buffer): Don't iconify the only frame.
10189 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10190 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10192 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10194 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10195 Add mouse-yank-primary.
10197 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10199 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10201 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10204 (find-library-name): Use it to find relative load names when provided
10205 absolute file name (bug#8803).
10207 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10209 * textmodes/flyspell.el (flyspell-word): Consider words that
10210 differ only in case as potential doublons (bug#5687).
10212 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10213 Remove two rather uninteresting debugging-like messages to make
10214 debbugs.el more silent.
10216 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10217 a password-like phrase.
10219 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10221 * progmodes/cc-guess.el: New file.
10223 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10225 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10226 derived from `c-basic-common-init'.
10228 * progmodes/cc-mode.el (top-level): Require cc-guess.
10229 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10231 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10233 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10235 2011-06-30 Alan Mackenzie <acm@muc.de>
10237 * progmodes/cc-engine.el (c-guess-continued-construct):
10238 Correct the handling of template-args-cont, particularly for when font
10239 lock is disabled. Name this case as "CASE G".
10241 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10243 * allout.el (allout-yank-processing): Fix injection of extra space
10244 between bullet and non-whitespace character in first topic when
10245 pasting, ensuring that the actual spacing in the pasted topic
10246 following the bullet char is preserved. This extra space was
10247 causing pasted encrypted topics to get a decrypted status even
10248 when the content was actually still encrypted. Now the decryption
10249 status from before the paste is preserved.
10251 (allout-flag-region): Set all allout overlays so they evaporate
10252 when reduced to zero length (evanescent), to prevent overlay
10255 2011-06-30 Glenn Morris <rgm@gnu.org>
10257 * w32-fns.el (w32-charset-info-alist): Declare.
10259 * find-dired.el (find-grep-options): Simplify.
10261 * term/ns-win.el (ns-set-resource): Declare.
10263 * ses.el (row, col): Declare dynamic variables honestly.
10265 * textmodes/reftex-parse.el (index-tags): Declare.
10267 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10269 * cus-edit.el (customize-push-and-save): New function.
10271 * files.el (hack-local-variables-confirm): Use it.
10273 * custom.el (load-theme): New arg NO-CONFIRM.
10274 Use customize-push-and-save (Bug#8720).
10275 (custom-enabled-themes): Doc fix.
10277 * cus-theme.el (customize-create-theme)
10278 (custom-theme-merge-theme): Callers to load-theme changed.
10280 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10282 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10283 short URLs have at least one dot in them (bug #7614).
10285 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10286 nil, because using a pty is apparently too slow (bug #895).
10288 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10290 * mail/sendmail.el (sendmail-query-once): New function.
10291 (sendmail-query-once-function): New variable.
10293 2011-06-29 Glenn Morris <rgm@gnu.org>
10295 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10297 * ses.el (top-level): Require cl when compiling.
10298 (ses-set-localvars): Fix error statement.
10299 Call it at compile time to silence a storm of warnings.
10301 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10303 * window.el (normalize-live-buffer): Rename to
10304 window-normalize-buffer.
10305 (normalize-live-frame): Rename to window-normalize-frame.
10306 (normalize-any-window): Rename to window-normalize-any-window.
10307 (normalize-live-window): Rename to window-normalize-live-window.
10308 (make-window-atom): Rename to window-make-atom.
10309 (window-resize-reset): Rename to window--resize-reset.
10310 (window-resize-reset-1): Rename to window--resize-reset-1.
10311 (resize-mini-window): Rename to window--resize-mini-window.
10312 (resize-subwindows-skip-p): Rename to
10313 window--resize-subwindows-skip-p.
10314 (resize-subwindows-normal): Rename to
10315 window--resize-subwindows-normal.
10316 (resize-subwindows): Rename to window--resize-subwindows.
10317 (resize-other-windows): Rename to window--resize-siblings.
10318 (resize-this-window): Rename to window--resize-this-window.
10319 (resize-root-window): Rename to window--resize-root-window.
10320 (resize-root-window-vertically): Rename to
10321 window--resize-root-window-vertically.
10322 (normalize-buffer-to-display): Rename to
10323 window-normalize-buffer-to-display.
10324 (normalize-buffer-to-switch-to): Rename to
10325 window-normalize-buffer-to-switch-to.
10326 Correspondingly update all callers of the functions listed
10328 (display-buffer-alist, display-buffer-normalize-arguments)
10329 (display-buffer-normalize-options, display-buffer)
10330 (display-buffer-alist-set): Use "function" instead of
10333 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10335 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10336 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10337 debbugs.gnu.org. Mention acknowledgment email.
10339 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10341 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10342 buffer multibyteness, since it shouldn't matter.
10344 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10346 * window.el (display-buffer-in-side-window): Handle dedicated
10347 windows as in display-buffer-reuse-window.
10348 (display-buffer-normalize-alist): Use value of override
10350 (display-buffer-normalize-specifiers): Use value of
10351 other-window-means-other-frame specifier.
10352 (display-buffer-alist): Rewrite some texts in widgets.
10353 (display-buffer): Spread arguments when calling function
10354 specified by fun-with-args.
10356 2011-06-28 Deniz Dogan <deniz@dogan.se>
10358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10361 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10362 selectors (Bug#5732).
10363 (css-proprietary-nmstart-re): Use `regexp-opt'.
10365 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10367 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10368 (eshell-ls-date-format): New defcustom.
10369 (eshell-ls-file): Use it.
10371 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10373 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10375 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10377 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10378 (ange-ftp-make-tmp-name): New arg.
10379 (ange-ftp-file-local-copy): Use it.
10381 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10383 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10384 no-conversion (Bug#8870).
10386 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10388 * window.el (window-right, window-left, window-child)
10389 (window-child-count, window-last-child)
10390 (window-iso-combination-p, walk-window-tree-1)
10391 (window-atom-check-1, window-tree-1, delete-window)
10392 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10393 new naming conventions - window-vchild, window-hchild,
10394 window-next and window-prev are now called window-top-child,
10395 window-left-child, window-next-sibling and window-prev-sibling
10397 (resize-window-reset): Rename to window-resize-reset.
10398 (resize-window-reset-1): Rename to window-resize-reset-1.
10399 (resize-window): Rename to window-resize.
10400 (window-min-height, window-min-width)
10401 (resize-mini-window, resize-this-window, resize-root-window)
10402 (resize-root-window-vertically, adjust-window-trailing-edge)
10403 (enlarge-window, shrink-window, maximize-window)
10404 (minimize-window, delete-window, quit-restore-window)
10405 (split-window, balance-windows, balance-windows-area-adjust)
10406 (balance-windows-area, window-state-put-2)
10407 (display-buffer-even-window-sizes, display-buffer-set-height)
10408 (display-buffer-set-width, set-window-text-height)
10409 (fit-window-to-buffer): Rename all "resize-window" prefixed
10410 calls to use the "window-resize" prefix convention.
10411 (display-buffer-alist): Fix symbol for label specifier.
10412 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10413 corresponding specifier.
10414 Reported by Juanma Barranquero <lekktu@gmail.com>.
10416 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10418 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10420 (ses-call-printer): Does not pass an empty string to formatter when the
10421 cell is empty to keep from barking printer Calc math-format-value.
10423 2011-06-27 Richard Stallman <rms@gnu.org>
10425 * battery.el (battery-mode-line-limit): New variable.
10426 (battery-update): Handle it.
10428 * mail/rmailmm.el (rmail-mime-process-multipart):
10429 Handle truncated messages.
10431 2011-06-27 Glenn Morris <rgm@gnu.org>
10433 * progmodes/flymake.el (flymake-err-line-patterns):
10434 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10436 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10438 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10439 (ses--clean-!, ses--clean-_): New functions.
10440 (ses-range): Add configurability of readout order, and conversion
10443 * ses.el (ses-repair-cell-reference-all): New function.
10444 (ses-cell-symbol): Set macro as safe, so that it can be used in
10447 * ses.el: Update cycle detection algorithm.
10448 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10449 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10450 (ses-set-localvars): New function.
10451 (ses-make-cell): Add property-list as a cell element.
10452 (ses-cell-property-get-fun, ses-cell-property-get)
10453 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10454 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10456 (ses-cell-property-set, ses-cell-property-pop)
10457 (ses-cell-property-get-handle): New macro.
10458 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10459 New aliases, used for code readability.
10460 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10462 (ses-self-reference-early-detection): New defcustom.
10463 (ses-formula-references): Robustify against self-referring cells.
10464 (ses-mode): Use ses-set-localvars.
10465 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10466 before lauching the update processing.
10467 (ses-initialize-Dijkstra-attempt): New function.
10468 (ses-recalculate-cell): Update for cycle detection based on
10469 Dijkstra algorithm.
10471 * ses.el: Fix commenting and indenting convention.
10473 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10475 * bs.el (bs-cycle-next): Complete last change.
10477 2011-06-27 Drew Adams <drew.adams@oracle.com>
10479 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10481 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10483 * net/network-stream.el (network-stream-open-starttls):
10484 Don't re-get capabilities unless we've reestablished connection.
10485 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10487 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10488 to binary to possibly avoid line encoding issues on Windows (among
10491 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10493 * net/network-stream.el (open-network-stream): Return an :error
10494 saying what the problem was, if possible.
10496 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10499 * net/network-stream.el (network-stream-open-starttls): If we
10500 wanted to use STARTTLS, and the server offered it, but we weren't
10501 able to because we had no STARTTLS support, then close the connection.
10502 (open-network-stream): Return an :error element, if present.
10504 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10506 * hl-line.el (hl-line-sticky-flag): Doc fix.
10507 (global-hl-line-sticky-flag): New option (Bug#8323).
10508 (global-hl-line-highlight): Obey it.
10510 * vc/vc.el (vc-revert-show-diff): Default to t.
10512 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10514 * allout-widgets.el (allout-widgets-post-command-business):
10515 Stop decorating intermediate isearch matches. They're not being
10516 undecorated when an isearch is continued past, and isearch
10517 automatically collapses them. This leads to "widget leaks", where
10518 decorated items accumulate in collapsed areas. Lines with lots of
10519 hidden widgets can slow down cursor travel, substantially.
10520 Too much complicated machinery would be needed to ensure undecoration,
10521 so we're doing without this nicety.
10523 (allout-widgets-tally-string): Don't try to do a hash-table-count
10524 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10525 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10526 *Messages* when allout-widgets-maintain-tally is t.
10528 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10530 * window.el (display-buffer-normalize-argument): Rename to
10531 display-buffer-normalize-arguments. Handle special meaning of
10532 LABEL argument. Respect special-display-function when popping up
10533 a new frame. Fix code searching for a window showing the buffer
10535 (display-buffer-normalize-specifiers):
10536 Call display-buffer-normalize-arguments.
10537 (display-buffer-in-window): Don't undedicate the window if its
10538 buffer remains the same.
10539 Reported by Drew Adams <drew.adams@oracle.com>.
10540 (display-buffer-alist): Add choice for same-window macro
10542 (display-buffer): Mention special meaning of LABEL argument in
10543 doc-string. Fix quoting. Don't pop up a new frame even as
10546 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10548 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10549 avoid deleting the current window in some cases (bug#8911).
10551 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10553 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10556 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10558 * net/network-stream.el (network-stream-open-starttls):
10559 Use built-in TLS support if `gnutls-available-p' is true.
10560 (network-stream-open-tls): Ditto.
10562 2011-06-26 Leo Liu <sdl.web@gmail.com>
10564 * register.el (registerv): New struct.
10565 (registerv-make): New function.
10566 (jump-to-register, describe-register-1, insert-register):
10567 Support the jump-func, print-func and insert-func slot of a registerv
10570 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10572 * vc/vc.el (vc-revert-show-diff): New defcustom.
10573 (vc-diff-internal): New arg specifying diff buffer.
10574 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10575 reuse an existing *vc-diff* buffer (Bug#8927).
10577 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10579 2011-06-26 Glenn Morris <rgm@gnu.org>
10581 * progmodes/f90.el (f90-critical-indent): New option.
10582 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10583 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10584 (f90-mode): Doc fix.
10585 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10586 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10587 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10588 (f90-match-end): Handle block, critical.
10590 2011-06-25 Glenn Morris <rgm@gnu.org>
10592 * calendar/diary-lib.el (diary-included-files): Doc fix.
10593 (diary-include-files): New function, extracted from
10594 diary-include-other-diary-files and diary-mark-included-diary-files.
10595 (diary-include-other-diary-files, diary-mark-included-diary-files):
10596 Just call diary-include-files.
10597 (diary-mark-entries): Reset diary-included-files on first call.
10599 * calendar/diary-lib.el (diary-mark-entries)
10600 (diary-mark-included-diary-files):
10601 Visit included diary-files in temp buffers.
10603 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10604 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10605 (f90-start-block-re, f90-imenu-generic-expression)
10606 (f90-looking-at-program-block-start, f90-no-block-limit):
10607 Add support for submodules.
10609 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10610 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10612 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10614 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10615 buffer-file-type before setting its value, to avoid disastrous
10616 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10618 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10620 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10622 * ses.el (ses-unload-function):
10623 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10625 * proced.el (proced-unload-function):
10626 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10628 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10630 * server.el (server-create-window-system-frame): Add parameters arg.
10631 (server-process-filter): Doc fix. Handle frame-parameters.
10633 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10635 Fix bug#8730, bug#8781.
10637 * loadhist.el (unload--set-major-mode): New function.
10638 (unload-feature): Use it.
10640 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10641 (python-unload-function): New function.
10643 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10647 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10649 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10650 the candidates list.
10652 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10654 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10656 2011-06-23 Richard Stallman <rms@gnu.org>
10658 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10659 (rmail-variables): Set next-error-move-function.
10660 (rmail-what-message): Take argument POS.
10661 (rmail-next-error-move): New function.
10663 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10666 messages for adjacent non-terminals.
10668 2011-06-23 Richard Stallman <rms@gnu.org>
10670 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10671 (rmail-show-message-1): Preserve buffer modified flag.
10672 (rmail-start-mail): Don't specify use of rmail-mail-return;
10673 that's done by mail-bury now.
10674 (rmail-mail-return): Handle arg NEWBUF.
10676 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10678 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10681 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10683 * window.el (get-lru-window, get-mru-window)
10684 (get-largest-window): Never return a minibuffer window.
10685 (display-buffer-pop-up-window): Fix a bug that could lead to
10686 reusing the minibuffer window.
10687 (display-buffer): Pass original specifier argument to
10688 display-buffer-function instead of the normalized one.
10689 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10691 2011-06-22 Leo Liu <sdl.web@gmail.com>
10693 * minibuffer.el (completing-read-function)
10694 (completing-read-default): Move from minibuf.c
10696 2011-06-22 Richard Stallman <rms@gnu.org>
10698 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10699 to Rmail even if not started by a special Rmail command.
10701 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10702 Copy the buffer currently showing just one message.
10704 2011-06-22 Roland Winkler <winkler@gnu.org>
10706 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10707 (bibtex-clean-entry): First delete the old key so that a
10708 customized algorithm for generating the new key does not get
10709 confused by the old key.
10710 (bibtex-url): Obey regexp of first step.
10711 (bibtex-search-entries): Do not use add-to-list with local
10714 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10716 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10717 stored a user name, then query for the password first, instead of
10718 waiting for SMTP to give an error message and the trying again.
10720 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10722 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10723 BUFFER in call-process.
10725 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10727 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10729 (smtpmail-try-auth-methods): Require user name and password from
10732 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10734 * window.el (display-buffer-default-specifiers)
10735 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10736 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10737 (split-window): Normalize SIDE argument (Bug#8916).
10739 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10740 (special-display-frame-alist, special-display-popup-frame):
10741 Remove duplicate declarations. These are now in window.el.
10743 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745 * mail/smtpmail.el (smtpmail-via-smtp):
10746 Set :use-starttls-if-possible so that we always use STARTTLS if the
10747 server supports it. SMTP servers that support STARTTLS commonly
10750 * net/network-stream.el (network-stream-open-starttls): Support
10751 upgrading to STARTTLS always, even if we don't have built-in support.
10752 (open-network-stream): Add the :always-query-capabilities keyword.
10754 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10755 upgrades with `open-network-stream', and rely solely on
10756 auth-source for all credentials. Big changes throughout the file,
10758 (smtpmail-auth-credentials): Remove.
10759 (smtpmail-starttls-credentials): Remove.
10760 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10763 * net/network-stream.el (network-stream-open-starttls):
10764 Provide support for client certificates both for external and built-in
10766 (auth-source): Require.
10767 (open-network-stream): Document the :client-certificate keyword.
10768 (network-stream-certificate): Change cert-cert to cert and
10771 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10773 * net/tramp-cache.el (top): Don't load the persistency file when
10774 "emacs -Q" has been called.
10776 2011-06-21 Tim Harper <timcharper@gmail.com>
10778 * term/ns-win.el (ns-initialize-window-system):
10779 Set application-specific `ApplePressAndHoldEnabled' system
10780 resource to NO as it is not yet supported by the NS port.
10782 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10784 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10785 (list-dynamic-libraries): ...not here.
10787 2011-06-21 Leo Liu <sdl.web@gmail.com>
10789 * subr.el (sha1): Implement sha1 using secure-hash.
10791 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10793 * window.el (display-buffer-alist): In default value do not
10794 enforce searching a window on any but the selected frame.
10795 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10796 (display-buffer-select-window): Remove function.
10797 (display-buffer-in-window): When a window on another frame gets
10798 reused, do not select it any more but just raise its frame if
10799 necessary (Bug#8851) and (Bug#8856).
10800 (display-buffer-normalize-options): Handle pop-up-frames related
10801 options more faithfully.
10802 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10803 window if it is on another frame.
10804 (display-buffer-alist, display-buffer-default-specifiers):
10805 Don't make new frame unsplittable by default.
10806 (display-buffer-normalize-argument): Fix doc-string typo and use
10807 'same-frame-other-window instead of 'other-window when associating
10808 with display-buffer-macro-specifiers.
10810 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10812 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10814 (5x5-mode-map, 5x5-mode-menu): Bind them.
10815 (5x5-draw-grid): Tweak the solver's rendering.
10817 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10820 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10822 2011-06-21 Drew Adams <drew.adams@oracle.com>
10824 * menu-bar.el: Use function variable instead of switch-to-buffer.
10825 (menu-bar-select-buffer-function): New variable.
10826 (menu-bar-update-buffers): Use it (bug#8876).
10828 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10830 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10833 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10835 * x-dnd.el (x-dnd-version-from-flags)
10836 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10837 and long as number (Bug#8899).
10838 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10840 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10842 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10843 (completion-try-completion, completion-all-completions): Compute the
10844 metadata argument if it's missing; make it optional (bug#8795).
10846 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10847 (widget-complete): Use new :completion-function property.
10848 (widget-completions-at-point): New function.
10849 (default): Use :completion-function instead of :complete.
10850 (widget-default-completions): Rename from widget-default-complete;
10852 (widget-string-complete, widget-file-complete, widget-color-complete):
10854 (file, symbol, function, variable, coding-system, color):
10855 * international/mule-cmds.el (default-input-method, charset)
10856 (language-info-custom-alist):
10857 * cus-edit.el (face): Use new property :completions.
10859 * progmodes/pascal.el (pascal-completions-at-point): New function.
10860 (pascal-mode): Use it.
10861 (pascal-mode-map): Use completion-at-point.
10862 (pascal-toggle-completions): Make obsolete.
10863 (pascal-complete-word, pascal-show-completions):
10864 * progmodes/octave-mod.el (octave-complete-symbol):
10865 Redefine as obsolete alias.
10866 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10867 Signal absence of completion info for old Octave,
10868 (inferior-octave-complete): Redefine as obsolete alias.
10869 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10870 (meta-completions-at-point): Rename from meta-complete-symbol and
10871 adapt it for use on completion-at-point-functions.
10872 (meta-common-mode): Use it.
10873 (meta-looking-at-backward, meta-match-buffer): Remove.
10874 (meta-complete-symbol): Redefine as obsolete alias.
10875 (meta-common-mode-map): Use completion-at-point.
10876 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10877 (makefile-mode-map): Use completion-at-point.
10878 (makefile-completions-at-point): Rename from makefile-complete and
10879 adapt it for use on completion-at-point-functions.
10880 (makefile-mode): Use it.
10881 (makefile-complete): Redefine as obsolete alias.
10883 2011-06-20 Deniz Dogan <deniz@dogan.se>
10885 * net/rcirc.el: Delete trailing whitespaces once and for all.
10887 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10889 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10891 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10893 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10895 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10897 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10899 * window.el (display-buffer-other-window-means-other-frame):
10900 Call display-buffer-normalize-alist.
10901 (display-buffer-normalize-specifiers-1): Rename to
10902 display-buffer-normalize-argument. New argument other-frame.
10904 (display-buffer-normalize-specifiers-2): Rename to
10905 display-buffer-normalize-options.
10906 (display-buffer-normalize-alist-1): New function.
10907 (display-buffer-normalize-specifiers-3): Rename to
10908 display-buffer-normalize-alist.
10909 Call display-buffer-normalize-alist-1.
10910 (display-buffer-normalize-options-inhibit): New variable.
10911 (display-buffer-normalize-specifiers): Rewrite calling
10912 display-buffer-normalize-alist,
10913 display-buffer-normalize-argument, and
10914 display-buffer-normalize-options. Don't call the latter if
10915 display-buffer-normalize-options-inhibit is non-nil.
10916 (frame-auto-delete): New option.
10917 (window-deletable-p): Use frame-auto-delete.
10918 (window-list-no-nils, window-state-ignored-parameters)
10919 (window-state-get-1, window-state-get, window-state-put-list)
10920 (window-state-put-1, window-state-put-2, window-state-put):
10922 (display-buffer-normalize-options): Move special-display-p group
10923 after pop-up-frame group (Bug#8851) and (Bug#8856).
10925 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10927 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10929 (rx-submatch-n): New function.
10932 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10935 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10937 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10939 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10940 anytime existing face settings are present (Bug#8889).
10942 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10943 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10944 Remove unused argument.
10946 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10948 * window.el (display-buffer-default-specifiers):
10949 Remove pop-up-frame. Add pop-up-window-min-height,
10950 pop-up-window-min-width, and another reuse-window specifier
10951 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10952 (display-buffer-normalize-specifiers-2):
10953 Handle split-height-threshold and split-width-threshold also when
10954 pop-up-windows is unset. Add a reuse-window specifier for the
10955 case popping up a new window fails.
10956 (special-display-popup-frame): Remove double quoting.
10957 (display-buffer-normalize-specifiers-1): Fix thinko.
10959 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10962 according to comint-completion-addsuffix.
10964 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10965 (pcomplete-suffix-list): Mark as obsolete.
10966 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10967 pcomplete-seen in the closure.
10968 (pcomplete-comint-setup): Setup completion-at-point as well.
10969 (pcomplete--entries): New function.
10970 (pcomplete--env-regexp): New var.
10971 (pcomplete-entries): Rewrite to work with partial-completion and
10972 without relying on pcomplete-suffix-list.
10973 (pcomplete-pare-list): Remove, unused.
10975 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10977 * window.el (display-buffer-alist): Set pop-up-window-min-height
10978 and pop-up-window-min-width in default value. Reported by
10979 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10980 other-window-means-other-frame.
10981 (display-buffer-macro-specifiers): Comment out entry for
10982 other-window specifier.
10983 (display-buffer-other-window-means-other-frame): New function.
10984 (display-buffer-normalize-specifiers-1): New arguments
10985 buffer-name and label. Treat other-window case specially.
10986 (display-buffer-normalize-specifiers-2): Treat other-window case
10988 (display-buffer-normalize-specifiers-3): New function.
10989 (display-buffer-normalize-specifiers):
10990 Call display-buffer-normalize-specifiers-3.
10992 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10994 * window.el (same-window-p): Fix two typos introduced when
10995 adding with-no-warnings.
10996 (display-buffer-normalize-specifiers-1): Don't check
10997 pop-up-frames for 'unset initialization.
10998 (display-buffer-normalize-specifiers-2): Major rewrite using
10999 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11000 (pop-up-frames, display-buffer-reuse-frames)
11001 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11002 Suggested by David Engster <deng@randomsample.de>.
11003 (even-window-heights): Initialize to 'unset.
11004 (display-buffer-alist-set): Handle new 'unset initializations.
11005 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11008 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11010 * window.el (display-buffer-normalize-specifiers-1):
11011 Respect current value of pop-up-frames for most reasonable values of
11012 second argument of display-buffer (Bug#8865).
11013 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11014 (switch-to-buffer-other-window-same-frame)
11015 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11017 (display-buffer): Don't check noninteractive when calling
11018 display-buffer-pop-up-frame.
11019 (display-buffer-pop-up-frame): Never pop up a frame in
11020 noninteractive mode (Bug#8857).
11021 (enlarge-window, shrink-window): Don't report an error when the
11022 window can't be resized as requested (Bug#8862).
11024 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11028 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11030 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11032 2011-06-15 Alan Mackenzie <acm@muc.de>
11034 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11035 for declarators, disable knr checking to speed up for normal files.
11036 2: Refactor, replacing a sequence of nested if forms by a cond form.
11038 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11040 * net/network-stream.el (open-network-stream): Add the keyword
11041 :always-query-capabilities for the case where you want to force a
11042 `plain' network connection, but the protocol still requires the
11043 capabilitiy command (i.e., SMTP and EHLO).
11045 * subr.el (process-live-p): Rename from `process-alive-p' for
11046 consistency with other `-live-p' functions.
11048 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * window.el (same-window-buffer-names, same-window-regexps)
11051 (special-display-frame-alist, special-display-popup-frame)
11052 (special-display-function, special-display-buffer-names)
11053 (special-display-regexps, pop-up-frame-alist)
11054 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11055 (pop-up-windows, split-window-preferred-function)
11056 (split-height-threshold, split-width-threshold, even-window-heights)
11057 (display-buffer-mark-dedicated): Don't encourage the use of
11058 display-buffer-alist from Elisp code.
11060 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11062 * progmodes/python.el (python-mode): Derive from prog-mode.
11063 * progmodes/ps-mode.el (ps-mode):
11064 * progmodes/mixal-mode.el (mixal-mode):
11065 * progmodes/cfengine.el (cfengine-mode):
11066 * progmodes/ld-script.el (ld-script-mode): Likewise.
11068 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11070 * window.el (display-buffer-alist): Trim default value to avoid
11071 popping up a new frame (Bug#8857) or reusing an arbitrary window
11073 (display-buffer): Do not fall back on popping up a new frame in
11074 batch mode (Bug#8857).
11076 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11078 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11079 (custom-theme-summary): New function.
11080 (customize-themes): Use it.
11082 2011-06-13 Glenn Morris <rgm@gnu.org>
11084 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11086 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11088 * help.el (help-window): Remove variable.
11089 (help-window-point-marker, temp-buffer-max-height)
11090 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11091 (help-print-return-message): Don't set help-window.
11092 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11093 (help-window-setup-finish): Remove.
11094 (help-window-display-message, help-window-setup)
11095 (with-help-window): Major rewrite based on new
11096 display-buffer-window variable.
11098 * help-mode.el (help-mode-finish): Remove help-window related
11101 * view.el (view-exits-all-viewing-windows): Remove reference to
11102 view-return-to-alist in doc-string.
11103 (view-return-to-alist): Make obsolete.
11104 (view-buffer): Call pop-to-buffer-same-window and remove
11106 (view-buffer-other-window): Call pop-to-buffer-other-window and
11107 simplify code. Ignore second argument.
11108 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11109 simplify code. Ignore second argument.
11110 (view-return-to-alist-update): Make obsolete.
11111 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11112 Rewrite using quit-restore window parameters.
11113 (view-mode-exit): Rename second argument to EXIT-ONLY.
11114 Rewrite using quit-restore-window.
11115 (View-exit, View-exit-and-edit, View-leave, View-quit)
11116 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11117 appropriate arguments.
11118 (view-end-message): Use quit-restore window parameter.
11120 * window.el (display-buffer-function): Rewrite doc-string.
11121 (display-buffer-window, display-buffer-alist): New variables.
11122 (display-buffer-split-specifiers)
11123 (display-buffer-side-specifiers)
11124 (display-buffer-macro-specifiers): New constants.
11125 (display-buffer-even-window-sizes, display-buffer-set-height)
11126 (display-buffer-set-width, display-buffer-select-window)
11127 (display-buffer-in-window, display-buffer-reuse-window)
11128 (display-buffer-split-window-1, display-buffer-split-window)
11129 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11130 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11131 (display-buffer-in-side-window, normalize-buffer-to-display)
11132 (display-buffer-normalize-specifiers-1)
11133 (display-buffer-normalize-specifiers-2)
11134 (display-buffer-normalize-specifiers, display-buffer-frame):
11136 (display-buffer): Major rewrite.
11137 (display-buffer-other-window, display-buffer-other-frame)
11138 (pop-to-buffer, switch-to-buffer-other-window)
11139 (switch-to-buffer-other-frame): Rewrite.
11140 (display-buffer-same-window, display-buffer-same-frame)
11141 (display-buffer-same-frame-other-window)
11142 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11143 (pop-to-buffer-other-window)
11144 (pop-to-buffer-same-frame-other-window)
11145 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11146 (switch-to-buffer-other-window-same-frame): New functions.
11147 (same-window-p, special-display-p): Rewrite disabling warnings.
11149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11150 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11152 (same-window-buffer-names, same-window-regexps)
11153 (special-display-frame-alist, special-display-popup-frame)
11154 (special-display-function, special-display-buffer-names)
11155 (special-display-regexps, pop-up-frame-alist)
11156 (pop-up-frame-function, split-window-preferred-function)
11157 (split-height-threshold, split-width-threshold)
11158 (even-window-heights): Make obsolete.
11160 2011-06-12 Glenn Morris <rgm@gnu.org>
11162 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11163 Misc simplifications.
11165 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11167 * window.el (window-safely-shrinkable-p): Restore function which
11168 was inadvertently removed in change from 2011-06-11. Declare as
11171 * calendar/calendar.el (calendar-generate-window):
11172 Use window-iso-combined-p instead of combination of one-window-p and
11173 window-safely-shrinkable-p.
11175 2011-06-12 Glenn Morris <rgm@gnu.org>
11177 * progmodes/fortran.el (fortran-mode-syntax-table):
11178 * progmodes/f90.el (f90-mode-syntax-table):
11179 Set % to punctuation. (Bug#8820)
11180 (f90-find-tag-default): Remove, no longer needed.
11182 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11184 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11186 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11188 * image.el (image-animated-p): Return animation delay in seconds.
11189 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11190 (image-animate-timeout): Remove DELAY argument. Don't assume
11191 every subimage has the same delay; get it from image-animated-p.
11192 (image-animate): Caller changed.
11194 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11196 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11197 to ignored backtrace functions.
11199 2011-06-11 Glenn Morris <rgm@gnu.org>
11201 * calendar/appt.el (appt-disp-window-function): Doc fix.
11202 (appt-check): Handle overlapping appointments. (Bug#8337)
11204 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11206 * window.el (window-tree-1, window-tree): New functions, moving
11207 the latter to window.el.
11208 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11209 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11210 (bw-refresh-edges): Remove.
11211 (balance-windows-1, balance-windows-2): New functions.
11212 (balance-windows): Rewrite in terms of window tree functions,
11213 balance-windows-1 and balance-windows-2.
11214 (bw-adjust-window): Remove.
11215 (balance-windows-area-adjust): New function with functionality of
11216 bw-adjust-window but using resize-window.
11217 (set-window-text-height): Rewrite doc-string.
11218 Use normalize-live-window and resize-window.
11219 (enlarge-window-horizontally, shrink-window-horizontally):
11220 Rename argument to DELTA.
11221 (window-buffer-height): New function.
11222 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11223 Rewrite using new window resize routines.
11224 (kill-buffer-and-window, mouse-autoselect-window-select):
11225 Use ignore-errors instead of condition-case.
11226 (quit-window): Call delete-frame instead of delete-windows-on
11227 for the only buffer on frame.
11229 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11231 * loadup.el (top-level): Load window before files for the sake
11232 of replace-buffer-in-windows.
11234 * files.el (read-buffer-to-switch)
11235 (switch-to-buffer-other-window)
11236 (switch-to-buffer-other-frame, display-buffer-other-frame):
11239 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11240 (previous-buffer): Move to window.el.
11242 * bindings.el (unbury-buffer): Move to window.el.
11244 * window.el (delete-other-windows-vertically): Move after
11245 definition of delete-other-windows.
11246 (other-window, delete-windows-on, replace-buffer-in-windows):
11247 Move here from window.c.
11248 (record-window-buffer, unrecord-window-buffer)
11249 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11250 (switch-to-next-buffer): New functions.
11251 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11252 from simple.el. Call switch-to-next-buffer.
11253 (previous-buffer): Move here from simple.el.
11254 Call switch-to-prev-buffer.
11255 (bury-buffer): Move here from buffer.c. Switch to previous
11256 buffer when window cannot be deleted.
11257 (unbury-buffer): Move here from bindings.el.
11258 (ctl-x-map): Move binding for other-window from window.c to
11260 (read-buffer-to-switch, switch-to-buffer-other-window)
11261 (switch-to-buffer-other-frame): Move here from files.el.
11262 (normalize-buffer-to-switch-to): New functions.
11263 (switch-to-buffer): Move here from buffer.c.
11264 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11266 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11268 * window.el (window-min-height, window-min-width): Move here
11269 from window.c. Add defcustoms and rewrite doc-strings.
11270 (resize-mini-window, resize-window): New functions.
11271 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11272 Move here from window.c.
11273 (maximize-window, minimize-window): New functions.
11274 (delete-window, delete-other-windows, split-window): Move here
11276 (window-split-min-size): New function.
11277 (split-window-keep-point): Mention split-window-above-each-other
11278 instead of split-window-vertically.
11279 (split-window-above-each-other, split-window-vertically):
11280 Rename split-window-vertically to split-window-above-each-other
11281 and provide defalias for old definition.
11282 (split-window-side-by-side, split-window-horizontally):
11283 Rename split-window-horizontally to split-window-side-by-side
11284 and provide defalias for the old definition.
11285 (ctl-x-map): Move bindings for delete-window,
11286 delete-other-windows and enlarge-window here from window.c.
11287 Replace bindings for split-window-vertically and
11288 split-window-horizontally by bindings for
11289 split-window-above-each-other and split-window-side-by-side.
11291 * cus-start.el (all): Remove entries for window-min-height and
11292 window-min-width. Add entries for window-splits and
11295 2011-06-09 Glenn Morris <rgm@gnu.org>
11297 * calendar/appt.el (appt-mode-line): New function.
11298 (appt-check, appt-disp-window): Use it.
11300 * files.el (hack-one-local-variable-eval-safep):
11301 Allow minor-modes with explicit +/-1 arguments.
11303 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11305 * term/xterm.el (xterm): Add defgroup.
11306 (xterm-extra-capabilities): Add defcustom to supply known xterm
11307 capabilities, skip querying them, or query them (default).
11308 (terminal-init-xterm): Use it.
11309 (terminal-init-xterm-modify-other-keys): New function to set up
11310 modifyOtherKeys support to simplify `terminal-init-xterm'.
11312 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11314 * window.el (resize-window-reset, resize-window-reset-1)
11315 (resize-subwindows-skip-p, resize-subwindows-normal)
11316 (resize-subwindows, resize-other-windows, resize-this-window)
11317 (resize-root-window, resize-root-window-vertically)
11318 (window-deletable-p, window-or-subwindow-p)
11319 (frame-root-window-p): New functions.
11321 2011-06-09 Glenn Morris <rgm@gnu.org>
11323 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11324 (ange-ftp-get-files): Use it.
11326 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11328 * mail/sendmail.el (mail-recover-1, mail-recover):
11329 * files.el (recover-file, recover-session):
11330 Handle dired-listing-switches not being just a single short option.
11332 2011-06-09 Glenn Morris <rgm@gnu.org>
11334 * calendar/appt.el (appt-display-message, appt-disp-window):
11335 Handle lists of appointments.
11337 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11339 * window.el (one-window-p): Move down in code.
11340 Rewrite doc-string.
11341 (window-current-scroll-bars): Rewrite doc-string.
11342 Normalize live window argument.
11343 (walk-windows, get-window-with-predicate, count-windows):
11344 Rewrite doc-string. Use window-list-1.
11345 (window-in-direction-2, window-in-direction, get-mru-window):
11348 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11350 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11351 Doc fix (Bug#8713).
11353 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11355 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11357 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11359 * loadhist.el (unload-feature-special-hooks):
11360 Add `comint-output-filter-functions'.
11362 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11364 * calendar/appt.el (appt-check): Move some initializations into the let.
11366 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11368 * window.el (window-height): Defalias to window-total-height.
11369 (window-width): Defalias to window-body-width.
11371 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11373 * image-mode.el (image-toggle-animation): New command.
11374 (image-mode-map): Bind it to RET.
11375 (image-mode): Update message.
11376 (image-toggle-display-image): Avoid a spurious cache flush.
11377 (image-transform-rotation): Doc fix.
11378 (image-transform-properties): Return quickly in the normal case.
11379 (image-animate-loop): Rename from image-animate-max-time.
11381 * image.el (image-animate-max-time): Move to image-mode.el.
11382 (create-animated-image): Remove unnecessary function.
11383 (image-animate): Rename from image-animate-start. New arg.
11384 (image-animate-stop): Remove; just use image-animate-timer.
11385 (image-animate-timer): Use car-safe.
11386 (image-animate-timeout): Rename argument.
11388 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11390 * window.el (get-lru-window, get-largest-window): Move here from
11391 window.c. Rename first argument to ALL-FRAMES.
11392 Rephrase doc-strings.
11393 (get-buffer-window-list): Rewrite using window-list-1.
11394 Rephrase doc-string.
11395 (window-safe-min-height, window-safe-min-width): New constants.
11396 (window-size-ignore, window-min-size, window-min-size-1)
11397 (window-sizable, window-sizable-p, window-size-fixed-1)
11398 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11399 (window-max-delta-1, window-max-delta, window-resizable)
11400 (window-resizable-p, window-total-height, window-total-width)
11401 (window-body-width): New functions.
11402 (window-full-height-p, window-full-width-p): Rewrite using
11404 (window-body-height): Rewrite using window-body-size.
11406 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11408 * window.el (window-right, window-left, window-child)
11409 (window-child-count, window-last-child, window-any-p)
11410 (normalize-live-buffer, normalize-live-frame)
11411 (normalize-any-window, normalize-live-window)
11412 (window-iso-combination-p, window-iso-combined-p)
11413 (window-iso-combinations)
11414 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11415 (windows-with-parameter, window-with-parameter)
11416 (window-atom-root, make-window-atom, window-atom-check-1)
11417 (window-atom-check, window-side-check, window-check):
11419 (ignore-window-parameters, window-sides, window-sides-vertical)
11420 (window-sides-slots): New variables.
11421 (window-size-fixed): Move down in code. Minor doc-string fix.
11423 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11425 * comint.el (comint-dynamic-complete-as-filename)
11426 (comint-dynamic-complete-filename): Correctly call
11427 completion-in-region.
11429 2011-06-05 Deniz Dogan <deniz@dogan.se>
11431 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11434 2011-06-05 Deniz Dogan <deniz@dogan.se>
11436 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11437 (rcirc): Use it to prompt for encryption.
11439 2011-06-05 Roland Winkler <winkler@gnu.org>
11441 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11442 (bibtex-search-entries): New command bound to C-c C-a.
11443 (bibtex-display-entries): New function.
11445 2011-06-05 Roland Winkler <winkler@gnu.org>
11447 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11448 (bibtex-insert-kill): After yanking insert newline if necessary.
11449 (bibtex-initialize): Call bibtex-string-files-init only once.
11450 (bibtex-mode): Do not call easy-menu-add.
11451 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11452 (bibtex-yank): Set arg properly if nil.
11454 2011-06-05 Roland Winkler <winkler@gnu.org>
11456 * textmodes/bibtex.el (bibtex-search-entry-globally):
11458 (bibtex-search-entry): Use it.
11460 2011-06-05 Roland Winkler <winkler@gnu.org>
11462 * textmodes/bibtex.el (bibtex-entry-format): New option
11464 (bibtex-format-entry, bibtex-reformat): Honor this option.
11465 (bibtex-parse-entry): Return fields in proper order.
11467 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11469 * doc-view.el (doc-view-remove-if): Move computation of result out
11470 of `dolist' to silence misleading lexical-binding warning.
11472 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11474 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11475 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11477 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11479 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11482 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11484 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11485 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11486 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11487 (tramp-parse-putty):
11488 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11489 (tramp-completion-function-alist-ssh)
11490 (tramp-completion-function-alist-telnet)
11491 (tramp-completion-function-alist-su)
11492 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11495 * net/tramp-ftp.el:
11497 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11498 load "tramp.el" `tramp-set-completion-function'.
11500 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * shell.el: Require and use pcomplete.
11503 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11504 (shell-completion-vars): Set pcomplete-default-completion-function.
11506 2011-06-04 Deniz Dogan <deniz@dogan.se>
11508 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11511 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11515 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11517 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11518 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11519 * vc/log-view.el (log-view-beginning-of-defun):
11520 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11521 (smerge-refine-forward, smerge-refine-chopup-region):
11522 Silence warning for unused `dotimes' counter variables.
11524 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11526 * net/tramp.el (tramp-with-progress-reporter): Rename from
11527 with-progress-reporter. Use `declare'.
11528 * net/tramp-smb.el:
11530 * net/tramp-gvfs.el: Update all uses.
11532 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11534 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11535 buffer isn't killed before making it current.
11537 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11539 Silence various byte-compiler warnings.
11540 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11541 `access-type' and new obsolescence format.
11542 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11544 (byte-compile-check-variable): New `access-type' argument.
11545 Only warn if the access-type is obsolete.
11546 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11547 (byte-compile-variable-set): Adjust callers.
11548 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11549 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11550 setting it as obsolete.
11551 * simple.el (minibuffer-completing-symbol):
11552 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11553 access as obsolete.
11554 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11556 * international/quail.el (quail-mouse-choose-completion): Remove unused
11557 code referring to obsolete var.
11558 (quail-choose-completion-string): Remove.
11559 * server.el (server-clients-with, server-kill-buffer-query-function)
11560 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11561 * proced.el (proced-send-signal):
11562 * emacs-lisp/lisp.el (lisp-complete-symbol):
11563 Replace completion-annotate-function with completion-extra-properties.
11565 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11567 * simple.el (goto-line): Use read-number.
11568 (overriding-map-is-bound): Remove.
11569 (saved-overriding-map): Change default.
11570 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11571 Take the map as argument.
11572 (universal-argument, negative-argument, digit-argument): Use it.
11573 (restore-overriding-map): Adjust.
11574 (do-auto-fill): Use fill-forward-paragraph.
11575 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11577 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11578 (minibuffer-inactive-mode): New major mode.
11579 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11580 the *Messages* buffer" hack.
11581 (mouse-popup-menubar): Don't burp if the event is a normal key.
11583 Miscellaneous tweaks.
11584 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11585 lexical scoping as in subr.el's dolist and dotimes.
11586 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11587 Silence compiler warning.
11588 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11589 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11590 * international/ccl.el (ccl-compile): Trivial simplification.
11591 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11592 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11593 `printflag' argument.
11594 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11595 Purecopy the whole obsolescence data.
11597 2011-06-01 Leo Liu <sdl.web@gmail.com>
11599 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11600 improve doc-string as suggested by Marco Pessotto
11601 <melmothx@gmail.com>.
11602 (rcirc-print): Fix last change.
11604 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * minibuffer.el (complete-with-action): Return nil for the metadata and
11607 boundaries of non-functional tables.
11608 (completion-table-dynamic): Return nil for the metadata.
11609 (completion-table-with-terminator): Add default case, using
11610 complete-with-action.
11611 (completion--metadata): New function.
11612 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11613 to try and avoid pathological performance problems.
11614 (completion--embedded-envvar-table): Return `category' metadata.
11616 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11618 * subr.el (process-alive-p): New tiny convenience function.
11620 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11622 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11623 content but also its previous major mode.
11625 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11627 * emacs-lisp/debug.el (debug): Restore the previous content of the
11628 *Backtrace* buffer when we exit with C-M-c.
11630 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11632 * minibuffer.el: Add metadata method to completion tables.
11633 (completion-category-overrides): New defcustom.
11634 (completion-metadata, completion--field-metadata)
11635 (completion-metadata-get, completion--styles)
11636 (completion--cycle-threshold): New functions.
11637 (completion-try-completion, completion-all-completions):
11638 Add `metadata' argument to choose completion-styles.
11639 (completion--do-completion): Use metadata to choose cycling.
11640 (completion-all-sorted-completions): Use metadata for sorting.
11641 Remove :completion-cycle-penalty which is not needed any more.
11642 (completion--try-word-completion): Add `metadata' argument.
11643 (minibuffer-completion-help): Check metadata for annotation function
11645 (completion-file-name-table): Return `category' metadata.
11646 (minibuffer-completing-file-name): Make obsolete.
11647 * simple.el (minibuffer-completing-symbol): Make obsolete.
11648 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11649 completion-try-completion.
11651 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11655 2011-05-30 Leo Liu <sdl.web@gmail.com>
11657 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11658 (rcirc-print): Decode all incoming messages (bug#8744).
11659 (rcirc-decode-coding-system): Allow value nil for automatic coding
11662 2011-06-01 Glenn Morris <rgm@gnu.org>
11664 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11666 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11668 * image.el (image-animate-max-time): Allow nil and t values.
11670 (create-animated-image): Doc fix.
11671 (image-animate-start): Remove second arg; just use
11672 image-animate-max-time.
11673 (image-animate-timeout): Doc fix. Args changed.
11675 * image-mode.el (image-toggle-display-image): Ensure that the
11676 image spec passed to the animate timer is the same object as in
11677 the buffer's display property (Bug#6981).
11678 (image-transform-properties): Doc fix.
11680 * image.el (image-animate-max-time): Default to nil.
11682 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11684 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11685 entire buffer list (Bug#8184).
11687 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11689 * image.el (imagemagick-types-inhibit)
11690 (imagemagick-register-types): Doc fix.
11692 2011-05-29 Deniz Dogan <deniz@dogan.se>
11694 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11697 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11699 * select.el: Don't perform clipboard-manager saving in hooks;
11700 leave the hooks empty.
11702 2011-05-28 Leo Liu <sdl.web@gmail.com>
11704 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11705 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11706 (occur-edit-mode): New major mode (Bug#8463).
11707 (occur-after-change-function): New function.
11708 (occur-engine): Give Occur tags a read-only property.
11710 2011-05-28 Kevin Ryde <user42@zip.com.au>
11712 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11714 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11716 * bindings.el (help-echo): Make the initial non-indicator dash
11717 empty on graphical terminals (Bug#7295).
11719 * files.el (auto-mode-alist): Move config rule after the
11720 in-stripping one (Bug#8547).
11722 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11724 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11725 setting (Bug#8740).
11727 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11729 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11730 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11733 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11735 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11737 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11739 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11740 (hs-hide-block-at-point, hs-find-block-beginning)
11741 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11744 2011-05-28 Glenn Morris <rgm@gnu.org>
11746 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11748 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11750 * help-fns.el (describe-function-1): If the function is a derived
11751 major mode, print the parent mode.
11753 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11754 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11756 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11758 * minibuffer.el (completion--capf-wrapper): Check applicability before
11759 returning non-nil for non-exclusive completion data.
11760 * progmodes/etags.el (tags-completion-at-point-function):
11761 * info-look.el (info-lookup-completions-at-point): Mark as
11763 (info-complete): Adjust accordingly.
11765 * info-look.el: Convert to lexical-binding and completion-at-point.
11766 (info-lookup-completions-at-point): New function.
11767 (info-complete): Use it and completion-in-region.
11769 2011-05-28 Drew Adams <drew.adams@oracle.com>
11771 * isearch.el: Let M-e start with point at the first mismatched char.
11772 (isearch-fail-pos): New function.
11773 (isearch-edit-string): Use it.
11775 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11777 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11779 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11781 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11782 traversal functions for avl-trees.
11783 (avl-tree--stack): New struct.
11784 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11785 (avl-tree-enter): Add optional `updatefun' arg.
11786 (avl-tree--do-enter): Add optional `updatefun' arg.
11787 Change return value.
11788 (avl-tree-delete): Add optional `test' and `nilflag' args.
11789 (avl-tree--do-delete): Add `test' and `nilflag' args.
11790 Change return value.
11791 (avl-tree-member): Add optional `nilflag'
11792 (avl-tree-member-p): New function.
11793 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11794 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11795 (avl-tree-stack-empty-p): New functions.
11797 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11798 avl-tree--del-balance1 and make it work both ways.
11799 (avl-tree--del-balance2): Remove.
11800 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11801 make it work both ways.
11802 (avl-tree--enter-balance2): Remove.
11803 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11805 (avl-tree--mapc, avl-tree-map): Add direction argument.
11807 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11809 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11811 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11813 * select.el: Support clipboard managers with built-in function
11814 x-clipboard-manager-save, via delete-frame-functions and
11816 (xselect-convert-to-targets): Add MULTIPLE target to list.
11817 (xselect-convert-to-save-targets): New function.
11819 2011-05-27 Kenichi Handa <handa@m17n.org>
11821 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11822 let-binding rfc2047-encode-encoded-words to nil.
11824 2011-05-27 Glenn Morris <rgm@gnu.org>
11826 * mail/emacsbug.el: Don't require url-util.
11828 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11830 * files.el (set-auto-mode):
11831 Also respect mode: entries at the end of the file. (Bug#8586)
11833 2011-05-26 Glenn Morris <rgm@gnu.org>
11835 * files.el (hack-local-variables-prop-line, hack-local-variables):
11836 Downcase mode names, as seems to be traditional.
11837 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11839 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11840 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11842 2011-05-25 Julien Danjou <julien@danjou.info>
11844 * textmodes/rst.el (rst-define-level-faces): Do not define face
11845 symbol if it is already defined.
11847 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11849 * play/5x5.el (5x5-new-game, 5x5-randomize):
11850 Reset 5x5-solver-output to nil when a new grid is cast.
11851 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11852 these debugging traces, as defmacro breaks the compiled code.
11854 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11856 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11858 2011-05-24 Leo Liu <sdl.web@gmail.com>
11860 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11861 (vc-bzr-sha1): Adapt.
11863 * sha1.el: Remove. Function `sha1' is now builtin.
11865 * bindings.el: Provide sha1 feature.
11867 2011-05-24 Kenichi Handa <handa@m17n.org>
11869 * mail/sendmail.el: Require `rfc2047'.
11870 (mail-insert-from-field): Do not perform RFC2047 encoding.
11871 (mail-encode-header): New function.
11872 (sendmail-send-it): Set buffer-file-coding-system of the work
11873 buffer to the return value of select-message-coding-system.
11874 Call mail-encode-header.
11876 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11878 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11880 * mail/supercite.el (sc-default-cite-frame):
11881 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11883 2011-05-24 Glenn Morris <rgm@gnu.org>
11885 * progmodes/python.el (brm-menu): Declare.
11887 * emulation/viper.el (viper-set-hooks): Declare.
11889 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11890 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11891 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11892 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11893 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11894 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11896 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11898 Add an :exit-function for completion-at-point.
11900 * minibuffer.el (completion--done): New fun.
11901 (completion--do-completion): Use it. New arg `expect-exact'.
11902 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11903 since completion--do-completion does it for us now.
11904 (minibuffer-force-complete): Use completion--done and
11905 completion--replace. Handle sole-completion case with more care.
11906 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11907 (completion-extra-properties): New var.
11908 (completion-annotate-function): Make obsolete.
11909 (minibuffer-completion-help): Adjust accordingly.
11910 Use completion-list-insert-choice-function.
11911 (completion-at-point, completion-help-at-point):
11912 Bind completion-extra-properties.
11913 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11914 * simple.el (completion-list-insert-choice-function): New var.
11915 (completion-setup-function): Preserve it.
11916 (choose-completion): Pay attention to it, shuffle the code a bit.
11917 (choose-completion-string): New arg `insert-function'.
11919 * textmodes/bibtex.el: Convert to lexical binding.
11920 (bibtex-mode-map): Use completion-at-point.
11921 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11922 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11923 (bibtex-complete): Define as obsolete alias.
11924 (bibtex-complete-internal): Remove.
11925 (bibtex-format-entry): Remove unused sub-group in regexp.
11926 * shell.el (shell--command-completion-data)
11927 (shell-environment-variable-completion):
11928 * pcomplete.el (pcomplete-completions-at-point):
11929 * comint.el (comint--complete-file-name-data): Use :exit-function
11930 instead of completion-table-with-terminator so it also works for
11933 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11935 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11937 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11940 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11942 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11944 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11945 customization variable and implement: If non-nil, auto-fill will
11946 be inhibited while on topic's header line.
11948 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11950 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11951 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11952 always have a solution in grid size = 5 cases.
11953 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11954 (5x5-solver-output, 5x5-log-buffer): New vars.
11955 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11956 Make these variables buffer local to achieve 5x5 multi-session-ness.
11957 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11958 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11959 (5x5-solve-suggest): New funs.
11960 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11961 randomize a grid so that we ensure that there is always a solution.
11962 (5x5-make-random-grid): Allow other movement than flipping.
11964 2011-05-23 Kevin Ryde <user42@zip.com.au>
11966 * emacs-lisp/advice.el (ad-read-advised-function):
11967 Use `function-called-at-point' as the default, if it has
11968 advice and passes PREDICATE.
11970 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11972 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11973 byte-compile-lambda if it's actually a lambda.
11975 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11976 Fix function quoting. Use backquote better.
11978 2011-05-22 Yuanle Song <sylecn@gmail.com>
11980 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11981 matching (Bug#8516).
11983 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11985 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11986 different face (Bug#8178).
11988 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11990 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11991 defface (Bug#8144).
11993 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11996 funcall as well (bug#8712). Warn when performing those conversions.
11997 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11999 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12001 2011-05-22 Glenn Morris <rgm@gnu.org>
12003 * files.el (hack-local-variables-prop-line): Small simplifications.
12004 (hack-local-variables, hack-local-variables-prop-line):
12005 If MODE-ONLY, return the mode, rather than just `t'.
12007 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12009 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12011 2011-05-21 Glenn Morris <rgm@gnu.org>
12013 * files.el (hack-local-variables-prop-line, hack-local-variables):
12014 If only interested in the mode, don't bother doing the other stuff.
12016 * image-mode.el (image-after-revert-hook):
12017 Redraw all frames on which the image is visible. (Bug#8567)
12019 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12021 * wid-edit.el (widget-checklist-match-inline):
12022 Fix 2011-04-19 change. (Bug#8649)
12024 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12026 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12027 Also allow singlespace after single-letter capitals followed by a dot.
12029 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12030 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12032 2011-05-20 Nix <nix@esperi.org.uk>
12034 * files.el (basic-save-buffer-2):
12035 Fix handling of break-hardlink-on-save with non-existent files.
12037 2011-05-19 Deniz Dogan <deniz@dogan.se>
12039 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12040 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12042 2011-05-19 Glenn Morris <rgm@gnu.org>
12044 * progmodes/f90.el (f90-type-def-re):
12045 Handle "type, bind(c)". (Bug#8691)
12047 * emacs-lisp/autoload.el (batch-update-autoloads):
12048 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12050 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12052 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12053 property for the correct connection in case of multihops.
12055 2011-05-18 Glenn Morris <rgm@gnu.org>
12057 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12058 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12060 Rationalize calendar handling of day and month abbrev-arrays.
12061 * calendar/calendar.el (calendar-customized-p): New function.
12062 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12063 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12065 (calendar-abbrev-length, calendar-day-abbrev-array)
12066 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12067 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12068 Elements may no longer be nil.
12069 (calendar-day-name, calendar-month-name):
12070 Update for changed nature of abbrev arrays.
12071 * calendar/diary-lib.el (diary-name-pattern):
12072 Update for changed nature of abbrev arrays.
12073 (diary-mark-entries-1): Update calendar-make-alist calls.
12074 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12075 * calendar/cal-html.el (cal-html-day-abbrev-array):
12076 Simply inherit from calendar-day-abbrev-array.
12078 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12080 * progmodes/grep.el (grep-mode): Disable default
12081 compilation-directory-matcher setting (bug#8684).
12083 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12085 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12086 instead of "head" and "tail". There were problems with SunOS 5.9,
12087 and it performs better.
12089 2011-05-17 Glenn Morris <rgm@gnu.org>
12091 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12093 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12094 Replace obsolete function.
12096 * shell.el (pcomplete-parse-arguments-function): Declare.
12098 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12099 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12100 (appt-check): Doc fixes.
12101 (appt-disp-window-function, appt-delete-window-function):
12102 Remove needless special case in custom :type.
12103 (appt-display-count): Default to 0, not nil.
12104 (appt-check): Reset appt-display-count to 0, not nil.
12106 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12108 * progmodes/python.el (python-font-lock-keywords):
12109 Add the Python 3.X keyword "nonlocal" (bug#8639).
12111 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12113 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12115 2011-05-16 Kevin Ryde <user42@zip.com.au>
12117 * info-look.el (makefile-automake-mode): New setups, looking in
12118 automake manual, then makefile-mode.
12119 (makefile-mode): Remove automake manual, have it just in
12120 makefile-automake-mode since there's various things different or
12121 not relevant to plain make.
12122 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12123 believe a hypothetical automake-mode would go to makefile-mode,
12124 not the other way around.
12126 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12128 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12129 hunk-end tags (Bug#8672).
12131 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12132 vc-annotate-show-diff-revision-at-line (Bug#8671).
12134 2011-05-14 Glenn Morris <rgm@gnu.org>
12136 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12137 in the middle of an existing one with multiple authors. (Bug#8645)
12138 (change-log-font-lock-keywords): Also handle multiple author lines
12139 with leading tabs. (Bug#8644)
12141 * calendar/appt.el (appt-check): Rename some local variables.
12142 Some simplification/reordering.
12144 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12145 (feedmail-sendmail-f-doesnt-sell-me-out)
12146 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12147 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12148 (feedmail-queue-runner-message-sender): Set :version.
12149 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12150 (bbdb-dwim-net-address, vm-mail): Declare.
12151 (feedmail-binmail-gnulinuxish-template):
12152 Rename from feedmail-binmail-linuxish-template.
12153 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12154 Use insert-buffer-substring.
12156 2011-05-14 Bill Carpenter <bill@carpenter.org>
12158 * mail/feedmail.el (feedmail-patch-level): Increase.
12159 (feedmail-debug): New custom group.
12160 (feedmail-confirm-outgoing-timeout)
12161 (feedmail-sendmail-f-doesnt-sell-me-out)
12162 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12163 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12164 (feedmail-sender-line, feedmail-from-line)
12165 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12166 (feedmail-spray-this-address)
12167 (feedmail-spray-address-fiddle-plex-list)
12168 (feedmail-queue-use-send-time-for-date)
12169 (feedmail-queue-use-send-time-for-message-id)
12170 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12171 (feedmail-buffer-eating-function):
12173 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12174 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12175 (feedmail-message-action-scroll-down): New functions.
12176 (feedmail-queue-directory, feedmail-queue-draft-directory):
12177 Use expand-file-name.
12178 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12179 Remove C-v help entry.
12180 (feedmail-queue-buffer-file-name): New variable.
12181 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12182 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12183 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12184 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12185 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12186 (feedmail-message-action-toggle-spray)
12187 (feedmail-run-the-queue-no-prompts)
12188 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12189 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12190 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12191 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12192 (feedmail-envelope-deducer, feedmail-fiddle-from)
12193 (feedmail-fiddle-sender, feedmail-default-date-generator)
12194 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12195 (feedmail-fiddle-spray-address)
12196 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12197 (feedmail-fiddle-list-of-fiddle-plexes)
12198 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12199 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12200 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12201 Change default. Doc fix.
12202 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12203 (feedmail-binmail-linuxish-template): New constant.
12204 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12205 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12206 (feedmail-send-it): Add debug call.
12207 Use feedmail-queue-buffer-file-name, and
12208 feedmail-send-it-immediately-wrapper.
12209 (feedmail-message-action-send): Add debug call.
12210 Use feedmail-send-it-immediately-wrapper.
12211 (feedmail-queue-express-to-queue): Add debug call.
12212 Run feedmail-queue-express-hook.
12213 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12214 (feedmail-message-action-help-blat):
12215 Rename from feedmail-queue-send-edit-prompt-help-first.
12216 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12217 Check line-endings. Handle errors better.
12218 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12219 Doc fix. Add debug call.
12220 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12221 Use feedmail-queue-send-edit-prompt-inner.
12222 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12223 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12224 from feedmail-queue-send-edit-prompt.
12225 (feedmail-queue-send-edit-prompt-help)
12226 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12227 (feedmail-tidy-up-slug): Add debug call.
12228 Respect feedmail-queue-slug-suspect-regexp.
12229 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12230 (feedmail-dump-message-to-queue): Add debug call.
12231 Expand queue-directory.
12232 (feedmail-dump-message-to-queue): Change message slightly.
12233 Use feedmail-say-chatter.
12234 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12235 (feedmail-send-it-immediately-wrapper): New function.
12236 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12237 Insert empty string rather than newline. Handle full-frame case.
12238 Use catch/throw. Use feedmail-say-chatter.
12239 (feedmail-fiddle-from): Try mail-host-address.
12240 (feedmail-default-message-id-generator): Doc fix.
12241 Bind system-time-locale. Handle missing end.
12242 (feedmail-fiddle-x-mailer): Add debug call.
12243 Handle feedmail-x-mailer-line being nil.
12244 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12245 Add debug call. Use buffer-substring-no-properties.
12246 (feedmail-say-debug, feedmail-say-chatter): New functions.
12247 (feedmail-find-eoh): Give an explicit error.
12249 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12251 * net/newst-treeview.el (newsticker-treeview-face): Change default
12252 family from helvetica to sans.
12253 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12254 etc/images/newsticker.
12256 * net/newst-reader.el (newsticker-feed-face): Change default
12257 family from helvetica to sans.
12259 * net/newst-plainview.el (newsticker-new-item-face)
12260 (newsticker-old-item-face, newsticker-immortal-item-face)
12261 (newsticker-obsolete-item-face, newsticker-date-face)
12262 (newsticker-statistics-face): Change default family from
12264 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12265 etc/images/newsticker.
12267 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12268 (newsticker--process-auto-mark-filter-match): Tell user about
12271 2011-05-13 Didier Verna <didier@xemacs.org>
12273 Common Lisp indentation improvements on defmethod and lambda-lists.
12274 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12276 (lisp-lambda-list-keyword-parameter-indentation)
12277 (lisp-lambda-list-keyword-parameter-alignment)
12278 (lisp-lambda-list-keyword-alignment): New customizable user options.
12279 (lisp-indent-defun-method): Improve docstring.
12280 (extended-loop-p): Fix comment.
12281 (lisp-indent-lambda-list-keywords-regexp): New variable.
12282 (lisp-indent-lambda-list): New function.
12283 (lisp-indent-259): Use it.
12284 (lisp-indent-defmethod): Support for more than one
12285 method qualifier and properly indent methods lambda-lists.
12286 (defgeneric): Provide a missing common-lisp-indent-function property.
12288 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12290 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12291 bounds for the empty string (bug#8667).
12293 2011-05-13 Glenn Morris <rgm@gnu.org>
12295 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12297 * mail/sendmail.el (sendmail-program): Try executable-find first.
12298 (sendmail-send-it): `sendmail-program' cannot be unbound.
12300 * calendar/appt.el (appt-make-list): Simplify.
12301 (appt-time-msg-list): Doc fix.
12302 (appt-check): Change mode-line message at the time of the appointment.
12304 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12306 * progmodes/ld-script.el (ld-script-keywords)
12307 (ld-script-builtins): Update keywords list.
12309 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12311 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12313 * shell.el (shell-completion-vars): New function.
12315 * simple.el (read-shell-command): Use it.
12316 (blink-matching-open): No need for " [...]" in minibuffer-message.
12318 2011-05-12 Glenn Morris <rgm@gnu.org>
12320 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12321 (appt-check): Simplify.
12323 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12325 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12326 literal "/dev/null".
12328 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12333 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12335 * progmodes/which-func.el (which-function):
12336 Use add-log-current-defun instead of add-log-current-defun-function,
12337 which might not be defined (Bug#8260).
12339 2011-05-12 Glenn Morris <rgm@gnu.org>
12341 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12342 Let byte-compile-initial-macro-environment always take precedence.
12344 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * net/rcirc.el: Add support for SSL/TLS connections.
12347 (rcirc-server-alist): New field `encryption'.
12348 (rcirc): Check `encryption' settings.
12349 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12350 Merge make-local-variable into `set'.
12351 (rcirc--connection-open-p): New function.
12352 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12353 the process is not a network process (e.g. running gnutls-cli).
12354 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12355 Make rcirc-(en|de)code-coding-system local here.
12356 (rcirc-mode): Merge make-local-variable into `set'.
12357 (rcirc-parent-buffer): Make permanent buffer-local.
12358 (rcirc-multiline-minor-mode): Don't do it here.
12359 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12360 there's no server buffer.
12362 2011-05-11 Glenn Morris <rgm@gnu.org>
12364 * newcomment.el (comment-kill): Prefix "unused" local.
12366 * term/w32console.el (get-screen-color): Declare.
12368 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12369 Handle symbol elements of byte-compile-initial-macro-environment.
12371 2011-05-10 Leo Liu <sdl.web@gmail.com>
12373 * bookmark.el (bookmark-bmenu-mode-map):
12374 Bind bookmark-bmenu-search to `/'.
12376 * mail/footnote.el: Convert to utf-8 encoding.
12377 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12378 (Footnote-unicode): New function.
12379 (footnote-style-alist): Add unicode style to the list.
12380 (footnote-style): Doc fix.
12382 2011-05-10 Jim Meyering <meyering@redhat.com>
12384 Fix doubled-word typos.
12385 * international/quail.el (quail-insert-kbd-layout): and and -> and
12386 * kermit.el: and and -> and
12387 * net/ldap.el (ldap-search-internal): to to -> to
12388 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12389 * progmodes/js.el (js-mode): and and -> and
12390 * textmodes/artist.el (artist-move-to-xy): at at -> at
12391 (artist-draw-region-trim-line-endings): if if -> if
12392 And Safetyc -> Safety.
12393 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12395 2011-05-10 Glenn Morris <rgm@gnu.org>
12396 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * files.el (hack-one-local-variable-eval-safep):
12399 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12401 2011-05-10 Glenn Morris <rgm@gnu.org>
12403 * calendar/diary-lib.el (diary-list-entries-hook)
12404 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12405 (diary-nongregorian-marking-hook, diary-list-entries)
12406 (diary-include-other-diary-files, diary-mark-entries)
12407 (diary-mark-included-diary-files): Doc fixes.
12409 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12411 * misc.el: Require tabulated-list.el during compilation.
12413 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12415 * progmodes/compile.el (compilation-start):
12416 Run compilation-filter-hook for the async case too.
12417 (compilation-filter-hook): Doc fix.
12419 2011-05-09 Deniz Dogan <deniz@dogan.se>
12421 * wdired.el: Remove outdated installation comment. Fix usage
12424 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12426 * misc.el: Implement new command `list-dynamic-libraries'.
12427 (list-dynamic-libraries--loaded-only-p): New variable.
12428 (list-dynamic-libraries--refresh): New function.
12429 (list-dynamic-libraries): New command.
12431 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12434 Fix the ant regexp to handle end-line and end-column info from jikes.
12435 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12436 higher priority to avoid clobbering by gnu.
12438 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12440 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12441 if the face has existing theme settings (Bug#8454).
12443 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12445 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12446 Only match variables declared via `my' or `our' (Bug#8261).
12448 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12449 special file names `.' and `..' (Bug#8259).
12451 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12453 * progmodes/grep.el (grep-mode-font-lock-keywords):
12454 Remove buffer-changing entries.
12455 (grep-filter): New function.
12456 (grep-mode): Add it to compilation-filter-hook.
12458 * progmodes/compile.el (compilation-filter-hook)
12459 (compilation-filter-start): New defvars.
12460 (compilation-filter): Call compilation-filter-hook prior to
12461 updating the process mark.
12463 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12465 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12467 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12469 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12470 mailclient-send-it even if window-system is nil. (Bug#8595)
12472 * term/w32console.el (terminal-init-w32console):
12473 Call get-screen-color and use its output to set the frame
12474 background-mode. (Bug#8597)
12476 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12478 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12479 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12481 (defgeneric, eieio--defmethod): Use them.
12482 (eieio-defgeneric): Remove.
12483 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12485 2011-05-07 Glenn Morris <rgm@gnu.org>
12487 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12488 Use let rather than let*.
12489 (timeclock-find-discrep): Remove unused local.
12491 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12493 * calendar/appt.el (appt-time-msg-list): Doc fix.
12495 2011-05-06 Noah Friedman <friedman@splode.com>
12497 * apropos.el (apropos-print-doc): Only use
12498 emacs-lisp-docstring-fill-column when it is bound to an integer,
12499 per that variable's documentation.
12501 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12503 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12504 and warnings are not silently discarded (e.g. use -d instead of -P).
12506 2011-05-06 Glenn Morris <rgm@gnu.org>
12508 * calendar/appt.el (appt-message-warning-time): Doc fix.
12509 (appt-warning-time-regexp): New option.
12510 (appt-make-list): Respect appt-message-warning-time.
12512 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12514 (diary-add-to-list): Strip comments from the displayed string.
12515 (diary-mode): Set comment-start and comment-end.
12517 * vc/diff-mode.el (smerge-refine-subst): Declare.
12518 (diff-refine-hunk): Don't require smerge-mode when compiling.
12520 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12522 * simple.el (list-processes): Return nil as the docstring says.
12524 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12526 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12528 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12529 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12530 determining of binary transfer. (Bug#7383)
12532 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12535 Fix port computation bug. (Bug#8618)
12537 2011-05-05 Glenn Morris <rgm@gnu.org>
12539 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12541 * simple.el (shell-dynamic-complete-functions)
12542 (comint-dynamic-complete-functions): Declare.
12544 * net/network-stream.el (gnutls-negotiate):
12545 * simple.el (tabulated-list-print): Fix declarations.
12547 * progmodes/gud.el (syntax-symbol, syntax-point):
12548 Remove unnecessary and incorrect declarations.
12550 * emacs-lisp/check-declare.el (check-declare-scan):
12551 Handle byte-compile-initial-macro-environment in bytecomp.el
12553 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12555 Fix earlier half-done eieio-defmethod change (bug#8338).
12556 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12557 Streamline and change calling convention.
12558 (defmethod): Adjust accordingly and simplify.
12559 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12560 new eieio--defmethod.
12561 (slot-boundp): Minor CSE simplification.
12563 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12565 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12566 (glasses-make-readable): Use glasses-separate-capital-groups.
12568 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12570 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12571 (warning-series): Doc fix.
12572 (display-warning): Don't try to create the buffer if we just found it.
12574 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12576 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12577 (autoload-find-generated-file): New function.
12578 (generate-file-autoloads): Bind generated-autoload-file to
12580 (update-file-autoloads, update-directory-autoloads):
12581 Use autoload-find-generated-file. If called interactively, prompt for
12582 output file (Bug#7989).
12583 (batch-update-autoloads): Doc fix.
12585 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12587 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12589 2011-05-04 Glenn Morris <rgm@gnu.org>
12591 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12592 function, so it follows changes in calendar-date-style.
12593 (diary-fancy-date-matcher): New function.
12594 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12595 (diary-fancy-font-lock-fontify-region-function):
12596 Use diary-fancy-date-pattern as a function.
12598 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12599 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12601 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12603 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12604 instead of positional arguments. Allow :keylist and :crlfiles
12606 (open-gnutls-stream): Call it.
12608 * net/network-stream.el (network-stream-open-starttls): Adjust to
12609 call `gnutls-negotiate' with :process and :hostname arguments.
12611 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12613 * minibuffer.el (completion--message): New function.
12614 (completion--do-completion, minibuffer-complete)
12615 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12616 (completion--do-completion): Don't ignore completion-auto-help when in
12619 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12620 internal encoding (e.g. tibetan zero is not whitespace).
12621 (global-whitespace-mode): Prefer save-current-buffer.
12622 (whitespace-trailing-regexp): Remove useless save-match-data.
12623 (whitespace-empty-at-bob-regexp): Minor simplification.
12625 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12627 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12629 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
12631 * textmodes/ispell.el (ispell-add-per-file-word-list):
12632 Use `concat' to create string for insertion.
12634 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12637 Avoid open-line which runs post-self-insert-hook.
12638 (bibtex-fill-entry): Remove unused `end' var.
12640 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12642 * textmodes/ispell.el (ispell-add-per-file-word-list):
12643 Protect against `nil' value of `comment-start' (Bug#8579).
12645 2011-05-03 Leo Liu <sdl.web@gmail.com>
12647 * isearch.el (isearch-yank-pop): New command.
12648 (isearch-mode-map): Bind it to `M-y'.
12649 (isearch-forward): Mention it.
12651 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12653 * simple.el (minibuffer-complete-shell-command): Remove.
12654 (minibuffer-local-shell-command-map): Use completion-at-point.
12655 (read-shell-command): Setup completion vars here instead.
12656 (read-expression-map): Bind TAB to symbol completion.
12658 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12659 error directly rather via storing it into `results'.
12661 2011-05-02 Leo Liu <sdl.web@gmail.com>
12663 * vc/diff.el: Fix description.
12665 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12667 * server.el (server-eval-at): New function.
12669 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671 * net/network-stream.el (open-network-stream): Take a :nowait
12672 parameter and pass it on to `make-network-process'.
12673 (network-stream-open-plain): Ditto.
12675 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12677 * faces.el (face-spec-set-match-display): Don't match toolkit
12678 options on terminal frames.
12680 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12682 * progmodes/pascal.el: Use lexical binding.
12683 (pascal-mode-map): Remove author preferences.
12685 * pcomplete.el (pcomplete-std-complete): Don't abuse
12686 completion-at-point.
12688 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12690 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12691 removing code that has been dead since 1991 or so.
12693 * startup.el (command-line): When warning about "_emacs", use a
12694 delayed warning to allow the user to filter it out.
12696 2011-04-28 Deniz Dogan <deniz@dogan.se>
12698 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12699 user has not joined.
12701 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12704 aren't any completions at point.
12706 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12708 * subr.el (display-delayed-warnings): New function.
12709 (delayed-warnings-hook): New variable.
12711 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12713 * minibuffer.el (completion-at-point, completion-help-at-point):
12714 Don't presume that a given completion-at-point-function will always
12715 use the same calling convention.
12717 * pcomplete.el (pcomplete-completions-at-point):
12718 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12719 pcomplete-seen is non-nil.
12720 (pcomplete-comint-setup): Also recognize the new comint/shell
12721 completion functions.
12722 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12723 pcomplete-seen is non-nil.
12725 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12727 * calendar/icalendar.el (diary-lib): Add require statement.
12728 (icalendar--create-uid): Read out a uid from a text-property on
12729 the first character in the entry. This allows for code to add its
12730 own uid to the entry.
12731 (icalendar--convert-float-to-ical): Add export of
12732 `diary-float'-entries save for those with the optional DAY
12735 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12737 * subr.el (shell-quote-argument): Use alternate escaping strategy
12738 when we spot a variable reference in a string.
12740 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12742 * cus-start.el (all): Define customization for debug-on-event.
12744 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12746 * subr.el (shell-quote-argument): Escape correctly under Windows.
12748 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12752 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12754 * net/tramp.el (tramp-process-actions): Add POS argument.
12755 Delete region between POS and (pos).
12757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12758 Use `nil' position in `tramp-process-actions' call.
12759 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12761 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12762 position in `tramp-process-actions' call.
12764 * net/trampver.el: Update release number.
12766 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12768 * custom.el (defcustom): Obey lexical-binding.
12770 Fix octave-inf completion problems reported by Alexander Klimov.
12771 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12772 Inherit from octave-mode-syntax-table.
12773 (inferior-octave-mode): Set info-lookup-mode.
12774 (inferior-octave-completion-at-point): New function.
12775 (inferior-octave-complete): Use it and completion-in-region.
12776 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12777 comint-filename-completion.
12778 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12779 symbol elements which shouldn't be word elements.
12780 (octave-font-lock-keywords, octave-beginning-of-defun)
12781 (octave-function-header-regexp): Adjust regexps accordingly.
12782 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12784 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12786 * net/gnutls.el (gnutls-errorp): Declare before first use.
12788 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12790 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12791 verify-error, and verify-hostname-error parameters. Check whether
12792 default trustfile exists before going to use it. Add missing
12793 argument to gnutls-message-maybe call. Return value.
12794 Reported by Claudio Bley <claudio.bley@gmail.com>.
12795 (open-gnutls-stream): Add usage example.
12797 * net/network-stream.el (network-stream-open-starttls): Give host
12798 parameter to `gnutls-negotiate'.
12799 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12800 * subr.el (shell-quote-argument): Escape correctly under Windows.
12802 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12805 Use correct match group (bug#8438).
12807 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12809 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12810 (package-menu--generate): New arg specifying packages to show.
12811 (package-menu-refresh, package-menu-execute, list-packages):
12813 (package-show-package-list): New function, replacing deleted
12814 package--list-packages (renamed because it is non-internal).
12816 * finder.el (finder-list-matches): Use package-show-package-list
12817 instead of deleted package--list-packages.
12819 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12820 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12821 (vc-annotate-mode-map): Bind it to RET.
12823 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12825 * progmodes/etags.el (next-file): Don't use set-buffer to change
12826 buffers (Bug#8478).
12828 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12830 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12832 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12833 (apropos-accumulator): Doc fix.
12834 (apropos-function, apropos-macro, apropos-command)
12835 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12836 (apropos-plist): Add face property.
12837 (apropos-symbols-internal): Fix indentation.
12838 (apropos-print): Simplify help, and recognize apropos-multi-type.
12839 (apropos-print-doc): Use button-type-get to extract the button's
12840 face property. Fill docstring (Bug#8352).
12842 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12844 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12846 * play/mpuz.el (mpuz-silent): Doc fix.
12847 (mpuz-mode-map): Use mapc.
12848 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12849 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12850 Fix typos in docstrings.
12852 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12853 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12855 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12857 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12859 * minibuffer.el (completion--do-completion): Avoid the "Next char
12860 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12862 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12863 mouse-2 into unread-command-events, it is interpreted correctly.
12865 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12866 (image-toggle-display): Doc fix.
12868 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12870 * textmodes/page.el (what-page): Use line-number-at-pos to
12871 calculate line number (Bug#6825).
12873 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12875 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12876 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12877 Pass argument NO-DEFAULT to `find-tag-interactive'.
12879 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12881 Lexical-binding cleanup.
12883 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12884 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12885 * progmodes/ada-prj.el (ada-prj-initialize-values)
12886 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12887 (ada-prj-show-value):
12888 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12889 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12890 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12891 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12892 * progmodes/bug-reference.el (bug-reference-push-button):
12893 * progmodes/fortran.el (fortran-line-length):
12894 * progmodes/glasses.el (glasses-change):
12895 * progmodes/octave-mod.el (octave-fill-paragraph):
12896 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12897 (python-pdbtrack-grub-for-buffer, python-sentinel):
12898 * progmodes/sql.el (sql-save-connection):
12899 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12900 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12901 Mark unused parameters.
12903 * progmodes/compile.el (compilation--flush-directory-cache)
12904 (compilation--flush-parse, compile-internal): Mark unused parameters.
12905 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12906 (compilation-next-error-function): Remove unused variable `timestamp'.
12908 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12909 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12911 * progmodes/dcl-mode.el (dcl-end-of-command):
12912 Remove unused variable `start'.
12913 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12914 (dcl-option-value-basic, dcl-option-value-offset)
12915 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12916 Mark unused parameters.
12917 (dcl-save-local-variable): Remove unused variable `val'.
12920 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12921 Mark unused parameters.
12922 (delphi-ignore-changes): Move before first use.
12923 (delphi-charset-token-at): Remove unused variable `start'.
12924 (delphi-else-start): Remove unused variable `if-count'.
12925 (delphi-comment-block-start, delphi-comment-block-end):
12926 Remove unused variable `kind'.
12927 (delphi-indent-line): Remove unused variable `new-point'.
12929 * progmodes/ebrowse.el (ebrowse-files-list)
12930 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12931 Mark unused parameters. Don't quote `lambda'.
12932 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12933 Don't quote `lambda'.
12934 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12935 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12936 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12937 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12938 Use `ignore-errors'.
12939 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12940 (ebrowse-view/find-file-and-search-pattern)
12941 (ebrowse-view/find-member-declaration/definition):
12942 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12943 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12944 Rename parameter PREFIX-ARG to PREFIX.
12945 (ebrowse-tags-read-name): Remove unused variables `start' and
12947 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12950 * progmodes/etags.el (local-find-tag-hook): Declare.
12951 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12952 Mark unused parameters.
12954 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12955 (executable-interpret): Mark unused parameter.
12957 * progmodes/flymake.el (flymake-process-sentinel)
12958 (flymake-after-change-function)
12959 (flymake-create-temp-with-folder-structure)
12960 (flymake-get-include-dirs-dot): Mark unused parameters.
12961 (flymake-safe-delete-directory): Remove unused variable `err'.
12963 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12964 (speedbar-timer-fn, speedbar-line-text)
12965 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12966 (speedbar-center-buffer-smartly): Declare functions.
12967 (gdb-find-watch-expression): Remove unused variable `array'.
12968 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12969 (gdb-starting): Mark unused parameters.
12970 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12971 (gdb-table-string): Remove unused variable `res'.
12972 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12973 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12974 (gdb-display-buffer): Remove unused variable `cur-size'.
12976 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12977 allow lexical-binding compilation.
12978 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12979 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12980 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12981 Mark unused parameters.
12982 (gud-gdb-marker-filter): Remove unused variable `match'.
12983 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12984 lambda expressions and funcall them, instead of using `fset'.
12986 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12987 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12989 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12990 variable `header-beg'; use `let'.
12992 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12993 `restart', `last-sexp' and `at-do'.
12995 * progmodes/js.el (js--debug): Mark unused parameter.
12996 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12997 (js--splice-into-items): Remove unused variable `item'.
12998 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13000 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13001 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13002 (makefile-complete): Remove unused variable `try'.
13003 (makefile-fill-paragraph, makefile-match-function-end):
13004 Mark unused parameters.
13006 * progmodes/octave-inf.el (inferior-octave-complete):
13007 Remove unused variable `proc'.
13008 (inferior-octave-output-digest): Mark unused parameter.
13010 * progmodes/perl-mode.el (perl-calculate-indent):
13011 Remove unused variable `err'.
13013 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13014 (prolog-indent-line): Mark unused parameters.
13015 (prolog-indent-line): Remove unused variable `beg'.
13017 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13018 (reporter-dont-compact-list): Declare.
13020 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13021 Remove unused variable `char'.
13022 (sh-debug): Mark unused parameter.
13023 (sh-get-indent-info): Remove unused variable `start'.
13024 (sh-calculate-indent): Remove unused variable `var'.
13026 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13027 (simula-electric-keyword): Remove unused variable `null'.
13028 (simula-search-backward, simula-search-forward): Remove unused
13029 variables `begin' and `end'.
13031 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13032 Remove unused variable `pos'.
13033 (vera-electric-tab, vera-comment-uncomment-region):
13034 Mark unused parameters.
13035 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13037 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13039 * emacs-lisp/package.el (package--builtins, package-alist)
13040 (package-load-descriptor, package-built-in-p, package-activate)
13041 (define-package, package-installed-p)
13042 (package-compute-transaction, package-buffer-info)
13043 (package--push): Doc fix. Distinguish more clearly between
13044 version strings and version lists.
13046 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13048 Lexical-binding cleanup.
13050 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13051 (5x5-make-mutate-best):
13052 * play/fortune.el (fortune-in-buffer):
13053 * play/gomoku.el (gomoku-init-display):
13054 * play/solitaire.el (solitaire, solitaire-do-check):
13055 * play/tetris.el (tetris-default-update-speed-function):
13056 Mark unused parameters.
13058 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13059 (bubbles--shift): Remove unused variable `char-org'.
13060 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13061 (bubbles--show-images): Remove unused variable `char'.
13063 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13064 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13065 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13066 (decipher-analyze-buffer): Use ?\s.
13067 (decipher-make-checkpoint): Remove unused variable `mapping'.
13069 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13071 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13072 Remove unused variable `result'; use `let'.
13074 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13075 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13076 (gametree-children-shown-p, gametree-compute-reduced-score):
13077 Use `ignore-errors'.
13079 * play/handwrite.el (ps-lpr-switches): Declare.
13080 (handwrite): Remove unused variables `pmin' and `lastp'.
13082 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13084 * play/landmark.el (landmark-init-display)
13085 (landmark-update-naught-weights): Mark unused parameters.
13086 (landmark-y): Remove unused variable `noise'. Simplify.
13087 (landmark-human-plays): Remove unused variable `score'.
13089 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13090 (mpuz-try-proposal): Remove unused variable `game'.
13092 * play/zone.el (life-patterns): Declare.
13094 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13096 * vc/vc.el (ediff-vc-internal): Declare function.
13098 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13100 * shell.el: Use lexical-binding and std completion UI.
13101 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13102 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13103 comint-preoutput-filter-functions rather than on
13104 comint-output-filter-functions.
13105 (shell-command-completion, shell--command-completion-data)
13106 (shell-filename-completion, shell-environment-variable-completion)
13107 (shell-c-a-p-replace-by-expanded-directory): New functions.
13108 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13109 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13110 (shell-dynamic-complete-environment-variable): Use them.
13111 (shell-dynamic-complete-as-environment-variable)
13112 (shell-dynamic-complete-as-command): Remove.
13113 (shell-match-partial-variable): Match past point.
13114 * comint.el: Clean up use of completion-at-point-functions.
13115 (comint-completion-at-point): New function.
13116 (comint-mode): Use it completion-at-point-functions.
13117 (comint-dynamic-complete): Make it obsolete.
13118 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13119 (comint-c-a-p-replace-by-expanded-history): New function.
13120 (comint-dynamic-complete-functions)
13121 (comint-replace-by-expanded-history): Use it.
13122 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13123 termination strings. Try harder to avoid second try-completion.
13124 (completion-in-region-mode-map): Disable bindings that don't work yet.
13126 * comint.el: Use lexical-binding. Require CL.
13127 (comint-dynamic-complete-functions): Use comint-filename-completion.
13128 (comint-completion-addsuffix): Tweak custom type.
13129 (comint-filename-completion, comint--common-suffix)
13130 (comint--common-quoted-suffix, comint--table-subvert)
13131 (comint--complete-file-name-data): New functions.
13132 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13133 (comint-dynamic-list-filename-completions): Use them.
13134 (comint-dynamic-simple-complete): Make obsolete.
13136 * minibuffer.el (completion-in-region-mode):
13137 Keep completion-in-region-mode--predicate global.
13138 (completion-in-region--postch):
13139 Assume completion-in-region-mode--predicate is not null.
13141 * progmodes/flymake.el (flymake-start-syntax-check-process):
13142 Obey `dir'. Simplify.
13144 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13145 we're in VC after all.
13147 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13149 * vc/vc.el (vc-diff-build-argument-list-internal)
13150 (vc-version-ediff, vc-ediff): New commands.
13151 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13153 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13155 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13158 * obsolete/erc-hecomplete.el: Make obsolete.
13159 * obsolete/: Standardize obsolescence info in the header.
13161 2011-04-20 Glenn Morris <rgm@gnu.org>
13163 * calendar/solar.el (solar-horizontal-coordinates):
13164 Use the longitude argument rather than `calendar-longitude'.
13165 (solar-date-next-longitude): Remove unused locals.
13167 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13169 * whitespace.el: New version 13.2.1.
13171 2011-04-20 felix <EmacsWiki> (tiny change)
13173 * whitespace.el (global-whitespace-mode): Keep highlight when
13174 switching between major modes on a file.
13176 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13178 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13179 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13180 multi-line comments as well.
13182 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13184 Lexical-binding cleanup.
13186 * arc-mode.el (archive-mode-revert):
13187 * cmuscheme.el (scheme-interactively-start-process):
13188 * custom.el (custom-initialize-delay):
13189 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13190 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13191 * emacs-lock.el (emacs-lock-clear-sentinel):
13192 * ezimage.el (defezimage):
13193 * follow.el (follow-avoid-tail-recenter):
13194 * fringe.el (set-fringe-mode-1):
13195 * generic-x.el (bat-generic-mode-compile):
13196 * help-mode.el (help-info-variable, help-do-xref)
13197 (help-mode-revert-buffer):
13198 * help.el (view-emacs-todo):
13199 * iswitchb.el (iswitchb-completion-help):
13200 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13201 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13202 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13203 * locate.el (locate-update):
13204 * longlines.el (longlines-encode-region)
13205 (longlines-after-change-function):
13206 * outline.el (outline-isearch-open-invisible):
13207 * ps-def.el (declare-function, charset-dimension, char-width)
13209 * ps-mule.el (ps-mule-plot-string):
13210 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13211 (recentf-edit-list-select, recentf-edit-list-validate)
13212 (recentf-open-files-action):
13213 * rect.el (delete-whitespace-rectangle-line)
13214 (rectangle-number-line-callback):
13215 * register.el (window-configuration-to-register)
13216 (frame-configuration-to-register):
13217 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13218 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13219 (xselect-convert-to-targets, xselect-convert-to-delete)
13220 (xselect-convert-to-filename, xselect-convert-to-charpos)
13221 (xselect-convert-to-lineno, xselect-convert-to-colno)
13222 (xselect-convert-to-os, xselect-convert-to-host)
13223 (xselect-convert-to-user, xselect-convert-to-class)
13224 (xselect-convert-to-name, xselect-convert-to-integer)
13225 (xselect-convert-to-atom, xselect-convert-to-identity):
13226 * subr.el (declare, ignore, process-kill-without-query)
13227 (text-clone-maintain):
13228 * terminal.el (te-get-char, te-tic-sentinel):
13229 * tool-bar.el (tool-bar-make-keymap):
13230 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13231 * type-break.el (type-break-mode, type-break-noninteractive-query):
13232 * view.el (View-back-to-mark):
13233 * wid-browse.el (widget-browse-action, widget-browse-widget)
13234 (widget-browse-widgets, widget-browse-sexp):
13235 * widget.el (define-widget-keywords):
13236 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13237 Mark unused parameters.
13239 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13240 (align-areas): Remove unused variable `look'.
13241 (align-region): Remove unused variables `real-end' and `pos-list'.
13243 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13245 * bindings.el (mode-line-modified, mode-line-remote):
13246 Mark unused parameters.
13247 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13249 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13250 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13252 * comint.el (comint-history-isearch-pop-state)
13253 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13254 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13255 (comint-substitute-in-file-name): Doc fix.
13257 * completion.el (cmpl-statistics-block): Mark unused parameter.
13258 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13259 (save-completions-to-file, load-completions-from-file):
13260 Remove unused local variable `e'.
13262 * composite.el (compose-chars): Remove unused variable `len'.
13263 (lgstring-insert-glyph): Remove unused variable `g'.
13264 (compose-glyph-string): Remove unused variables `ascent',
13265 `descent', `lbearing' and `rbearing'.
13266 (compose-glyph-string-relative): Remove unused variables
13267 `lbearing', `rbearing' and `wadjust'.
13268 (compose-gstring-for-graphic): Remove unused variables `header',
13269 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13270 (compose-gstring-for-terminal): Remove unused variables `header'
13271 and `nchars'. Use `let', not `let*'.
13273 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13274 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13275 (Custom-buffer-done, custom-buffer-create-internal)
13276 (custom-browse-visibility-action, custom-browse-group-tag-action)
13277 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13278 (widget-magic-mouse-down-action, custom-toggle-parent)
13279 (custom-add-parent-links, custom-toggle-hide-variable)
13280 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13281 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13282 (custom-face-menu-create, custom-variable-menu-create, get)
13283 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13284 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13285 (customize-apropos): Remove unused variable `tests'.
13286 (custom-group-value-create): Remove unused variable `hidden-p'.
13287 (sort-fold-case): Declare.
13289 * cus-theme.el (custom-reset-standard-faces-list)
13290 (custom-reset-standard-variables-list): Declare.
13291 (customize-create-theme, custom-theme-revert, custom-theme-write)
13292 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13293 Mark unused parameters.
13295 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13297 * delim-col.el (delimit-columns-max): Move defvar before first use.
13299 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13300 (describe-char): Don't quote `lambda'. Mark unused parameter.
13302 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13303 (auto-insert): Declare.
13304 (desktop-restore-file-buffer): Rename desktop-* parameters;
13306 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13307 (desktop-buffer): Rename desktop-* parameters.
13309 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13310 (dframe-reposition-frame-xemacs, dframe-help-echo)
13311 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13312 Mark unused parameters.
13314 * dired-aux.el (backup-extract-version-start, overwrite-query)
13315 (overwrite-backup-query, rename-regexp-query)
13316 (rename-non-directory-query): Declare.
13317 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13318 (dired-add-entry): Remove unused variable `orig-file-name'.
13319 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13320 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13321 `dired-copy-preserve-time' directly.
13322 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13323 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13325 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13326 (dired-virtual-revert, dired-make-relative-symlink):
13327 Mark unused parameters.
13328 (manual-program): Declare.
13329 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13330 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13331 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13333 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13335 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13337 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13340 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13342 * electric.el (Electric-command-loop): Rename parameter
13343 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13345 * expand.el (expand-in-literal): Remove unused variable `here'.
13347 * facemenu.el (facemenu-add-new-color):
13348 Remove unused variable `docstring'.
13350 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13351 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13352 (face-attr-construct): Mark unused parameter. Doc fix.
13353 (read-color): Remove unused variable `hex-string'.
13355 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13356 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13357 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13358 (display-buffer-other-frame): Remove unused variable `old-window'.
13359 (kill-buffer-hook): Declare.
13360 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13361 Mark unused parameters.
13362 (after-find-file): Pass 1 to `auto-save-mode', not t.
13364 * files-x.el (auto-insert): Declare.
13365 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13367 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13368 variable `buf'. Mark unused parameter.
13369 (find-lisp-insert-directory): Mark unused parameter.
13371 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13372 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13373 (format-common-tail): Remove, unused.
13374 (format-deannotate-region): Remove unused variable `loc'.
13375 (format-annotate-region): Remove unused variable `p'.
13376 (format-annotate-single-property-change): Remove unused variables
13377 `default' and `tail'.
13379 * forms.el (read-file-filter): Declare.
13380 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13382 * frame.el (frame-creation-function-alist): Mark unused parameter.
13383 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13385 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13386 Remove unused parameters.
13387 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13388 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13390 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13391 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13392 (hfy-prepare-tag-map): Mark unused parameters.
13393 (htmlfontify-buffer): Use `called-interactively-p'.
13395 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13396 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13397 (ibuffer-do-occur): Mark unused parameters.
13398 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13399 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13401 * ibuffer.el: Don't quote `lambda'.
13402 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13403 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13404 Mark unused parameters.
13406 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13407 (ido-completing-read): Mark unused parameters.
13408 (ido-copy-current-word): Mark unused parameters;
13409 remove unused variable `name'.
13410 (ido-sort-merged-list): Remove unused parameter `dirs'.
13412 * ielm.el (ielm-input-sender): Mark unused parameter.
13413 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13414 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13415 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13416 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13417 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13419 * image-dired.el (image-dired-display-thumbs): Remove unused
13420 variables `curr-file' and `count'.
13421 (image-dired-remove-tag): Remove unused variable `start'.
13422 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13423 variable `curr-file'
13424 (image-dired-rotate-original): Remove unused variable `temp-file'.
13425 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13426 Remove unused variable `file'.
13427 (image-dired-gallery-generate): Remove unused variable `curr'.
13428 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13430 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13432 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13434 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13436 * isearch.el (minibuffer-history-symbol): Declare.
13437 (isearch-edit-string): Remove unused variable `err'.
13438 (isearch-message-prefix, isearch-message-suffix):
13439 Mark unused parameters.
13441 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13443 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13445 * makesum.el (double-column): Remove unused variable `cnt'.
13447 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13448 (ido-ignore-item-temp-list): Declare.
13450 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13451 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13452 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13453 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13456 * mouse-sel.el (mouse-extend-internal):
13457 Remove unused variable `orig-window-frame'.
13459 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13460 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13461 Move declarations before first use.
13462 (pcomplete-opt): Mark unused parameters; doc fix.
13464 * proced.el (proced-revert): Mark unused parameter.
13465 (proced-send-signal): Remove unused variable `err'.
13467 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13468 Rename parameter PREFIX-ARG to ARG.
13469 (ps-basic-plot-string, ps-basic-plot-whitespace):
13470 Mark unused parameters.
13472 * replace.el (replace-count): Define.
13473 (occur-revert-function): Mark unused parameters.
13474 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13475 (isearch-case-fold-search, isearch-string): Declare.
13476 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13477 bind `case-fold-search'. Remove unused variables `beg' and `end',
13479 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13480 COUNT and bind `replace-count'.
13481 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13484 * savehist.el (print-readably, print-string-length): Declare.
13486 * shadowfile.el (shadow-expand-cluster-in-file-name):
13487 Remove unused variable `cluster'.
13488 (shadow-copy-file): Remove unused variable `i'.
13489 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13490 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13491 (shadow-define-literal-group, shadow-define-regexp-group)
13492 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13494 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13495 (shell): Use `called-interactively-p'.
13496 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13498 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13499 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13500 (delete-backward-char): Remove unused variable `ocol'.
13501 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13502 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13503 (event-apply-hyper-modifier, event-apply-shift-modifier)
13504 (event-apply-control-modifier, event-apply-meta-modifier):
13505 Mark unused parameters.
13506 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13507 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13509 * speedbar.el (speedbar-ignored-directory-expressions)
13510 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13511 (speedbar-find-file, speedbar-dir-follow)
13512 (speedbar-directory-buttons-follow, speedbar-tag-find)
13513 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13514 (speedbar-buffers-line-directory, speedbar-buffer-click):
13515 Mark unused parameters.
13516 (speedbar-tag-file): Remove unused variable `mode'.
13517 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13519 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13521 * talk.el (talk): Remove unused variable `display'.
13523 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13524 (tar-write-region-annotate): Mark unused parameter.
13526 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13527 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13528 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13529 warning by another.
13531 * time-stamp.el (time-stamp-string-preprocess):
13532 Remove unused variable `require-padding'.
13534 * tree-widget.el (widget-glyph-enable): Declare.
13535 (tree-widget-action): Mark unused parameter.
13537 * w32-fns.el (x-get-selection): Mark unused parameter.
13538 (autoload-make-program, generated-autoload-file): Declare.
13540 * wdired.el (wdired-revert): Mark unused parameters.
13541 (wdired-xcase-word): Remove unused variable `err'.
13543 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13544 (whitespace-help-scroll): Remove unused variable `data-help'.
13546 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13547 (widget-image-insert, widget-after-change, default)
13548 (widget-default-format-handler, widget-default-notify)
13549 (widget-default-prompt-value, widget-info-link-action)
13550 (widget-url-link-action, widget-function-link-action)
13551 (widget-variable-link-action, widget-file-link-action)
13552 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13553 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13554 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13555 (widget-insert-button-action, widget-delete-button-action, visibility)
13556 (widget-documentation-link-action, widget-documentation-string-action)
13557 (widget-const-prompt-value, widget-regexp-match, symbol)
13558 (widget-coding-system-prompt-value)
13559 (widget-key-sequence-value-to-external, sexp)
13560 (widget-sexp-value-to-internal, character, vector, cons)
13561 (widget-choice-prompt-value, widget-boolean-prompt-value)
13562 (widget-color--choose-action): Mark unused parameters.
13563 (widget-item-match-inline, widget-choice-match-inline)
13564 (widget-checklist-match, widget-checklist-match-inline)
13565 (widget-group-match): Rename parameter VALUES to VALS.
13566 (widget-field-value-set): Remove unused variable `size'.
13567 (widget-color-action): Remove unused variables `value' and `start'.
13569 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13570 variable `dir'. Doc fix.
13571 (windmove-find-other-window): Don't pass it.
13573 * window.el (count-windows): Mark unused parameter.
13574 (bw-adjust-window): Remove unused variable `err'.
13576 * woman.el (woman-file-name): Remove unused variable `default'.
13577 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13578 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13579 (global-font-lock-mode): Declare.
13580 (woman-decode-region): Mark unused parameter.
13581 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13583 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13584 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13585 (x-dnd-handle-moz-url): Remove unused variable `title'.
13586 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13588 * xml.el (xml-parse-tag, xml-parse-attlist):
13589 Remove unused variable `pos'.
13591 2011-04-19 Glenn Morris <rgm@gnu.org>
13593 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13594 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13595 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13596 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13597 * calendar/cal-html.el (cal-html-insert-minical):
13598 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13599 (calendar-mark-date-pattern):
13600 Prefix "unused" locals.
13602 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13603 optional argument `style'.
13605 * calendar/appt.el (appt-make-list):
13606 * calendar/cal-china.el (calendar-chinese-date-string):
13607 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13608 (diary-hebrew-yahrzeit):
13609 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13610 * calendar/calendar.el (calendar-generate-window):
13611 * calendar/time-date.el (time-to-days):
13612 Remove unused local variables.
13614 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13616 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13617 glyphless-char-display table.
13618 (tabulated-list-glyphless-char-display): New var.
13620 2011-04-18 Sam Steingold <sds@gnu.org>
13622 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13623 to acknowledgments.
13625 2011-04-17 Glenn Morris <rgm@gnu.org>
13627 * calendar/diary-lib.el (diary-sexp-entry):
13628 * calendar/holidays.el (holiday-sexp):
13629 Set debug-on-error rather than the removed stack-trace-on-error.
13631 2011-04-16 Glenn Morris <rgm@gnu.org>
13633 * progmodes/f90.el: Use lexical-binding.
13634 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13636 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13639 (mail-mode): Setup mailalias completion here instead.
13640 * mail/mailalias.el: Use lexical-binding.
13641 (pattern, mailalias-done): Declare dynamic.
13642 (mail-completion-at-point-function): New function, from mail-complete.
13643 (mail-complete): Use it.
13644 (mail-completion-expand): New function.
13645 (mail-get-names): Use it.
13646 (mail-directory, mail-directory-process, mail-directory-stream):
13647 Don't use `pattern' for lexically bound arg.
13649 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13651 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13652 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13653 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13655 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13656 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13657 (byte-interactive-p): Define them again, for use when inlining
13660 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13662 * loadup.el: Use `string-to-number', not `string-to-int'.
13664 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13667 gud-gdb-complete-command.
13668 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13669 (gud-gdb-completion-at-point): New function.
13670 (gud-gdb-completions): Remove.
13672 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13674 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13675 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13676 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13677 whether `executable-find' is bound.
13679 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13681 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13683 * minibuffer.el (completion-in-region-mode-predicate)
13684 (completion-in-region-mode--predicate): New vars.
13685 (completion-in-region, completion-in-region--postch)
13686 (completion-in-region-mode): Use them.
13687 (completion--capf-wrapper): Also return the hook function.
13688 (completion-at-point, completion-help-at-point):
13689 Adjust and provide a predicate.
13691 Preserve arg names for advice of subr and lexical functions (bug#8457).
13692 * help-fns.el (help-function-arglist): Consolidate the subr and
13693 new-byte-code cases. Add argument `preserve-names' to extract names
13694 from the docstring when needed.
13695 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13696 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13697 (ad-arglist): Use help-function-arglist's new arg.
13698 (ad-definition-type): Use cond.
13700 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13702 * autorevert.el (auto-revert-handler):
13703 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13704 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13705 Don't quote lambda.
13707 * image-mode.el (image-transform-set-scale):
13708 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13710 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13712 * net/network-stream.el (network-stream-open-starttls): Only do
13713 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13714 Upgrades via gnutls-cli are too slow to be done opportunistically.
13716 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13718 * dframe.el (dframe-current-frame): Remove spurious quote.
13720 2011-04-12 Glenn Morris <rgm@gnu.org>
13722 * calendar/cal-tex.el (cal-tex-end-document):
13723 Try to automatically use latin1 input if needed.
13725 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13726 Don't try to cons a mark onto an empty element.
13728 2011-04-11 Leo Liu <sdl.web@gmail.com>
13730 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13732 (ido-kill-buffer-at-head): Support killing virtual buffers.
13734 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13736 * minibuffer.el (completion-show-inline-help): New var.
13737 (completion--do-completion, minibuffer-complete)
13738 (minibuffer-force-complete, minibuffer-complete-word):
13739 Inhibit minibuffer messages if completion-show-inline-help is nil.
13741 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13742 to avoid interference from inline help (Bug#5849).
13744 2011-04-10 Leo Liu <sdl.web@gmail.com>
13746 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13749 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13751 * image-mode.el (image-toggle-display-image): Signal an error if
13753 (image-transform-mode, image-transform-resize)
13754 (image-transform-set-rotation): Doc fix.
13755 (image-transform-set-resize): Delete.
13756 (image-transform-set-scale, image-transform-fit-to-height)
13757 (image-transform-fit-to-width): Handle image-toggle-display-image
13758 and image-transform-resize directly.
13760 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13762 * doc-view.el (doc-view-fit-width-to-window)
13763 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13764 New functions for fitting the shown image to the Emacs window size.
13765 (doc-view-mode-map): Add bindings for the new functions.
13767 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13769 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13770 Fix typo in docstring.
13772 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13774 * files.el (file-size-human-readable): Produce one digit after
13775 decimal, like "ls -lh" does.
13777 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13778 the file size representation.
13780 * simple.el (list-processes): If async subprocesses are not
13781 available, error out with a clear error message.
13783 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13785 * help.el (help-form-show): New function, to be called from C.
13786 Put help-form output in a buffer named differently than *Help*.
13788 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13790 * files.el (file-size-human-readable): New function.
13792 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13793 computing the representation inline. Don't require `cl'.
13795 2011-04-08 Glenn Morris <rgm@gnu.org>
13797 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13799 * net/browse-url.el (browse-url-firefox):
13800 Test system-type, not system-configuration.
13802 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13803 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13804 Use log-edit-empty-buffer-p. (Bug#7598)
13806 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13807 (rlogin-mode-map): Initialize in the defvar.
13808 (rlogin): Use ignore-errors.
13810 * replace.el (occur-mode-map): Some fixes for menu items.
13812 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13814 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13816 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13818 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13819 issuing unused warnings.
13821 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13824 * simple.el: Lisp reimplement of list-processes. Based on an
13825 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13826 (process-menu-mode): New major mode.
13827 (list-processes--refresh, list-processes):
13828 (process-menu-visit-buffer): New functions.
13830 * files.el (save-buffers-kill-emacs): Don't assume any return
13831 value of list-processes, which is undocumented anyway.
13833 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13835 * emacs-lisp/tabulated-list.el: New file.
13837 * emacs-lisp/package.el: Use Tabulated List mode.
13838 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13839 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13840 table format using Tabulated List mode variables.
13841 (package--push): New macro, replacing package-list-maybe-add.
13842 (package-menu--generate): Use package--push. Renamed from
13843 package--generate-package-list.
13844 (package-menu-refresh, list-packages): Use it.
13845 (package-menu--print-info): Rename from package-print-package.
13846 Return insertion data instead of inserting it directly.
13847 (package-menu-describe-package, package-menu-execute):
13848 Use tabulated-list-get-id.
13849 (package-menu-mark-delete, package-menu-mark-install)
13850 (package-menu-mark-unmark, package-menu-backup-unmark)
13851 (package-menu-mark-obsolete-for-deletion):
13852 Use tabulated-list-put-tag.
13853 (package--list-packages, package-menu-revert)
13854 (package-menu-get-package, package-menu-get-version)
13855 (package-menu-sort-by-column): Functions deleted.
13856 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13857 (package-menu--status-predicate, package-menu--version-predicate)
13858 (package-menu--name-predicate)
13859 (package-menu--description-predicate): Handle arguments in the
13860 Tabulated List format.
13861 (package-list-packages-no-fetch): Call list-packages.
13863 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13865 * files.el (after-find-file-from-revert-buffer): Remove variable.
13866 (after-find-file): Don't bind it.
13867 (revert-buffer-in-progress-p): New variable.
13868 (revert-buffer): Bind it.
13869 Pass nil for `after-find-file-from-revert-buffer'.
13871 * saveplace.el (save-place-find-file-hook): Use new variable
13872 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13874 2011-04-06 Glenn Morris <rgm@gnu.org>
13876 * Makefile.in (AUTOGEN_VCS): New variable.
13877 (autoloads): Use $AUTOGEN_VCS.
13879 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13880 * calendar/calendar.el (calendar-mode-map):
13881 Check for toolkit scroll bars. (Bug#8305)
13883 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13885 * minibuffer.el (completion-in-region--postch)
13886 (completion-in-region-mode): Remove unnecessary messages.
13888 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13890 * font-lock.el (font-lock-refresh-defaults):
13891 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13892 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13894 * info.el (Info-directory-list, Info-read-node-name-2)
13895 (Info-split-parameter-string): Doc fixes.
13896 (Info-virtual-nodes): Reflow docstring.
13897 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13898 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13899 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13900 Fix typos in docstrings.
13901 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13902 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13903 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13904 (Info-restore-desktop-buffer): Mark unused parameters.
13905 (Info-directory-find-file, Info-directory-find-node)
13906 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13907 (Info-virtual-index-find-node, Info-apropos-find-file)
13908 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13909 Mark unused parameters; fix typos in docstrings.
13910 (Info-virtual-index): Remove unused local variable `nodename'.
13912 2011-04-05 Deniz Dogan <deniz@dogan.se>
13914 * net/rcirc.el: Update my e-mail address.
13915 (rcirc-mode-map): Remove M-o binding.
13917 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13919 * startup.el (command-line): Save the cursor's theme-face
13920 directly, instead of using face-override-spec.
13922 * custom.el (load-theme): Minor optimization in assigning faces.
13924 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13926 * help-fns.el (describe-variable): Complete all variables having
13927 documentation, including keywords.
13928 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13930 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13932 Convert to lexical-binding.
13934 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13935 (bs--get-marked-string, bs--get-modified-string)
13936 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13937 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13938 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13940 * ehelp.el (electric-help-execute-extended)
13941 (electric-help-ctrl-x-prefix):
13942 * hexl.el (hexl-revert-buffer-function):
13943 * linum.el (linum-after-change, linum-after-scroll):
13944 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13946 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13948 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13955 * epg.el: Use lexical binding.
13957 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13959 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13961 * textmodes/flyspell.el (flyspell-word): Recognize default
13962 dictionary case for flyspell-mark-duplications-exceptions.
13963 Use regexp matching for languages.
13964 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13965 default dictionary (Bug#7926).
13967 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13969 * emacs-lisp/package.el (package--with-work-buffer):
13970 Recognize https URLs.
13972 * net/network-stream.el: Move from gnus/proto-stream.el.
13973 Change prefix to network-stream throughout.
13974 (open-protocol-stream): Merge into open-network-stream, leaving
13975 open-protocol-stream as an alias. Handle nil BUFFER args.
13977 * subr.el (open-network-stream): Move to net/network-stream.el.
13979 2011-04-02 Glenn Morris <rgm@gnu.org>
13981 * find-dired.el (find-exec-terminator): New option.
13982 (find-ls-option): Test for -ls support.
13983 (find-ls-subdir-switches): Test for -b in find-ls-option.
13984 (find-dired, find-grep-dired): Doc fixes.
13985 (find-dired): Use find-exec-terminator.
13987 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13988 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13989 (find-name-arg): Remove purecopy.
13991 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13992 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13993 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13994 accordingly. Don't add the null-device if not needed.
13996 * files.el (save-some-buffers): Doc fix.
13998 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14000 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14002 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14004 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14005 Use `dolist' rather than `mapcar'.
14007 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14009 Add lexical binding.
14011 * subr.el (apply-partially): Use new closures rather than CL.
14012 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14013 (dolist, dotimes): Use slightly different expansion for lexical code.
14014 (functionp): Move to C.
14015 (letrec): New macro.
14016 (with-wrapper-hook): Use it and apply-partially instead of CL.
14017 (eval-after-load): Preserve lexical-binding.
14018 (save-window-excursion, with-output-to-temp-buffer): Turn them
14021 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14023 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14025 (help-add-fundoc-usage): Don't add `Not documented'.
14026 (help-function-arglist): Handle closures, subroutines, and new
14027 byte-code-functions.
14028 (help-make-usage): Remove leading underscores.
14029 (describe-function-1): Handle closures.
14030 (describe-variable): Use special-variable-p for completion.
14032 * files.el (lexical-binding): Declare safe.
14034 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14035 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14036 (pcase): Add `let' pattern.
14037 Change memoization so it actually works.
14038 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14039 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14042 * emacs-lisp/macroexp.el: Use lexical binding.
14043 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14044 Don't convert ' to #' without checking that it's indeed quoting
14047 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14048 Use eval-sexp-add-defvars.
14049 (eval-sexp-add-defvars): New fun.
14051 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14053 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14055 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14056 than the internal `byte-compile-lambda'.
14057 (defmethod): Don't hide code under quotes.
14058 (eieio-defmethod): New `code' argument.
14060 * emacs-lisp/eieio-comp.el: Remove.
14062 * emacs-lisp/edebug.el (edebug-eval-defun)
14063 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14064 (edebug-toggle): Avoid `eval'.
14066 * emacs-lisp/disass.el (disassemble-internal): Handle new
14068 (disassemble-1): Handle new byte codes.
14070 * emacs-lisp/cl.el (pushnew): Silence warning.
14072 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14073 (cl-byte-compile-throw): Remove.
14074 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14076 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14079 * emacs-lisp/cconv.el: New file.
14081 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14082 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14083 (byte-compile-initial-macro-environment):
14084 Handle declare-function here.
14085 (byte-compile--lexical-environment): New var.
14086 (byte-stack-ref, byte-stack-set, byte-discardN)
14087 (byte-discardN-preserve-tos): New lap codes.
14088 (byte-interactive-p): Don't use any more.
14089 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14091 (byte-compile-lapcode): Use them and handle new lap codes.
14092 (byte-compile-obsolete): Remove.
14093 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14094 (byte-compile-arglist-warn): Check late def of inlinable funs.
14095 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14096 since they should have been expanded by now.
14097 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14098 (byte-compile-from-buffer): Remove unused second arg.
14099 (byte-compile-preprocess): New function.
14100 (byte-compile-toplevel-file-form): New function to distinguish
14101 file-form calls from outside from file-form calls from hunk-handlers.
14102 (byte-compile-file-form): Simplify.
14103 (byte-compile-file-form-defsubst): Remove.
14104 (byte-compile-file-form-defmumble): Simplify now that
14105 byte-compile-lambda always returns a byte-code-function.
14106 (byte-compile): Preprocess.
14107 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14108 Remove, not used any more.
14109 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14110 (byte-compile-make-args-desc): New funs.
14111 (byte-compile-lambda): Handle lexical functions. Always return
14112 a byte-code-function.
14113 (byte-compile-reserved-constants): New var, to make up room for
14114 closed-over variables.
14115 (byte-compile-constants-vector): Obey it.
14116 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14117 (byte-compile-macroexpand-declare-function): New function.
14118 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14119 byte-code-functions.
14120 (byte-compile-form): Check obsolescence here.
14121 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14122 (byte-compile-variable-ref): Remove.
14123 (byte-compile-dynamic-variable-op): New fun.
14124 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14125 (byte-compile-variable-set): New funs.
14126 (byte-compile-discard): Add 2 args.
14127 (byte-compile-stack-ref, byte-compile-stack-set)
14128 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14129 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14130 macroexpand-all instead.
14131 (byte-compile-quote-form): Remove.
14132 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14133 (byte-compile-bind, byte-compile-unbind): New funs.
14134 (byte-compile-let): Handle let* and lexical binding.
14135 (byte-compile-let*): Remove.
14136 (byte-compile-catch, byte-compile-unwind-protect)
14137 (byte-compile-track-mouse, byte-compile-condition-case):
14138 Handle a new :fun-body form, used for lexical scoping.
14139 (byte-compile-save-window-excursion)
14140 (byte-compile-with-output-to-temp-buffer): Remove.
14141 (byte-compile-defun): Simplify.
14142 (byte-compile-stack-adjustment): New fun.
14143 (byte-compile-out): Use it.
14144 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14146 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14149 * emacs-lisp/byte-opt.el: Use lexical binding.
14150 (byte-inline-lapcode): Remove (to bytecomp).
14151 (byte-compile-inline-expand): Pay attention to inlining to/from
14152 lexically bound code.
14153 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14155 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14156 any more and don't call compiler-macros.
14157 (byte-compile-splice-in-already-compiled-code): Remove.
14158 (byte-code): Don't inline any more.
14159 (disassemble-offset): Receive `bytes' as argument rather than via
14161 (byte-compile-tag-number): Declare before first use.
14162 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14163 `return' even if make-spliceable.
14164 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14165 obsolete interactive-p.
14166 (byte-optimize-lapcode): Optimize new lap-codes.
14167 Don't trip up on new form of `byte-constant' lap code.
14169 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14171 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14173 * custom.el (custom-initialize-default, custom-declare-variable):
14176 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14178 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14179 (COMPILE_FIRST): Add macroexp and cconv.
14180 * makefile.w32-in: Mirror changes in Makefile.in.
14182 * vc/cvs-status.el:
14186 * vc/smerge-mode.el:
14187 * textmodes/bibtex-style.el:
14188 * textmodes/css.el:
14196 * emacs-lisp/smie.el:
14199 * abbrev.el: Use lexical binding.
14201 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14203 * info.el (info-display-manual): New function.
14205 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14207 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14209 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14211 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14212 an entry for that server in rcirc-authinfo. (Bug#8385)
14214 2011-03-31 Glenn Morris <rgm@gnu.org>
14216 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14218 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14220 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14222 * progmodes/python.el (python-default-interpreter)
14223 (python-python-command-args, python-jython-command-args)
14224 (python-which-shell, python-which-args, python-which-bufname)
14225 (python-file-queue, python-comint-output-filter-function)
14226 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14227 variables and functions.
14229 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14232 (completion-in-region-mode): New minor mode.
14233 (completion-in-region): Use it.
14234 (completion-in-region--data, completion-in-region-mode-map): New vars.
14235 (completion-in-region--postch): New function.
14236 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14238 (completion--capf-wrapper): New function.
14239 (completion-at-point): Use it to track well-behavedness of
14241 (completion-help-at-point): New command.
14243 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14245 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14246 syntax class to search for whitespace on a single line
14247 (Message-ID: <4D938140.4030905@redhat.com>).
14249 2011-03-30 Leo Liu <sdl.web@gmail.com>
14251 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14253 (edit-abbrevs-map): Bind them here.
14254 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14256 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14258 * allout.el (allout-hide-by-annotation, allout-flag-region):
14259 Reduce possibility of overlay leakage by making them volatile.
14261 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14262 hash is not shared between buffers. Mode initialization is
14263 responsible for giving it a useful starting value.
14264 (allout-item-span): Reduce possibility of overlay leakage by
14265 making them volatile.
14266 (allout-widgets-count-buttons-in-region): Add diagnostic function
14267 for tracking down button overlay leaks.
14269 2011-03-29 Leo Liu <sdl.web@gmail.com>
14271 * ido.el (ido-read-internal): Use the default history var
14272 minibuffer-history if no HISTORY is specified.
14274 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14276 * net/imap.el (imap-shell-open, imap-process-connection-type):
14277 Use imap-process-connection-type for 'shell' streams as well as
14278 Kerberos, SSL, other subprocesses.
14280 2011-03-28 Leo Liu <sdl.web@gmail.com>
14282 * abbrev.el (abbrev-table-empty-p): New function.
14283 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14284 nonempty ones. (Bug#5937)
14286 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14288 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14290 2011-03-27 Leo Liu <sdl.web@gmail.com>
14292 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14293 for foreground and background colors.
14294 (ansi-color-make-color-map): Adapt.
14296 2011-03-25 Leo Liu <sdl.web@gmail.com>
14298 * midnight.el (midnight-time-float): Remove. Note it calculates
14299 the microsecond component incorrectly and seconds-to-time does the
14301 Remove redundant (require 'timer).
14303 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14304 (ido-completions): Remove unused arguments. (Bug#8329)
14306 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14308 * minibuffer.el (completion--flush-all-sorted-completions):
14309 Remove itself from hook.
14310 (completion-at-point): Let the functions perform the completion
14311 immediately and return nil or t.
14312 * comint.el (comint-dynamic-complete-functions): Now identical to
14313 completion-at-point-functions.
14314 (comint-dynamic-list-input-ring): Remove unused var `index'.
14315 (comint--match-partial-filename, comint--unquote&expand-filename):
14316 New funs, split from comint-match-partial-filename.
14317 (comint-dynamic-complete): Use completion-at-point.
14318 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14320 2011-03-24 Drew Adams <drew.adams@oracle.com>
14322 * thingatpt.el: Support `defun'.
14324 2011-03-23 Leo Liu <sdl.web@gmail.com>
14326 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14328 * help-mode.el (help-mode-finish): Tweak regexp.
14330 2011-03-23 Glenn Morris <rgm@gnu.org>
14332 * eshell/esh-opt.el (eshell-eval-using-options):
14333 Do not bind unused local variable `eshell-option-stub'.
14335 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14337 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14339 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14340 keymap variable in `with-no-warnings' to avoid a warning when the
14341 keymap has been already `defconst'ed.
14343 2011-03-22 Leo Liu <sdl.web@gmail.com>
14345 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14346 encode all chars in abbrevs; otherwise use emacs-mule or
14347 utf-8-emacs. (Bug#8308)
14349 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14351 * simple.el (backward-delete-char-untabify):
14352 Avoid warning about using `delete-backward-char'.
14354 * image.el (image-type-file-name-regexps): Make it variable.
14355 `imagemagick-register-types' modifies it, and the user may want
14356 to add new extensions for known image types.
14357 (imagemagick-register-types): Throw error if not using ImageMagick.
14359 2011-03-22 Leo Liu <sdl.web@gmail.com>
14361 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14362 located before rcirc-prompt-end-marker.
14363 (rcirc-complete): Error if point is not after rcirc prompt.
14364 Handle the case when table is nil.
14365 (rcirc-user-authenticated): Define to fix compiler warning.
14367 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14369 * custom.el (custom--inhibit-theme-enable): Make it affect only
14370 custom-theme-set-variables and custom-theme-set-faces.
14371 (provide-theme): Ignore custom--inhibit-theme-enable.
14372 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14373 (custom-enabling-themes): Delete variable.
14374 (enable-theme): Accept only loaded themes as arguments.
14375 Ignore the special custom-enabled-themes variable.
14376 (custom-enabled-themes): Forbid themes from setting this.
14377 Eliminate use of custom-enabling-themes.
14378 (custom-push-theme): Quote "changed" custom var entry.
14380 2011-03-21 Leo Liu <sdl.web@gmail.com>
14382 * ido.el (ido-read-internal): Add ido-selected to history instead
14385 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14387 * subr.el (deferred-action-list, deferred-action-function):
14390 2011-03-21 Leo Liu <sdl.web@gmail.com>
14392 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14393 change on 2011-02-13 (bug#8309).
14395 * minibuffer.el (read-file-name-function): Change default value.
14396 (read-file-name--defaults): Rename from read-file-name-defaults.
14397 (read-file-name-default): Rename from read-file-name.
14398 (read-file-name): Call read-file-name-function.
14400 2011-03-21 Glenn Morris <rgm@gnu.org>
14402 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14405 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14407 * cus-theme.el: Add missing provide statement.
14408 (customize-create-theme): Extract theme value correctly.
14409 (custom-theme-visit-theme): Autoload.
14410 (customize-create-theme): Prompt before inserting default faces.
14412 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14414 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14415 units and musical notes.
14417 2011-03-20 Leo Liu <sdl.web@gmail.com>
14419 * ido.el (ido-read-internal): Use completing-read-default.
14420 (ido-completing-read): Fix compatibility with completing-read.
14422 2011-03-20 Christian Ohler <ohler@gnu.org>
14424 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14425 (ert-delete-all-tests): Use `called-interactively-p' rather than
14427 (ert--make-xrefs-region): Respect END.
14429 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14431 * dired-aux.el (dired-create-directory): Signal an error if the
14432 directory already exists (Bug#8246).
14434 * facemenu.el (list-colors-display): Call list-faces-display
14435 inside with-help-window.
14436 (list-colors-print): Use display property to align the final
14437 column, instead of checking window-width.
14439 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14441 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14442 windows-nt systems.
14443 (emerge-protect-metachars): Quote correctly for ms-dos and
14444 windows-nt systems.
14446 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14448 * info.el (info-initialize): Replace all uses of `:' with
14449 path-separator for compatibility with non-Unix systems.
14450 Cache quoting of path-separator. (Bug#8258)
14452 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14454 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14455 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14456 (mouse-avoidance-mode): Fix typos in docstrings.
14458 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14460 * startup.el (package-subdirectory-regexp): Move from package.el.
14461 Omit \\` and \\', and let callers add them.
14463 * emacs-lisp/package.el (package-strip-version)
14464 (package-load-all-descriptors): Add \\` and \\' to
14465 package-subdirectory-regexp before using it.
14466 (package-untar-buffer): New arg DIR; ensure that file untars only
14467 into this expected directory. Remove superfluous delete-region.
14468 (package-unpack): Caller changed.
14469 (package-tar-file-info): Use package-subdirectory-regexp.
14471 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14473 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14474 diff-mode-shared-map (bug#8284).
14475 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14477 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14479 * calendar/time-date.el (format-seconds): Use assoc instead of
14480 assoc-string, since assoc-string doesn't exist in XEmacs.
14482 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14484 * custom.el (custom-known-themes): Reflow docstring.
14485 (custom-theme-load-path): Fix typo in docstring.
14486 (load-theme): Fix typo in error message.
14487 (custom-available-themes, custom-variable-theme-value):
14488 Use `let', not `let*'.
14490 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14492 * calc/README: Mention inclusion of musical notes.
14494 * calc/calc-units.el (calc-lu-quant): Rename from
14495 `calc-logunits-quantity'.
14496 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14497 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14498 (calc-db): Rename from `calc-dblevel'.
14499 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14500 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14501 (calc-np): Rename from `calc-nplevel'.
14502 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14503 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14504 (calc-lu-plus): Rename from `calc-logunits-add'.
14505 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14506 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14507 (calc-lu-minus): Rename from `calc-logunits-sub'.
14508 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14509 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14510 (calc-lu-times): Rename from `calc-logunits-mul'.
14511 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14512 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14513 (calc-lu-divide): Rename from `calc-logunits-div'.
14514 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14515 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14517 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14518 functions being autoloaded.
14520 * calc/calc.el (calc-lu-power-reference): Rename from
14521 `calc-logunits-power-reference'.
14522 (calc-lu-field-reference): Rename from
14523 `calc-logunits-field-reference'.
14525 * calc/calc-help.el (calc-l-prefix-help):
14526 Mention musical note functions.
14528 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14530 * minibuffer.el (completion-all-sorted-completions):
14531 Use :completion-cycle-penalty text property if present.
14533 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14535 * allout.el (allout-yank-processing): Adjust for new rebulleting
14536 regime so bullet being yanked is used without prompting the user
14539 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14541 * startup.el (command-line): Warn the user that _emacs is deprecated.
14543 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14545 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14546 (delphi-verbose, delphi-comment-face, delphi-string-face)
14547 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14548 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14549 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14550 (delphi-new-comment-line, delphi-font-lock-defaults)
14551 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14552 Fix typos in docstrings.
14554 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14556 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14557 Invert the roles of character and string values for INSTEAD, so a
14558 string is used for the more common case of a defaulting prompt.
14560 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14562 * progmodes/ruby-mode.el (ruby-backward-sexp):
14563 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14564 * play/gamegrid.el (gamegrid-make-face):
14565 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14566 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14567 * notifications.el (notifications-notify):
14568 * net/xesam.el (xesam-search-engines):
14569 * net/quickurl.el (quickurl-list-insert):
14570 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14572 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14574 * startup.el (command-line): Update package subdirectory regexp.
14576 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14578 * allout.el (allout-abbreviate-flattened-numbering)
14579 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14581 * subr.el (read-char-choice): Only show the cursor after the prompt,
14582 not after the answer.
14584 2011-03-15 Kevin Ryde <user42@zip.com.au>
14586 * help-fns.el (variable-at-point): Skip leading quotes, if any
14589 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14591 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14594 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14596 * shell.el (shell): When called interactively, offer to change the
14597 shell file name on remote hosts.
14599 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14601 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14602 integration for LDAP parameters. The host, base, user or binddn,
14603 and secret tokens can be specified in a netrc file, for instance.
14604 This is optional because an `auth-source' parameter must be
14605 specified in the search attributes.
14607 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14609 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14611 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14613 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14614 into declaration. Remove redundant and harmful binding.
14616 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14618 * files.el (file-ownership-preserved-p): Pass `integer' as an
14619 explicit 2nd argument to `file-attributes'. If the file's owner
14620 is the Administrators group on Windows, and the current user is
14621 Administrator, consider that a match.
14623 * server.el (server-ensure-safe-dir): Consider server directory
14624 safe on MS-Windows if its owner is the Administrators group while
14625 the current Emacs user is Administrator. Use `=' to compare
14626 numerical UIDs, since they could be integers or floats.
14628 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14630 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14632 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14634 Sync with Tramp 2.2.1.
14636 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14638 * net/trampver.el: Update release number.
14640 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14642 * progmodes/compile.el (compilation--previous-directory): Fix up
14643 various nil/dead-marker mismatches (bug#8014).
14644 (compilation-directory-properties, compilation-error-properties):
14645 Don't call it at a position past the one we're about to change.
14647 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14648 Disable obsolescence warnings in the file that declares it.
14650 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14652 * allout-widgets.el (allout-widgets-tally):
14653 Initialize allout-widgets-tally as a hash table rather than nil to
14654 prevent mode-line redisplay warnings. Also, clarify the module
14655 description and fix a comment typo.
14657 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14659 * help-fns.el (describe-variable): Don't complete keywords.
14660 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14662 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14664 * emacs-lisp/package.el (package-version-join): Impose a standard
14665 string representation for pre/alpha/beta version lists.
14666 (package-unpack-single): Standardize the directory name by passing
14667 it through package-version-join.
14668 (package-strip-rcs-id): Accept any version string that does not
14669 signal an error in version-to-list.
14671 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14673 * simple.el (delete-trailing-whitespace): Return nil for the
14674 benefit of `write-file-functions'.
14676 2011-03-10 Glenn Morris <rgm@gnu.org>
14678 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14680 * vc/vc-git.el (vc-git-program): New option.
14681 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14682 (vc-git--call): Use it.
14684 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14686 * cus-edit.el (Custom-newline): If no button at point, look
14687 for a subgroup button at start-of-line. (Bug#2298)
14689 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14691 2011-03-10 Julien Danjou <julien@danjou.info>
14693 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14694 `cursor-type' is nil.
14696 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14698 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14700 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14702 * allout.el: Change so yank of distinctive-bullet items
14703 preserves the existing header prefix, rebulleting it if necessary,
14704 rather than replacing it. This is necessary for proper operation
14705 of cooperative addons like allout-widgets.
14706 (allout-make-topic-prefix, allout-rebullet-heading):
14707 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14708 value as alternate bullet to be used, instead of prompting the user
14709 for a bullet character.
14711 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14714 Do not use `tramp-file-name-port', because this returns also
14715 `tramp-default-port'.
14717 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14719 * net/rcirc.el (rcirc-handler-001): Remove useless
14720 with-rcirc-process-buffer.
14721 (rcirc-check-auth-status): Swap arguments to string-match.
14723 2011-03-09 Glenn Morris <rgm@gnu.org>
14725 * shell.el (shell-mode):
14726 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14728 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14729 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14731 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14733 * emacs-lisp/package.el (package-refresh-contents)
14734 (package-menu-execute): Use condition-case-no-debug.
14736 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14738 * simple.el (shell-command-to-string): Use `process-file'.
14740 * emacs-lisp/package.el (package-tar-file-info): Handle also
14743 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14744 Use `equal' for upload base check.
14746 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14748 * textmodes/texinfo.el (texinfo-environments):
14749 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14751 2011-03-08 Glenn Morris <rgm@gnu.org>
14753 * cus-start.el (cursor-in-non-selected-windows):
14754 Fix :set quoting oddness. (Bug#8192)
14756 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14757 in some setf expressions. (Bug#2159)
14759 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14761 * custom.el (custom-available-themes): Return themes in
14762 alphabetical order.
14764 See ChangeLog.15 for earlier changes.
14766 ;; Local Variables:
14770 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14772 This file is part of GNU Emacs.
14774 GNU Emacs is free software: you can redistribute it and/or modify
14775 it under the terms of the GNU General Public License as published by
14776 the Free Software Foundation, either version 3 of the License, or
14777 (at your option) any later version.
14779 GNU Emacs is distributed in the hope that it will be useful,
14780 but WITHOUT ANY WARRANTY; without even the implied warranty of
14781 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14782 GNU General Public License for more details.
14784 You should have received a copy of the GNU General Public License
14785 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.